Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 6 Apr 2002 12:31:51 +0100
From:      Josef Karthauser <joe@tao.org.uk>
To:        Alexander Leidinger <Alexander@Leidinger.net>
Cc:        julian@elischer.org, current@FreeBSD.ORG, joe@freebsd.org
Subject:   Re: usb lpt borked?
Message-ID:  <20020406113151.GA98328@genius.tao.org.uk>
In-Reply-To: <200204060728.g367SQdg000610@Magelan.Leidinger.net>
References:  <Pine.BSF.4.21.0204051219160.37543-100000@InterJet.elischer.org> <200204060728.g367SQdg000610@Magelan.Leidinger.net>

next in thread | previous in thread | raw e-mail | index | archive | help

--5mCyUwZo2JvN/JJP
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Sat, Apr 06, 2002 at 09:28:26AM +0200, Alexander Leidinger wrote:
> On  5 Apr, Julian Elischer wrote:
> >=20
> > ok guys we seem to be going backwards on this one..
> >=20
> > 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 :-)
>=20
> A Mar 12 kernel should work ok.
>=20
> > 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 :-)
>=20
> 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
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
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 =3D 0;
	}                                                                         =
           =20
	uhci_abort_xfer(xfer, USBD_CANCELLED);
+	usb_transfer_complete(xfer);
 }                                                                         =
                  =20

 /* Close a device interrupt pipe. */



Joe

--5mCyUwZo2JvN/JJP
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (FreeBSD)
Comment: For info see http://www.gnupg.org

iEYEARECAAYFAjyu3KcACgkQXVIcjOaxUBZIagCdHKJRbLmQsWMMptnp6fpU+oMA
ri4AoMlMKEWJcJyo1N45a78glGOjiZQa
=y8rs
-----END PGP SIGNATURE-----

--5mCyUwZo2JvN/JJP--

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020406113151.GA98328>