@Matthew

I boot int o 5.4.0-42, it has different symptom, now the `udisksctl
mount -b /dev/sdb1` halt for more than 10 mins and the dmesg is
different, it does not error out immediately, but repetitively reset the
handle.

[   83.317249] systemd-journald[597]: Successfully sent stream file descriptor 
to service manager.
[   92.750180] usb 2-2: new SuperSpeedPlus Gen 2 USB device number 5 using 
xhci_hcd
[   92.775135] usb 2-2: New USB device found, idVendor=13fe, idProduct=2570, 
bcdDevice=52.04
[   92.775140] usb 2-2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[   92.775144] usb 2-2: Product: Patriot Memory
[   92.775146] usb 2-2: Manufacturer: PXD
[   92.775148] usb 2-2: SerialNumber: 5112005142442DD3000019
[   92.804959] usbcore: registered new interface driver usb-storage
[   92.813302] scsi host1: uas
[   92.813411] usbcore: registered new interface driver uas
[   92.813813] scsi 1:0:0:0: Direct-Access     PXD      Patriot Memory   5204 
PQ: 0 ANSI: 6
[   92.814407] sd 1:0:0:0: Attached scsi generic sg1 type 0
[   94.784086] sd 1:0:0:0: [sdb] 4000797360 512-byte logical blocks: (2.05 
TB/1.86 TiB)
[   94.784092] sd 1:0:0:0: [sdb] 4096-byte physical blocks
[   94.784246] sd 1:0:0:0: [sdb] Write Protect is off
[   94.784251] sd 1:0:0:0: [sdb] Mode Sense: 5f 00 00 08
[   94.784492] sd 1:0:0:0: [sdb] Write cache: enabled, read cache: enabled, 
doesn't support DPO or FUA
[   94.784850] sd 1:0:0:0: [sdb] Optimal transfer size 33553920 bytes not a 
multiple of physical block size (4096 bytes)
[   94.811392]  sdb: sdb1 sdb2
[   94.814205] sd 1:0:0:0: [sdb] Attached SCSI disk
[  114.748031] systemd-journald[597]: Successfully sent stream file descriptor 
to service manager.
[  220.511826] XFS (sdb1): Mounting V5 Filesystem
[  251.324415] sd 1:0:0:0: [sdb] tag#7 uas_eh_abort_handler 0 uas-tag 1 
inflight: CMD OUT 
[  251.324424] sd 1:0:0:0: [sdb] tag#7 CDB: Write(10) 2a 00 06 46 41 10 00 04 
00 00
[  251.328955] sd 1:0:0:0: [sdb] tag#6 uas_eh_abort_handler 0 uas-tag 4 
inflight: CMD OUT 
[  251.328962] sd 1:0:0:0: [sdb] tag#6 CDB: Write(10) 2a 00 06 46 4d 10 00 04 
00 00
[  251.336191] sd 1:0:0:0: [sdb] tag#5 uas_eh_abort_handler 0 uas-tag 3 
inflight: CMD OUT 
[  251.336200] sd 1:0:0:0: [sdb] tag#5 CDB: Write(10) 2a 00 06 46 49 10 00 04 
00 00
[  251.343184] sd 1:0:0:0: [sdb] tag#4 uas_eh_abort_handler 0 uas-tag 2 
inflight: CMD OUT 
[  251.343192] sd 1:0:0:0: [sdb] tag#4 CDB: Write(10) 2a 00 06 46 45 10 00 04 
00 00
[  251.392372] scsi host1: uas_eh_device_reset_handler start
[  251.521091] usb 2-2: reset SuperSpeedPlus Gen 2 USB device number 5 using 
xhci_hcd
[  251.545897] scsi host1: uas_eh_device_reset_handler success
[  269.017285] systemd-journald[597]: Successfully sent stream file descriptor 
to service manager.
[  282.052398] scsi host1: uas_eh_device_reset_handler start
[  282.080099] sd 1:0:0:0: [sdb] tag#27 uas_zap_pending 0 uas-tag 1 inflight: 
CMD 
[  282.080102] sd 1:0:0:0: [sdb] tag#27 CDB: Write(10) 2a 00 06 46 45 10 00 04 
00 00
[  282.080104] sd 1:0:0:0: [sdb] tag#24 uas_zap_pending 0 uas-tag 2 inflight: 
CMD 
[  282.080106] sd 1:0:0:0: [sdb] tag#24 CDB: Write(10) 2a 00 06 46 49 10 00 04 
00 00
[  282.080107] sd 1:0:0:0: [sdb] tag#25 uas_zap_pending 0 uas-tag 3 inflight: 
CMD 
[  282.080108] sd 1:0:0:0: [sdb] tag#25 CDB: Write(10) 2a 00 06 46 4d 10 00 04 
00 00
[  282.080110] sd 1:0:0:0: [sdb] tag#26 uas_zap_pending 0 uas-tag 4 inflight: 
CMD 
[  282.080111] sd 1:0:0:0: [sdb] tag#26 CDB: Write(10) 2a 00 06 46 41 10 00 04 
00 00
[  282.212899] usb 2-2: reset SuperSpeedPlus Gen 2 USB device number 5 using 
xhci_hcd
[  282.237614] scsi host1: uas_eh_device_reset_handler success
[  312.772520] scsi host1: uas_eh_device_reset_handler start
[  312.796212] sd 1:0:0:0: [sdb] tag#8 uas_zap_pending 0 uas-tag 1 inflight: 
CMD 
[  312.796220] sd 1:0:0:0: [sdb] tag#8 CDB: Write(10) 2a 00 06 46 45 10 00 04 
00 00
[  312.796226] sd 1:0:0:0: [sdb] tag#9 uas_zap_pending 0 uas-tag 2 inflight: 
CMD 
[  312.796230] sd 1:0:0:0: [sdb] tag#9 CDB: Write(10) 2a 00 06 46 41 10 00 04 
00 00
[  312.796235] sd 1:0:0:0: [sdb] tag#10 uas_zap_pending 0 uas-tag 3 inflight: 
CMD 
[  312.796239] sd 1:0:0:0: [sdb] tag#10 CDB: Write(10) 2a 00 06 46 4d 10 00 04 
00 00
[  312.796244] sd 1:0:0:0: [sdb] tag#11 uas_zap_pending 0 uas-tag 4 inflight: 
CMD 
[  312.796247] sd 1:0:0:0: [sdb] tag#11 CDB: Write(10) 2a 00 06 46 49 10 00 04 
00 00
[  312.924964] usb 2-2: reset SuperSpeedPlus Gen 2 USB device number 5 using 
xhci_hcd
[  312.949609] scsi host1: uas_eh_device_reset_handler success
[  343.488693] scsi host1: uas_eh_device_reset_handler start
[  343.512169] sd 1:0:0:0: [sdb] tag#17 uas_zap_pending 0 uas-tag 1 inflight: 
CMD 
[  343.512178] sd 1:0:0:0: [sdb] tag#17 CDB: Write(10) 2a 00 06 46 49 10 00 04 
00 00
[  343.512184] sd 1:0:0:0: [sdb] tag#16 uas_zap_pending 0 uas-tag 2 inflight: 
CMD 
[  343.512189] sd 1:0:0:0: [sdb] tag#16 CDB: Write(10) 2a 00 06 46 4d 10 00 04 
00 00
[  343.512194] sd 1:0:0:0: [sdb] tag#18 uas_zap_pending 0 uas-tag 3 inflight: 
CMD 
[  343.512198] sd 1:0:0:0: [sdb] tag#18 CDB: Write(10) 2a 00 06 46 41 10 00 04 
00 00
[  343.512203] sd 1:0:0:0: [sdb] tag#19 uas_zap_pending 0 uas-tag 4 inflight: 
CMD 
[  343.512206] sd 1:0:0:0: [sdb] tag#19 CDB: Write(10) 2a 00 06 46 45 10 00 04 
00 00
[  343.641189] usb 2-2: reset SuperSpeedPlus Gen 2 USB device number 5 using 
xhci_hcd
[  343.665209] scsi host1: uas_eh_device_reset_handler success
[  363.952725] INFO: task pool-udisksd:4312 blocked for more than 120 seconds.
[  363.952732]       Tainted: P           OE     5.4.0-42-generic #46-Ubuntu
[  363.952735] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this 
message.
[  363.952739] pool-udisksd    D    0  4312      1 0x00004000
[  363.952744] Call Trace:
[  363.952756]  __schedule+0x2e3/0x740
[  363.952762]  ? __switch_to_asm+0x40/0x70
[  363.952767]  ? __switch_to_asm+0x34/0x70
[  363.952771]  schedule+0x42/0xb0
[  363.952775]  schedule_timeout+0x203/0x2f0
[  363.952778]  ? __schedule+0x2eb/0x740
[  363.952783]  io_schedule_timeout+0x1e/0x50
[  363.952787]  wait_for_completion_io+0xb1/0x120
[  363.952794]  ? wake_up_q+0x70/0x70
[  363.952800]  submit_bio_wait+0x60/0x90
[  363.952894]  xfs_rw_bdev+0x1d2/0x200 [xfs]
[  363.952986]  xlog_do_io+0x88/0x120 [xfs]
[  363.953073]  xlog_bwrite+0x14/0x20 [xfs]
[  363.953161]  xlog_write_log_records+0x164/0x210 [xfs]
[  363.953264]  xlog_clear_stale_blocks+0xbb/0x1a0 [xfs]
[  363.953340]  xlog_find_tail+0x227/0x330 [xfs]
[  363.953347]  ? try_to_wake_up+0x224/0x6a0
[  363.953421]  xlog_recover+0x2f/0x160 [xfs]
[  363.953498]  xfs_log_mount+0x15b/0x2c0 [xfs]
[  363.953571]  xfs_mountfs+0x421/0x870 [xfs]
[  363.953643]  xfs_fs_fill_super+0x484/0x6a0 [xfs]
[  363.953651]  mount_bdev+0x17f/0x1b0
[  363.953720]  ? xfs_test_remount_options+0x60/0x60 [xfs]
[  363.953788]  xfs_fs_mount+0x15/0x20 [xfs]
[  363.953794]  legacy_get_tree+0x2b/0x50
[  363.953799]  vfs_get_tree+0x2a/0xc0
[  363.953806]  ? capable+0x19/0x20
[  363.953812]  do_mount+0x7b6/0x9c0
[  363.953818]  ksys_mount+0x82/0xd0
[  363.953823]  __x64_sys_mount+0x25/0x30
[  363.953830]  do_syscall_64+0x57/0x190
[  363.953836]  entry_SYSCALL_64_after_hwframe+0x44/0xa9
[  363.953840] RIP: 0033:0x7f7acb726c4e
[  363.953851] Code: Bad RIP value.
[  363.953854] RSP: 002b:00007f7aca7752c8 EFLAGS: 00000246 ORIG_RAX: 
00000000000000a5
[  363.953858] RAX: ffffffffffffffda RBX: 00007f7acbd38204 RCX: 00007f7acb726c4e
[  363.953860] RDX: 00007f7abc00afb0 RSI: 00007f7abc003260 RDI: 00007f7abc003240
[  363.953863] RBP: 00007f7abc00a600 R08: 0000000000000000 R09: 0000000000000007
[  363.953865] R10: 0000000000000006 R11: 0000000000000246 R12: 0000000000000000
[  363.953867] R13: 00007f7abc003240 R14: 00007f7abc00afb0 R15: 0000000000000000
[  368.412815] systemd-journald[597]: Successfully sent stream file descriptor 
to service manager.
[  376.260741] scsi host1: uas_eh_device_reset_handler start
[  376.283487] sd 1:0:0:0: [sdb] tag#22 uas_zap_pending 0 uas-tag 1 inflight: 
CMD 
[  376.283496] sd 1:0:0:0: [sdb] tag#22 CDB: Write(10) 2a 00 06 46 45 10 00 04 
00 00
[  376.283503] sd 1:0:0:0: [sdb] tag#23 uas_zap_pending 0 uas-tag 2 inflight: 
CMD 
[  376.283506] sd 1:0:0:0: [sdb] tag#23 CDB: Write(10) 2a 00 06 46 41 10 00 04 
00 00
[  376.283511] sd 1:0:0:0: [sdb] tag#20 uas_zap_pending 0 uas-tag 3 inflight: 
CMD 
[  376.283515] sd 1:0:0:0: [sdb] tag#20 CDB: Write(10) 2a 00 06 46 49 10 00 04 
00 00
[  376.283520] sd 1:0:0:0: [sdb] tag#21 uas_zap_pending 0 uas-tag 4 inflight: 
CMD 
[  376.283523] sd 1:0:0:0: [sdb] tag#21 CDB: Write(10) 2a 00 06 46 4d 10 00 04 
00 00
[  376.413309] usb 2-2: reset SuperSpeedPlus Gen 2 USB device number 5 using 
xhci_hcd
[  376.437455] scsi host1: uas_eh_device_reset_handler success
[  406.976779] scsi host1: uas_eh_device_reset_handler start
[  406.998578] sd 1:0:0:0: [sdb] tag#20 uas_zap_pending 0 uas-tag 1 inflight: 
CMD 
[  406.998586] sd 1:0:0:0: [sdb] tag#20 CDB: Write(10) 2a 00 06 46 41 10 00 04 
00 00
[  406.998593] sd 1:0:0:0: [sdb] tag#21 uas_zap_pending 0 uas-tag 2 inflight: 
CMD 
[  406.998597] sd 1:0:0:0: [sdb] tag#21 CDB: Write(10) 2a 00 06 46 45 10 00 04 
00 00
[  406.998602] sd 1:0:0:0: [sdb] tag#22 uas_zap_pending 0 uas-tag 3 inflight: 
CMD 
[  406.998606] sd 1:0:0:0: [sdb] tag#22 CDB: Write(10) 2a 00 06 46 4d 10 00 04 
00 00
[  406.998611] sd 1:0:0:0: [sdb] tag#23 uas_zap_pending 0 uas-tag 4 inflight: 
CMD 
[  406.998614] sd 1:0:0:0: [sdb] tag#23 CDB: Write(10) 2a 00 06 46 49 10 00 04 
00 00
[  407.125526] usb 2-2: reset SuperSpeedPlus Gen 2 USB device number 5 using 
xhci_hcd
[  407.149587] scsi host1: uas_eh_device_reset_handler success
[  407.149831] sd 1:0:0:0: [sdb] tag#20 FAILED Result: hostbyte=DID_RESET 
driverbyte=DRIVER_SENSE
[  407.149836] sd 1:0:0:0: [sdb] tag#20 Sense Key : Not Ready [current] 
[  407.149841] sd 1:0:0:0: [sdb] tag#20 Add. Sense: Logical unit is in process 
of becoming ready
[  407.149846] sd 1:0:0:0: [sdb] tag#20 CDB: Write(10) 2a 00 06 46 41 10 00 04 
00 00
[  407.149851] blk_update_request: I/O error, dev sdb, sector 105267472 op 
0x1:(WRITE) flags 0x5800 phys_seg 128 prio class 0
[  407.149875] sd 1:0:0:0: [sdb] tag#21 FAILED Result: hostbyte=DID_RESET 
driverbyte=DRIVER_OK
[  407.149879] sd 1:0:0:0: [sdb] tag#21 CDB: Write(10) 2a 00 06 46 45 10 00 04 
00 00
[  407.149882] blk_update_request: I/O error, dev sdb, sector 105268496 op 
0x1:(WRITE) flags 0x5800 phys_seg 128 prio class 0
[  407.149892] sd 1:0:0:0: [sdb] tag#22 FAILED Result: hostbyte=DID_RESET 
driverbyte=DRIVER_OK
[  407.149895] sd 1:0:0:0: [sdb] tag#22 CDB: Write(10) 2a 00 06 46 4d 10 00 04 
00 00
[  407.149898] blk_update_request: I/O error, dev sdb, sector 105270544 op 
0x1:(WRITE) flags 0x1800 phys_seg 128 prio class 0
[  407.149908] sd 1:0:0:0: [sdb] tag#23 FAILED Result: hostbyte=DID_RESET 
driverbyte=DRIVER_OK
[  407.149911] sd 1:0:0:0: [sdb] tag#23 CDB: Write(10) 2a 00 06 46 49 10 00 04 
00 00
[  407.149914] blk_update_request: I/O error, dev sdb, sector 105269520 op 
0x1:(WRITE) flags 0x5800 phys_seg 128 prio class 0
[  407.149995] XFS (sdb1): log recovery write I/O error at daddr 0xc8 len 4096 
error -5
[  407.150323] XFS (sdb1): failed to locate log tail
[  407.150327] XFS (sdb1): log mount/recovery failed: error -5
[  407.150511] XFS (sdb1): log mount failed

