2006-05-24 09:48:48

by Miklos Szeredi

[permalink] [raw]
Subject: UML boot failure with kinit

UML now compiles on 2.6.17-rc4-mm3, but it fails to boot:

[...]
kinit: do_mounts
kinit: name_to_dev_t(98:0) = dev(0,0)
kinit: root_dev = dev(0,0)
kinit: trying to mount /dev/root on /root with type ext3
kinit: Cannot open root device dev(0,0)
[...]

Adding 'root=ubda' to the command line cures it.

Miklos


2006-05-24 13:49:14

by Jeff Dike

[permalink] [raw]
Subject: Re: UML boot failure with kinit

On Wed, May 24, 2006 at 11:48:11AM +0200, Miklos Szeredi wrote:
> UML now compiles on 2.6.17-rc4-mm3, but it fails to boot:
>
> [...]
> kinit: do_mounts
> kinit: name_to_dev_t(98:0) = dev(0,0)
> kinit: root_dev = dev(0,0)
> kinit: trying to mount /dev/root on /root with type ext3
> kinit: Cannot open root device dev(0,0)
> [...]
>
> Adding 'root=ubda' to the command line cures it.

hpa fixed this yesterday. Something in klibc didn't support decimal
mm:nn device specifications.

Jeff

2006-05-24 15:46:45

by H. Peter Anvin

[permalink] [raw]
Subject: Re: UML boot failure with kinit

Miklos Szeredi wrote:
> UML now compiles on 2.6.17-rc4-mm3, but it fails to boot:
>
> [...]
> kinit: do_mounts
> kinit: name_to_dev_t(98:0) = dev(0,0)
> kinit: root_dev = dev(0,0)
> kinit: trying to mount /dev/root on /root with type ext3
> kinit: Cannot open root device dev(0,0)
> [...]
>
> Adding 'root=ubda' to the command line cures it.
>

Jeff Dike reported this one yesterday; it's fixed in my git tree.

Thanks!

-hpa