Help Needed On EHCI.
Hi All, I am trying to port NetBSD: EHCI Stack ver1.88 on to our soc which have EHCI controller, I am able to bring up the stack on our board, The stack start enumerating the high speed device when plugged on the port and fails in between.It sets the device address to 2, but when the host requests the "device descriptor" on endpoint = 0 addr =2, we are able to see 8 byte of data(device descriptor) put by the device on the bus during the data stage, but the host controller is failing to return ACK for that.When bus traces are captured, we noticed the error message "turnaround/timeout error". Can anyone tell me why this is happening & the point where to start debug. Any help will be greatly appreciated. -Rah - Jiyo cricket on Yahoo! India cricket Yahoo! Messenger Mobile Stay in touch with your buddies all the time. ___ freebsd-usb@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-usb To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Current problem reports assigned to you
Current FreeBSD problem reports Critical problems S Submitted Tracker Resp. Description --- o [2005/08/10] usb/84750 usb [hang] 6-BETA2 reboot/shutdown with root_ o [2006/01/11] usb/91629 usb usbd_abort_pipe() may result in infinite 2 problems total. Serious problems S Submitted Tracker Resp. Description --- o [2002/07/19] usb/40792 usb signals lead to data loss on device ugen o [2002/12/10] usb/46176 usb [panic] umass causes kernel panic if devi o [2002/12/19] i386/46371 usb USB controller cannot be initialized on I f [2003/08/13] usb/5 usb [ums] system freezes with access to /dev/ o [2003/09/26] bin/57255 usb usbd and multi-function devices o [2004/01/30] usb/62088 usb [usb] Logitech Cordless/Optical Mouse not o [2004/02/03] usb/62309 usb [ugen] [panic] panic: ugen(4) driver o [2004/03/01] usb/63621 usb [usb] USB MemoryStick Reader stalls/crash o [2004/07/13] usb/69006 usb [patch] Apple Cinema Display hangs USB po o [2004/08/30] usb/71155 usb [usb] misbehaving usb-printer hangs proce o [2004/10/30] usb/73307 usb [panic] Kernel panics on USB disconnect o [2004/12/06] usb/74771 usb [umass] mounting write-protected umass de o [2005/01/01] usb/75705 usb [panic] da0 attach / Optio S4 (with backt o [2005/01/04] usb/75797 usb 5.3-STABLE(2005 1/4) detect USB headset, f [2005/01/13] usb/76204 usb panic while using usb attached modem o [2005/01/18] usb/76395 usb USB printer does not work, usbdevs says " f [2005/01/25] usb/76684 usb [hang] Toshiba PDR-M4 camera connected vi o [2005/02/06] usb/77184 usb kernel panic on USB device disconnect o [2005/02/09] usb/77294 usb ucom + ulpcom panic o [2005/02/16] usb/77604 usb Sluggish Logitch LX700 USB Mouse o [2005/02/23] usb/77940 usb [patch] [panic] insertion of usb keyboard f [2005/03/01] i386/78218 usb [kue] kue not detected on Sony PCG-F370 V o [2005/03/18] usb/78989 usb please add USB keyboard support to instal o [2005/03/22] usb/79140 usb WD Firewire/USB Combo hangs under load on o [2005/03/27] usb/79269 usb USB ohci da0 plug/unplug causes crashes a o [2005/03/27] usb/79287 usb UHCI hang after interrupt transfer o [2005/04/04] usb/79524 usb printing to Minolta PagePro 1[23]xxW via f [2005/04/07] usb/79656 usb [usb] RHSC interrupts lost o [2005/04/09] usb/79722 usb [usb] wrong alignments in ehci.h o [2005/04/17] usb/80040 usb [hang] Use of sound mixer causes system f f [2005/04/22] usb/80260 usb Travan USB tape drive fails to write o [2005/04/26] usb/80361 usb mounting of usb-stick fails o [2005/04/26] usb/80373 usb usb keyboard does not respond f [2005/05/06] usb/80685 usb panic in usb_cold_explore() at begining o [2005/05/09] usb/80829 usb possible panic when loading USB-modules o [2005/05/10] usb/80862 usb [patch] USB locking issues: missing some o [2005/05/20] usb/81308 usb [ugen] [patch] polling a ugen(4) control f [2005/05/26] usb/81524 usb panic: usb_cold_explore: busses to explor f [2005/06/13] usb/82198 usb Panic on attaching of ONKI N-338 USB MP3 f [2005/06/15] usb/82272 usb Can not recognize Casio camera EX-Z40 as o [2005/06/17] usb/82350 usb [usb] null pointer dereference in USB sta o [2005/06/22] usb/82520 usb Reboot when USL101 connected o [2005/06/26] usb/82660 usb EHCI: I/O stuck in state 'physrd'/panic o [2005/07/15] usb/83504 usb [usb] SpeedTouch USB stop working on rece o [2005/07/16] usb/83563 usb [panic] Page Fault while detaching Mpman o [2005/07/18] usb/83677 usb [usb] usb controller often not detected ( o [2005/07/19] usb/83756 usb Microsoft Intellimouse Explorer 4.0A does o [2005/07/24] usb/83977 usb [ucom] [panic] ucom1: open bulk out error o [2005/07/30] usb/84326 usb [umass] Panic trying to connect SCSI tape o [2005/07/30] usb/84336 usb [usb] [reboot] instant system reboot when o [2005/08/15] usb/84936 usb install - usb keyboard not recognized o [2005/09/12] usb/86031 usb need support usb nic rt2500 in my 5.4 STA o [2005/09/30] usb/86767 usb [usb] bogus "slice starts beyond end of t o [2005/10/08] usb/87099 usb panic: ohci_add_done: addr 0x000d1bf0 not o [2005/10/16] usb/87519 usb [kbd] cannot install on USB-only system o [2005/10/17] usb/87565 usb [PATCH] Support for Vodaphone 3G/UMTS car o [2005/11/09] usb/88743 usb [hang] USB makes kernel hang at boot (reg o [2005/11/14]
Sony-Ericcson w800 (previously recognized as umass) stopped working with recent stable (worked with a previous patch, included)
Hello List! My SE w800 mobile stopped working on recent -STABLE. It didn't work reliably before, sometimes I saw the message I am always seeing now: umass1: Sony Ericsson Sony Ericsson W800, rev 2.00/0.00, addr 3 da1 at umass-sim1 bus 1 target 0 lun 0 da1: Removable Direct Access SCSI-0 device da1: 1.000MB/s transfers da1: Attempt to query device size failed: NOT READY, Medium not present (da1:umass-sim1:1:0:0): READ CAPACITY. CDB: 25 0 0 0 0 0 0 0 0 0 (da1:umass-sim1:1:0:0): CAM Status: SCSI Status Error (da1:umass-sim1:1:0:0): SCSI Status: Check Condition (da1:umass-sim1:1:0:0): NOT READY asc:3a,0 (da1:umass-sim1:1:0:0): Medium not present (da1:umass-sim1:1:0:0): Unretryable error Opened disk da1 -> 6 (da1:umass-sim1:1:0:0): READ CAPACITY. CDB: 25 0 0 0 0 0 0 0 0 0 (da1:umass-sim1:1:0:0): CAM Status: SCSI Status Error (da1:umass-sim1:1:0:0): SCSI Status: Check Condition (da1:umass-sim1:1:0:0): NOT READY asc:3a,0 (da1:umass-sim1:1:0:0): Medium not present (da1:umass-sim1:1:0:0): Unretryable error Opened disk da1 -> 6 (da1:umass-sim1:1:0:0): READ CAPACITY. CDB: 25 0 0 0 0 0 0 0 0 0 (da1:umass-sim1:1:0:0): CAM Status: SCSI Status Error (da1:umass-sim1:1:0:0): SCSI Status: Check Condition (da1:umass-sim1:1:0:0): NOT READY asc:3a,0 (da1:umass-sim1:1:0:0): Medium not present (da1:umass-sim1:1:0:0): Unretryable error Opened disk da1 -> 6 umass1: at uhub1 port 2 (addr 3) disconnected (da1:umass-sim1:1:0:0): lost device (da1:umass-sim1:1:0:0): removing device entry umass1: detached My girlfriend's ipod mini g2 works now without patches however. On the other hand, both the ipod and my phone (at that time, k750i, as well as w800i) worked with this patch: http://lists.freebsd.org/pipermail/freebsd-usb/2005-December/001785.html That patch no longer applies (since about a week or so). [EMAIL PROTECTED] ~]$ uname -a FreeBSD mcsaba.ch.sh.unideb.hu 6.1-PRERELEASE FreeBSD 6.1-PRERELEASE #0: Sat Feb 25 18:16:04 CET 2006 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/mcsaba6_0pf i386 What can I do to help solve this? Thanks! ___ freebsd-usb@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-usb To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: usb/93828: ohci causes panic on boot (HP Pavillion d4100e)
The following reply was made to PR usb/93828; it has been noted by GNATS. From: "Jeff Walter" <[EMAIL PROTECTED]> To: [EMAIL PROTECTED] Cc: Subject: Re: usb/93828: ohci causes panic on boot (HP Pavillion d4100e) Date: Mon, 27 Feb 2006 07:41:35 -0500 On 2/26/06, Jeff Walter <[EMAIL PROTECTED]> wrote: > Unfortunately, because the keyboard doesn't work, I can't stop it from > rebooting so I can capture the dmesg, but here's the panic message: > > panic: ohci_add_done: addr 0x000d1ce0 not found > > I also tried booting the install with ACPI disabled, and it stopped > (froze) immediately following the Timecounter messages. > > I don't have a PS2 keyboard. > > On 2/25/06, Ian Dowse <[EMAIL PROTECTED]> wrote: > > Synopsis: ohci causes panic on boot (HP Pavillion d4100e) > > > > State-Changed-From-To: open->feedback > > State-Changed-By: iedowse > > State-Changed-When: Sat Feb 25 17:47:35 UTC 2006 > > State-Changed-Why: > > > > Could you provide the panic message, and if possible a stack trace? > > > > http://www.freebsd.org/cgi/query-pr.cgi?pr=3D93828 > > > > > -- > Existence matters only to itself. > -- Existence matters only to itself. ___ freebsd-usb@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-usb To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: usb/81524 : panic: usb_cold_explore: busses to explore when !cold
The following reply was made to PR usb/81524; it has been noted by GNATS. From: Eugene Grosbein <[EMAIL PROTECTED]> To: [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Subject: Re: usb/81524 : panic: usb_cold_explore: busses to explore when !cold Date: Mon, 27 Feb 2006 22:47:54 +0700 >>I've upgraded my system to RELENG_4 today. >>The kernel still panices the same way when compiled >>with INVARIANS and INVARIANT_SUPPORT but without >>these options it detects devices only once. >Could you try the patch below to see if it helps? I forget all the >details of the USB backports that caused this, so I'm probably >missing something obvious. > Index: usb.c > === > RCS file: /home/iedowse/CVS/src/sys/dev/usb/usb.c,v > retrieving revision 1.26.2.13 > diff -u -r1.26.2.13 usb.c I've applied your patch to 1.26.2.14 (that's the latest revision in RELENG_4 for now) and it broke my USB. The kernel prints at the boot time: usb_new_device: set address 2 failed - trying a port reset usb_new_device: set address 2 failed - trying a port reset usb_new_device: set address 2 failed - trying a port reset usb_new_device: set address 2 failed uhub_explore: usb_new_device failed, error=SET_ADDR_FAILED uhub0: device problem (SET_ADDR_FAILED), disabling port 1 usb_new_device: set address 2 failed - trying a port reset usb_new_device: set address 2 failed - trying a port reset usb_new_device: set address 2 failed - trying a port reset usb_new_device: set address 2 failed uhub_explore: usb_new_device failed, error=SET_ADDR_FAILED uhub0: device problem (SET_ADDR_FAILED), disabling port 2 >>Also, my APC UPS now is detected as ugen and not as uhid device >>due to recent USB blacklist MFC. >Is that a good or a bad thing? That's good thing, now apcupsd from ports works with BackUPS CS USB using /dev/ugen0. It couldn't use /dev/uhid0 and that's why USB blacklist came to be. Eugene Grosbein ___ freebsd-usb@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-usb To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: usb/40792: signals lead to data loss on device ugen
The following reply was made to PR usb/40792; it has been noted by GNATS. From: Lonnie Mendez <[EMAIL PROTECTED]> To: [EMAIL PROTECTED] Cc: Subject: Re: usb/40792: signals lead to data loss on device ugen Date: Mon, 27 Feb 2006 11:13:05 -0600 My fault for not reading up on how to protect critical code with sigprocmask(). ie: http://ou800doc.caldera.com/en/SDK_sysprog/_Protecting_Critical_Sections.html This technique works to protect the code from qemu's use of SIGALRM as a timing mechanism. There are a few more issues with my code, but they are my issues. Sorry for the stirrup. ___ freebsd-usb@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-usb To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: usb/82660: EHCI: I/O stuck in state 'physrd'/panic
Ian Dowse, 25.02.06, 15:03h CET: > Feedback received - thanks. Would it be possible to get a USB_DEBUG > trace at whatever level you can still reproduce the problem? There > was a very similar problem with VIA controllers and the fix for > that was MFC'd a few weeks ago, so the issue you are seeing must > be deeper than just missing interrupt. With hw.usb.ehci.debug=5 and above, the problem disappears and I can transfer data from the USB stick successfully without any pauses. Here's a copy of what was written to /var/log/messages with hw.usb.ehci.debug=4 when I copied a file of 4.5 megabytes from a USB stick to the hard disk. The output is bzip2'd and uuencoded (base64) to include it in the PR. I hope that's OK. The file transfer stalled at around time stamp 21:09:25. Regards, Stefan begin-base64 644 ehci_messages_debuglevel_4.txt.bz2 QlpoOTFBWSZTWYXNoGkBd9RfgHwQeG///3/v//qwYCzd23z4GAALXPQPbO8z3cvgLC7bgLuH mmqQX0O7X05B9trXiKzrO6x03seWR3Go9entm093XbudPB7dcgvRoiWwGdN2+eABuZtsqvVKXa7E gJW5zqurmdHah3dmdKXYGpaCEkQI0AgJ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NTwnwnjOs+M5nM5nM5nM5TmczlEkSRJEkSRJEkSRJEC9WYnZ5n5ibyBUG9Na9G1qhMwDMQ vY7equrvz3rF7VDR1c1FBqEPwKOZF6MxFUgARE0ZOCM3dFJP2/0+PROJOf79jV3cYlSwmCpfyfl+ 7lyT4+1qpvt2NbkxoiGd3cedFUm+SY6ul8eCak47Hv1y3yHXllNPf6O/PbZ6c2j6l7
Re: usb/82660: EHCI: I/O stuck in state 'physrd'/panic
The following reply was made to PR usb/82660; it has been noted by GNATS. From: Stefan Walter <[EMAIL PROTECTED]> To: Ian Dowse <[EMAIL PROTECTED]> Cc: freebsd-usb@FreeBSD.org, [EMAIL PROTECTED] Subject: Re: usb/82660: EHCI: I/O stuck in state 'physrd'/panic Date: Mon, 27 Feb 2006 21:43:45 +0100 Ian Dowse, 25.02.06, 15:03h CET: > Feedback received - thanks. Would it be possible to get a USB_DEBUG > trace at whatever level you can still reproduce the problem? There > was a very similar problem with VIA controllers and the fix for > that was MFC'd a few weeks ago, so the issue you are seeing must > be deeper than just missing interrupt. With hw.usb.ehci.debug=5 and above, the problem disappears and I can transfer data from the USB stick successfully without any pauses. Here's a copy of what was written to /var/log/messages with hw.usb.ehci.debug=4 when I copied a file of 4.5 megabytes from a USB stick to the hard disk. The output is bzip2'd and uuencoded (base64) to include it in the PR. I hope that's OK. The file transfer stalled at around time stamp 21:09:25. Regards, Stefan begin-base64 644 ehci_messages_debuglevel_4.txt.bz2 QlpoOTFBWSZTWYXNoGkBd9RfgHwQeG///3/v//qwYCzd23z4GAALXPQPbO8z3cvgLC7bgLuH mmqQX0O7X05B9trXiKzrO6x03seWR3Go9entm093XbudPB7dcgvRoiWwGdN2+eABuZtsqvVKXa7E gJW5zqurmdHah3dmdKXYGpaCEkQI0AgJkNBGmITJmphJlG08ojahp5J+qPUEVUo3/qqo/f+qqkyB ppk0ADQYRkZBoAMmEAAaaIQmoyME9Q9RoDQaAaGmhoDTI0GmgBCkkBCBk0aU3oo08U0AeoBo2oN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M8Ru7CfdTbL5YeGHl6bTFfoMcNuESeP6d fYRPJO/E8vwjP/7qjkIQ50vuba4zEWarlWRM5QhCTiblrxrKrEhp8lIZfwQvUDNJCJIAO+UEyEFI KdGb9rSbKobKqJi0iaJSaOWNNsWstGnG0EdIgkCE6ASEr32VtGOnbvsolPVyKv8SdRkEnXxS8e8V X5p6zznWeM5nM5nMyZMmTgoiBwTJkyZMmTJk05nM5mQbKE8mdzn/D38eMZynjC0hhUwTKJkTJCyJ ZA0cHjp1dBuHSJpzJLN2CaGChjtk2EUEktC30EPx/h36B58eqLncrNzkKbx1e1OyGSewLTWMyYzi Tp5IcC6zmdAuknTohzOfDroTFHUTqo6VG1GxNqN1HETiJxE4icRNxNxNxNqlN9z1uOLUCcdIlgl0 iXIlyibKTZSbVJsSexnKwt0t8XbgZLJRAbbCmgMiqyMzBQ0IZhNKNRNRNRM13b1EtiWaUnuRYI7c km5Kt6EyVXXfhKl489nnca5Q6yZUYoyJkJCIwCO4FR4Qc4pioN3Qbc+FmdOude2vLju3tnfb4Sdv hyIumRKOmFBY78ElOeMCbF7xnFps4BnKDISSDrqjLCFawCNoMOsBweCsQ4JJBfor2fS+WdXQxYJ6 CRa9AcTpiRUeQIi4NIJwIK7c4TBOE07TPqmPco5Jijkd/dnd4dOrCdO5OvFwTw5VvZPHWqF7Mk6b u3fqcFrVSrRNjrihemwlU4kOW+FmzZm3n5uP85dJSJbZbB9nKtsur60pW6NHLG1yeEHSrVunbPDv 56c+
Re: usb/91191: HP LaserJet 1020 (USB printer) not recognized
En un mensaje anterior, Ian Dowse escribió: > Synopsis: HP LaserJet 1020 (USB printer) not recognized > > State-Changed-From-To: open->feedback > State-Changed-By: iedowse > State-Changed-When: Sat Feb 25 04:40:49 UTC 2006 > State-Changed-Why: > > Is this still not working in a recent -stable? Could you try enabling > USB_DEBUG in the kernel config, setting the debug level via the > hw.usb.debug sysctls and getting more detailled logs? CVSuped Feb, 27th. With ehci in the kernel config: kernel: usbd_new_device: addr=2, getting first desc failed kernel: uhub_explore: usb_new_device failed, error=IOERROR kernel: uhub3: device problem (IOERROR), disabling port 1 Attached is messages with sysctl hw.usb.uhci.debug=20 sysctl hw.usb.debug=20 Fernando P. Schapachnik [EMAIL PROTECTED] messages.bz2 Description: Binary data ___ freebsd-usb@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-usb To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: usb/81524 : panic: usb_cold_explore: busses to explore when !cold
The following reply was made to PR usb/81524; it has been noted by GNATS. From: Ian Dowse <[EMAIL PROTECTED]> To: Eugene Grosbein <[EMAIL PROTECTED]> Cc: [EMAIL PROTECTED] Subject: Re: usb/81524 : panic: usb_cold_explore: busses to explore when !cold Date: Tue, 28 Feb 2006 02:17:07 + In message <[EMAIL PROTECTED]>, Eugene Grosbein writes: >I've applied your patch to 1.26.2.14 (that's the latest revision >in RELENG_4 for now) and it broke my USB. The kernel prints at the boot time: > >usb_new_device: set address 2 failed - trying a port reset >usb_new_device: set address 2 failed - trying a port reset >usb_new_device: set address 2 failed - trying a port reset >usb_new_device: set address 2 failed >uhub_explore: usb_new_device failed, error=SET_ADDR_FAILED >uhub0: device problem (SET_ADDR_FAILED), disabling port 1 Oops, I must have missed updating to 1.26.2.14, so I didn't see that polling mode had been commented out. Could you try this patch instead? Thanks, Ian Index: usb.c === RCS file: /home/iedowse/CVS/src/sys/dev/usb/usb.c,v retrieving revision 1.26.2.14 diff -u -r1.26.2.14 usb.c --- usb.c 16 May 2005 09:39:25 - 1.26.2.14 +++ usb.c 28 Feb 2006 02:10:46 - @@ -961,6 +961,7 @@ usb_cold_explore(void *arg) { struct usb_softc *sc; + int s; KASSERT(cold || TAILQ_EMPTY(&usb_coldexplist), ("usb_cold_explore: busses to explore when !cold")); @@ -968,15 +969,17 @@ sc = TAILQ_FIRST(&usb_coldexplist); TAILQ_REMOVE(&usb_coldexplist, sc, sc_coldexplist); -/*sc->sc_bus->use_polling++; */ + s = splusb(); + sc->sc_bus->use_polling++; sc->sc_port.device->hub->explore(sc->sc_bus->root_hub); -/*sc->sc_bus->use_polling--; */ + sc->sc_bus->use_polling--; + splx(s); } } DRIVER_MODULE(usb, ohci, usb_driver, usb_devclass, 0, 0); DRIVER_MODULE(usb, uhci, usb_driver, usb_devclass, 0, 0); DRIVER_MODULE(usb, ehci, usb_driver, usb_devclass, 0, 0); -SYSINIT(usb_cold_explore, SI_SUB_INT_CONFIG_HOOKS, SI_ORDER_FIRST, +SYSINIT(usb_cold_explore, SI_SUB_CONFIGURE, SI_ORDER_MIDDLE, usb_cold_explore, NULL); #endif ___ freebsd-usb@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-usb To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: usb/81524 : panic: usb_cold_explore: busses to explore when !cold
The following reply was made to PR usb/81524; it has been noted by GNATS. From: Eugene Grosbein <[EMAIL PROTECTED]> To: Ian Dowse <[EMAIL PROTECTED]> Cc: [EMAIL PROTECTED] Subject: Re: usb/81524 : panic: usb_cold_explore: busses to explore when !cold Date: Tue, 28 Feb 2006 11:11:55 +0700 On Tue, Feb 28, 2006 at 02:17:07AM +, Ian Dowse wrote: > Oops, I must have missed updating to 1.26.2.14, so I didn't see > that polling mode had been commented out. Could you try this patch > instead? > > Thanks, > > Ian > > Index: usb.c > === > RCS file: /home/iedowse/CVS/src/sys/dev/usb/usb.c,v > retrieving revision 1.26.2.14 > diff -u -r1.26.2.14 usb.c > --- usb.c16 May 2005 09:39:25 - 1.26.2.14 > +++ usb.c28 Feb 2006 02:10:46 - > @@ -961,6 +961,7 @@ > usb_cold_explore(void *arg) > { > struct usb_softc *sc; > +int s; > > KASSERT(cold || TAILQ_EMPTY(&usb_coldexplist), > ("usb_cold_explore: busses to explore when !cold")); > @@ -968,15 +969,17 @@ > sc = TAILQ_FIRST(&usb_coldexplist); > TAILQ_REMOVE(&usb_coldexplist, sc, sc_coldexplist); > > -/* sc->sc_bus->use_polling++; */ > +s = splusb(); > +sc->sc_bus->use_polling++; > sc->sc_port.device->hub->explore(sc->sc_bus->root_hub); > -/* sc->sc_bus->use_polling--; */ > +sc->sc_bus->use_polling--; > +splx(s); > } > } > > DRIVER_MODULE(usb, ohci, usb_driver, usb_devclass, 0, 0); > DRIVER_MODULE(usb, uhci, usb_driver, usb_devclass, 0, 0); > DRIVER_MODULE(usb, ehci, usb_driver, usb_devclass, 0, 0); > -SYSINIT(usb_cold_explore, SI_SUB_INT_CONFIG_HOOKS, SI_ORDER_FIRST, > +SYSINIT(usb_cold_explore, SI_SUB_CONFIGURE, SI_ORDER_MIDDLE, > usb_cold_explore, NULL); > #endif This patch works, thank you! No panics anymore and USB works. Please commit this. Eugene Grosbein ___ freebsd-usb@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-usb To unsubscribe, send any mail to "[EMAIL PROTECTED]"
[PATCH] FreeBSD USB redirector for qemu completed
Hello list. This is heads up on the status of the backend. I have tested it with a mass storage device, a keypad, and a hid gps unit successfully on FreeBSD 6.1 beta 2. Please find the patch linked. http://gnome.dnsalias.net/patches/patch-bsdusb.patch -Lonnie ___ freebsd-usb@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-usb To unsubscribe, send any mail to "[EMAIL PROTECTED]"