* domU kernel panic with root fs
@ 2004-11-13 11:31 Bjoern Sessler
2004-11-23 22:47 ` Dan Cardamore
0 siblings, 1 reply; 8+ messages in thread
From: Bjoern Sessler @ 2004-11-13 11:31 UTC (permalink / raw)
To: xen-devel
Hi,
i installed xen 2.0 on my new installed gentoo box. xen0 works great,
but i can't get domU kernel to mount root fs:
VFS: Cannot open root device "sda5" or unknown-block(8,5)
Please append a correct "root=" boot option
Kernel panic - not syncing: VFS: Unable to mount root fs on
unknown-block(8,5)
this happens with all root-fs i've tried, ttylinux and my cloned root
from Xen0. ttylinux lives now on a hdc partition, the cloned root were
lvm2 devices over kernlraid, which worked fine on my old gentoo with
xeno-unstable.
fstab on ttylinux also points to sda5, sda5 also exists on Xen0, but
also hda1 doesn't work. i also saw similar problem with wrong config of
disk= parameter, but doesn't help me.
config looks like following for these parts:
# disk = [ 'phy:vg1/vm101,hda1,w', 'phy:vg1/vm101-swap,hda2,w',
'phy:sdb7,hdc1,r!', 'phy:sdc5,hdc2,r!' ]
disk = [ "file:/machines/backup/ttylinux-xen,sda5,w" ]
#disk = [ 'phy:hdc6,hda1,w' ]
#ip = "192.168.1.101"
#netmask = "255.255.255.0"
#gateway = "192.168.1.1"
# Set root device.
root = "/dev/sda5 ro"
i believe i forgot something in the kernel for XenU but i started with
default-config.
Thanks & Regards,
Björn
-------------------------------------------------------
This SF.Net email is sponsored by: InterSystems CACHE
FREE OODBMS DOWNLOAD - A multidimensional database that combines
robust object and relational technologies, making it a perfect match
for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: domU kernel panic with root fs
2004-11-13 11:31 domU kernel panic with root fs Bjoern Sessler
@ 2004-11-23 22:47 ` Dan Cardamore
2004-11-23 23:31 ` Ian Pratt
` (2 more replies)
0 siblings, 3 replies; 8+ messages in thread
From: Dan Cardamore @ 2004-11-23 22:47 UTC (permalink / raw)
To: xen-devel
Bjoern Sessler <bjoern.sessler <at> web.de> writes:
>
> Hi,
>
> i installed xen 2.0 on my new installed gentoo box. xen0 works great,
> but i can't get domU kernel to mount root fs:
>
> VFS: Cannot open root device "sda5" or unknown-block(8,5)
> Please append a correct "root=" boot option
> Kernel panic - not syncing: VFS: Unable to mount root fs on
> unknown-block(8,5)
I'm having the exact same problem, does anyone know of a solution?
>From dom0 I can 'mount -o loop rootfs /mnt/loop' no problems. It's an ext3
filesystem which my 2.4.27 kernel supports.
Dan
-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://productguide.itmanagersjournal.com/
^ permalink raw reply [flat|nested] 8+ messages in thread* Re: Re: domU kernel panic with root fs
2004-11-23 22:47 ` Dan Cardamore
@ 2004-11-23 23:31 ` Ian Pratt
2004-11-23 23:31 ` Mark Williamson
2004-11-24 14:49 ` Dan Cardamore
2 siblings, 0 replies; 8+ messages in thread
From: Ian Pratt @ 2004-11-23 23:31 UTC (permalink / raw)
To: Dan Cardamore; +Cc: xen-devel, Ian.Pratt
> Bjoern Sessler <bjoern.sessler <at> web.de> writes:
> >
> > Hi,
> >
> > i installed xen 2.0 on my new installed gentoo box. xen0 works great,
> > but i can't get domU kernel to mount root fs:
> >
> > VFS: Cannot open root device "sda5" or unknown-block(8,5)
> > Please append a correct "root=" boot option
> > Kernel panic - not syncing: VFS: Unable to mount root fs on
> > unknown-block(8,5)
>
>
> I'm having the exact same problem, does anyone know of a solution?
>
> From dom0 I can 'mount -o loop rootfs /mnt/loop' no problems. It's an ext3
> filesystem which my 2.4.27 kernel supports.
What does your "disks=" line look like?
file:/path/to/rootfs,sda5,w ?
In the boot log does it find the partitions on the virtual sda
OK? What happens if you export it as sda1 instead of sda5?
Ian
-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://productguide.itmanagersjournal.com/
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Re: domU kernel panic with root fs
2004-11-23 22:47 ` Dan Cardamore
2004-11-23 23:31 ` Ian Pratt
@ 2004-11-23 23:31 ` Mark Williamson
2004-11-24 14:49 ` Dan Cardamore
2 siblings, 0 replies; 8+ messages in thread
From: Mark Williamson @ 2004-11-23 23:31 UTC (permalink / raw)
To: Dan Cardamore; +Cc: xen-devel
Are you using devfs, udev or static /dev? Only the latter two will work
in domain != 0, so you may need to set one of those alternatives up.
HTH,
Mark
----------------------------------
"Boing! Init 0" said Zebedee
On Tue, 23 Nov 2004, Dan Cardamore wrote:
> Bjoern Sessler <bjoern.sessler <at> web.de> writes:
>>
>> Hi,
>>
>> i installed xen 2.0 on my new installed gentoo box. xen0 works great,
>> but i can't get domU kernel to mount root fs:
>>
>> VFS: Cannot open root device "sda5" or unknown-block(8,5)
>> Please append a correct "root=" boot option
>> Kernel panic - not syncing: VFS: Unable to mount root fs on
>> unknown-block(8,5)
>
>
> I'm having the exact same problem, does anyone know of a solution?
>
> From dom0 I can 'mount -o loop rootfs /mnt/loop' no problems. It's an ext3
> filesystem which my 2.4.27 kernel supports.
>
> Dan
>
>
>
> -------------------------------------------------------
> SF email is sponsored by - The IT Product Guide
> Read honest & candid reviews on hundreds of IT Products from real users.
> Discover which products truly live up to the hype. Start reading now.
> http://productguide.itmanagersjournal.com/
> _______________________________________________
> Xen-devel mailing list
> Xen-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/xen-devel
>
-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://productguide.itmanagersjournal.com/
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Re: domU kernel panic with root fs
2004-11-23 22:47 ` Dan Cardamore
2004-11-23 23:31 ` Ian Pratt
2004-11-23 23:31 ` Mark Williamson
@ 2004-11-24 14:49 ` Dan Cardamore
2004-11-24 15:31 ` M.A. Williamson
2004-11-24 16:17 ` Jan Kundrát
2 siblings, 2 replies; 8+ messages in thread
From: Dan Cardamore @ 2004-11-24 14:49 UTC (permalink / raw)
To: xen-devel
On Tue, Nov 23, 2004 at 10:47:08PM +0000, Dan Cardamore wrote:
> Bjoern Sessler <bjoern.sessler <at> web.de> writes:
> >
> > Hi,
> >
> > i installed xen 2.0 on my new installed gentoo box. xen0 works great,
> > but i can't get domU kernel to mount root fs:
> >
> > VFS: Cannot open root device "sda5" or unknown-block(8,5)
> > Please append a correct "root=" boot option
> > Kernel panic - not syncing: VFS: Unable to mount root fs on
> > unknown-block(8,5)
>
>
> I'm having the exact same problem, does anyone know of a solution?
>
> From dom0 I can 'mount -o loop rootfs /mnt/loop' no problems. It's an ext3
> filesystem which my 2.4.27 kernel supports.
I managed to figure out that this is related to devfs. Whenever I have
devfs support compiled in it panics. This is even if I don't mount
devfs (devfs=mount) and don't have "Automatically mount at boot time" in
the kernel config.
Anyone know why? This is a significant nuisance if you're running a
gentoo system.
Thanks,
Dan
--
Dan Cardamore
dan@hld.ca
-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://productguide.itmanagersjournal.com/
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Re: domU kernel panic with root fs
2004-11-24 14:49 ` Dan Cardamore
@ 2004-11-24 15:31 ` M.A. Williamson
2004-11-24 16:17 ` Jan Kundrát
1 sibling, 0 replies; 8+ messages in thread
From: M.A. Williamson @ 2004-11-24 15:31 UTC (permalink / raw)
To: Dan Cardamore; +Cc: xen-devel
> I managed to figure out that this is related to devfs. Whenever I have
> devfs support compiled in it panics. This is even if I don't mount
> devfs (devfs=mount) and don't have "Automatically mount at boot time" in
> the kernel config.
>
> Anyone know why? This is a significant nuisance if you're running a
> gentoo system.
Unfortunately it's not possible to work around this by not mounting devfs.
The virtual block device driver and DevFS do not play nicely together :-(
I suspect that DevFS enabled kernels don't like the VBD driver trying to
register block devices without having first registered with the IDE or SCSI
layers. As a result, virtual block devices don't get registered and hence
you can't boot off them. It's not an issue in dom0, since you typically
don't have VBDs, just real devices.
The feeling was that since DevFS is being phased out of the Linux kernel in
favour of udev, it's probably not worth the work required to support it.
All the XenLinux drivers should play nicely with udev / sysfs. I heard
Gentoo was moving towards using udev but I don't know how far they've gone
in that direction.
HTH,
Mark
-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://productguide.itmanagersjournal.com/
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Re: domU kernel panic with root fs
2004-11-24 14:49 ` Dan Cardamore
2004-11-24 15:31 ` M.A. Williamson
@ 2004-11-24 16:17 ` Jan Kundrát
1 sibling, 0 replies; 8+ messages in thread
From: Jan Kundrát @ 2004-11-24 16:17 UTC (permalink / raw)
To: Dan Cardamore; +Cc: xen-devel
Dan Cardamore wrote:
> Anyone know why? This is a significant nuisance if you're running a
> gentoo system.
This isn't a problem as gentoo of course supports udev. See
http://www.gentoo.org/doc/en/udev-guide.xml
-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://productguide.itmanagersjournal.com/
^ permalink raw reply [flat|nested] 8+ messages in thread
[parent not found: <20041123224413.GA4135@hld.ca>]
* Re: domU kernel panic with root fs
[not found] <20041123224413.GA4135@hld.ca>
@ 2004-11-24 16:31 ` Björn Sessler
0 siblings, 0 replies; 8+ messages in thread
From: Björn Sessler @ 2004-11-24 16:31 UTC (permalink / raw)
To: Dan Cardamore; +Cc: xen-devel
Dan Cardamore schrieb:
>> Hi Bjoern,
>>
>> I'm having the same problem that you posted on xen-devel a week ago
>> regarding the error message "Cannot open root device "sda5" or
>> unknown-block(8,5)".
>>
>> Did you ever get that solved?
>>
>> Dan
>> --
>> Dan Cardamore
>> dan@hld.ca
> I managed to figure out that this is related to devfs. Whenever I
> have devfs support compiled in it panics. This is even if I don't
> mount devfs (devfs=mount) and don't have "Automatically mount at boot
> time" in the kernel config.
>
> Anyone know why? This is a significant nuisance if you're running a
> gentoo system.
Hi Dan,
ehhm, i remember now there was an issue with devfs in my fist
installation. did i add gentoo=nodevfs as a boot option to enable gentoo
to work without devfs? but i thought i added only to xen0, because xen
1.2 didn't cope with devfs in this version. i will have a look on that
tomorrow or friday when at home and give it a try.
Regards,
Björn
-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://productguide.itmanagersjournal.com/
^ permalink raw reply [flat|nested] 8+ messages in thread
end of thread, other threads:[~2004-11-24 16:31 UTC | newest]
Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-11-13 11:31 domU kernel panic with root fs Bjoern Sessler
2004-11-23 22:47 ` Dan Cardamore
2004-11-23 23:31 ` Ian Pratt
2004-11-23 23:31 ` Mark Williamson
2004-11-24 14:49 ` Dan Cardamore
2004-11-24 15:31 ` M.A. Williamson
2004-11-24 16:17 ` Jan Kundrát
[not found] <20041123224413.GA4135@hld.ca>
2004-11-24 16:31 ` Björn Sessler
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.