don't have a floppy, but kernel thinks so

Joel Uckelman uckelman at nomic.net
Tue Nov 11 02:07:56 UTC 2003


Thus spake Paul Morgan:
> On Mon, 2003-11-10 at 18:22, Mike Burger wrote:
> > On Mon, 10 Nov 2003, Brian Millett wrote:
> > 
> > > Hello, I've installed fedora core on a toshiba satellite 1135-S155.  Man
> > > it works great.  One problem I have is in the /var/log/messages I see
> > > this references to a floppy:
> > > 
> > > Nov 10 16:49:12 shaka kernel: inserting floppy driver for
> > > 2.4.22-1.2115.nptl
> > > Nov 10 16:49:15 shaka kernel: floppy0: no floppy controllers found
> > > Nov 10 16:49:15 shaka insmod:
> > > /lib/modules/2.4.22-1.2115.nptl/kernel/drivers/block/floppy.o:
> > > init_module: No such device
> > > Nov 10 16:49:15 shaka insmod: Hint: insmod errors can be caused by
> > > incorrect module parameters, including invalid IO or IRQ
> > > parameters.       You may find more information in syslog or the output
> > > from dmesg
> > > 
> > > Now, there is not a floppy on this beast.  How do I tell the kernel to
> > > ignore the floppy?
> > 
> > It's already doing so.  It's trying to load the floppy driver, finding 
> > that there's no floppy controller, and abandoning it.  It winds up not 
> > bothering, once it doesn't find it.
> 
> I second Brian's question. Is there a way to direct the kernel to NOT
> try insmod'ing the floppy? I do not use floppy drives anymore and would
> prefer to avoid the kernel complaints if possible.
> 
> tia,
> -paul

You could try adding the following line to your /etc/modules.conf:

alias floppy off

What this will do is tell modprobe to ignore requests to load the module.
(Q.v. modules.conf man page.)





More information about the users mailing list