Re: Kernel trace when remove usb storage without umount

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

 



Dear Greg K-H
    Thanks for your new kernel information.

Dear Alan,
    Thanks for your patch's information.

Here is my test environment :
CPU : Bay Trail-M N2920
Bios USB setting : XHCI
Kernel : 3.13.7 with scsi patch
USB : 2 front usb2.0 port  (electronic diagram : link to usb hub and
then usb hub link to N2920 SoC)
           1 rear usb2.0 port (electronic diagram : direct link to N2920 SoC)
           1 rear usb3.0 port (electronic diagram : direct link to N2920 SoC)

USB Storage(3.0) : SandDisk Extreme 16GB
USB Storage(2.0) : Patriot 32GB

result :
    2 front usb2.0 port => pass
    1 rear usb2.0 port => fail on USB Storage(3.0)
    1 rear usb3.0 port => pass

dmesg with plug-in:
[   42.517237] usb 1-2: new high-speed USB device number 5 using xhci_hcd
[   42.533963] usb 1-2: New USB device found, idVendor=0781, idProduct=5580
[   42.533971] usb 1-2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[   42.533976] usb 1-2: Product: Extreme
[   42.533980] usb 1-2: Manufacturer: SanDisk
[   42.533984] usb 1-2: SerialNumber: AA011102120418337893
[   42.535009] usb 1-2: ep 0x81 - rounding interval to 16 microframes,
ep desc says 20 microframes
[   42.535024] usb 1-2: ep 0x2 - rounding interval to 16 microframes,
ep desc says 20 microframes
[   42.536163] usb-storage 1-2:1.0: USB Mass Storage device detected
[   42.536976] scsi0 : usb-storage 1-2:1.0
[   43.541092] scsi 0:0:0:0: Direct-Access     SanDisk  Extreme
  0001 PQ: 0 ANSI: 6
[   43.545820] sd 0:0:0:0: [sda] 31277232 512-byte logical blocks:
(16.0 GB/14.9 GiB)
[   43.546376] sd 0:0:0:0: [sda] Write Protect is off
[   43.546383] sd 0:0:0:0: [sda] Mode Sense: 53 00 00 08
[   43.546912] sd 0:0:0:0: [sda] Write cache: disabled, read cache:
enabled, doesn't support DPO or FUA
[   73.990231] usb 1-2: reset high-speed USB device number 5 using xhci_hcd
[   74.005838] xhci_hcd 0000:00:14.0: xHCI xhci_drop_endpoint called
with disabled ep f5e26120
[   74.005844] xhci_hcd 0000:00:14.0: xHCI xhci_drop_endpoint called
with disabled ep f5e2614c
[   74.005860] usb 1-2: ep 0x81 - rounding interval to 16 microframes,
ep desc says 20 microframes
[   74.005867] usb 1-2: ep 0x2 - rounding interval to 16 microframes,
ep desc says 20 microframes
[   74.007085]  sda: sda1
[   74.008360] usb 1-2: USB disconnect, device number 5
[   74.013807] sd 0:0:0:0: [sda] READ CAPACITY failed
[   74.013815] sd 0:0:0:0: [sda]
[   74.013818] Result: hostbyte=0x01 driverbyte=0x00
[   74.013822] sd 0:0:0:0: [sda] Sense not available.
[   74.013874] sd 0:0:0:0: [sda] Asking for cache data failed
[   74.013879] sd 0:0:0:0: [sda] Assuming drive cache: write through
[   74.013885] sd 0:0:0:0: [sda] Attached SCSI removable disk
[   74.294500] usb 1-2: new high-speed USB device number 6 using xhci_hcd
[   74.311936] usb 1-2: New USB device found, idVendor=0781, idProduct=5580
[   74.311962] usb 1-2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[   74.311979] usb 1-2: Product: Extreme
[   74.311994] usb 1-2: Manufacturer: SanDisk
[   74.312008] usb 1-2: SerialNumber: AA011102120418337893
[   74.314625] usb 1-2: ep 0x81 - rounding interval to 16 microframes,
ep desc says 20 microframes
[   74.314656] usb 1-2: ep 0x2 - rounding interval to 16 microframes,
ep desc says 20 microframes
[   74.316668] usb-storage 1-2:1.0: USB Mass Storage device detected
[   74.317102] scsi1 : usb-storage 1-2:1.0
[   75.319698] scsi 1:0:0:0: Direct-Access     SanDisk  Extreme
  0001 PQ: 0 ANSI: 6
