From owner-freebsd-mobile@FreeBSD.ORG Mon Sep 27 10:45:31 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 4A30616A4CE for ; Mon, 27 Sep 2004 10:45:31 +0000 (GMT) Received: from mail.gmx.net (pop.gmx.de [213.165.64.20]) by mx1.FreeBSD.org (Postfix) with SMTP id 43C5643D2F for ; Mon, 27 Sep 2004 10:45:30 +0000 (GMT) (envelope-from incmc@gmx.de) Received: (qmail 31497 invoked by uid 65534); 27 Sep 2004 10:45:28 -0000 Received: from pD9FF126E.dip.t-dialin.net (EHLO ms.homeip.net) (217.255.18.110) by mail.gmx.net (mp027) with SMTP; 27 Sep 2004 12:45:28 +0200 X-Authenticated: #15946415 Received: from [10.0.0.100] (helo=[10.0.0.100]) by ms.homeip.net with asmtp (TLSv1:AES256-SHA:256) id 1CBt0a-0009D6-U6 for freebsd-mobile@freebsd.org; Mon, 27 Sep 2004 12:45:28 +0200 Message-ID: <4157EF47.7070604@gmx.de> Date: Mon, 27 Sep 2004 12:45:27 +0200 From: Jochen Gensch User-Agent: Mozilla Thunderbird 0.8 (Windows/20040913) X-Accept-Language: en-us, en MIME-Version: 1.0 To: freebsd-mobile@freebsd.org References: <415720FD.8080603@samsco.org> In-Reply-To: <415720FD.8080603@samsco.org> X-Enigmail-Version: 0.86.0.0 X-Enigmail-Supports: pgp-inline, pgp-mime Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit 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 10:45:31 -0000 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'. Jochen