-- 
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/1894104

Title:
  Patriot PXD USB SSD cannot be mount with type-C connector

Status in linux package in Ubuntu:
  Incomplete
Status in linux source package in Focal:
  New

Bug description:
  It works fine a few weeks ago. But after recent kernel/driver updates.
  It stops working. It still works if I connect it to USB 3.1 5000M
  port. if I connect it to 10000M port, it stops working.

  I can still use `smartctl -a -d sntjmicron /dev/sdx` to obtain the
  smart data. But any block operation will fail with remote I/O error:
  mount, format, dd, etc

  The port is find, I connected other device to it, it is still working without 
issue. The USB controller and storage device are:
  ```
  USB controller: Intel Corporation Cannon Lake PCH USB 3.1 xHCI Host 
Controller (rev 10)
  ID 13fe:2570 Kingston Technology Company Inc. Patriot Memory
  ```

  kernel
  ```
  5.4.0-45-generic #49-Ubuntu SMP Wed Aug 26 13:38:52 UTC 2020 x86_64 x86_64 
x86_64 GNU/Linux
  ```
  The dmesg:
  ```
  [  841.199638] usb 2-2: new SuperSpeedPlus Gen 2 USB device number 5 using 
xhci_hcd
  [  841.220480] usb 2-2: New USB device found, idVendor=13fe, idProduct=2570, 
bcdDevice=52.04
  [  841.220485] usb 2-2: New USB device strings: Mfr=1, Product=2, 
SerialNumber=3
  [  841.220489] usb 2-2: Product: Patriot Memory
  [  841.220492] usb 2-2: Manufacturer: PXD
  [  841.220495] usb 2-2: SerialNumber: 5112005142442DD3000019
  [  841.249317] usbcore: registered new interface driver usb-storage
  [  841.257779] scsi host1: uas
  [  841.257877] usbcore: registered new interface driver uas
  [  841.258567] scsi 1:0:0:0: Direct-Access     PXD      Patriot Memory   5204 
PQ: 0 ANSI: 6
  [  841.259142] sd 1:0:0:0: Attached scsi generic sg1 type 0
  [  843.227753] sd 1:0:0:0: [sdb] 4000797360 512-byte logical blocks: (2.05 
TB/1.86 TiB)
  [  843.227754] sd 1:0:0:0: [sdb] 4096-byte physical blocks
  [  843.227876] sd 1:0:0:0: [sdb] Write Protect is off
  [  843.227877] sd 1:0:0:0: [sdb] Mode Sense: 5f 00 00 08
  [  843.228071] sd 1:0:0:0: [sdb] Write cache: enabled, read cache: enabled, 
doesn't support DPO or FUA
  [  843.228272] sd 1:0:0:0: [sdb] Optimal transfer size 33553920 bytes not a 
multiple of physical block size (4096 bytes)
  [  843.270539]  sdb: sdb1 sdb2
  [  843.271928] sd 1:0:0:0: [sdb] Attached SCSI disk
  [  906.555686] systemd-journald[516]: Successfully sent stream file 
descriptor to service manager.
  [ 1022.377340] systemd-journald[516]: Successfully sent stream file 
descriptor to service manager.
  [ 1224.144553] sd 1:0:0:0: [sdb] tag#5 FAILED Result: hostbyte=DID_OK 
driverbyte=DRIVER_SENSE
  [ 1224.144560] sd 1:0:0:0: [sdb] tag#5 Sense Key : Hardware Error [current] 
  [ 1224.144562] sd 1:0:0:0: [sdb] tag#5 ASC=0x44 <<vendor>>ASCQ=0x99 
  [ 1224.144564] sd 1:0:0:0: [sdb] tag#5 CDB: Read(10) 28 00 00 06 40 00 00 00 
01 00
  [ 1224.144567] blk_update_request: critical target error, dev sdb, sector 
409600 op 0x0:(READ) flags 0x1000 phys_seg 1 prio class 0
  [ 1224.144588] XFS (sdb1): SB validate failed with error -121.
  [ 1272.199769] systemd-journald[516]: Successfully sent stream file 
descriptor to service manager.

  ```

  The kernel log:
  ```
  Sep  6 11:35:22  kernel: [  841.199638] usb 2-2: new SuperSpeedPlus Gen 2 USB 
device number 5 using xhci_hcd
  Sep  6 11:35:22  kernel: [  841.220480] usb 2-2: New USB device found, 
idVendor=13fe, idProduct=2570, bcdDevice=52.04
  Sep  6 11:35:22  kernel: [  841.220485] usb 2-2: New USB device strings: 
Mfr=1, Product=2, SerialNumber=3
  Sep  6 11:35:22  kernel: [  841.220489] usb 2-2: Product: Patriot Memory
  Sep  6 11:35:22  kernel: [  841.220492] usb 2-2: Manufacturer: PXD
  Sep  6 11:35:22  kernel: [  841.220495] usb 2-2: SerialNumber: 
5112005142442DD3000019
  Sep  6 11:35:22  kernel: [  841.249317] usbcore: registered new interface 
driver usb-storage
  Sep  6 11:35:22  kernel: [  841.257779] scsi host1: uas
  Sep  6 11:35:22  kernel: [  841.257877] usbcore: registered new interface 
driver uas
  Sep  6 11:35:22  kernel: [  841.258567] scsi 1:0:0:0: Direct-Access     PXD   
   Patriot Memory   5204 PQ: 0 ANSI: 6
  Sep  6 11:35:22  kernel: [  841.259142] sd 1:0:0:0: Attached scsi generic sg1 
type 0
  Sep  6 11:35:24  kernel: [  843.227753] sd 1:0:0:0: [sdb] 4000797360 512-byte 
logical blocks: (2.05 TB/1.86 TiB)
  Sep  6 11:35:24  kernel: [  843.227754] sd 1:0:0:0: [sdb] 4096-byte physical 
blocks
  Sep  6 11:35:24  kernel: [  843.227876] sd 1:0:0:0: [sdb] Write Protect is off
  Sep  6 11:35:24  kernel: [  843.227877] sd 1:0:0:0: [sdb] Mode Sense: 5f 00 
00 08
  Sep  6 11:35:24  kernel: [  843.228071] sd 1:0:0:0: [sdb] Write cache: 
enabled, read cache: enabled, doesn't support DPO or FUA
  Sep  6 11:35:24  kernel: [  843.228272] sd 1:0:0:0: [sdb] Optimal transfer 
size 33553920 bytes not a multiple of physical block size (4096 bytes)
  Sep  6 11:35:24  kernel: [  843.270539]  sdb: sdb1 sdb2
  Sep  6 11:35:24  kernel: [  843.271928] sd 1:0:0:0: [sdb] Attached SCSI disk
  Sep  6 11:41:45  kernel: [ 1224.144553] sd 1:0:0:0: [sdb] tag#5 FAILED 
Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE
  Sep  6 11:41:45  kernel: [ 1224.144560] sd 1:0:0:0: [sdb] tag#5 Sense Key : 
Hardware Error [current] 
  Sep  6 11:41:45  kernel: [ 1224.144562] sd 1:0:0:0: [sdb] tag#5 ASC=0x44 
<<vendor>>ASCQ=0x99 
  Sep  6 11:41:45  kernel: [ 1224.144564] sd 1:0:0:0: [sdb] tag#5 CDB: Read(10) 
28 00 00 06 40 00 00 00 01 00
  Sep  6 11:41:45  kernel: [ 1224.144567] blk_update_request: critical target 
error, dev sdb, sector 409600 op 0x0:(READ) flags 0x1000 phys_seg 1 prio class 0
  Sep  6 11:41:45  kernel: [ 1224.144588] XFS (sdb1): SB validate failed with 
error -121.
  ```

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1894104/+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