* usb-uhci rmmod fun
@ 2004-02-25 0:52 Dave Jones
2004-02-25 2:00 ` Greg KH
` (2 more replies)
0 siblings, 3 replies; 7+ messages in thread
From: Dave Jones @ 2004-02-25 0:52 UTC (permalink / raw)
To: greg; +Cc: Linux Kernel
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
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: usb-uhci rmmod fun
2004-02-25 0:52 usb-uhci rmmod fun Dave Jones
@ 2004-02-25 2:00 ` Greg KH
2004-02-25 12:06 ` Dave Jones
2004-02-25 3:13 ` Johannes Erdfelt
2004-02-25 16:33 ` Sergey Vlasov
2 siblings, 1 reply; 7+ messages in thread
From: Greg KH @ 2004-02-25 2:00 UTC (permalink / raw)
To: Dave Jones, Linux Kernel
On Wed, Feb 25, 2004 at 12:52:41AM +0000, Dave Jones wrote:
> 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!?
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
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: usb-uhci rmmod fun
2004-02-25 0:52 usb-uhci rmmod fun Dave Jones
2004-02-25 2:00 ` Greg KH
@ 2004-02-25 3:13 ` Johannes Erdfelt
2004-02-25 12:04 ` Dave Jones
2004-02-25 16:33 ` Sergey Vlasov
2 siblings, 1 reply; 7+ messages in thread
From: Johannes Erdfelt @ 2004-02-25 3:13 UTC (permalink / raw)
To: Dave Jones, greg, Linux Kernel
On Wed, Feb 25, 2004, Dave Jones <davej@redhat.com> wrote:
> 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!?
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
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: usb-uhci rmmod fun
2004-02-25 3:13 ` Johannes Erdfelt
@ 2004-02-25 12:04 ` Dave Jones
0 siblings, 0 replies; 7+ messages in thread
From: Dave Jones @ 2004-02-25 12:04 UTC (permalink / raw)
To: Johannes Erdfelt; +Cc: greg, Linux Kernel
On Tue, Feb 24, 2004 at 07:13:48PM -0800, Johannes Erdfelt 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!?
>
> 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
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: usb-uhci rmmod fun
2004-02-25 2:00 ` Greg KH
@ 2004-02-25 12:06 ` Dave Jones
0 siblings, 0 replies; 7+ messages in thread
From: Dave Jones @ 2004-02-25 12:06 UTC (permalink / raw)
To: Greg KH; +Cc: Linux Kernel
On Tue, Feb 24, 2004 at 06:00:01PM -0800, Greg KH wrote:
> > 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)
> What kernel version?
2.6.3-bk5
> Do you have kmod enabled?
yep.
Dave
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: usb-uhci rmmod fun
2004-02-25 0:52 usb-uhci rmmod fun Dave Jones
2004-02-25 2:00 ` Greg KH
2004-02-25 3:13 ` Johannes Erdfelt
@ 2004-02-25 16:33 ` Sergey Vlasov
2004-02-25 16:44 ` Dave Jones
2 siblings, 1 reply; 7+ messages in thread
From: Sergey Vlasov @ 2004-02-25 16:33 UTC (permalink / raw)
To: linux-kernel
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).
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: usb-uhci rmmod fun
2004-02-25 16:33 ` Sergey Vlasov
@ 2004-02-25 16:44 ` Dave Jones
0 siblings, 0 replies; 7+ messages in thread
From: Dave Jones @ 2004-02-25 16:44 UTC (permalink / raw)
To: Sergey Vlasov; +Cc: linux-kernel
On Wed, Feb 25, 2004 at 07:33:43PM +0300, Sergey Vlasov wrote:
> 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).
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
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2004-02-25 16:45 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-02-25 0:52 usb-uhci rmmod fun Dave Jones
2004-02-25 2:00 ` Greg KH
2004-02-25 12:06 ` Dave Jones
2004-02-25 3:13 ` Johannes Erdfelt
2004-02-25 12:04 ` Dave Jones
2004-02-25 16:33 ` Sergey Vlasov
2004-02-25 16:44 ` Dave Jones
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox