Arkadiusz Miskiewicz
2005-Jul-31 11:52 UTC
[Xen-users] xen 3.0 on UP amd64 - rootfs mounting problem in xenU
Hi, I''m trying to run Xen 3.0 on my amd64 UP machine. So far xen0 is working fine but there is a problem with mounting rootfs on xenU kernel. Is there something else that needs to be compiled into xenU 3.0 kernel? $ grep XEN kernel-xenU-x86_64-3.0.config CONFIG_XEN=y CONFIG_ARCH_XEN=y # XEN # CONFIG_XEN_PRIVILEGED_GUEST is not set # CONFIG_XEN_PHYSDEV_ACCESS is not set CONFIG_XEN_BLKDEV_GRANT=y CONFIG_XEN_BLKDEV_FRONTEND=y CONFIG_XEN_NETDEV_FRONTEND=y # CONFIG_XEN_NETDEV_GRANT_TX is not set # CONFIG_XEN_NETDEV_GRANT_RX is not set # CONFIG_XEN_NETDEV_FRONTEND_PIPELINED_TRANSMITTER is not set # CONFIG_XEN_BLKDEV_TAP is not set # CONFIG_XEN_SHADOW_MODE is not set CONFIG_XEN_SCRUB_PAGES=y # CONFIG_XEN_X86 is not set CONFIG_XEN_X86_64=y CONFIG_XENARCH="x86_64" [...] Blkif frontend is using grant tables. xen_blk: Initialising virtual block device driver xen_net: Initialising virtual ethernet driver. NET: Registered protocol family 2 IP: routing cache hash table of 512 buckets, 4Kbytes TCP established hash table entries: 4096 (order: 3, 32768 bytes) TCP bind hash table entries: 4096 (order: 3, 32768 bytes) TCP: Hash tables configured (established 4096 bind 4096) NET: Registered protocol family 1 NET: Registered protocol family 17 IP-Config: Guessing netmask 255.0.0.0 IP-Config: Complete: device=eth0, addr=1.2.3.4, mask=255.0.0.0, gw=255.255.255.255, host=1.2.3.4, domain=, nis-domain=(none), bootserver=1.2.3.4, rootserver=1.2.3.4, rootpathRAMDISK: romfs filesystem found at block 0 RAMDISK: Loading 2214KiB [1 disk] into ram disk... done. VFS: Mounted root (romfs filesystem) readonly. + insmod /lib/modules/2.6.12.3-0.2/kernel/drivers/scsi/scsi_mod.ko Using /lib/modules/2.6.12.3-0.2/kernel/drivers/scsi/scsi_mod.ko SCSI subsystem initialized + insmod /lib/modules/2.6.12.3-0.2/kernel/drivers/scsi/sd_mod.ko Using /lib/modules/2.6.12.3-0.2/kernel/drivers/scsi/sd_mod.ko register_blkdev: cannot get major 8 for sd + insmod /lib/modules/2.6.12.3-0.2/kernel/fs/mbcache.ko Using /lib/modules/2.6.12.3-0.2/kernel/fs/mbcache.ko + insmod /lib/modules/2.6.12.3-0.2/kernel/fs/jbd/jbd.ko Using /lib/modules/2.6.12.3-0.2/kernel/fs/jbd/jbd.ko + insmod /lib/modules/2.6.12.3-0.2/kernel/fs/ext3/ext3.ko Using /lib/modules/2.6.12.3-0.2/kernel/fs/ext3/ext3.ko + mount -t proc none /proc + awk /resume2=/ { print "yes"; } /proc/cmdline + [ = yes ] + umount /proc + set +x VFS: Cannot open root device "sdc3" or unknown-block(8,35) Please append a correct "root=" boot option Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(8,35) the config is: [root@arm ~]# cat /etc/xen/ttylinux kernel = "/boot/vmlinuz-2.6.12.3-0.2-xenU" ramdisk = "/boot/initrd-2.6.12.3-0.2-xenU.gz" memory = 64 name = "ttylinux" nics = 1 ip = "1.2.3.4" disk = [''file:/ttylinux-xen,sdc3,w''] root = "/dev/sdc3 ro" [root@arm ~]# file /ttylinux-xen /ttylinux-xen: Linux rev 1.0 ext3 filesystem data -- Arkadiusz MiĆkiewicz PLD/Linux Team http://www.t17.ds.pwr.wroc.pl/~misiek/ http://ftp.pld-linux.org/ _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Ernst Bachmann
2005-Aug-01 08:47 UTC
Re: [Xen-users] xen 3.0 on UP amd64 - rootfs mounting problem in xenU
On Sunday 31 July 2005 13:52, Arkadiusz Miskiewicz wrote:> Hi, > > I''m trying to run Xen 3.0 on my amd64 UP machine. So far xen0 is working > fine but there is a problem with mounting rootfs on xenU kernel. > > Is there something else that needs to be compiled into xenU 3.0 kernel?[snip]> + insmod /lib/modules/2.6.12.3-0.2/kernel/drivers/scsi/scsi_mod.ko > Using /lib/modules/2.6.12.3-0.2/kernel/drivers/scsi/scsi_mod.ko > SCSI subsystem initialized > + insmod /lib/modules/2.6.12.3-0.2/kernel/drivers/scsi/sd_mod.ko > Using /lib/modules/2.6.12.3-0.2/kernel/drivers/scsi/sd_mod.ko > register_blkdev: cannot get major 8 for sdfor some strange reasons, the sd_mod module doesn''t initialize correctly, as a result, the kernel doesn''t know how to use scsi discs. [snip]> VFS: Cannot open root device "sdc3" or unknown-block(8,35) > Please append a correct "root=" boot option > Kernel panic - not syncing: VFS: Unable to mount root fs on > unknown-block(8,35)Yep. of course it can''t boot from a scsi disc then.. I''d try to a) compile scsi and scsi-disc static into the domU kernel b) test with using hda3 or something instead of sdc3 in the domain config, to see if your root-filesystem works at all /Ernst _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users