Comment 144 for bug 1679898

Revision history for this message
Sitsofe Wheeler (sitsofe) wrote :

As predicted 4.11.0-1015-azure #15-Ubuntu doesn't have the problem and you see output like this:

[ 24.635325] sd 1:0:0:0: Attached scsi generic sg2 type 0
[ 24.638674] sd 1:0:0:0: [sdb] 500118192 512-byte logical blocks: (256 GB/238 GiB)
[ 24.641194] sd 1:0:0:0: [sdb] Write Protect is off
[ 24.641197] sd 1:0:0:0: [sdb] Mode Sense: 0f 00 00 00
[ 24.643644] sd 1:0:0:0: [sdb] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[ 24.653398] sd 1:0:0:0: [sdb] Attached SCSI disk
[ 24.741813] sd 1:0:0:0: [storvsc] Sense Key : Illegal Request [current]
[ 24.741818] sd 1:0:0:0: [storvsc] Add. Sense: Invalid command operation code
[ 24.743397] sd 1:0:0:0: [storvsc] Sense Key : Illegal Request [current]
[ 24.743400] sd 1:0:0:0: [storvsc] Add. Sense: Invalid command operation code

It is also broken in 4.8.0-46-generic #49~16.04.1-Ubuntu and fixed in 4.8.0-49-generic #52~16.04.1-Ubuntu and broken on 4.4.0-71-generic #92-Ubuntu and fixed in 4.4.0-75-generic #96-Ubuntu (driver history is http://kernel.ubuntu.com/git/ubuntu/ubuntu-xenial.git/log/drivers/scsi/storvsc_drv.c?h=Ubuntu-4.4.0-75.96 in it) so it appears my previous 4.4.0 kernel simply wasn't new enough.