Wednesday, February 08, 2006

testing a new system call written for UML

  1. You can write user-level program to test the new system call. You have to compile the test-program with –static and “–I /class/cs153//linux-2.4.23/include” flags. You have to compile this program on your host machine instead of “inside UML” (virtual machine).
  2. Mount your host file system /home and /class file system inside UML as explained in the FAQ page.
  3. Run the test-program binary inside UML.
  4. You should see all the “printk” outputs on your console and it should display the correct time in the format as specified by your test-program.

0 Comments:

Post a Comment

<< Home