All of lore.kernel.org
 help / color / mirror / Atom feed
* xenU wont boot, cannot open root device
@ 2004-12-22 17:11 Maurice Meeden
  2004-12-24  5:58 ` Derrik Pates
  0 siblings, 1 reply; 3+ messages in thread
From: Maurice Meeden @ 2004-12-22 17:11 UTC (permalink / raw)
  To: xen-devel

Hi,

I am trying to replace uml with xen, but I cant get the unpreviliged Domains
booting..
Ive tested a cuple of filesystems in a file (ext3 or xfs formatted) and Ive also
tried the ttylinux-xen image. But I always get this error:
VFS: Cannot open root device "hda1" or unknown-block(3,1)
Please append a correct "root=" boot option
Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(3,1)

The config is the same as in the example:
kernel = "/uml/linux-2.6.9-xenU"
memory = 64
name = "ttylinux"
nics = 1
disk = [ 'file:/uml/ttylinux-xen,hda1,w' ]
root = "/dev/hda1 ro"

Ive also tried sda1 instead of hda1, or hexadecimal.

Ans I also tested different versions, xen 2.0.1 and 2.0-testing, with a stock
Linux kernel, and the prepatched Gentoo-dev-2.6.9 Version. I compiled with and
without 4k stacks, but always the same :-(

Ive no ideas what else I could try, can somebody give me an hint please?

Greetings Maurice




-------------------------------------------------------
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] 3+ messages in thread

* Re: xenU wont boot, cannot open root device
  2004-12-22 17:11 xenU wont boot, cannot open root device Maurice Meeden
@ 2004-12-24  5:58 ` Derrik Pates
  2004-12-24 11:01   ` Maurice
  0 siblings, 1 reply; 3+ messages in thread
From: Derrik Pates @ 2004-12-24  5:58 UTC (permalink / raw)
  To: Maurice Meeden; +Cc: xen-devel

Maurice Meeden wrote:
> I am trying to replace uml with xen, but I cant get the unpreviliged Domains
> booting..
> Ive tested a cuple of filesystems in a file (ext3 or xfs formatted) and Ive also
> tried the ttylinux-xen image. But I always get this error:
> VFS: Cannot open root device "hda1" or unknown-block(3,1)
> Please append a correct "root=" boot option
> Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(3,1)

> Ive no ideas what else I could try, can somebody give me an hint please?

Are you using the prebuilt unprivileged-domain kernel image? If so, the 
one in 2.0.1 at least (maybe others, not sure) has devfs support 
enabled. This breaks things. I suggest you rebuild your domU kernel 
_without_ devfs support, and it should work correctly. I had this same 
problem when I began playing with Xen, but after rebuilding the kernel 
as I mentioned, it all worked correctly.

-- 
Derrik Pates
dpates@dsdk12.net


-------------------------------------------------------
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] 3+ messages in thread

* Re: xenU wont boot, cannot open root device
  2004-12-24  5:58 ` Derrik Pates
@ 2004-12-24 11:01   ` Maurice
  0 siblings, 0 replies; 3+ messages in thread
From: Maurice @ 2004-12-24 11:01 UTC (permalink / raw)
  To: Derrik Pates; +Cc: xen-devel

> Maurice Meeden wrote:
> > I am trying to replace uml with xen, but I cant get the unpreviliged
> Domains
> > booting..
> > Ive tested a cuple of filesystems in a file (ext3 or xfs formatted) and
> Ive also
> > tried the ttylinux-xen image. But I always get this error:
> > VFS: Cannot open root device "hda1" or unknown-block(3,1)
> > Please append a correct "root=" boot option
> > Kernel panic - not syncing: VFS: Unable to mount root fs on
> unknown-block(3,1)
> 
> > Ive no ideas what else I could try, can somebody give me an hint please?
> 
> Are you using the prebuilt unprivileged-domain kernel image? If so, the 
> one in 2.0.1 at least (maybe others, not sure) has devfs support 
> enabled. This breaks things. I suggest you rebuild your domU kernel 
> _without_ devfs support, and it should work correctly. I had this same 
> problem when I began playing with Xen, but after rebuilding the kernel 
> as I mentioned, it all worked correctly.

Thank you very much, it works now.
Ive thought its enough to add devfs=nomount to the kernel parameters, but
you are right, CONFIG_DEVFS_FS must be unset.

Merry Xmas, Maurice


-------------------------------------------------------
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] 3+ messages in thread

end of thread, other threads:[~2004-12-24 11:01 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-12-22 17:11 xenU wont boot, cannot open root device Maurice Meeden
2004-12-24  5:58 ` Derrik Pates
2004-12-24 11:01   ` Maurice

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.