[   75.324258] sd 1:0:0:0: [sda] 31277232 512-byte logical blocks:
(16.0 GB/14.9 GiB)
[   75.324687] sd 1:0:0:0: [sda] Write Protect is off
[   75.324711] sd 1:0:0:0: [sda] Mode Sense: 53 00 00 08
[   75.325179] sd 1:0:0:0: [sda] Write cache: disabled, read cache:
enabled, doesn't support DPO or FUA
[  106.015431] usb 1-2: reset high-speed USB device number 6 using xhci_hcd
[  106.030963] xhci_hcd 0000:00:14.0: xHCI xhci_drop_endpoint called
with disabled ep efeee540
[  106.030972] xhci_hcd 0000:00:14.0: xHCI xhci_drop_endpoint called
with disabled ep efeee56c
[  106.030984] usb 1-2: ep 0x81 - rounding interval to 16 microframes,
ep desc says 20 microframes
[  106.030991] usb 1-2: ep 0x2 - rounding interval to 16 microframes,
ep desc says 20 microframes
[  106.032330]  sda: sda1
[  106.033611] usb 1-2: USB disconnect, device number 6
[  106.038809] sd 1:0:0:0: [sda] Attached SCSI removable disk
[  106.315261] usb 1-2: new high-speed USB device number 7 using xhci_hcd
[  106.332795] usb 1-2: New USB device found, idVendor=0781, idProduct=5580
[  106.332820] usb 1-2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[  106.332838] usb 1-2: Product: Extreme
[  106.332852] usb 1-2: Manufacturer: SanDisk
[  106.332867] usb 1-2: SerialNumber: AA011102120418337893
[  106.334929] usb 1-2: ep 0x81 - rounding interval to 16 microframes,
ep desc says 20 microframes
[  106.334962] usb 1-2: ep 0x2 - rounding interval to 16 microframes,
ep desc says 20 microframes
[  106.336430] usb-storage 1-2:1.0: USB Mass Storage device detected
[  106.337364] scsi2 : usb-storage 1-2:1.0
[  107.342106] scsi 2:0:0:0: Direct-Access     SanDisk  Extreme
  0001 PQ: 0 ANSI: 6
