I am also affected bu that bug
usb 2-5: new high-speed USB device number 2 using ehci-pci
[  248.566881] usb 2-5: New USB device found, idVendor=0c76, idProduct=0005
[  248.566885] usb 2-5: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[  248.566889] usb 2-5: Product: USB Flash Disk  
[  248.566891] usb 2-5: Manufacturer: SanDisk 
[  248.566894] usb 2-5: SerialNumber: 444553544200F040383D0C57
[  248.567386] usb-storage 2-5:1.0: USB Mass Storage device detected
[  248.570210] scsi host16: usb-storage 2-5:1.0
[  249.571364] scsi 16:0:0:0: Direct-Access     SanDisk  USB Flash Disk   1.00 
PQ: 0 ANSI: 2
[  249.571994] sd 16:0:0:0: Attached scsi generic sg3 type 0
[  249.572507] sd 16:0:0:0: [sdd] 31273440 512-byte logical blocks: (16.0 
GB/14.9 GiB)
[  249.573227] sd 16:0:0:0: [sdd] Write Protect is off
[  249.573231] sd 16:0:0:0: [sdd] Mode Sense: 03 00 00 00
[  249.574568] sd 16:0:0:0: [sdd] No Caching mode page found
[  249.574575] sd 16:0:0:0: [sdd] Assuming drive cache: write through
[  249.580859]  sdd: sdd1
[  249.583771] sd 16:0:0:0: [sdd] Attached SCSI removable disk
[  249.608466] sd 16:0:0:0: [sdd] tag#0 FAILED Result: hostbyte=DID_OK 
driverbyte=DRIVER_SENSE
[  249.608472] sd 16:0:0:0: [sdd] tag#0 Sense Key : Illegal Request [current] 
[  249.608476] sd 16:0:0:0: [sdd] tag#0 Add. Sense: Invalid command operation 
code
[  249.608481] sd 16:0:0:0: [sdd] tag#0 CDB: Read(6) 08 00 08 00 08 00
[  249.608484] blk_update_request: critical target error, dev sdd, sector 2048

Disk works ok on Win 7 but not in ubuntu 16.04
uname -a
Linux *** 4.4.0-59-generic #80-Ubuntu SMP Fri Jan 6 17:36:54 UTC 2017 i686 i686 
i686 GNU/Linux

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1418339

Title:
  kernel set the wrong max_sectors_kb for 4K disks(sd.c)

Status in linux package in Ubuntu:
  Fix Released

Bug description:
  [Impact]
  Problem Description
  ===========================
  We get following error messages on the console and IO fails.

  [   63.322503] sd 0:2:2:0: [sdc]
  [   63.322603] Result: hostbyte=DID_ERROR driverbyte=DRIVER_SENSE
  [   63.322661] sd 0:2:2:0: [sdc]
  [   63.322697] Sense Key : Illegal Request [current]
  [   63.322757] sd 0:2:2:0: [sdc]
  [   63.322792] Add. Sense: Invalid field in cdb
  [   63.322839] sd 0:2:2:0: [sdc] CDB:
  [   63.322874] Write(10): 2a 00 03 02 17 a0 00 00 80 00
  [   63.323038] blk_update_request: critical target error, dev sdc, sector 
403750144
  [   63.323117] sd 0:2:2:0: [sdc]
  [   63.323152] Result: hostbyte=DID_ERROR driverbyte=DRIVER_SENSE
  [   63.323210] sd 0:2:2:0: [sdc]
  [   63.323245] Sense Key : Illegal Request [current]
  [   63.323303] sd 0:2:2:0: [sdc]
  [   63.323338] Add. Sense: Invalid field in cdb
  [   63.323385] sd 0:2:2:0: [sdc] CDB:
  [   63.323420] Write(10): 2a 00 03 02 17 20 00 00 80 00
  [   63.323580] blk_update_request: critical target error, dev sdc, sector 
403749120

  [  138.410612] EXT4-fs warning (device dm-2): ext4_end_bio:317: I/O error 
-121 writing to inode 265776 (offset 0 size 393216 starting block 33920)
  [  138.410727] Buffer I/O error on device dm-2, logical block 33920
  [  138.410785] Buffer I/O error on device dm-2, logical block 33921
  [  138.410842] Buffer I/O error on device dm-2, logical block 33922
  [  138.410900] Buffer I/O error on device dm-2, logical block 33923
  [  138.410957] Buffer I/O error on device dm-2, logical block 33924

  ---uname output---
  Ubuntu 15.04

  Machine Type = P8(Alpine)

  [Test Case]
  Steps to Reproduce
  =====================
   read/write to a 4K array.

  [Fix]
  commit 3a9794d32984b67a6d8992226918618f0e51e5d5 upstream

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1418339/+subscriptions

-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to     : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to