David Cundiff
2006-Jan-15 19:55 UTC
[Xen-users] Cannot use USB storage device as DomU drive
I just upgraded a perfectly stable xen-2.0.6 system to the xen-3.0-testing, changeset 8269:a91e4dcf629d I believe. My system uses LVM''s for most of the DomU drives and I have 1 USB drive that I mount into a DomU. After the upgrade I can no longer get my USB drive to mount. In the DomU I get "VFS: Cannot open root device "sda1" or unknown-block(2,0)". This also leaves a zombie behind. Nothing interesting in any of the xendlogs other than telling me the domain crashed. I did get this kernel message from Dom0 right after the network interface is brought up Jan 15 14:37:48 localhost kernel: Modules linked in: ipt_physdev iptable_filter ip_tables Jan 15 14:37:48 localhost kernel: CPU: 0 Jan 15 14:37:48 localhost kernel: EIP: 0061:[blkdev_put+13/288] Not tainted VLI Jan 15 14:37:48 localhost kernel: EFLAGS: 00010282 (2.6.12.6-xen0) Jan 15 14:37:48 localhost kernel: EIP is at blkdev_put+0xd/0x120 Jan 15 14:37:48 localhost kernel: eax: fffffffa ebx: fffffffa ecx: 0000002e edx: ffffffff Jan 15 14:37:48 localhost kernel: esi: c0bd9d08 edi: f2ebbd1c ebp: 00000000 esp: c07c7f10 Jan 15 14:37:48 localhost kernel: ds: 007b es: 007b ss: 0069 Jan 15 14:37:48 localhost kernel: Process events/0 (pid: 3, threadinfo=c07c6000 task=c0bcf020) Jan 15 14:37:48 localhost kernel: Stack: 00000000 00000000 f2ebbcfc c0bd9d08 f2ebbd1c c0bd9d00 c02dbc09 fffffffa Jan 15 14:37:48 localhost kernel: f2ebbcd8 c02dba3d f2ebbcfc f2ebbcd8 00000000 c012c58a f2ebbcd8 c07c7f6c Jan 15 14:37:48 localhost kernel: 00000000 00000246 f2ebbcd8 c02dba20 c07c6000 ffffffff ffffffff 00000001 Jan 15 14:37:48 localhost kernel: Call Trace: Jan 15 14:37:48 localhost kernel: [vbd_free+41/48] vbd_free+0x29/0x30 Jan 15 14:37:48 localhost kernel: [free_blkif+29/128] free_blkif+0x1d/0x80 Jan 15 14:37:48 localhost kernel: [worker_thread+426/656] worker_thread+0x1aa/0x290 Jan 15 14:37:48 localhost kernel: [free_blkif+0/128] free_blkif+0x0/0x80 Jan 15 14:37:48 localhost kernel: [default_wake_function+0/32] default_wake_function+0x0/0x20 Jan 15 14:37:48 localhost kernel: [default_wake_function+0/32] default_wake_function+0x0/0x20 Jan 15 14:37:48 localhost kernel: [worker_thread+0/656] worker_thread+0x0/0x290 Jan 15 14:37:48 localhost kernel: [kthread+170/176] kthread+0xaa/0xb0 Jan 15 14:37:48 localhost kernel: [kthread+0/176] kthread+0x0/0xb0 Jan 15 14:37:48 localhost kernel: [kernel_thread_helper+5/16] kernel_thread_helper+0x5/0x10 Jan 15 14:37:48 localhost kernel: Code: 24 04 89 3c 24 e8 04 fa ff ff 89 c3 31 c0 85 db 74 dc 89 3c 24 e8 04 00 00 00 89 d8 eb d0 55 31 ed 57 56 53 83 ec 08 8 b 5c 24 1c <8b> 73 04 8b 7b 50 ff 4b 0c 0f 88 57 04 00 00 8b 43 08 48 85 c0 Any ideas?? Dave _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Vincent Hanquez
2006-Jan-17 00:11 UTC
Re: [Xen-users] Cannot use USB storage device as DomU drive
On Sun, Jan 15, 2006 at 02:55:10PM -0500, David Cundiff wrote:> I just upgraded a perfectly stable xen-2.0.6 system to the > xen-3.0-testing, changeset 8269:a91e4dcf629d I believe. My system uses > LVM''s for most of the DomU drives and I have 1 USB drive that I mount > into a DomU. After the upgrade I can no longer get my USB drive to > mount.Not sure I get it right, you trying to start a domU with a root disk on a USB drive ? - is there multiple partitions ? - are you tring to export the whole disk ? - are you able to mount the USB drive''s partition(s) on dom0 ? Please attach your domU config you trying to start, I think you are missing some lines on the oops message (reason to oops).> In the DomU I get "VFS: Cannot open root device "sda1" or > unknown-block(2,0)". This also leaves a zombie behind. Nothing > interesting in any of the xendlogs other than telling me the domain > crashed. I did get this kernel message from Dom0 right after the network > interface is brought up > > Any ideas??I cannot reproduce at the moment (tried exporting different lvm devices), but that could well be USB specific. I will try to find a USB drive to hook to it. Cheers, -- Vincent Hanquez _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users