tech-kern archive

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

Re: panic on xen guest shutdown



> On Thu, Dec 16, 2010 at 05:29:00PM +0100, Christoph Egger wrote:
> > 
> > > > > > Hi!
> > > > > > 
> > > > > > When I start a xen guest I get this message:
> > > > > > 
> > > > > > xbdback backend/vbd/1/832: can't VOP_OPEN device 0xe13: 16
> > > > > 
> > > > > 16 is EBUSY. is it a HVM guest, or a PV guest ?
> > > > 
> > > > HVM guest
> > > 
> > > So it looks like qemu has the device already open, which prevents the
> > > backend to opening it as well. In my case, qemu-dm has the file open,
> > > not the vnd device.
> > > how did you specify the virtual disk(s) in your config file ?
> > 
> > disk = [ 'file:/images/netbsd_64b.img,hda,w',
> 'file:/images/netbsd_64b-disk2.img,hdb,w' ]
> 
> Don't you miss the ioemu flag here ?

It's optional since Xen 3.4.

> Can you check what ioemu is opening (fstat should help with this) ?
>

 
root     qemu-dm      824   wd /        4789638 drwxr-xr-x    4096 r 
root     qemu-dm      824    0 /        4789656 crw-rw-rw-    null r 
root     qemu-dm      824    1 /        13191995 -rw-r--r--    2214 w 
root     qemu-dm      824    2 /        13191995 -rw-r--r--    2214 w 
root     qemu-dm      824    3* pipe 0xffffa000261a8640 <- 0xffffa000261a9000 rn
root     qemu-dm      824    4* pipe 0xffffa000261a9000 -> 0xffffa000261a8640 wn
root     qemu-dm      824    5* tap 0
root     qemu-dm      824    6 -         -        ?(b)    -
root     qemu-dm      824    7* unix stream ffffa00001340c80 <-> 
ffffa00001340f00
root     qemu-dm      824    8* pipe 0xffffa000261a8140 <- 0xffffa000261a9500 rn
root     qemu-dm      824    9* pipe 0xffffa000261a9500 -> 0xffffa000261a8140 wn
root     qemu-dm      824   10 /        10787931 -rw-r--r--  1048576000 rw
root     qemu-dm      824   11 /        1154349 -rw-r--r--  104857600000 rw
root     qemu-dm      824   12* unix stream ffffa00001340880 <-> 
ffffa000012f8280
root     qemu-dm      824   13 /dev/pts       6 crw-rw-rw-   ptyp1 rw
root     qemu-dm      824   14* pipe 0xffffa000261a8280 <- 0xffffa000261a9140 r
root     qemu-dm      824   15* pipe 0xffffa000261a9140 -> 0xffffa000261a8280 w
root     qemu-dm      824   16 -         -        ?(b)    -
root     qemu-dm      824    5* misc 0xffffa00001397000
root     qemu-dm      824   18* internet stream tcp ffffa0000121c000 *:5900
root     qemu-dm      824   19* pipe 0xffffa000261a83c0 <- 0xffffa000261a9280 r
root     qemu-dm      824   20* pipe 0xffffa000261a9280 -> 0xffffa000261a83c0 w
root     qemu-dm      824   25 /        18256750 prw-------       0 rw


FD 10 and 11 are the disk images.

Christoph


Home | Main Index | Thread Index | Old Index