From owner-freebsd-current Sat Apr 6 3:32: 9 2002 Delivered-To: freebsd-current@freebsd.org Received: from tao.org.uk (genius.tao.org.uk [212.135.162.51]) by hub.freebsd.org (Postfix) with ESMTP id B375937B400; Sat, 6 Apr 2002 03:32:01 -0800 (PST) Received: by tao.org.uk (Postfix, from userid 100) id 9C2FE5E8; Sat, 6 Apr 2002 12:31:51 +0100 (BST) Date: Sat, 6 Apr 2002 12:31:51 +0100 From: Josef Karthauser To: Alexander Leidinger Cc: julian@elischer.org, current@FreeBSD.ORG, joe@freebsd.org Subject: Re: usb lpt borked? Message-ID: <20020406113151.GA98328@genius.tao.org.uk> Mail-Followup-To: Josef Karthauser , Alexander Leidinger , julian@elischer.org, current@FreeBSD.ORG, joe@freebsd.org References: <200204060728.g367SQdg000610@Magelan.Leidinger.net> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="5mCyUwZo2JvN/JJP" Content-Disposition: inline In-Reply-To: <200204060728.g367SQdg000610@Magelan.Leidinger.net> User-Agent: Mutt/1.3.28i Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG --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