Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 6 Dec 2019 14:57:42 -0800
From:      Steve Kargl <sgk@troutmask.apl.washington.edu>
To:        Alexander Motin <mav@freebsd.org>
Cc:        Warner Losh <imp@bsdimp.com>, FreeBSD Current <freebsd-current@freebsd.org>
Subject:   Re: CAM breaks USB [was Re: USB causing boot to hang]
Message-ID:  <20191206225742.GB949@troutmask.apl.washington.edu>
In-Reply-To: <284e1dd9-23f5-ae48-6e18-fa523f7dc1a3@FreeBSD.org>
References:  <20191206202316.GA1053@troutmask.apl.washington.edu> <20191206223144.GA3224@troutmask.apl.washington.edu> <CANCZdfrvTmb0xfQ_A6vLdzgNziSHSsD5TBiC1DCnriTaWcr-nw@mail.gmail.com> <284e1dd9-23f5-ae48-6e18-fa523f7dc1a3@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, Dec 06, 2019 at 05:44:55PM -0500, Alexander Motin wrote:
> 
> Yes, I made the change, and it was supposed to improve USB
> inter-operation, but after reading this email I still have no clue what
> could be wrong, so ideas welcome.

Sorry about the initial vagueness.  It took a couple of hours
to bisect the problem.

> Steve, do you have some devices on that USB, especially umass(4)?  Have
> you tried to remove them?

On a good boot, this is what is reported by dmesg.  There is
a logitech USB mouse receiver and a Seagate USB hard drive.
It does not matter if the hard drive is plugged in or not.

% dmesg | grep -E ^u
usbus0 on xhci0
usbus1 on ohci0
usbus2: EHCI version 1.0
usbus2 on ehci0
usbus3 on ohci1
usbus4: EHCI version 1.0
usbus4 on ehci1
usbus5 on ohci2
usbus6 on ohci3
usbus7: EHCI version 1.0
usbus7 on ehci2
usbus0: 5.0Gbps Super Speed USB v3.0
usbus1: 12Mbps Full Speed USB v1.0
usbus2: 480Mbps High Speed USB v2.0
usbus3: 12Mbps Full Speed USB v1.0
usbus4: 480Mbps High Speed USB v2.0
usbus5: 12Mbps Full Speed USB v1.0
usbus6: 12Mbps Full Speed USB v1.0
usbus7: 480Mbps High Speed USB v2.0
ugen7.1: <ATI EHCI root HUB> at usbus7
uhub0 on usbus7
uhub0: <ATI EHCI root HUB, class 9/0, rev 2.00/1.00, addr 1> on usbus7
ugen6.1: <ATI OHCI root HUB> at usbus6
uhub1 on usbus6
uhub1: <ATI OHCI root HUB, class 9/0, rev 1.00/1.00, addr 1> on usbus6
ugen5.1: <ATI OHCI root HUB> at usbus5
uhub2 on usbus5
uhub2: <ATI OHCI root HUB, class 9/0, rev 1.00/1.00, addr 1> on usbus5
ugen4.1: <ATI EHCI root HUB> at usbus4
uhub3 on usbus4
uhub3: <ATI EHCI root HUB, class 9/0, rev 2.00/1.00, addr 1> on usbus4
ugen3.1: <ATI OHCI root HUB> at usbus3
uhub4 on usbus3
uhub4: <ATI OHCI root HUB, class 9/0, rev 1.00/1.00, addr 1> on usbus3
ugen2.1: <ATI EHCI root HUB> at usbus2
uhub5 on usbus2
uhub5: <ATI EHCI root HUB, class 9/0, rev 2.00/1.00, addr 1> on usbus2
ugen1.1: <ATI OHCI root HUB> at usbus1
uhub6 on usbus1
uhub6: <ATI OHCI root HUB, class 9/0, rev 1.00/1.00, addr 1> on usbus1
ugen0.1: <0x1106 XHCI root HUB> at usbus0
uhub7 on usbus0
uhub7: <0x1106 XHCI root HUB, class 9/0, rev 3.00/1.00, addr 1> on usbus0
uhub2: 2 ports with 2 removable, self powered
uhub1: 4 ports with 4 removable, self powered
uhub4: 5 ports with 5 removable, self powered
uhub6: 5 ports with 5 removable, self powered
uhub7: 5 ports with 4 removable, self powered
ugen0.2: <vendor 0x2109 USB2.0 Hub> at usbus0
uhub8 on uhub7
uhub8: <vendor 0x2109 USB2.0 Hub, class 9/0, rev 2.10/4.20, addr 1> on usbus0
uhub8: 4 ports with 4 removable, self powered
uhub0: 4 ports with 4 removable, self powered
uhub3: 5 ports with 5 removable, self powered
uhub5: 5 ports with 5 removable, self powered
ugen0.3: <Seagate BUP SL> at usbus0
umass0 on uhub7
umass0: <Seagate BUP SL, class 0/0, rev 3.00/1.00, addr 2> on usbus0
umass0:  SCSI over Bulk-Only; quirks = 0x0100
umass0:9:0: Attached to scbus9
ugen3.2: <Logitech USB Receiver> at usbus3
ums0 on uhub4
ums0: <Logitech USB Receiver, class 0/0, rev 1.10/46.00, addr 2> on usbus3
ums0: 8 buttons and [XYZT] coordinates ID=0
uhid0 on uhub4
uhid0: <Logitech USB Receiver, class 0/0, rev 1.10/46.00, addr 2> on usbus3

% dmesg | grep da0
Trying to mount root from ufs:/dev/ada0p2 [rw]...
da0 at umass-sim0 bus 0 scbus9 target 0 lun 0
da0: <Seagate BUP SL 0304> Fixed Direct Access SPC-4 SCSI device
da0: Serial Number NA7PEGM0
da0: 400.000MB/s transfers
da0: 3815447MB (7814037167 512 byte sectors)
da0: quirks=0x2<NO_6_BYTE>

-- 
Steve



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20191206225742.GB949>