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



The following reply was made to PR kern/50491; it has been noted by GNATS.

From: Nick Hudson <skrll%netbsd.org@localhost>
To: gnats-bugs%NetBSD.org@localhost, gnats-admin%netbsd.org@localhost, netbsd-bugs%netbsd.org@localhost,
 mfpnb%plass-family.net@localhost
Cc: 
Subject: Re: kern/50491: unkillable wait in usbd_transfer while using usmsc0
 on raspberry pi 2
Date: Mon, 7 Dec 2015 21:37:11 +0000

 This is a multi-part message in MIME format.
 --------------080106030607000106010407
 Content-Type: text/plain; charset=windows-1252; format=flowed
 Content-Transfer-Encoding: 7bit
 
 hi,
 
 Can you try this patch without the assert_sleepable patch and see if it 
 helps?
 
 thanks,
 Nick
 
 --------------080106030607000106010407
 Content-Type: text/x-patch;
  name="usb.c.diff"
 Content-Transfer-Encoding: 7bit
 Content-Disposition: attachment;
  filename="usb.c.diff"
 
 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",
 
 
 --------------080106030607000106010407--
 


Home | Main Index | Thread Index | Old Index