Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 26 Feb 2018 07:02:22 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-scsi@FreeBSD.org
Subject:   [Bug 225794] VM images for 12.0-CURRENT have problem with USB 3.0 ports
Message-ID:  <bug-225794-5312-VAAagIKST9@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-225794-5312@https.bugs.freebsd.org/bugzilla/>
References:  <bug-225794-5312@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D225794

--- Comment #19 from Andriy Gapon <avg@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 w=
ith
the problematic controller?
I am not sure how to get the log that I want as I am not very experienced w=
ith
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=3D152d, idProduct=3D=
0567
[ 3902.904586] usb 4-6: New USB device strings: Mfr=3D1, Product=3D2,
SerialNumber=3D3
[ 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 0=
117
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 attachi=
ng
the device and then extracting the logs from the appropriate place (dmesg?,
systemd journal?).

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-225794-5312-VAAagIKST9>