Qemu boot problem

View: New views
5 Messages — Rating Filter:   Alert me  

Qemu boot problem

by gordev :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi

I've installed Hurd from minimal cd debian-L1-hurd-i386-mini.iso.
Also installed grub to (hd0)
booting grom grub like:

root (hd0,0)
kernel /boot/gnumach.gz
module /boot/servers.boot
boot

it became loading, but when module should be loaded, i get panic with error
code 6000.
Here is full text of error:
Loading single multiboot module in compat mode: /boot/servers.boot
panic: Cannot load user-bootstrap image: error code 6000
I tried module and modulenounzip grub options,with kqemu and without and any
luck.

Regards


--
To UNSUBSCRIBE, email to debian-hurd-REQUEST@...
with a subject of "unsubscribe". Trouble? Contact listmaster@...


Re: Qemu boot problem

by Samuel Thibault-8 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

gordev, le Mon 09 Nov 2009 20:47:52 +0200, a écrit :
> root (hd0,0)
> kernel /boot/gnumach.gz
> module /boot/servers.boot
> boot

Which (bogus) document told you to use servers.boot?
It could have been /boot/serverboot, but we don't use that any more. See
the sample snippet in grub:

kernel          /boot/gnumach.gz root=device:hd0s7
module          /hurd/ext2fs.static -A --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)
module          /lib/ld.so.1 /hurd/exec $(exec-task=task-create)

Samuel


--
To UNSUBSCRIBE, email to debian-hurd-REQUEST@...
with a subject of "unsubscribe". Trouble? Contact listmaster@...


Re: Qemu boot problem

by gordev :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I used that one
http://www.gnu.org/software/grub/manual/html_node/GNU_002fHurd.html#GNU_002fHurd 
, but in /boot/ directory only two files gnumach.gz and servers.boot.
cat /boot/servers.boot contains:
module /hurd/ext2fs.static -A --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)
module /lib/ld.so.1 /hurd/exec $(exec-task=task-create)

But when i tried to type it manualy in grub console like that:
root (hd0,0)
kernel /boot/gnumach.gz
module /hurd/ext2fs.static -A --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)
module /lib/ld.so.1 /hurd/exec $(exec-task=task-create)
boot
but it shows another panic message:

Assertion 'port->ip_srights > 0' failed in file "../ips/ipc_port.c", line 1020
panic: Debugger invoked, but there isn't one

Btw, in modules load messages i can see only part of message:
message 0: /hurd/ext2fs.static -A --multiboot-command-line=${kernel-command-
line} --host-priv-port=${host-port} --device-master-port=${device-port}  --
exec-server-task
and then module 1 message, is it okay?

As an answer to your question on Понедельник 09 ноября 2009 21:01:12 Samuel
Thibault:

> gordev, le Mon 09 Nov 2009 20:47:52 +0200, a écrit :
> > root (hd0,0)
> > kernel /boot/gnumach.gz
> > module /boot/servers.boot
> > boot
>
> Which (bogus) document told you to use servers.boot?
> It could have been /boot/serverboot, but we don't use that any more. See
> the sample snippet in grub:
>
> kernel          /boot/gnumach.gz root=device:hd0s7
> module          /hurd/ext2fs.static -A
>  --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) module          /lib/ld.so.1 /hurd/exec
>  $(exec-task=task-create)
>
> Samuel
>

Regards


--
To UNSUBSCRIBE, email to debian-hurd-REQUEST@...
with a subject of "unsubscribe". Trouble? Contact listmaster@...


Re: Qemu boot problem

by Samuel Thibault-8 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

gordev, le Mon 09 Nov 2009 21:50:58 +0200, a écrit :
> http://www.gnu.org/software/grub/manual/html_node/GNU_002fHurd.html#GNU_002fHurd 

That's very outdated.

> , but in /boot/ directory only two files gnumach.gz and servers.boot.

And thus it can't be used, servers.boot is _not_ the same as serverboot.
One is a script and the other is an ELF.

> kernel /boot/gnumach.gz

The root filesystem is missing here, add something like
root=device:hd0s7 (here for the 7th partition of the first disk).

Samuel


--
To UNSUBSCRIBE, email to debian-hurd-REQUEST@...
with a subject of "unsubscribe". Trouble? Contact listmaster@...


Re: Qemu boot problem

by gordev :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Sorry, my fault. Specifying root=device:hd0s1 helped.

As an answer to your question on Понедельник 09 ноября 2009 22:15:52 Samuel
Thibault:

> gordev, le Mon 09 Nov 2009 21:50:58 +0200, a écrit :
> > http://www.gnu.org/software/grub/manual/html_node/GNU_002fHurd.html#GNU_0
> >02fHurd
>
> That's very outdated.
>
> > , but in /boot/ directory only two files gnumach.gz and servers.boot.
>
> And thus it can't be used, servers.boot is _not_ the same as serverboot.
> One is a script and the other is an ELF.
>
> > kernel /boot/gnumach.gz
>
> The root filesystem is missing here, add something like
> root=device:hd0s7 (here for the 7th partition of the first disk).
>
> Samuel
>

Regards


--
To UNSUBSCRIBE, email to debian-hurd-REQUEST@...
with a subject of "unsubscribe". Trouble? Contact listmaster@...