From: Manish R. <reg...@gm...> - 2005-09-15 18:02:28
|
On 9/15/05, Shakthi Kannan <gen...@ya...> wrote:=20 >=20 > Greetings! >=20 > I need some help on booting manrix on Intel x86 P4 > system. >=20 > 1. I downloaded manrix from: >=20 > http://manrix.sf.net/code/ManRiX.tar.gz >=20 > 2. Extracted it and did make inside mickernel, servers > (busmngr, console, fs-io, miscio), soft (libc, cmd, > logd, ...) (The mount somehow failed as I didn't do it > as root, and I didn't want to use setup.sh either). > Using gcc-3.2.3. >=20 > 3. I created a /boot/manrix directory and copied > conmngr, fsiomngr, init, kern, ls and msiciomngr to > it. >=20 > 4. Updated my /boot/grub/menu.lst as follows: >=20 > title Red Hat Enterprise Linux WS (2.4.21-4.EL) > root (hd0,1) > kernel /boot/vmlinuz-2.4.21-4.EL ro root=3DLABEL=3D/ > initrd /boot/initrd-2.4.21-4.EL.img >=20 > title ManRiX OS > root (hd0,1) > kernel /boot/manrix/kern > module /boot/manrix/conmngr > module /boot/manrix/fsiomngr 2 > module /boot/manrix/init > module /boot/manrix/misciomngr > module /boot/manrix/ls Everything is ok upto here. Except that you need not load 'ls'. init=20 executes sh (a very simple shell) and from there you can execute through=20 command prompt. As the matter of fact, the project is still in the primitive stage and=20 contails zillions of bugs. :)=20 5. When I choose manrix on boot on grub, I get this > output and it stops there: >=20 > Booting 'ManRiX OS' > root (hd0,1) > Filesystem type is ext2fs, partition type 0x83 > kernel /boot/manrix/kern > [Multiboot-elf, <0x100000:0xad1c:0x0>, > <0x10b000:0x2aa4:0x1a20>, shtab:0x1101e0, > entry=3D0x100000] > module /boot/manrix/conmngr > [Multiboot module @ 0x114000, 0xc4b5 bytes] > ManRix Microkernel Loaded as '/boot/manrix/kern'. > Total Memory: 516032k@0x121000, 0x1081f bytes] > get_page (); get_page used before memory > initialization > [Multiboot module @ 0x132000, 0xb017 bytes] > module /boot/manrix/misciomngr > [Multiboot module @ 0x13e000, 0xc1f7 bytes] > module /boot/manrix/ls > [Multiboot module @ 0x14b000, 0x9ccc bytes] >> get_page (); get_page used before memory initialization It seems there is some bug in vm/vmpage.c I did not expected it to call get_page before that function (may be through= =20 page fault). Looks like a bug. How much memory do you have? It seems you have >256 ... 512 perhaps. The page table entry is created for= =20 Only first 4MB. You system required more than that for page_page.=20 What is the output that I should get? Do I need to get > a console? >=20 > Can anyone tell me as to what I am doing wrong and how > I can get manrix booted? It seems the problem is with the code itself. give me time to have a=20 closer look....... try on 128MB if possible. regards Manish Regmi |