[  107.345577] sd 2:0:0:0: [sda] 31277232 512-byte logical blocks:
(16.0 GB/14.9 GiB)
[  107.346729] sd 2:0:0:0: [sda] Write Protect is off
[  107.346754] sd 2:0:0:0: [sda] Mode Sense: 53 00 00 08
[  107.347439] sd 2:0:0:0: [sda] Write cache: disabled, read cache:
enabled, doesn't support DPO or FUA
[  138.040327] usb 1-2: reset high-speed USB device number 7 using xhci_hcd
[  138.055780] xhci_hcd 0000:00:14.0: xHCI xhci_drop_endpoint called
with disabled ep f600dae0
[  138.055787] xhci_hcd 0000:00:14.0: xHCI xhci_drop_endpoint called
with disabled ep f600db0c
[  138.055799] usb 1-2: ep 0x81 - rounding interval to 16 microframes,
ep desc says 20 microframes
[  138.055806] usb 1-2: ep 0x2 - rounding interval to 16 microframes,
ep desc says 20 microframes
[  138.057041]  sda: sda1
[  138.061735] sd 2:0:0:0: [sda] Attached SCSI removable disk
[  169.096454] usb 1-2: reset high-speed USB device number 7 using xhci_hcd
[  169.112079] xhci_hcd 0000:00:14.0: xHCI xhci_drop_endpoint called
with disabled ep f600dae0
[  169.112086] xhci_hcd 0000:00:14.0: xHCI xhci_drop_endpoint called
with disabled ep f600db0c
[  169.112101] usb 1-2: ep 0x81 - rounding interval to 16 microframes,
ep desc says 20 microframes
[  169.112110] usb 1-2: ep 0x2 - rounding interval to 16 microframes,
ep desc says 20 microframes
[  169.127997] usb 1-2: USB disconnect, device number 7
[  169.133750] scsi 2:0:0:0: rejecting I/O to offline device
[  169.133759] scsi 2:0:0:0: [sda] killing request
[  169.133783] scsi 2:0:0:0: [sda] Unhandled error code
[  169.133790] scsi 2:0:0:0: [sda]
[  169.133794] Result: hostbyte=0x01 driverbyte=0x00
[  169.133798] scsi 2:0:0:0: [sda] CDB:
[  169.133801] cdb[0]=0x28: 28 00 00 00 01 80 00 00 08 00
[  169.133814] end_request: I/O error, dev sda, sector 384
[  169.133819] Buffer I/O error on device sda, logical block 48
[  169.133858] Buffer I/O error on device sda, logical block 48
[  169.133896] Buffer I/O error on device sda, logical block 0
[  169.133903] Buffer I/O error on device sda, logical block 0
[  169.133918] Buffer I/O error on device sda, logical block 2
[  169.133924] Buffer I/O error on device sda, logical block 2
[  169.133934] Buffer I/O error on device sda, logical block 0
[  169.133944] Buffer I/O error on device sda, logical block 0
[  169.133958] Buffer I/O error on device sda, logical block 0
[  169.133974] Buffer I/O error on device sda, logical block 512
[  169.392265] usb 1-2: new high-speed USB device number 8 using xhci_hcd
[  169.409441] usb 1-2: New USB device found, idVendor=0781, idProduct=5580
[  169.409465] usb 1-2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[  169.409482] usb 1-2: Product: Extreme
[  169.409497] usb 1-2: Manufacturer: SanDisk
[  169.409512] usb 1-2: SerialNumber: AA011102120418337893
[  169.410772] usb 1-2: ep 0x81 - rounding interval to 16 microframes,
ep desc says 20 microframes
[  169.410801] usb 1-2: ep 0x2 - rounding interval to 16 microframes,
ep desc says 20 microframes
[  169.412890] usb-storage 1-2:1.0: USB Mass Storage device detected
[  169.413687] scsi3 : usb-storage 1-2:1.0
[  170.417654] scsi 3:0:0:0: Direct-Access     SanDisk  Extreme
  0001 PQ: 0 ANSI: 6
[  170.424400] sd 3:0:0:0: [sda] 31277232 512-byte logical blocks:
(16.0 GB/14.9 GiB)
[  170.424720] sd 3:0:0:0: [sda] Write Protect is off
[  170.424727] sd 3:0:0:0: [sda] Mode Sense: 53 00 00 08
[  170.425007] sd 3:0:0:0: [sda] Write cache: disabled, read cache:
enabled, doesn't support DPO or FUA
[  201.185442] usb 1-2: reset high-speed USB device number 8 using xhci_hcd
[  201.200827] xhci_hcd 0000:00:14.0: xHCI xhci_drop_endpoint called
with disabled ep f5d1fd80
[  201.200834] xhci_hcd 0000:00:14.0: xHCI xhci_drop_endpoint called
with disabled ep f5d1fdac
[  201.200845] usb 1-2: ep 0x81 - rounding interval to 16 microframes,
ep desc says 20 microframes
[  201.200853] usb 1-2: ep 0x2 - rounding interval to 16 microframes,
ep desc says 20 microframes
[  201.202139]  sda: sda1
[  201.203404] usb 1-2: USB disconnect, device number 8
[  201.210388] sd 3:0:0:0: [sda] Attached SCSI removable disk
[  201.489395] usb 1-2: new high-speed USB device number 9 using xhci_hcd
[  201.506819] usb 1-2: New USB device found, idVendor=0781, idProduct=5580
[  201.506844] usb 1-2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[  201.506861] usb 1-2: Product: Extreme
[  201.506876] usb 1-2: Manufacturer: SanDisk
[  201.506891] usb 1-2: SerialNumber: AA011102120418337893
[  201.508565] usb 1-2: ep 0x81 - rounding interval to 16 microframes,
ep desc says 20 microframes
[  201.508595] usb 1-2: ep 0x2 - rounding interval to 16 microframes,
ep desc says 20 microframes
[  201.510558] usb-storage 1-2:1.0: USB Mass Storage device detected
[  201.511396] scsi4 : usb-storage 1-2:1.0
[  202.512082] scsi 4:0:0:0: Direct-Access     SanDisk  Extreme
  0001 PQ: 0 ANSI: 6
