[Bug 225794] VM images for 12.0-CURRENT have problem with USB 3.0 ports
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Mon Feb 26 07:02:24 UTC 2018
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=225794
--- Comment #19 from Andriy Gapon <avg at FreeBSD.org> ---
(In reply to David.Boyd49 from comment #18)
So, it seems that MODE SENSE (10) command completely wedges the device (or
maybe the controller) and it stops accepting any subsequent commands.
I wonder if it would work better with MODE SENSE (6) or if any form of MODE
SENSE is broken.
Are you set up for compiling and testing kernel code patches?
Or would you prefer that I send you pre-built kernels?
But before that, could you please obtain a log from a working Linux guest with
the problematic controller?
I am not sure how to get the log that I want as I am not very experienced with
Linux, but it should look something like this:
[ 3902.887849] usb 4-6: new SuperSpeed USB device number 6 using xhci_hcd
[ 3902.904584] usb 4-6: New USB device found, idVendor=152d, idProduct=0567
[ 3902.904586] usb 4-6: New USB device strings: Mfr=1, Product=2,
SerialNumber=3
[ 3902.904587] usb 4-6: Product: JMS567
[ 3902.904588] usb 4-6: Manufacturer: JMicron
[ 3902.904588] usb 4-6: SerialNumber: DB123456789B1D
[ 3902.906862] scsi host13: uas
[ 3902.907595] scsi 13:0:0:0: Direct-Access Samsung SSD 850 PRO 256G 0117
PQ: 0 ANSI: 6
[ 3902.908426] sd 13:0:0:0: Attached scsi generic sg4 type 0
[ 3902.908574] sd 13:0:0:0: [sde] 500118192 512-byte logical blocks: (256
GB/238 GiB)
[ 3902.908575] sd 13:0:0:0: [sde] 4096-byte physical blocks
[ 3902.909089] sd 13:0:0:0: [sde] Write Protect is off
[ 3902.909091] sd 13:0:0:0: [sde] Mode Sense: 53 00 10 08
[ 3902.909368] sd 13:0:0:0: [sde] Disabling FUA
[ 3902.909370] sd 13:0:0:0: [sde] Write cache: enabled, read cache: enabled,
doesn't support DPO or FUA
[ 3902.910769] sde: sde1
[ 3902.912446] sd 13:0:0:0: [sde] Attached SCSI disk
I guess that this requires setting kernel log level to debug before attaching
the device and then extracting the logs from the appropriate place (dmesg?,
systemd journal?).
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-scsi
mailing list