problems with usb if you unload and reload kernel modules

Mauro Triulzi triulzi at freesurf.ch
Fri Nov 19 16:41:08 PST 2004


Hello,

I noticed, that if you kldunload and kldload any kernel module,
usb hotplugging doesn't work anymore.

uname -a
FreeBSD triulzi 6.0-CURRENT FreeBSD 6.0-CURRENT #1: Sat Nov 20 01:04:34 
CET 2004    
triulzi at triulzi:/usr/obj/usr/src/sys/GENERIC  i386

world built about 1 hour ago.

To reproduce the problem:

i) verify that usb hotplug works (I mean /dev/da0, /dev/da0s1 are being 
created when you plug
    the usb memory stick in)
ii) kldunload snd_ich (or any other kernel module)
iii) kldload snd_ich
iv) plug your usb memory stick in again: nothing will happen

Is there a special reason for that? How could I in this case
use the memory stick without booting?

Regards,
Mauro


More information about the freebsd-current mailing list