[  202.516475] sd 4:0:0:0: [sda] 31277232 512-byte logical blocks:
(16.0 GB/14.9 GiB)
[  202.517340] sd 4:0:0:0: [sda] Write Protect is off
[  202.517352] sd 4:0:0:0: [sda] Mode Sense: 53 00 00 08
[  202.517817] sd 4:0:0:0: [sda] Write cache: disabled, read cache:
enabled, doesn't support DPO or FUA
[  233.154253] usb 1-2: reset high-speed USB device number 9 using xhci_hcd
[  233.169733] xhci_hcd 0000:00:14.0: xHCI xhci_drop_endpoint called
with disabled ep f41ecae0
[  233.169740] xhci_hcd 0000:00:14.0: xHCI xhci_drop_endpoint called
with disabled ep f41ecb0c
[  233.169751] usb 1-2: ep 0x81 - rounding interval to 16 microframes,
ep desc says 20 microframes
[  233.169759] usb 1-2: ep 0x2 - rounding interval to 16 microframes,
ep desc says 20 microframes
[  233.170987]  sda: sda1
[  233.172616] usb 1-2: USB disconnect, device number 9
[  233.180832] sd 4:0:0:0: [sda] READ CAPACITY failed
[  233.180840] sd 4:0:0:0: [sda]
[  233.180844] Result: hostbyte=0x01 driverbyte=0x00
[  233.180848] sd 4:0:0:0: [sda] Sense not available.
[  233.180906] sd 4:0:0:0: [sda] Asking for cache data failed
[  233.180911] sd 4:0:0:0: [sda] Assuming drive cache: write through
[  233.180917] sd 4:0:0:0: [sda] Attached SCSI removable disk
[  233.461858] usb 1-2: new high-speed USB device number 10 using xhci_hcd
[  233.479202] usb 1-2: New USB device found, idVendor=0781, idProduct=5580
[  233.479225] usb 1-2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[  233.479243] usb 1-2: Product: Extreme
[  233.479257] usb 1-2: Manufacturer: SanDisk
[  233.479272] usb 1-2: SerialNumber: AA011102120418337893
[  233.481031] usb 1-2: ep 0x81 - rounding interval to 16 microframes,
ep desc says 20 microframes
[  233.481059] usb 1-2: ep 0x2 - rounding interval to 16 microframes,
ep desc says 20 microframes
[  233.483335] usb-storage 1-2:1.0: USB Mass Storage device detected
[  233.484164] scsi5 : usb-storage 1-2:1.0
[  234.488553] scsi 5:0:0:0: Direct-Access     SanDisk  Extreme
  0001 PQ: 0 ANSI: 6
