Created attachment 153095 [details] Tested patch See attached patch. Tested and works on 9.3-RELEASE-p9
Hi, Can you re-test using 9-stable. Is the mass storage quirk really needed? --HPS
100% unaltered 9-stable kernel (9.3-STABLE r278894) shows: usb_alloc_device: Found possible auto-install disk (trying next config) ugen1.2: <ZTE,Incorporated> at usbus1 umass0: <Mass Storage> on usbus1 umass0: SCSI over Bulk-Only; quirks = 0x0000 umass0: Get Max Lun not supported (USB_ERR_STALLED) umass0:6:0:-1: Attached to scbus6 run_interrupt_driven_hooks: still waiting after 60 seconds for xpt_config (probe0:umass-sim0:0:0:0): INQUIRY. CDB: 12 00 00 00 24 00 (probe0:umass-sim0:0:0:0): CAM status: CCB request completed with an error (probe0:umass-sim0:0:0:0): Retrying command run_interrupt_driven_hooks: still waiting after 120 seconds for xpt_config (probe0:umass-sim0:0:0:0): INQUIRY. CDB: 12 00 00 00 24 00 (probe0:umass-sim0:0:0:0): CAM status: CCB request completed with an error (probe0:umass-sim0:0:0:0): Retrying command run_interrupt_driven_hooks: still waiting after 180 seconds for xpt_config (probe0:umass-sim0:0:0:0): INQUIRY. CDB: 12 00 00 00 24 00 (probe0:umass-sim0:0:0:0): CAM status: CCB request completed with an error (probe0:umass-sim0:0:0:0): Retrying command run_interrupt_driven_hooks: still waiting after 240 seconds for xpt_config (probe0:umass-sim0:0:0:0): INQUIRY. CDB: 12 00 00 00 24 00 (probe0:umass-sim0:0:0:0): CAM status: CCB request completed with an error (probe0:umass-sim0:0:0:0): Retrying command run_interrupt_driven_hooks: still waiting after 300 seconds for xpt_config (probe0:umass-sim0:0:0:0): INQUIRY. CDB: 12 00 00 00 24 00 (probe0:umass-sim0:0:0:0): CAM status: CCB request completed with an error (probe0:umass-sim0:0:0:0): Error 5, Retries exhausted boot hung for over 5 minutes waiting for that After adding the U3G and usbdevs entries, I couldn't get it to hang like that again, but it also didn't present the rndis device dmesg shows: usb_alloc_device: Found possible auto-install disk (trying next config) ugen1.2: <ZTE,Incorporated> at usbus1 % /sbin/ifconfig -a | grep ue0 %
One final question: Does your patch work without the "UQ_CFG_INDEX_0" in the mass storage quirk? --HPS
A commit references this bug: Author: hselasky Date: Sat Mar 7 17:11:09 UTC 2015 New revision: 279725 URL: https://svnweb.freebsd.org/changeset/base/279725 Log: Add more USB IDs. PR: 197753 MFC after: 1 week Changes: head/sys/dev/usb/quirk/usb_quirk.c head/sys/dev/usb/serial/u3g.c head/sys/dev/usb/usbdevs
A commit references this bug: Author: hselasky Date: Wed Mar 25 11:12:49 UTC 2015 New revision: 280569 URL: https://svnweb.freebsd.org/changeset/base/280569 Log: MFC r279725: Add more USB IDs. PR: 197753 Changes: _U stable/10/ stable/10/sys/dev/usb/quirk/usb_quirk.c stable/10/sys/dev/usb/serial/u3g.c stable/10/sys/dev/usb/usbdevs
A commit references this bug: Author: hselasky Date: Wed Mar 25 11:14:19 UTC 2015 New revision: 280570 URL: https://svnweb.freebsd.org/changeset/base/280570 Log: MFC r279725: Add more USB IDs. PR: 197753 Changes: _U stable/9/sys/ _U stable/9/sys/dev/ stable/9/sys/dev/usb/quirk/usb_quirk.c stable/9/sys/dev/usb/serial/u3g.c stable/9/sys/dev/usb/usbdevs