Re: FreeBSD 5.3-BETA6 available

Jochen Gensch <[email protected]>
Newsgroups gmane.os.freebsd.devel.mobile
Message-ID <[email protected]>
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



_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-mobile
To unsubscribe, send any mail to "[email protected]"
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.