Skip to contentSkip to conversation

xl cannot cd-eject an initialy inserted iso in staging-4.2

DISCUSSION Jungnam Lee 4 participants 8 messages Mar 7, 2014 – Mar 13, 2014

lore
Share & tools
lore
#0 lore raw

Hi all.
I created VM with a cdrom device with an iso file, and ejecting works fine in the master branch.
But if I do this with staging-4.2, I got an error below.
libxl: debug: libxl.c:2137:libxl_cdrom_insert: ao 0x1425990: create: how=(nil) callback=(nil) poller=0x14259f0
libxl: debug: libxl_device.c:245:libxl__device_disk_set_backend: Disk vdev=hdc spec.backend=phy
libxl: debug: libxl_device.c:191:disk_try_backend: Disk vdev=hdc, backend phy unsuitable as phys path not a block device
libxl: error: libxl_device.c:285:libxl__device_disk_set_backend: no suitable backend for disk hdc.

cd-insert and cd-eject works fine when it is created with an empty cdrom device, and xl says its backend is qdisk. But when it is created with an iso inserted cdrom device, it says backend is unknown.
I dont know whether I report this as a bug, so I just mail this.

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xen.org/xen-devel

#1 lore raw
Quoted 10 lines · Jungnam Lee

Hi all.

I created VM with a cdrom device with an iso file, and ejecting works fine in the master branch.

But if I do this with staging-4.2, I got an error below.

libxl: debug: libxl.c:2137:libxl_cdrom_insert: ao 0x1425990: create:
how=(nil) callback=(nil) poller=0x14259f0

Quoted 9 lines

libxl: debug: libxl_device.c:245:libxl__device_disk_set_backend: Disk vdev=hdc spec.backend=phy

libxl: debug: libxl_device.c:191:disk_try_backend: Disk vdev=hdc, backend phy unsuitable as phys path not a block device

libxl: error: libxl_device.c:285:libxl__device_disk_set_backend: no suitable backend for disk hdc.

Does the patch from this mail help?

I had tried to flag it as a candidate for backport at the time, but I failed to CC Jan.

-George

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xen.org/xen-devel

#2 lore raw
Quoted 2 lines · George Dunlap

Does the patch from this mail help?

this? Missing a reference/footnote?

#4 lore raw
In reply to George Dunlap
Quoted 19 lines
Quoted 1 line
Quoted 1 line · George Dunlap
Quoted 16 lines · Jungnam Lee

Hi all.

I created VM with a cdrom device with an iso file, and ejecting works fine in the master branch.

But if I do this with staging-4.2, I got an error below.

libxl: debug: libxl.c:2137:libxl_cdrom_insert: ao 0x1425990: create:
how=(nil) callback=(nil) poller=0x14259f0

libxl: debug: libxl_device.c:245:libxl__device_disk_set_backend: Disk vdev=hdc spec.backend=phy

libxl: debug: libxl_device.c:191:disk_try_backend: Disk vdev=hdc, backend phy unsuitable as phys path not a block device

Quoted 8 lines
Quoted 3 lines

libxl: error: libxl_device.c:285:libxl__device_disk_set_backend: no suitable backend for disk hdc.

Does the patch from this mail help?

I had tried to flag it as a candidate for backport at the time, but I failed to CC Jan.

And you really would have needed to Cc IanJ, as he's who takes care of tools side backports.

Jan

#5 lore raw
Quoted 23 lines · Jan Beulich
Quoted 23 lines
Quoted 1 line
Quoted 1 line · George Dunlap
Quoted 19 lines · Jungnam Lee

Hi all.

I created VM with a cdrom device with an iso file, and ejecting works fine in the master branch.

But if I do this with staging-4.2, I got an error below.

libxl: debug: libxl.c:2137:libxl_cdrom_insert: ao 0x1425990: create:
how=(nil) callback=(nil) poller=0x14259f0

libxl: debug: libxl_device.c:245:libxl__device_disk_set_backend: Disk vdev=hdc spec.backend=phy

