From owner-freebsd-stable@FreeBSD.ORG Sat Apr 5 23:14:19 2008 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 845E31065673; Sat, 5 Apr 2008 23:14:19 +0000 (UTC) (envelope-from kostikbel@gmail.com) Received: from relay03.kiev.sovam.com (relay03.kiev.sovam.com [62.64.120.201]) by mx1.freebsd.org (Postfix) with ESMTP id 0E27C8FC14; Sat, 5 Apr 2008 23:14:18 +0000 (UTC) (envelope-from kostikbel@gmail.com) Received: from [212.82.216.226] (helo=skuns.kiev.zoral.com.ua) by relay03.kiev.sovam.com with esmtps (TLSv1:AES256-SHA:256) (Exim 4.67) (envelope-from ) id 1JiHaQ-000DSP-41; Sun, 06 Apr 2008 02:14:17 +0300 Received: from deviant.kiev.zoral.com.ua (root@deviant.kiev.zoral.com.ua [10.1.1.148]) by skuns.kiev.zoral.com.ua (8.14.2/8.14.2) with ESMTP id m35NDaQ7030248 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sun, 6 Apr 2008 02:13:36 +0300 (EEST) (envelope-from kostikbel@gmail.com) Received: from deviant.kiev.zoral.com.ua (kostik@localhost [127.0.0.1]) by deviant.kiev.zoral.com.ua (8.14.2/8.14.2) with ESMTP id m35NDRYp037406; Sun, 6 Apr 2008 02:13:27 +0300 (EEST) (envelope-from kostikbel@gmail.com) Received: (from kostik@localhost) by deviant.kiev.zoral.com.ua (8.14.2/8.14.2/Submit) id m35NDQp6037405; Sun, 6 Apr 2008 02:13:26 +0300 (EEST) (envelope-from kostikbel@gmail.com) X-Authentication-Warning: deviant.kiev.zoral.com.ua: kostik set sender to kostikbel@gmail.com using -f Date: Sun, 6 Apr 2008 02:13:26 +0300 From: Kostik Belousov To: "M. Warner Losh" Message-ID: <20080405231326.GA21209@deviant.kiev.zoral.com.ua> References: <200804060024.39019.antik@bsd.ee> <200804060033.50609.antik@bsd.ee> <20080405215838.GA27195@eos.sc1.parodius.com> <20080405.161010.1169637862.imp@bsdimp.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="E0GpUEom8qu4+vDz" Content-Disposition: inline In-Reply-To: <20080405.161010.1169637862.imp@bsdimp.com> User-Agent: Mutt/1.4.2.3i X-Virus-Scanned: ClamAV version 0.91.2, clamav-milter version 0.91.2 on skuns.kiev.zoral.com.ua X-Virus-Status: Clean X-Spam-Status: No, score=-4.4 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00 autolearn=ham version=3.2.4 X-Spam-Checker-Version: SpamAssassin 3.2.4 (2008-01-01) on skuns.kiev.zoral.com.ua X-Scanner-Signature: 4fe2b897d4d72954524b6b73d18f8617 X-DrWeb-checked: yes X-SpamTest-Envelope-From: kostikbel@gmail.com X-SpamTest-Group-ID: 00000000 X-SpamTest-Info: Profiles 2569 [Apr 04 2008] X-SpamTest-Info: helo_type=3 X-SpamTest-Info: {TO: local part of email appears in body} X-SpamTest-Info: {received from trusted relay: not dialup} X-SpamTest-Method: none X-SpamTest-Method: Local Lists X-SpamTest-Rate: 5 X-SpamTest-Status: Not detected X-SpamTest-Status-Extended: not_detected X-SpamTest-Version: SMTP-Filter Version 3.0.0 [0255], KAS30/Release Cc: antik@bsd.ee, koitsu@freebsd.org, freebsd-stable@freebsd.org, freebsd-usb@freebsd.org Subject: Re: USB to RS232 converter problem (prolific chip) X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 05 Apr 2008 23:14:19 -0000 --E0GpUEom8qu4+vDz Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sat, Apr 05, 2008 at 04:10:10PM -0600, M. Warner Losh wrote: > In message: <20080405215838.GA27195@eos.sc1.parodius.com> > Jeremy Chadwick writes: > : Bottom line: the current FreeBSD USB stack is very fragile and > : unreliable. You may want to try the usb4bsd kernel patches (I think > : that's what it's called), some have had better luck with those. Search > : the web. >=20 > This crash has nothing to do with the usb stack. The root cause is > the device deletion code nulls out a pointer. There's a routine that > is sleeping which is woken up and the null pointer gets dereferenced > leading to the crash. I believe that I fixed this in the HEAD and RELENG_7. MFC to the RELENG_6 is possible, but I have no facilities to test. >=20 > The current usb stack isn't as fragile as it was in the 5.x days. > While there are problems, this one isn't due to that. The same thing > happens when you eject a PC Card 16550 COM device, due to the same > bug. >=20 > Warner > _______________________________________________ > freebsd-stable@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-stable > To unsubscribe, send any mail to "freebsd-stable-unsubscribe@freebsd.org" --E0GpUEom8qu4+vDz Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.8 (FreeBSD) iEYEARECAAYFAkf4B5QACgkQC3+MBN1Mb4iWUgCfeUEE6g4lETGkkSiZKU6I/AXn raYAoMOJfyQtKjoCUS9UoNwa0myahFbZ =uSSW -----END PGP SIGNATURE----- --E0GpUEom8qu4+vDz--