To access the cluster remotely, you have to use ssh (it doesn't accept
telnet requests). The domain name is linuxlab.csic.cs.umd.edu
. So it will be something like:
ssh -l <your username> linuxlab.csic.cs.umd.edu
/usr/local/bochs-1.2.1on the linuxlab cluster. If you are working on one of the workstations in the linuxlab room, just go to your project's directory and run bochs. (Make sure you run it from your project's directory so that it can find the .bochsrc file which is given to you, and tells bochs what to do.)
If you are working remotely, e.g. from your WAM/Glue account, first download the fonts file, and uncompress/untar it in your account. then do:
xset fp+ <the font directory in your account>For example, if you have saved the files in the directory ~/fonts, and your user name in WAM is bob, do
xset fp+ ~bob/fonts
After this, do
xhost +and then you must be able to run bochs from your linuxlab account , and have the output on your WAM/Glue X session.
Note: you have to do these two steps every time you logon to your account. Also, the second step is sort of dangerous, because it enables clients from any host to connect to your X session!
xset fp+ <path>do the following if you're working from a WAM workstation: (Again, these have to be done from your WAM account, and the text in bold must be entered as is.)
xfs -config /afs/wam.umd.edu/home/wam/s/o/sodre/pub/bochs.xfs &
xset +fp tcp/<your workstation IP address>:7100
xset fp rehash
For example, if your workstation's IP address is 128.8.17.52, the second command will be:
xset +fp tcp/128.8.17.52:7100
To find out what your workstation IP address is, you can do:
host $HOST
The project is due at 6:00pm on Wednesday.
To submit your project:
gmake clean
\rm core.*
tar zcvf proj0.tar.gz proj0
Once again, please make sure that you remove all the unnecessary files. As a rule of thumb, if your .tar.gz file is bigger than 100K, it is likely that you still have some large files included in your directory.
To start a new kernel mode thread you use the Start_Kernel_Thread function. Look at the comments in before the definition of this function in kthread.c.