Re: SCSI regression in 4.11

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

 



On Wed, 2017-03-01 at 13:27 -0800, Stephen Hemminger wrote:
> Ok here is much better data, wasn't accounting for the offset in the
> payload

But now both responses are the same:

> Working 4.10
[...]
> [    1.048920] hv_storvsc: INQUIRY cmd 0x12 0x0 0x0 scsi status 0x0
> srb status 0x20 length 36
> [    1.048920] hv_storvsc:  payload size 288 count 1 offset 1024 len
> 36 pfn 0x1f15d7
> [    1.048921] hv_storvsc:  sg 0: phys 0x1f15d7000 virt
> ffff9270b15d7000 offset 0x400 length 36
> [    1.048922] data: 00000000: 00 00 00 00 00 00 00 00 00 00 00 00 00
> 00 00 00  ................
> [    1.048923] data: 00000010: 00 00 00 00 00 00 00 00 00 00 00 00 00
> 00 00 00  ................
> [    1.048923] data: 00000020: 00 00 00 00                           
>            ....
> [    1.048942] scsi host1: scsi scan: INQUIRY result too short (5),
> using 36
> 
> 
> Broken 4.11
[...]
> [    1.812926] hv_storvsc: INQUIRY cmd 0x12 0x0 0x0 scsi status 0x0
> srb status 0x20 length 36
> [    1.812927] hv_storvsc:  payload size 288 count 1 offset 2816 len
> 36 pfn 0x1f198b
> [    1.812928] hv_storvsc:  sg 0: phys 0x1f198b000 virt
> ffff9a42f198b000 offset 0xb00 length 36
> [    1.812953] data: 00000000: 00 00 00 00 00 00 00 00 00 00 00 00 00
> 00 00 00  ................
> [    1.812953] data: 00000010: 00 00 00 00 00 00 00 00 00 00 00 00 00
> 00 00 00  ................
> [    1.812954] data: 00000020: 00 00 00 00                           
>            ....
> [    1.813258] scsi host1: scsi scan: INQUIRY result too short (5),
> using 36

Hyper-v is returning a buffer of zeros for INQUIRY to the offline
device in both cases ... that means the problem isn't where I thought
it was.

James





[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