[PLUG] I don't have a USB floppy, really...
Terry Griffin
griffint at pobox.com
Wed Feb 25 13:14:02 UTC 2004
On Wednesday 25 February 2004 11:13 am, Colin Kuskie wrote:
> I bought a USB enclosure for a used laptop hard drive that I have, and
> the thing works great! However, when I read through /var/log/messages
> I found this:
>
> Feb 25 09:30:50 redwall kernel: hub.c: new USB device 00:1d.7-1, assigned
> address 2 Feb 25 09:30:50 redwall kernel: usb.c: USB device 2 (vend/prod
> 0xdb3/0x621b) is not claimed by any active driver. Feb 25 09:30:53 redwall
> kernel: Initializing USB Mass Storage driver... Feb 25 09:30:53 redwall
> kernel: usb.c: registered new driver usb-storage Feb 25 09:30:53 redwall
> kernel: scsi0 : SCSI emulation for USB Mass Storage devices Feb 25 09:30:53
> redwall kernel: Vendor: TEKRAM Model: TR-621 2.5*0000 Rev: Feb 25
> 09:30:53 redwall kernel: Type: Direct-Access ANSI
> SCSI revision: 02 Feb 25 09:30:53 redwall kernel: USB Mass Storage support
> registered. Feb 25 09:30:53 redwall kernel: Attached scsi disk sda at
> scsi0, channel 0, id 0, lun 0 Feb 25 09:30:53 redwall kernel: SCSI device
> sda: 8452081 512-byte hdwr sectors (4327 MB) Feb 25 09:30:53 redwall
> kernel: sda: sda1
> Feb 25 09:30:53 redwall kernel: inserting floppy driver for
> 2.4.22-1.2140.nptl Feb 25 09:30:56 redwall kernel: floppy0: no floppy
> controllers found Feb 25 09:30:56 redwall insmod:
> /lib/modules/2.4.22-1.2140.nptl/kernel/drivers/block/floppy.o: init_module:
> No such device Feb 25 09:30:56 redwall 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 Feb 25 09:30:56 redwall insmod:
> /lib/modules/2.4.22-1.2140.nptl/kernel/drivers/block/floppy.o: insmod
> block-major-2 failed Feb 25 09:31:00 redwall devlabel: devlabel service
> started/restarted
>
> I also see this during startup and shutdown.
>
> The laptop doesn't have a floppy drive, and there's nothing
> /etc/modules.conf. Any idea where this is coming from and how to turn
> if off?
>
It's probably coming from inside the kernel, or maybe from the hotplug agent.
In any case something is requesting a load of the floppy module. Then the
floppy module complains because it can't find a floppy drive.
Try putting this line in your /etc/modules.conf file:
alias floppy off
Then anything that requests a load of the floppy module will get nothing.
Terry
More information about the PLUG
mailing list