From owner-freebsd-mobile@FreeBSD.ORG Mon Sep 27 14:53:11 2004 Return-Path: Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4F47E16A4CE for ; Mon, 27 Sep 2004 14:53:11 +0000 (GMT) Received: from mail2.speakeasy.net (mail2.speakeasy.net [216.254.0.202]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0C27F43D45 for ; Mon, 27 Sep 2004 14:53:09 +0000 (GMT) (envelope-from jhb@FreeBSD.org) Received: (qmail 12251 invoked from network); 27 Sep 2004 14:53:08 -0000 Received: from dsl027-160-063.atl1.dsl.speakeasy.net (HELO server.baldwin.cx) ([216.27.160.63]) (envelope-sender ) encrypted SMTP for ; 27 Sep 2004 14:53:08 -0000 Received: from [10.50.40.210] (gw1.twc.weather.com [216.133.140.1]) (authenticated bits=0) by server.baldwin.cx (8.12.11/8.12.11) with ESMTP id i8REr1oJ012506; Mon, 27 Sep 2004 10:53:03 -0400 (EDT) (envelope-from jhb@FreeBSD.org) From: John Baldwin To: freebsd-mobile@FreeBSD.org Date: Mon, 27 Sep 2004 10:53:47 -0400 User-Agent: KMail/1.6.2 References: <415720FD.8080603@samsco.org> <4157EF47.7070604@gmx.de> In-Reply-To: <4157EF47.7070604@gmx.de> MIME-Version: 1.0 Content-Disposition: inline Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <200409271053.47904.jhb@FreeBSD.org> X-Spam-Checker-Version: SpamAssassin 2.63 (2004-01-11) on server.baldwin.cx cc: Jochen Gensch cc: Warner Losh Subject: Re: FreeBSD 5.3-BETA6 available X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 27 Sep 2004 14:53:11 -0000 On Monday 27 September 2004 06:45 am, Jochen Gensch wrote: > Scott Long wrote: > > - Detaching a USB Hub device, including many keyboards and monitors, > > will trigger a panic. The fix for this is being tested and will be > > in the next BETA. > > I just wanted to point at a new issue regarding the propsed patch to > usb_port.h, since I didn't manage to send an e-mail to the correct > thread :-(. The suggested change was: > > Index: usb_port.h > =================================================================== > RCS file: /dump/FreeBSD-CVS/src/sys/dev/usb/usb_port.h,v > retrieving revision 1.67 > diff -u -r1.67 usb_port.h > --- usb_port.h 15 Aug 2004 23:39:18 -0000 1.67 > +++ usb_port.h 21 Sep 2004 23:46:27 -0000 > @@ -422,6 +422,7 @@ > #define config_detach(dev, flag) \ > do { \ > free(device_get_ivars(dev), M_USB); \ > + device_detach(dev); \ > device_delete_child(device_get_parent(dev), dev); \ > } while (0); > > Apparently this relly stops the kernel panic. BUT there seems to be a > problem with devfs, when reattaching the usb hub / devices. Permissions > set in /etc/devfs.conf do not take effect any more. Even worse, if you > do a ls -l /dev, then all devices show permissions like '0'. You need to use persistent devfs rules rather than the one-time boot fix that devfs.conf does to get the devfs permissions you want/need. -- John Baldwin <>< http://www.FreeBSD.org/~jhb/ "Power Users Use the Power to Serve" = http://www.FreeBSD.org