Date: Wed, 16 Mar 2022 15:43:10 +0000 From: John F Carr <jfc@mit.edu> To: Hans Petter Selasky <hps@selasky.org> Cc: freebsd-arm <freebsd-arm@freebsd.org> Subject: Re: USB regression on Overdrive 1000 Message-ID: <9831B325-242D-4143-B043-F150A9646672@exchange.mit.edu> In-Reply-To: <f9ff624d-5cf4-26f2-ab56-01f3069b171c@selasky.org> References: <AC0D625A-7959-4329-B4C8-A7784FBB09A0@exchange.mit.edu> <f9ff624d-5cf4-26f2-ab56-01f3069b171c@selasky.org>
next in thread | previous in thread | raw e-mail | index | archive | help
--_002_9831B325242D4143B043F150A9646672exchangemitedu_ Content-Type: text/plain; charset="us-ascii" Content-ID: <A34AEC1AC845E04EBCEF0DE098E99412@exchange.mit.edu> Content-Transfer-Encoding: quoted-printable > On Mar 16, 2022, at 10:51 , Hans Petter Selasky <hps@selasky.org> wrote: >=20 > On 3/16/22 14:46, John F Carr wrote: >> I updated my kernel from 13.0-STABLE from early December to 13.1-STABLE = from yesterday and I am having USB problems on my Overdrive 1000 ARM box. = I see some usb_msc_auto_quirk messages I haven't seen before and there is a= long delay "Root mount waiting for: usbus0". It does boot eventually off = of the internal drive, ada0, but it continues to spew USB errors to the con= sole. It doesn't register a "CAMuhub0" device and it never finds the USB s= tick plugged into the external port which should appear as da0. Any ideas? >> dmesg output attached, "good" comes from "boot kernel.old". The if_msk = error is probably caused by a mismatch between old kernel and new root file= system. >> CPU 3: ARM Cortex-A57 r1p2 affinity: 1 1 >> Release APs...done >> usbus0: 5.0Gbps Super Speed USB v3.0 >> Trying to mount root from zfs:zroot/ROOT/default []... >> ugen0.1: <(0x1b73) XHCI root HUB> at usbus0 >> uhub0 on usbus0 >> uhub0: <(0x1b73) XHCI root HUB, class 9/0, rev 3.00/1.00, addr 1> on usb= us0 >> ada0 at ahcich1 bus 0 scbus1 target 0 lun 0 >> ada0: <Patriot P200 1TB S0424A0> ACS-2 ATA SATA 3.x device >> ... >> Root mount waiting for: usbus0 >> usb_msc_auto_quirk: UQ_MSC_NO_GETMAXLUN set for USB mass storage device = Generic Mass Storage Device (0x14cd:0x125d) >> usb_msc_auto_quirk: UQ_MSC_NO_TEST_UNIT_READY set for USB mass storage d= evice Generic Mass Storage Device (0x14cd:0x125d) >> usb_msc_auto_quirk: UQ_MSC_NO_PREVENT_ALLOW set for USB mass storage dev= ice Generic Mass Storage Device (0x14cd:0x125d) >> usb_msc_auto_quirk: UQ_MSC_NO_SYNC_CACHE set for USB mass storage device= Generic Mass Storage Device (0x14cd:0x125d) >> Root mount waiting for: usbus0 >> xhci0: Resetting controller >> Root mount waiting for: usbus0 >> usbd_req_re_enumerate: addr=3D1, set address failed! (USB_ERR_TIMEOUT, i= gnored) >> Root mount waiting for: usbus0 >> ... >> xhci0: Resetting controller >=20 > Hi, >=20 > Can you cherry pick this commit: >=20 > https://cgit.freebsd.org/src/commit/?id=3D33cbbf268f7d0f3daff0c2aa06836d9= 32faf56a9 >=20 > to your 13-stable and enable it in the loader either manually or in /boot= /loader.conf: >=20 > set hw.usb.xhci.dcepquirk=3D1 >=20 > hw.usb.xhci.dcepquirk=3D1 >=20 > --HPS That fixed it. I attached a diff to recognize the USB controller in my sys= tem. --_002_9831B325242D4143B043F150A9646672exchangemitedu_ Content-Type: application/octet-stream; name="xhci.diff" Content-Description: xhci.diff Content-Disposition: attachment; filename="xhci.diff"; size=514; creation-date="Wed, 16 Mar 2022 15:43:10 GMT"; modification-date="Wed, 16 Mar 2022 15:43:10 GMT" Content-ID: <18F81D820AC25B4EA8F670255AD7E800@exchange.mit.edu> Content-Transfer-Encoding: base64 ZGlmZiAtLWdpdCBhL3N5cy9kZXYvdXNiL2NvbnRyb2xsZXIveGhjaV9wY2kuYyBiL3N5cy9kZXYv dXNiL2NvbnRyb2xsZXIveGhjaV9wY2kuYw0KaW5kZXggYmUxMmQ4YzMzMzguLjMxYTNjODgyYmYy IDEwMDY0NA0KLS0tIGEvc3lzL2Rldi91c2IvY29udHJvbGxlci94aGNpX3BjaS5jDQorKysgYi9z eXMvZGV2L3VzYi9jb250cm9sbGVyL3hoY2lfcGNpLmMNCkBAIC0yODcsNiArMjg3LDcgQEAgeGhj aV9wY2lfYXR0YWNoKGRldmljZV90IHNlbGYpDQogCXNjLT5zY19pb19zaXplID0gcm1hbl9nZXRf c2l6ZShzYy0+c2NfaW9fcmVzKTsNCiANCiAJc3dpdGNoIChwY2lfZ2V0X2RldmlkKHNlbGYpKSB7 DQorCWNhc2UgMHgxMDA5MWI3MzoJLyogRnJlc2NvIExvZ2ljIEZMMTAwOSBVU0IgMy4wIEhvc3Qg Q29udHJvbGxlciAqLw0KIAljYXNlIDB4ODI0MTEwNGM6CS8qIFRVU0I3M3gwIFVTQjMuMCB4SENJ IENvbnRyb2xsZXIgKi8NCiAJCXNjLT5zY19ub19kZWNvbmZpZ3VyZSA9IDE7DQogCQlicmVhazsN Cg== --_002_9831B325242D4143B043F150A9646672exchangemitedu_--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?9831B325-242D-4143-B043-F150A9646672>