[  234.492802] sd 5:0:0:0: [sda] 31277232 512-byte logical blocks:
(16.0 GB/14.9 GiB)
[  234.493510] sd 5:0:0:0: [sda] Write Protect is off
[  234.493534] sd 5:0:0:0: [sda] Mode Sense: 53 00 00 08
[  234.494538] sd 5:0:0:0: [sda] Write cache: disabled, read cache:
enabled, doesn't support DPO or FUA
[  265.179253] usb 1-2: reset high-speed USB device number 10 using xhci_hcd
[  265.195314] xhci_hcd 0000:00:14.0: xHCI xhci_drop_endpoint called
with disabled ep f420b240
[  265.195321] xhci_hcd 0000:00:14.0: xHCI xhci_drop_endpoint called
with disabled ep f420b26c
[  265.195333] usb 1-2: ep 0x81 - rounding interval to 16 microframes,
ep desc says 20 microframes
[  265.195340] usb 1-2: ep 0x2 - rounding interval to 16 microframes,
ep desc says 20 microframes
[  265.196644]  sda: sda1
[  265.199721] sd 5:0:0:0: [sda] Attached SCSI removable disk
[  296.179194] usb 1-2: reset high-speed USB device number 10 using xhci_hcd
[  296.194660] xhci_hcd 0000:00:14.0: xHCI xhci_drop_endpoint called
with disabled ep f420b240
[  296.194668] xhci_hcd 0000:00:14.0: xHCI xhci_drop_endpoint called
with disabled ep f420b26c
[  296.194681] usb 1-2: ep 0x81 - rounding interval to 16 microframes,
ep desc says 20 microframes
[  296.194688] usb 1-2: ep 0x2 - rounding interval to 16 microframes,
ep desc says 20 microframes
[  296.197163] usb 1-2: USB disconnect, device number 10
[  296.257769] sd 5:0:0:0: [sda] Unhandled error code
[  296.257784] sd 5:0:0:0: [sda]
[  296.257787] Result: hostbyte=0x01 driverbyte=0x00
[  296.257791] sd 5:0:0:0: [sda] CDB:
[  296.257794] cdb[0]=0x28: 28 00 01 dd 40 70 00 00 08 00
[  296.257807] end_request: I/O error, dev sda, sector 31277168
[  296.257812] Buffer I/O error on device sda, logical block 3909646
[  296.507306] usb 1-2: new high-speed USB device number 11 using xhci_hcd
[  296.524602] usb 1-2: New USB device found, idVendor=0781, idProduct=5580
[  296.524628] usb 1-2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[  296.524645] usb 1-2: Product: Extreme
[  296.524660] usb 1-2: Manufacturer: SanDisk
[  296.524674] usb 1-2: SerialNumber: AA011102120418337893
[  296.526446] usb 1-2: ep 0x81 - rounding interval to 16 microframes,
ep desc says 20 microframes
[  296.526474] usb 1-2: ep 0x2 - rounding interval to 16 microframes,
ep desc says 20 microframes
[  296.528242] usb-storage 1-2:1.0: USB Mass Storage device detected
[  296.529088] scsi6 : usb-storage 1-2:1.0
[  297.533998] scsi 6:0:0:0: Direct-Access     SanDisk  Extreme
  0001 PQ: 0 ANSI: 6
[  297.542529] sd 6:0:0:0: [sda] 31277232 512-byte logical blocks:
(16.0 GB/14.9 GiB)
[  297.543010] sd 6:0:0:0: [sda] Write Protect is off
[  297.543029] sd 6:0:0:0: [sda] Mode Sense: 53 00 00 08
[  297.543382] sd 6:0:0:0: [sda] Write cache: disabled, read cache:
enabled, doesn't support DPO or FUA
[  297.544794] usb 1-2: USB disconnect, device number 11
[  297.608515] sd 6:0:0:0: [sda] Attached SCSI removable disk
[  297.859592] usb 1-2: new high-speed USB device number 12 using xhci_hcd
[  297.877454] usb 1-2: New USB device found, idVendor=0781, idProduct=5580
[  297.877478] usb 1-2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[  297.877496] usb 1-2: Product: Extreme
[  297.877510] usb 1-2: Manufacturer: SanDisk
[  297.877525] usb 1-2: SerialNumber: AA011102120418337893
[  297.879182] usb 1-2: ep 0x81 - rounding interval to 16 microframes,
ep desc says 20 microframes
[  297.879213] usb 1-2: ep 0x2 - rounding interval to 16 microframes,
ep desc says 20 microframes
[  297.880798] usb-storage 1-2:1.0: USB Mass Storage device detected
[  297.881277] scsi7 : usb-storage 1-2:1.0
[  298.883497] scsi 7:0:0:0: Direct-Access     SanDisk  Extreme
  0001 PQ: 0 ANSI: 6