libxl: debug: libxl_device.c:191:disk_try_backend: Disk vdev=hdc, backend phy unsuitable as phys path not a block device

libxl: error: libxl_device.c:285:libxl__device_disk_set_backend: no suitable backend for disk hdc.

Quoted 7 lines
Quoted 4 lines

Does the patch from this mail help?

I had tried to flag it as a candidate for backport at the time, but I failed to CC Jan.

And you really would have needed to Cc IanJ, as he's who takes care of tools side backports.

Ah, right -- well I did CC IanJ; not in the original message, but when I replied saying "This should probably be backported".

(I'm not 100% sure it wasn't backported: a quick search through the git history didn't turn up anything, but I may have missed it.)

-George

#6 lore raw

2014-03-11, 14:48 +0000, George Dunlap:

Quoted 29 lines · Jan Beulich
Quoted 28 lines
Quoted 27 lines
Quoted 1 line
Quoted 1 line · George Dunlap
Quoted 10 lines · Jungnam Lee

Hi all.

I created VM with a cdrom device with an iso file, and ejecting works fine in the master branch.

But if I do this with staging-4.2, I got an error below.

libxl: debug: libxl.c:2137:libxl_cdrom_insert: ao 0x1425990: create:
how=(nil) callback=(nil) poller=0x14259f0

Quoted 9 lines

libxl: debug: libxl_device.c:245:libxl__device_disk_set_backend: Disk vdev=hdc spec.backend=phy

libxl: debug: libxl_device.c:191:disk_try_backend: Disk vdev=hdc, backend phy unsuitable as phys path not a block device

libxl: error: libxl_device.c:285:libxl__device_disk_set_backend: no suitable backend for disk hdc.

Does the patch from this mail help?

I had tried to flag it as a candidate for backport at the time, but I failed to CC Jan.

Quoted 9 lines
Quoted 2 lines

And you really would have needed to Cc IanJ, as he's who takes care of tools side backports.

Ah, right -- well I did CC IanJ; not in the original message, but when I replied saying "This should probably be backported".

(I'm not 100% sure it wasn't backported: a quick search through the git history didn't turn up anything, but I may have missed it.)

it seems cherry-picking 0166217103e18368424fbd5ffff01c1ea50d0b17 fixes this issue. Is this right?

#7 lore raw
Quoted 30 lines · Jungnam Lee

2014-03-11, 14:48 +0000, George Dunlap:

Quoted 29 lines · Jan Beulich
Quoted 28 lines
Quoted 19 lines
Quoted 1 line
Quoted 1 line · George Dunlap
Quoted 16 lines · Jungnam Lee

Hi all.

I created VM with a cdrom device with an iso file, and ejecting works fine in the master branch.

But if I do this with staging-4.2, I got an error below.

libxl: debug: libxl.c:2137:libxl_cdrom_insert: ao 0x1425990: create:
how=(nil) callback=(nil) poller=0x14259f0

libxl: debug: libxl_device.c:245:libxl__device_disk_set_backend: Disk vdev=hdc spec.backend=phy

libxl: debug: libxl_device.c:191:disk_try_backend: Disk vdev=hdc, backend phy unsuitable as phys path not a block device

Quoted 7 lines
Quoted 3 lines

libxl: error: libxl_device.c:285:libxl__device_disk_set_backend: no suitable backend for disk hdc.

Does the patch from this mail help?

I had tried to flag it as a candidate for backport at the time, but I failed to CC Jan.

And you really would have needed to Cc IanJ, as he's who takes care of tools side backports.

Quoted 8 lines
Quoted 6 lines

Ah, right -- well I did CC IanJ; not in the original message, but when I replied saying "This should probably be backported".

(I'm not 100% sure it wasn't backported: a quick search through the git history didn't turn up anything, but I may have missed it.)

it seems cherry-picking 0166217103e18368424fbd5ffff01c1ea50d0b17 fixes this issue. Is this right?

Ah, right -- I think that's the one I was looking for actually. I forgot that Wei had written it, not me.

-George