* Re: cdrom scsi passthough not working well [not found] <trinity-9b27278b-c96f-472f-a115-9bf29b44c103-1603862318112@3c-app-mailcom-bs15> @ 2021-02-03 16:48 ` Philippe Mathieu-Daudé 2021-02-03 16:56 ` daggs 0 siblings, 1 reply; 2+ messages in thread From: Philippe Mathieu-Daudé @ 2021-02-03 16:48 UTC (permalink / raw) To: daggs, qemu-discuss; +Cc: qemu-devel, Qemu-block Cc'ing qemu-block@ developers. On 10/28/20 6:18 AM, daggs wrote: > Greetings, > > I have a vm running under qemu 5.1.0 with a cdrom scsi passthough into it. > I can eject the device in and out but when I insert a disc, is isn't detected and the dmesg on the guest is filled with these prints: > [384216.443262] sr 0:0:0:0: ioctl_internal_command return code = 8000002 > [384216.443268] sr 0:0:0:0: Sense Key : 0xb [current] > [384216.443272] sr 0:0:0:0: ASC=0x0 ASCQ=0x6 > [384218.504142] sr 0:0:0:0: ioctl_internal_command return code = 8000002 > [384218.504150] sr 0:0:0:0: Sense Key : 0xb [current] > [384218.504153] sr 0:0:0:0: ASC=0x0 ASCQ=0x6 > [384220.561302] sr 0:0:0:0: ioctl_internal_command return code = 8000002 > [384220.561308] sr 0:0:0:0: Sense Key : 0xb [current] > [384220.561312] sr 0:0:0:0: ASC=0x0 ASCQ=0x6 > > the vm is uefi q35 based, generated by libvirt 6.8.0, the cdrom part is this: > -blockdev {"driver":"host_device","filename":"/dev/sg0","node-name":"libvirt-2-backend","read-only":true} > -device scsi-generic,bus=scsi0.0,channel=0,scsi-id=0,lun=0,drive=libvirt-2-backend,id=hostdev0 > > id there something bad with the config or have I encountered a bug? > > Thanks, > > Dagg. > ^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: cdrom scsi passthough not working well 2021-02-03 16:48 ` cdrom scsi passthough not working well Philippe Mathieu-Daudé @ 2021-02-03 16:56 ` daggs 0 siblings, 0 replies; 2+ messages in thread From: daggs @ 2021-02-03 16:56 UTC (permalink / raw) To: Philippe Mathieu-Daudé; +Cc: qemu-devel, Qemu-block, qemu-discuss Greetings Philippe, > Sent: Wednesday, February 03, 2021 at 6:48 PM > From: "Philippe Mathieu-Daudé" <philmd@redhat.com> > To: "daggs" <daggs@gmx.com>, qemu-discuss@nongnu.org > Cc: "qemu-devel" <qemu-devel@nongnu.org>, "Qemu-block" <qemu-block@nongnu.org> > Subject: Re: cdrom scsi passthough not working well > > Cc'ing qemu-block@ developers. > > On 10/28/20 6:18 AM, daggs wrote: > > Greetings, > > > > I have a vm running under qemu 5.1.0 with a cdrom scsi passthough into it. > > I can eject the device in and out but when I insert a disc, is isn't detected and the dmesg on the guest is filled with these prints: > > [384216.443262] sr 0:0:0:0: ioctl_internal_command return code = 8000002 > > [384216.443268] sr 0:0:0:0: Sense Key : 0xb [current] > > [384216.443272] sr 0:0:0:0: ASC=0x0 ASCQ=0x6 > > [384218.504142] sr 0:0:0:0: ioctl_internal_command return code = 8000002 > > [384218.504150] sr 0:0:0:0: Sense Key : 0xb [current] > > [384218.504153] sr 0:0:0:0: ASC=0x0 ASCQ=0x6 > > [384220.561302] sr 0:0:0:0: ioctl_internal_command return code = 8000002 > > [384220.561308] sr 0:0:0:0: Sense Key : 0xb [current] > > [384220.561312] sr 0:0:0:0: ASC=0x0 ASCQ=0x6 > > > > the vm is uefi q35 based, generated by libvirt 6.8.0, the cdrom part is this: > > -blockdev {"driver":"host_device","filename":"/dev/sg0","node-name":"libvirt-2-backend","read-only":true} > > -device scsi-generic,bus=scsi0.0,channel=0,scsi-id=0,lun=0,drive=libvirt-2-backend,id=hostdev0 > > > > id there something bad with the config or have I encountered a bug? > > > > Thanks, > > > > Dagg. > > > I don't have this issue anymore, however, when I enter the cdrom, the read light is blinking for a long time and when it is done, the disc isn't detected. /dev/sr0 exists, both the drive and cd are good Dagg. > ^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2021-02-03 21:49 UTC | newest] Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- [not found] <trinity-9b27278b-c96f-472f-a115-9bf29b44c103-1603862318112@3c-app-mailcom-bs15> 2021-02-03 16:48 ` cdrom scsi passthough not working well Philippe Mathieu-Daudé 2021-02-03 16:56 ` daggs
This is an external index of several public inboxes, see mirroring instructions on how to clone and mirror all data and code used by this external index.