Hello everybody, i am a newbie in using Xen. The first three tries to install Xen on my Gentoo box aren''t very successfull. But now i know how to get the dom0 Domain running. So my Xentoo (Xen + Gentoo = Xentoo) ist coming up. My system is configures like this: /dev/hda1 = /boot /dev/hda2 = / /dev/hda3 = LVM-Partition /dev/hda4 = SWAP /dev/vg01/SYSP = Gentoo System for dom1 i''ve createt a lpar /dev/vg01/SYSP where i''ve copied the new Gentoo in. Now when i try to start the new Domain i get: VFS: Cannot open root device "sda1" or unknown-block(0,0) Please append a correct "root=" boot option Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0) The configuration is this: # -*- mode: python; -*- kernel = "/boot/vmlinuz-2.6.10-xenU" memory = 128 name = "SYSP" disk = [ ''phy:vg01/SYSP,sda1,w'' ] dhcp="dhcp" root = "/dev/sda1 ro" extra = "3" I have tried diffenrent Config like disk = [ ''phy:/dev/vg01/SYSP,sda1,w'' ] or root = "sda1 ro" or root = "/dev/vg01/SYSP ro" but it also doesn''t work. Don''t know if there is a problem with devfs used by Gentoo (but dom0 is working fine with devfs!). Both Kernels (xen0 and xenU) uses the same .config!!! I hope, anyone can help. Nice greetings, Dominik. _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
> but it also doesn''t work. > Don''t know if there is a problem with devfs used by Gentoo (but dom0 is > working fine with devfs!). > Both Kernels (xen0 and xenU) uses the same .config!!!Ah right. DomU kernels won''t generally boot if DevFS is compiled in: the Xen virtual disk drivers do not appear in DevFS. You can either statically create the device nodes for the domain, or you can upgrade to udev (which is known to work). DevFS works fine in dom0 because *real* disks do appear in DevFS. A decision was taken not to support DevFS with the *virtual* disks, since DevFS was deprecated by that stage. Hope that helps, Mark> I hope, anyone can help. > Nice greetings, > > Dominik. > > > _______________________________________________ > Xen-users mailing list > Xen-users@lists.xensource.com > http://lists.xensource.com/xen-users_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
On Wed, 2005-05-18 at 08:43, Dominik Heßmann wrote:> Hello everybody, > > i am a newbie in using Xen. > The first three tries to install Xen on my Gentoo box > aren''t very successfull. But now i know how to get the > dom0 Domain running. > So my Xentoo (Xen + Gentoo = Xentoo) ist coming up. > > My system is configures like this: > > /dev/hda1 = /boot > /dev/hda2 = / > /dev/hda3 = LVM-Partition > /dev/hda4 = SWAP > > /dev/vg01/SYSP = Gentoo System for dom1 > > i''ve createt a lpar /dev/vg01/SYSP where i''ve copied > the new Gentoo in. > Now when i try to start the new Domain i get: > > > VFS: Cannot open root device "sda1" or unknown-block(0,0) > Please append a correct "root=" boot option > Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0)I forget the exact MO for devfs but it''s probably the case that devfs isn''t mounted (no initrd to do it here) so /dev/sda1 isn''t finding anything. Try manually mknod''ing /dev/sda1 within the domain disk image. When devfs does get mounted it will mount over the top of this which won''t cause a problem. Mark W - I seem to recall you had some comments on the /dev/ issues a while back?> > > The configuration is this: > > # -*- mode: python; -*- > kernel = "/boot/vmlinuz-2.6.10-xenU" > memory = 128 > name = "SYSP" > disk = [ ''phy:vg01/SYSP,sda1,w'' ] > dhcp="dhcp" > root = "/dev/sda1 ro" > extra = "3" > > > I have tried diffenrent Config like > disk = [ ''phy:/dev/vg01/SYSP,sda1,w'' ] > or > root = "sda1 ro" > or > root = "/dev/vg01/SYSP ro" > > but it also doesn''t work. > Don''t know if there is a problem with devfs used by Gentoo (but dom0 is > working fine with devfs!). > Both Kernels (xen0 and xenU) uses the same .config!!! > > I hope, anyone can help. > Nice greetings, > > Dominik. > > > _______________________________________________ > Xen-users mailing list > Xen-users@lists.xensource.com > http://lists.xensource.com/xen-users_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users