On Sat, Apr 06, 2002 at 09:28:26AM +0200, Alexander Leidinger wrote:
> On  5 Apr, Julian Elischer wrote:
> > 
> > ok guys we seem to be going backwards on this one..
> > 
> > 3 months ago this worked perfectly
> > 2 months ago it crashed after each document (on close())
> > now it crashes on open().. at least in the old kernel
> > I could get my printouts :-)
> 
> A Mar 12 kernel should work ok.
> 
> > ps shows the lpd daemon sleeping 'usbsyn' just before the crash..
> > no crashdumps yet.. will try, though I don't know if
> > the new crashdump code produces usable dumps yet..
> > (I guess I'm going to find out :-)
> 
> I've seen no ulpt related panics, it just doesn't print (VIA KT133A).
> Only my USB mice does something bad, it hangs the system hard on
> shutdown.

Try this which Scott Long submitted a few days ago:

Index: uhci.c
===================================================================
RCS file: /usr/home/ncvs/src/sys/dev/usb/uhci.c,v
retrieving revision 1.104
diff -u -r1.104 uhci.c
--- uhci.c      1 Apr 2002 22:03:37 -0000       1.104
+++ uhci.c      5 Apr 2002 08:17:03 -0000
@@ -2051,6 +2051,7 @@
                xfer->pipe->intrxfer = 0;
        }                                                                              
       
        uhci_abort_xfer(xfer, USBD_CANCELLED);
+       usb_transfer_complete(xfer);
 }                                                                                     
       

 /* Close a device interrupt pipe. */



Joe

Attachment: msg37022/pgp00000.pgp
Description: PGP signature

Reply via email to