On 6/4/21 8:40 AM, Jiri Slaby wrote: > Hi, > > On 21. 10. 19, 11:53, Hannes Reinecke wrote: >> Replace the check for DRIVER_SENSE with a check for >> SAM_STAT_CHECK_CONDITION and audit all callsites to >> ensure the SAM status is set correctly. >> >> Signed-off-by: Hannes Reinecke <hare@xxxxxxx> >> --- > ... >> drivers/scsi/virtio_scsi.c | 3 +- > > A bisection says that this patch breaks virto_scsi for me. The (virtual) > disk is not found by the kernel. > > GOOD: > scsi 0:0:0:0: Direct-Access QEMU QEMU HARDDISK 2.5+ PQ: 0 > ANSI: 5 > > BAD: > scsi 0:0:0:0: Power-on or device reset occurred > > I cannot revert the patch on the top of -next as there are conflicts... > > Any ideas? > Can you enable SCSI logging via scsi.scsi_logging_level=216 on the kernel commandline and send me the output? Cheers, Hannes -- Dr. Hannes Reinecke Kernel Storage Architect hare@xxxxxxx +49 911 74053 688 SUSE Software Solutions Germany GmbH, 90409 Nürnberg GF: F. Imendörffer, HRB 36809 (AG Nürnberg)