[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-devel] Problem with VBD
Hi! $ xm create -n -f xmtest Using config file "xmtest". (vm (name testdomain) (memory 128) (image (linux (kernel /boot/vmlinuz-2.6.8-foo1-XenU) (ip :1.2.3.4:::tesmo:eth0:dhcp) (root '/dev/xda1 ro') (args 1) ) ) (device (vbd (uname phy:loop0) (dev xda1) (mode w))) (device (vif (mac aa:00:00:2f:d4:fb))) ) That's how I create the domain. The domain starts, and this is the console output before kernel panic: <snip> Xen virtual console successfully installed as tty Event-channel device installed. [XEN] Initialising virtual block device driver XL VBD: can't get major 0 with name xvd [XEN] Initialising virtual ethernet driver. <snip> VFS: Unable to mount root fs via NFS, trying floppy. VFS: Cannot open root device "xda1" or unknown-block(2,0) Please append a correct "root=" boot option Kernel panic: VFS: Unable to mount root fs on unknown-block(2,0) Is there something (driver?) missing from my unprivileged kernel? /dev/loop0 is set up correctly with ext2-image on host.. $ losetup /dev/loop0 /dev/loop0: [4805]:471449 (Debian-3.0r2.ext2) $ xm list Name Id Mem(MB) CPU State Time(s) Console Domain-0 0 123 0 r---- 470.8 testdomain 4 128 0 ----- 144.6 9604 $ xm vbd-list testdomain (blkdev (idx 0) (vdev 3329) (device 1792) (mode w) (dev xda1) (uname phy:loop0)) Thanks for your help! -- Pasi Kärkkäinen ^ . . Linux / - \ Choice.of.the .Next.Generation. ------------------------------------------------------- This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxxxxxxxxxx https://lists.sourceforge.net/lists/listinfo/xen-devel
|
![]() |
Lists.xenproject.org is hosted with RackSpace, monitoring our |