[  298.888737] sd 7:0:0:0: [sda] 31277232 512-byte logical blocks:
(16.0 GB/14.9 GiB)
[  298.889146] sd 7:0:0:0: [sda] Write Protect is off
[  298.889170] sd 7:0:0:0: [sda] Mode Sense: 53 00 00 08
[  298.889574] sd 7:0:0:0: [sda] Write cache: disabled, read cache:
enabled, doesn't support DPO or FUA
[  329.420997] usb 1-2: reset high-speed USB device number 12 using xhci_hcd
[  329.436762] xhci_hcd 0000:00:14.0: xHCI xhci_drop_endpoint called
with disabled ep f420b180
[  329.436768] xhci_hcd 0000:00:14.0: xHCI xhci_drop_endpoint called
with disabled ep f420b1ac
[  329.436779] usb 1-2: ep 0x81 - rounding interval to 16 microframes,
ep desc says 20 microframes
[  329.436786] usb 1-2: ep 0x2 - rounding interval to 16 microframes,
ep desc says 20 microframes
[  329.438059]  sda: sda1
[  329.441642] sd 7:0:0:0: [sda] Attached SCSI removable disk
[  329.442876] usb 1-2: USB disconnect, device number 12
[  329.744944] usb 1-2: new high-speed USB device number 13 using xhci_hcd
[  329.762623] usb 1-2: New USB device found, idVendor=0781, idProduct=5580
[  329.762649] usb 1-2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[  329.762666] usb 1-2: Product: Extreme
[  329.762681] usb 1-2: Manufacturer: SanDisk
[  329.762696] usb 1-2: SerialNumber: AA011102120418337893
[  329.764144] usb 1-2: ep 0x81 - rounding interval to 16 microframes,
ep desc says 20 microframes
[  329.764172] usb 1-2: ep 0x2 - rounding interval to 16 microframes,
ep desc says 20 microframes
[  329.766033] usb-storage 1-2:1.0: USB Mass Storage device detected
[  329.766900] scsi8 : usb-storage 1-2:1.0
[  330.770484] scsi 8:0:0:0: Direct-Access     SanDisk  Extreme
  0001 PQ: 0 ANSI: 6
[  330.774593] sd 8:0:0:0: [sda] 31277232 512-byte logical blocks:
(16.0 GB/14.9 GiB)
[  330.779409] sd 8:0:0:0: [sda] Write Protect is off
[  330.779436] sd 8:0:0:0: [sda] Mode Sense: 53 00 00 08
[  330.780015] sd 8:0:0:0: [sda] Write cache: disabled, read cache:
enabled, doesn't support DPO or FUA
[  361.445816] usb 1-2: reset high-speed USB device number 13 using xhci_hcd
[  361.462034] xhci_hcd 0000:00:14.0: xHCI xhci_drop_endpoint called
with disabled ep efe67b40
[  361.462041] xhci_hcd 0000:00:14.0: xHCI xhci_drop_endpoint called
with disabled ep efe67b6c
[  361.462053] usb 1-2: ep 0x81 - rounding interval to 16 microframes,
ep desc says 20 microframes
[  361.462061] usb 1-2: ep 0x2 - rounding interval to 16 microframes,
ep desc says 20 microframes
[  361.463296]  sda: sda1
[  361.465436] sd 8:0:0:0: [sda] Attached SCSI removable disk
[  392.446033] usb 1-2: reset high-speed USB device number 13 using xhci_hcd
[  392.462024] xhci_hcd 0000:00:14.0: xHCI xhci_drop_endpoint called
with disabled ep efe67b40
[  392.462032] xhci_hcd 0000:00:14.0: xHCI xhci_drop_endpoint called
with disabled ep efe67b6c
[  392.462043] usb 1-2: ep 0x81 - rounding interval to 16 microframes,
ep desc says 20 microframes
[  392.462051] usb 1-2: ep 0x2 - rounding interval to 16 microframes,
ep desc says 20 microframes

