[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-users] Trying to access to the CD from a domU


  • To: xen-users@xxxxxxxxxxxxxxxxxxx
  • From: "Angel L. Mateo" <amateo@xxxxx>
  • Date: Fri, 24 Mar 2006 14:12:23 +0100
  • Delivery-date: Fri, 24 Mar 2006 13:14:12 +0000
  • List-id: Xen user discussion <xen-users.lists.xensource.com>

Hello,

        I have Xen 3.0 running in my system. I have compiled a custom kernel
for the dom0 in order to have support for megaraid (my root filesystem
is in a megaraid radi) and USB (I have an usb cdrom). In the dom0 I can
mount and umount the cd without any problem.

        So now I want to be able to mount the CD in the domU. So, for one of my
domU's I change:

disk    = ['file:/vhosts/images/root_base.img,hda1,w',
                   'file:/vhosts/images/swap_base.img,hda2,w'
                  ]

        for:

disk    = ['file:/vhosts/images/root_base.img,hda1,w',
           'file:/vhosts/images/swap_base.img,hda2,w',
           'phy:scd0,hdc,w'
          ]

(scd0 is my cdrom device)

        but it doesn't working. Every time I boot this domU, I get the error:

general protection fault: 0000 [#1]
SMP
Modules linked in: ipt_physdev iptable_filter ip_tables loop af_packet
bridge ixCPU:    0
EIP:    0061:[<c0153b35>]    Not tainted VLI
EFLAGS: 00010246   (2.6.12.6atica-xen0-xen0)
EIP is at blkdev_put+0xa/0x10a
eax: ffffffe2   ebx: c59318f4   ecx: 00000000   edx: c59318d0
esi: ffffffe2   edi: 00000000   ebp: 00000000   esp: c006ff34
ds: 007b   es: 007b   ss: 0069
Process events/0 (pid: 6, threadinfo=c006e000 task=c035da40)
Stack: c59318f4 c593193c 00000000 c0379000 c01e79bf ffffffe2 c59318d0
c01e7862
       c59318f4 c5931938 c012809e c59318d0 c59318d0 c01e783d ffffffff
ffffffff
       00000001 00000000 c01170ed 00010000 00000000 00000000 c0368a40
c035da40
Call Trace:
 [<c01e79bf>] vbd_free+0x12/0x1c
 [<c01e7862>] free_blkif+0x25/0x53
 [<c012809e>] worker_thread+0x169/0x1d7
 [<c01e783d>] free_blkif+0x0/0x53
 [<c01170ed>] default_wake_function+0x0/0x12
 [<c01170ed>] default_wake_function+0x0/0x12
 [<c0127f35>] worker_thread+0x0/0x1d7
 [<c012b6cb>] kthread+0x7c/0xa6
 [<c012b64f>] kthread+0x0/0xa6
 [<c0107589>] kernel_thread_helper+0x5/0xb
Code: c0 eb 1a 57 56 e8 d3 fa ff ff 5f 89 c3 58 31 c0 85 db 74 09 56 e8
07 00 0
 <7>vif3.0: no IPv6 routers present

        although I get the error, the domU seems to be booted. I can connect to
it and so on. The problem is:

* If I disconnect from its console, I can't connect to the console
anymore. I even can't connect to any other console.

* I can't shutdown the system. If I try it, the domU becomes zombie and
I can't destroy it. I can't destroy any other domU too.

        Any idea?

-- 
Angel L. Mateo MartÃnez
SecciÃn de TelemÃtica
Ãrea de TecnologÃas de la InformaciÃn       _o)
y las Comunicaciones Aplicadas (ATICA)      / \\
http://www.um.es/atica                    _(___V
Tfo: 968367590
Fax: 968398337



_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.