Re: [PATCH 13/24] scsi: Kill DRIVER_SENSE

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

 



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)



[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [SCSI Target Devel]     [Linux SCSI Target Infrastructure]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Linux IIO]     [Samba]     [Device Mapper]

  Powered by Linux