Il 03/10/2016 07:58, Mathias Nyman ha scritto:
On 02.10.2016 13:23, Marco Chiappero wrote:
Hi all,
Sorry for bothering you but I would like to know whether there are
updates on this or not.
This problem is affecting many people and has been identified, it
would be a pity not to have a fix upstreamed.
Let me know if I can help somehow.
Right, there is a test patch in my tree, in the remount_fix_test branch,
based on 4.8-rc6
git://git.kernel.org/pub/scm/linux/kernel/git/mnyman/xhci.git
remount_fix_test
I was about to go through the remote wakeup flags for this before I
got pulled
into other things. If you can try it out and see if works for you it
would help.
Hi Mathias,
Sorry for my "ping" email, since I saw no more emails I thought no
progress has been made.
I managed to test your code today by plugging and unplugging the drive
many times from both USB 2.0 and 3.0 ports, they work just the same now,
without a issue.
Here are dmesg excerpts:
[ 871.062269] usb 3-8: new high-speed USB device number 8 using xhci_hcd
[ 871.204505] usb 3-8: New USB device found, idVendor=1058, idProduct=1078
[ 871.204506] usb 3-8: New USB device strings: Mfr=2, Product=3,
SerialNumber=1
[ 871.204507] usb 3-8: Product: Elements 1078
[ 871.204508] usb 3-8: Manufacturer: Western Digital
[ 871.204509] usb 3-8: SerialNumber: 575839314139344639534848
[ 871.205571] usb-storage 3-8:1.0: USB Mass Storage device detected
[ 871.205753] scsi host6: usb-storage 3-8:1.0
[ 871.205773] scsi host6: runtime PM trying to activate child device
host6 but parent (3-8:1.0) is not active
[ 872.227354] scsi 6:0:0:0: Direct-Access WD Elements 1078
1065 PQ: 0 ANSI: 6
[ 872.227915] sd 6:0:0:0: Attached scsi generic sg3 type 0
[ 872.229389] sd 6:0:0:0: [sdc] Spinning up disk...
[ 873.250079] .....ready
[ 877.346788] sd 6:0:0:0: [sdc] 3906963456 512-byte logical blocks:
(2.00 TB/1.82 TiB)
[ 877.347457] sd 6:0:0:0: [sdc] Write Protect is off
[ 877.347464] sd 6:0:0:0: [sdc] Mode Sense: 53 00 10 08
[ 877.348077] sd 6:0:0:0: [sdc] No Caching mode page found
[ 877.348085] sd 6:0:0:0: [sdc] Assuming drive cache: write through
[ 877.540046] sdc: sdc1
[ 877.543277] sd 6:0:0:0: [sdc] Attached SCSI disk
[ 878.585574] EXT4-fs (dm-0): mounted filesystem with ordered data
mode. Opts: (null)
[ 989.603283] usb 3-8: USB disconnect, device number 8
[ 1029.090524] usb 4-1: new SuperSpeed USB device number 5 using xhci_hcd
[ 1029.111373] usb 4-1: New USB device found, idVendor=1058, idProduct=1078
[ 1029.111375] usb 4-1: New USB device strings: Mfr=2, Product=3,
SerialNumber=1
[ 1029.111376] usb 4-1: Product: Elements 1078
[ 1029.111376] usb 4-1: Manufacturer: Western Digital
[ 1029.111377] usb 4-1: SerialNumber: 575839314139344639534848
[ 1029.112148] usb-storage 4-1:1.0: USB Mass Storage device detected
[ 1029.112441] scsi host6: usb-storage 4-1:1.0
[ 1029.112463] scsi host6: runtime PM trying to activate child device
host6 but parent (4-1:1.0) is not active
[ 1030.130923] scsi 6:0:0:0: Direct-Access WD Elements 1078
1065 PQ: 0 ANSI: 6
[ 1030.131315] sd 6:0:0:0: Attached scsi generic sg3 type 0
[ 1030.132179] sd 6:0:0:0: [sdc] Spinning up disk...
[ 1031.154206] ......ready
[ 1036.274735] sd 6:0:0:0: [sdc] 3906963456 512-byte logical blocks:
(2.00 TB/1.82 TiB)
[ 1036.275025] sd 6:0:0:0: [sdc] Write Protect is off
[ 1036.275029] sd 6:0:0:0: [sdc] Mode Sense: 53 00 10 08
[ 1036.275289] sd 6:0:0:0: [sdc] No Caching mode page found
[ 1036.275296] sd 6:0:0:0: [sdc] Assuming drive cache: write through
[ 1036.462170] sdc: sdc1
[ 1036.463413] sd 6:0:0:0: [sdc] Attached SCSI disk
[ 1037.392008] EXT4-fs (dm-0): mounted filesystem with ordered data
mode. Opts: (null)
[ 1185.257856] usb 4-1: USB disconnect, device number 5
[ 1185.257991] xhci_hcd 0000:00:14.0: Stop endpoint command completion
for disabled slot 11
Thank you so much for the fix. If there is still something I can do,
just let me know.
Best Regards,
Marco
--
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