Comment 8 for bug 1582864

Mike Gerow (gerow) wrote :

Looks good! Started with slub_debug and not seeing any Oopses when uplugging usb3 storage.

$ uname -rsov
Linux 3.13.0-87-generic #133-Ubuntu SMP Tue May 24 18:32:09 UTC 2016 GNU/Linux

$ dmesg
...
[ 79.103213] usb 4-3: new SuperSpeed USB device number 2 using xhci_hcd
[ 79.121274] usb 4-3: Parent hub missing LPM exit latency info. Power management will be impacted.
[ 79.124995] usb 4-3: New USB device found, idVendor=090c, idProduct=1000
[ 79.124997] usb 4-3: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 79.124998] usb 4-3: Product: USB Flash Disk
[ 79.124999] usb 4-3: Manufacturer: General
[ 79.125000] usb 4-3: SerialNumber: 0411200000013498
[ 79.133013] usb-storage 4-3:1.0: USB Mass Storage device detected
[ 79.133058] scsi9 : usb-storage 4-3:1.0
[ 79.133100] usbcore: registered new interface driver usb-storage
[ 80.467553] scsi 9:0:0:0: Direct-Access General USB Flash Disk 1100 PQ: 0 ANSI: 6
[ 80.467749] sd 9:0:0:0: Attached scsi generic sg1 type 0
[ 80.468294] sd 9:0:0:0: [sdb] 125960192 512-byte logical blocks: (64.4 GB/60.0 GiB)
[ 80.468733] sd 9:0:0:0: [sdb] Write Protect is off
[ 80.468735] sd 9:0:0:0: [sdb] Mode Sense: 43 00 00 00
[ 80.469164] sd 9:0:0:0: [sdb] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[ 80.476633] sdb: sdb1 sdb2
[ 80.478409] sd 9:0:0:0: [sdb] Attached SCSI removable disk
[ 84.533954] usb 4-3: USB disconnect, device number 2
[ 84.534205] sd 9:0:0:0: [sdb] Synchronizing SCSI cache
[ 84.534243] sd 9:0:0:0: [sdb]
[ 84.534246] Result: hostbyte=DID_NO_CONNECT driverbyte=DRIVER_OK
[ 92.110736] usb 4-3: new SuperSpeed USB device number 3 using xhci_hcd
[ 92.128888] usb 4-3: Parent hub missing LPM exit latency info. Power management will be impacted.
[ 92.132571] usb 4-3: New USB device found, idVendor=090c, idProduct=1000
[ 92.132573] usb 4-3: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 92.132574] usb 4-3: Product: USB Flash Disk
[ 92.132575] usb 4-3: Manufacturer: General
[ 92.132576] usb 4-3: SerialNumber: 0411200000013498
[ 92.133446] usb-storage 4-3:1.0: USB Mass Storage device detected
[ 92.133507] scsi10 : usb-storage 4-3:1.0
[ 93.393578] usb 4-3: reset SuperSpeed USB device number 3 using xhci_hcd
[ 93.411644] usb 4-3: Parent hub missing LPM exit latency info. Power management will be impacted.
[ 93.412809] xhci_hcd 0000:08:00.0: xHCI xhci_drop_endpoint called with disabled ep ffff8807a239f400
[ 93.412811] xhci_hcd 0000:08:00.0: xHCI xhci_drop_endpoint called with disabled ep ffff8807a239f440
[ 93.751289] scsi 10:0:0:0: Direct-Access General USB Flash Disk 1100 PQ: 0 ANSI: 6
[ 93.751502] sd 10:0:0:0: Attached scsi generic sg1 type 0
[ 93.752012] sd 10:0:0:0: [sdb] 125960192 512-byte logical blocks: (64.4 GB/60.0 GiB)
[ 93.752456] sd 10:0:0:0: [sdb] Write Protect is off
[ 93.752459] sd 10:0:0:0: [sdb] Mode Sense: 43 00 00 00
[ 93.752888] sd 10:0:0:0: [sdb] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[ 93.760680] sdb: sdb1 sdb2
[ 93.762441] sd 10:0:0:0: [sdb] Attached SCSI removable disk
[ 98.704248] usb 4-3: USB disconnect, device number 3
...