NetBSD-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: kern/50491: unkillable wait in usbd_transfer while using usmsc0 on raspberry pi 2
hi,
Can you try this patch without the assert_sleepable patch and see if it
helps?
thanks,
Nick
Index: sys/dev/usb/usb.c
===================================================================
RCS file: /cvsroot/src/sys/dev/usb/usb.c,v
retrieving revision 1.154
diff -u -p -r1.154 usb.c
--- sys/dev/usb/usb.c 25 Jul 2014 08:10:39 -0000 1.154
+++ sys/dev/usb/usb.c 7 Dec 2015 21:35:06 -0000
@@ -212,7 +212,7 @@ usb_attach(device_t parent, device_t sel
aprint_normal("\n");
/* XXX we should have our own level */
- sc->sc_bus->soft = softint_establish(SOFTINT_NET | SOFTINT_MPSAFE,
+ sc->sc_bus->soft = softint_establish(SOFTINT_SERIAL | SOFTINT_MPSAFE,
usb_soft_intr, sc->sc_bus);
if (sc->sc_bus->soft == NULL) {
aprint_error("%s: can't register softintr\n",
Home |
Main Index |
Thread Index |
Old Index