dmesg with remove:
[  578.729981] usb 1-2: USB disconnect, device number 15
[  578.737259] sd 10:0:0:0: [sda] Unhandled error code
[  578.737267] sd 10:0:0:0: [sda]
[  578.737270] Result: hostbyte=0x01 driverbyte=0x00
[  578.737274] sd 10:0:0:0: [sda] CDB:
[  578.737277] cdb[0]=0x28: 28 00 00 00 00 00 00 00 08 00
[  578.737290] end_request: I/O error, dev sda, sector 0
[  578.737295] Buffer I/O error on device sda, logical block 0
[  578.737349] ldm_validate_partition_table(): Disk read failed.
[  578.737364]  sda: unable to read partition table
[  578.738267] sd 10:0:0:0: [sda] READ CAPACITY failed
[  578.738273] sd 10:0:0:0: [sda]
[  578.738277] Result: hostbyte=0x01 driverbyte=0x00
[  578.738281] sd 10:0:0:0: [sda] Sense not available.
[  578.738330] sd 10:0:0:0: [sda] Asking for cache data failed
[  578.738336] sd 10:0:0:0: [sda] Assuming drive cache: write through
[  578.738341] sd 10:0:0:0: [sda] Attached SCSI removable disk


When I choose EHCI mode in BIOS, this issue will not caused.
How do I find some patch to fix this issue?

Thanks.

--
Chris Cheng  鄭宇廷
Atrust Computer Corp.  冠信電腦股份有限公司
http://www.atrustcorp.com
Tel: +886-3-3288837 ext.1074
3F., No.361, Fusing 1st Rd., Gueishan Township, Taoyuan County 333, Taiwan
333 桃園縣龜山鄉復興一路361號3F


