Here's what you need to do:
1) Initialize your secondary adapter with vbios.vm86
http://www.arava.co.il/matan/svgalib/hypermail/1660.html
2) bk pull bk://namesys.com/bk/reiser4-linux-2.5 r25
Namsys uses UML to develop Reiser4. Oleg keeps UML and
2.5 very closely integrated and up to date.
If someone tells me how, I can generate a patch for a
vanilla 2.5. If I diff from torvalds, 1.919.1.104,
would that work?
3) cd r25/fs
bk pull bk://namesys.com/bk/reiser4
this is just needed to build properly
4) Apply the attached patch
5) make mrproper
6) copy attached config file
7) make oldconfig ARCH=um
8) make linux ARCH=um
9) Download a system disk image
http://user-mode-linux.sourceforge.net/dl-sf.html
I am using:
root_fs.rh-7.2-full.pristine.20020312.bz2
if you are running redhat you will already have UML
tools, if not you need to download them too.
10) Set up sudo to run linux as root. It needs to be
root to play with the hardware.
11) start ddd &
do a ps -aux and get the pid for gdb
from ddd open the file linux and set breakpoints
12) run the image, i use:
./run gdb-pid
sudo /home/jonsmirl/aty25/linux
ubd0=cow,/opt/uml/root_fs ubd1=cows,/opt/uml/swap
root=/dev/ubd/0 ubd4=cowr,/opt/uml/reiser4
eth0=tuntap,,,192.168.0.2 debug=parent gdb-pid=${1}
video=aty128fb
You don't need the swap and reiser4 images to start.
Read about networking with UML:
http://user-mode-linux.sourceforge.net/
I run NFS from UML to my host so that I can see my
host's disk. If you aren't running NAT you may need to
modify a few things.
Let me know what doesn't work. You're the lucky first
to try this. This is a lot of work to get set up, but
it is easy to use once you get it going.
Right now I'm trying to get interrupts working. Some
USB people are after me to help make their debugging easier.
=====
Jon Smirl
jon...@ya...
__________________________________________________
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com |