[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: New oskit-mach debugging log - failed assertion 'port->ip_srights > 0'



Ok, that worked! I got the "-T typed" from here:

"The Hurd Installation Guide"

http://web.walfield.org/papers/hurd-installation-guide/english/hurd-install-guide.html#SEC5

Next, the root file system server and the |exec| server must be loaded. This is done using Grub's boot module capability. The parameters are the semantics by which the kernel passes some important values to the servers.

 grub> module /hurd/ext2fs.static --multiboot-command-line=${kernel-command-line}  --host-priv-port=${host-port} --device-master-port=${device-port} --exec-server-task=${exec-task} -T typed ${root} $(task-create) $(task-resume)
    [Multiboot-module  0x1c4000, 0x2cfe6a bytes]
 grub> module /lib/ld.so.1 /hurd/exec $(exec-task=task-create)
    [Multiboot-module  0x494000, 0x27afe bytes]

It is important that each module string is only a single separate line. Adding this to Grub's `menu.lst' file as soon as possible is advised.

The typos are "-T typed" and ${root}

Here is my grub menu.lst:

# menu for grub
timeout 20
default 0

color 0x0A 0x2F

title Debian GNU/Linux v 3.0
root (hd1,2)
kernel /boot/vmlinuz-2.4.17 root=/dev/sdb3 vga=9

title Windows NT / FreeDOS
root (hd0,0)
chainloader +1

title Debian GNU/Hurd (gnumach.gz)
root (hd3,0)
kernel /boot/gnumach.gz root=hd0s1
module /boot/serverboot.gz

title Debian GNU/Hurd (oskit-mach #1) (serverboot + Serial Debugging)
root (hd3,0)
kernel /boot/kernel-ide -d GDB_COM=1 BAUD=9600 -- root=hd0s1
module /boot/serverboot.gz

title Debian GNU/Hurd (oskit-mach #2) (Serial Debugging)
root (hd3,0)
kernel /boot/kernel-ide -d GDB_COM=1 BAUD=9600 -- root=hd0s1
module /hurd/ext2fs.static --multiboot-command-line=${kernel-command-line} --host-priv-port=${host-port} --device-master-port=${device-port} --exec-server-task=${exec-task} -T device ${root-device} $(task-create) $(task-resume)
module /lib/ld.so.1 /hurd/exec $(exec-task=task-create)

title Debian GNU/Hurd (oskit-mach #3) (serverboot + No debugging)
root (hd3,0)
kernel /boot/kernel-ide root=hd0s1
module /boot/serverboot.gz


If you see the apparent grub drive mismatch, remember I am
booting from SCSI to IDE so my Hurd's hd0 is grub's (hd3)

For non-debugging booting of oskit-mach,
this worked (I just edited grub's line):

title Debian GNU/Hurd (oskit-mach)
root (hd3,0)
kernel /boot/kernel-ide -- root=hd0s1
module /hurd/ext2fs.static --multiboot-command-line=${kernel-command-line} --host-priv-port=${host-port} --device-master-port=${device-port} --exec-server-task=${exec-task} -T device ${root-device} $(task-create) $(task-resume)
module /lib/ld.so.1 /hurd/exec $(exec-task=task-create)


It booted up in multiuser mode just spiffy.

I now have the commands memorized to compile oskit and oskit-mach!

BTW: My lobotomized OSKit-tiny kernel doesn't work as I suspected,
but the new "full" OSKit kernel-ide does work.

Thanks a lot for all the help guys! Whew! ( A great weight is lifted )
Now onto the important stuff!

G'Night

- Doug

Roland McGrath wrote:

I don't know where you got the idea you should use `-T typed'.
-T device is what you need for the store name you are using.


Yeah, see above. Maybe that web page should be fixed ASAP.



Reply to: