Ewan D. Milne
c54c115da7
scsi: Add QEMU CD-ROM to VPD Inquiry Blacklist
commit fbd83006e3 upstream.
Linux fails to boot as a guest with a QEMU CD-ROM:
[ 4.439488] ata2.00: ATAPI: QEMU CD-ROM, 0.8.2, max UDMA/100
[ 4.443649] ata2.00: configured for MWDMA2
[ 4.450267] scsi 1:0:0:0: CD-ROM QEMU QEMU CD-ROM 0.8. PQ: 0 ANSI: 5
[ 4.464317] ata2.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x6 frozen
[ 4.464319] ata2.00: BMDMA stat 0x5
[ 4.464339] ata2.00: cmd a0/01:00:00:00:01/00:00:00:00:00/a0 tag 0 dma 16640 in
[ 4.464339] Inquiry 12 01 00 00 ff 00res 48/20:02:00:24:00/00:00:00:00:00/a0 Emask 0x2 (HSM violation)
[ 4.464341] ata2.00: status: { DRDY DRQ }
[ 4.465864] ata2: soft resetting link
[ 4.625971] ata2.00: configured for MWDMA2
[ 4.628290] ata2: EH complete
[ 4.646670] ata2.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x6 frozen
[ 4.646671] ata2.00: BMDMA stat 0x5
[ 4.646683] ata2.00: cmd a0/01:00:00:00:01/00:00:00:00:00/a0 tag 0 dma 16640 in
[ 4.646683] Inquiry 12 01 00 00 ff 00res 48/20:02:00:24:00/00:00:00:00:00/a0 Emask 0x2 (HSM violation)
[ 4.646685] ata2.00: status: { DRDY DRQ }
[ 4.648193] ata2: soft resetting link
...
Fix this by suppressing VPD inquiry for this device.
Signed-off-by: Ewan D. Milne <emilne@redhat.com>
Reported-by: Jan Stancek <jstancek@redhat.com>
Tested-by: Jan Stancek <jstancek@redhat.com>
Reviewed-by: Johannes Thumshirn <jthumshirn@suse.de>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2016-06-24 10:18:16 -07:00
..
2016-06-07 18:14:34 -07:00
2016-04-12 09:08:39 -07:00
2015-11-12 07:06:18 -05:00
2016-04-12 09:08:39 -07:00
2015-11-09 17:11:57 -08:00
2015-11-09 17:32:34 -08:00
2015-11-09 17:11:57 -08:00
2015-11-09 15:11:24 -08:00
2015-10-30 17:25:34 +09:00
2016-05-04 14:48:51 -07:00
2015-11-09 17:11:57 -08:00
2015-11-09 17:11:57 -08:00
2015-11-09 17:11:57 -08:00
2015-11-12 07:06:18 -05:00
2015-11-12 07:06:18 -05:00
2015-11-09 17:15:52 -08:00
2016-05-11 11:21:12 +02:00
2016-05-04 14:48:54 -07:00
2015-12-03 09:32:33 -08:00
2015-12-03 09:32:33 -08:00
2015-11-12 07:06:18 -05:00
2016-03-03 15:07:27 -08:00
2015-11-13 20:35:54 -08:00
2015-11-13 20:35:54 -08:00
2015-11-12 07:06:18 -05:00
2015-11-09 17:11:57 -08:00
2015-12-03 09:32:33 -08:00
2015-11-09 17:11:57 -08:00
2015-11-09 16:32:14 -08:00
2015-12-03 09:32:33 -08:00
2015-11-09 12:39:28 -05:00
2015-12-03 09:32:33 -08:00
2015-11-09 12:39:28 -05:00
2016-04-12 09:08:58 -07:00
2015-11-09 19:32:41 -05:00
2015-12-03 09:32:33 -08:00
2015-11-11 19:50:11 -05:00
2015-11-11 20:45:23 -05:00
2015-11-12 07:06:18 -05:00
2016-05-18 17:06:52 -07:00
2016-04-12 09:09:05 -07:00
2015-11-25 21:38:53 -05:00
2016-06-24 10:18:16 -07:00
2015-10-27 15:03:31 +09:00
2015-11-06 17:50:42 -08:00
2016-06-24 10:18:16 -07:00
2015-12-10 12:24:44 -05:00
2015-10-27 11:22:37 +09:00
2016-06-01 12:15:54 -07:00
2016-06-01 12:15:54 -07:00
2015-11-09 17:11:57 -08:00
2016-04-20 15:42:12 +09:00
2016-04-20 15:42:12 +09:00
2015-12-11 11:05:57 -08:00
2016-04-12 09:08:38 -07:00
2016-02-25 12:01:16 -08:00
2015-12-03 09:32:33 -08:00
2015-11-09 17:42:19 -08:00
2016-04-12 09:08:39 -07:00