2014-03-24 22:03 GMT+08:00 Alan Stern <stern@xxxxxxxxxxxxxxxxxxx>:
> On Mon, 24 Mar 2014, Chris Cheng wrote:
>
>> system kernel is 3.13.6, the origin issue is mount usb storage(3.0) on
>> usb3.0 port not smooth, i found the solve method is revert xhci.c
>> patch, here is the link :
>> https://lkml.org/lkml/2014/3/7/295
>>
>>
>> After i revert the patch, mount usb storage is fine.
>> But it takes some issue, here is test case :
>>
>> Here is test case :
>> usb storage 2.0 remove from usb 3.0 port => kernel trace
>> usb storage 2.0 remove from usb 2.0 port => kernel trace
>> usb storage 3.0 remove from usb 3.0 port => kernel trace
>>
>> Kernel trace message:
>>
>> [224189.786719] usb 2-1: USB disconnect, device number 4
>> [224189.820934] ------------[ cut here ]------------
>> [224189.820949] WARNING: CPU: 3 PID: 14554 at fs/sysfs/group.c:214
>> sysfs_remove_group+0x37/0x69()
>> [224189.820953] sysfs group c1851c34 not found for kobject 'target7:0:0'
>> [224189.820956] Modules linked in: snd_hda_intel(F)
>> snd_hda_codec_via(F) snd_hda_codec(F) snd_hwdep(F) snd_pcm_oss(F)
>> snd_mixer_oss(F) snd_pcm(F) snd_seq_dummy(F) snd_page_alloc(F)
>> snd_seq_oss(F) snd_seq_midi_event(F) snd_seq(F) snd_timer(F)
>> snd_seq_device(F) snd(F) parport_pc(F) fan(F) ppdev(F) lp(F)
>> parport(F)
>> [224189.820985] CPU: 3 PID: 14554 Comm: umount Tainted: GF       W    3.13.6 #1
>> [224189.820988] Hardware name: LG CNS t180/t180, BIOS 1.11 03/21/2014
>> [224189.820991]  00000000 00000000 da877d98 c154fb31 c175e60a da877db0
>> c102e9f5 c112446b
>> [224189.821001]  00000000 c1851c34 ea14f21c da877dc8 c102ea70 00000009
>> da877dc0 c175e60a
>> [224189.821010]  da877ddc da877df0 c112446b c175e5bf 000000d6 c175e60a
>> c1851c34 ea28e0e0
>> [224189.821019] Call Trace:
>> [224189.821028]  [<c154fb31>] dump_stack+0x41/0x52
>> [224189.821036]  [<c102e9f5>] warn_slowpath_common+0x61/0x78
>> [224189.821042]  [<c112446b>] ? sysfs_remove_group+0x37/0x69
>> [224189.821047]  [<c102ea70>] warn_slowpath_fmt+0x26/0x2a
>> [224189.821053]  [<c112446b>] sysfs_remove_group+0x37/0x69
>> [224189.821060]  [<c133a8bd>] dpm_sysfs_remove+0x2d/0x30
>> [224189.821065]  [<c1334b1c>] device_del+0x2c/0x130
>> [224189.821072]  [<c134ae09>] scsi_target_reap_usercontext+0x1f/0x2a
>> [224189.821078]  [<c103f04a>] execute_in_process_context+0x16/0x45
>> [224189.821083]  [<c134b714>] scsi_target_reap+0x81/0x87
>> [224189.821090]  [<c134cd52>] scsi_device_dev_release_usercontext+0x116/0x13b
>> [224189.821095]  [<c103f04a>] execute_in_process_context+0x16/0x45
>> [224189.821101]  [<c134c9ea>] scsi_device_dev_release+0x13/0x15
>> [224189.821107]  [<c13342d5>] device_release+0x46/0x78
>> [224189.821114]  [<c1232827>] kobject_cleanup+0x3e/0x4e
>> [224189.821120]  [<c123275c>] kobject_put+0x3c/0x3e
>> [224189.821125]  [<c1232832>] ? kobject_cleanup+0x49/0x4e
>> [224189.821131]  [<c1334173>] put_device+0xf/0x11
>> [224189.821137]  [<c13443cc>] scsi_device_put+0x2f/0x33
>> [224189.821143]  [<c135102e>] scsi_disk_put+0x23/0x31
>> [224189.821148]  [<c13524f5>] sd_release+0x40/0x44
>> [224189.821154]  [<c11042ba>] __blkdev_put+0x83/0xfa
>> [224189.821159]  [<c1104329>] __blkdev_put+0xf2/0xfa
>> [224189.821164]  [<c1104409>] blkdev_put+0xd8/0xde
>> [224189.821170]  [<c10e0d1f>] kill_block_super+0x54/0x58
>> [224189.821177]  [<c10e0422>] deactivate_locked_super+0x24/0x41
>> [224189.821182]  [<c10e0d7d>] deactivate_super+0x28/0x2b
>> [224189.821188]  [<c10f3016>] mntput_no_expire+0xc7/0xe3
>> [224189.821194]  [<c10f3d0d>] SYSC_umount+0x293/0x2b0
>> [224189.821200]  [<c10f3d38>] SyS_umount+0xe/0x10
>> [224189.821206]  [<c155a1fa>] sysenter_do_call+0x12/0x22
>> [224189.821210] ---[ end trace 096ea20d8206361e ]--
>
> This problem has been fixed in linux-next:
>
> https://git.kernel.org/cgit/linux/kernel/git/next/linux-next.git/commit?id=e63ed0d7a98014fdfc2cfeb3f6dada313dcabb59
>
> Alan Stern
>
--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux