usb-uhci rmmod fun
Greg,
wtf is going on here ?
(00:52:08:root@mindphaser:davej)# lsmod | grep floppy (00:52:39:root@mindphaser:davej)# modprobe usb-uhci (00:52:48:root@mindphaser:davej)# lsmod | grep floppy (00:53:02:root@mindphaser:davej)# rmmod uhci_hcd (00:53:11:root@mindphaser:davej)# lsmod | grep floppy floppy 58260 0 (00:53:13:root@mindphaser:davej)#
Unloading the usb controller loads the floppy controller!?
Dave
Quoted 11 lines · Dave Jones
Greg,
wtf is going on here ?(00:52:08:root@mindphaser:davej)# lsmod | grep floppy (00:52:39:root@mindphaser:davej)# modprobe usb-uhci (00:52:48:root@mindphaser:davej)# lsmod | grep floppy (00:53:02:root@mindphaser:davej)# rmmod uhci_hcd (00:53:11:root@mindphaser:davej)# lsmod | grep floppy floppy 58260 0 (00:53:13:root@mindphaser:davej)#
Quoted 1 line
Unloading the usb controller loads the floppy controller!?
Heh, I have no idea why that happens. I can't duplicate that here. What version of your hotplug scripts are you using?
What kernel version?
Do you have kmod enabled?
thanks,
greg k-h
Quoted 11 lines · Dave Jones
Greg,
wtf is going on here ?(00:52:08:root@mindphaser:davej)# lsmod | grep floppy (00:52:39:root@mindphaser:davej)# modprobe usb-uhci (00:52:48:root@mindphaser:davej)# lsmod | grep floppy (00:53:02:root@mindphaser:davej)# rmmod uhci_hcd (00:53:11:root@mindphaser:davej)# lsmod | grep floppy floppy 58260 0 (00:53:13:root@mindphaser:davej)#
Quoted 1 line
Unloading the usb controller loads the floppy controller!?
That can't be right. You're loading usb-uhci, then unloading uhci_hcd.
You should have only have one, depending on the version of the kernel.
JE
Quoted 8 lines · Johannes Erdfelt
Quoted 8 lines
(00:52:08:root@mindphaser:davej)# lsmod | grep floppy (00:52:39:root@mindphaser:davej)# modprobe usb-uhci (00:52:48:root@mindphaser:davej)# lsmod | grep floppy (00:53:02:root@mindphaser:davej)# rmmod uhci_hcd (00:53:11:root@mindphaser:davej)# lsmod | grep floppy floppy 58260 0 (00:53:13:root@mindphaser:davej)#
Quoted 5 lines
Quoted 1 line
Unloading the usb controller loads the floppy controller!?
That can't be right. You're loading usb-uhci, then unloading
uhci_hcd.You should have only have one, depending on the version of the kernel.
Err, yeah. ignore the modprobe part. uhci_hcd was already loaded during boot..
Dave
Quoted 3 lines · Greg KH
Quoted 1 line
Unloading the usb controller loads the floppy controller!?
Heh, I have no idea why that happens. I can't duplicate that here. What version of your hotplug scripts are you using?
the ones from Fedora Core 2 test 1 (2004_01_05-1)
Quoted 1 line
What kernel version?
2.6.3-bk5
Quoted 1 line
Do you have kmod enabled?
yep.
Dave
Quoted 9 lines · On Wed, 25 Feb 2004 00:52:41 +0000 Dave Jones wrote:
(00:52:08:root@mindphaser:davej)# lsmod | grep floppy (00:52:39:root@mindphaser:davej)# modprobe usb-uhci (00:52:48:root@mindphaser:davej)# lsmod | grep floppy (00:53:02:root@mindphaser:davej)# rmmod uhci_hcd (00:53:11:root@mindphaser:davej)# lsmod | grep floppy floppy 58260 0 (00:53:13:root@mindphaser:davej)#Unloading the usb controller loads the floppy controller!?
This thing seems to be triggered by updfstab (/etc/hotplug/usb.agent tries to run it during the remove handling).
Quoted 10 lines · Sergey Vlasov
Quoted 8 lines · On Wed, 25 Feb 2004 00:52:41 +0000 Dave Jones wrote:
(00:52:08:root@mindphaser:davej)# lsmod | grep floppy (00:52:39:root@mindphaser:davej)# modprobe usb-uhci (00:52:48:root@mindphaser:davej)# lsmod | grep floppy (00:53:02:root@mindphaser:davej)# rmmod uhci_hcd (00:53:11:root@mindphaser:davej)# lsmod | grep floppy floppy 58260 0 (00:53:13:root@mindphaser:davej)#
Quoted 4 lines
Quoted 1 line
Unloading the usb controller loads the floppy controller!?
This thing seems to be triggered by updfstab (
/etc/hotplug/usb.agenttries to run it during the remove handling).
Bill Nottingham pointed out to me that on rmmod hotplug rescans all removable media, which seems a bit wacky, but that does seem to be the case.
Dave