When I attach working Western Digital Elements 2TB Drive with USB 3.0 interface to Lenovo Thinkpad T520 laptop with USB 2.0 port, it does not work. The FreeBSD release is 11.1-RC1. # uname -a FreeBSD t520.local 11.1-RC1 FreeBSD 11.1-RC1 #0 r320486: Fri Jun 30 02:25:16 UTC 2017 root@releng2.nyi.freebsd.org:/usr/obj/usr/src/sys/GENERIC amd64 Below are messages when I attach the drive. # cat /var/log/messages Jul 8 00:14:18 t520 kernel: ugen1.4: <Western Digital Elements 1048> at usbus1 Jul 8 00:14:18 t520 kernel: umass0 on uhub2 Jul 8 00:14:18 t520 kernel: umass0: <MSC Bulk-Only Transport> on usbus1 Jul 8 00:14:18 t520 kernel: umass0: SCSI over Bulk-Only; quirks = 0xc101 Jul 8 00:14:18 t520 kernel: umass0:5:0: Attached to scbus5 Jul 8 00:14:25 t520 kernel: (da0:umass-sim0:0:0:0): got CAM status 0x44 Jul 8 00:14:25 t520 kernel: (da0:umass-sim0:0:0:0): fatal error, failed to attach to device Jul 8 00:14:25 t520 kernel: g_access(918): provider da0 has error # dmesg ugen1.4: <Western Digital Elements 1048> at usbus1 umass0 on uhub2 umass0: <MSC Bulk-Only Transport> on usbus1 umass0: SCSI over Bulk-Only; quirks = 0xc101 umass0:5:0: Attached to scbus5 (da0:umass-sim0:0:0:0): got CAM status 0x44 (da0:umass-sim0:0:0:0): fatal error, failed to attach to device g_access(918): provider da0 has error g_access(918): provider da0 has error g_access(918): provider da0 has error g_access(918): provider da0 has error Regards.
Same behavior with other computer with FreeBSD 11.1-RC1 on USB 3.0 port. This drive worked flawlessly on FreeBSD 10.x. Problems started on 11.x. This drive also works good on Windows laptop/system. Regards.
Hi, This is likely a SCSI / CAM protocol issue and not an USB issue. Can you dump all the USB commands from 10.x and 11.1 ? 1) plug device and note ugenX.Y numbers 2) unplug device 3) start "usbdump -i usbusX -f Y -s 65536 -w freebsd10.pcap" 4) CTRL+C and safe .pcap file. Repeat for FreeBSD 11. --HPS
What does the dmesg look like in FreeBSD 10 ? --HPS
Created attachment 184210 [details] 10.2TB.pcap.gz
Created attachment 184211 [details] 10.16G.pcap.gz
Created attachment 184212 [details] 11.2TB.pcap.gz
Created attachment 184213 [details] 11.16G.pcap.gz
The story seems to be little more complicated, but .... 10.16G.pcap.gz Its 10.3-RELEASE with WORKING USB 3.0 (16G) drive on FreeBSD. 10.2TB.pcap.gz Its 10.3-RELEASE with THIS NON WORKING USB 3.0 (2TB) drive on FreeBSD. 11.16G.pcap.gz Its 11.1-RC1 with WORKING USB 3.0 (16G) drive on FreeBSD. 11.2TB.pcap.gz Its 11.1-RC1 with THIS NON WORKING USB 3.0 (2TB) drive on FreeBSD. Now about the 'story' ... I earlier had Lenovo Thinkpad W530 on which this 2TB drive worked flawlessly (on USB 3.0 port) and now I have Lenovo Thinkpad T520 on which this 2TB drive does not work (T520 does not have USB 3.0 ports). Regards.
To be even more precise, I had 10.3-RELEASE on Thinkpad W530 and that 2TB drive worked good, I moved to Thinkpad T520 with 11.0-RELEASE (drive did not worked) and upgraded to 10.1-RC1 and that 2TB drive still does not work.
All the attached files are from the Thinkpad T520 on which this 2TB drive does not work.
Thank you! I'll try to have a look at these traces when time permits.
Any progress? :)
No, not yet.
Could not reproduce anymore.