Find the answer to your Linux question:
Results 1 to 5 of 5
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1

    How to prevent loading of Floppy drive module at boot?


    I am running Fedora Core 1 on an IBM Thinkpad A31p without floppy drive.
    If got the Problem, that at boot-time Linux tries to load a kernel module for floppy drive support that, what a surprise, doesnt find any device. The resulting warning messages at boot time are slightly annoying .

    Can anyone give me a hint, what I can do about that?


  2. #2
    Linux User
    Join Date
    Nov 2003
    Brooklyn, NY
    I am not sure but see if you have floppy in fstab.

    cat /etc/fstab
    If it's there you should try deleting that line and saving.

  3. #3
    Thx for the quick answer but in my fstab isn't any trace of ao floppy device:
    LABEL=/                 /                       ext3    defaults        1 1
    LABEL=/boot             /boot                   ext3    defaults        1 2
    none                    /dev/pts                devpts  gid=5,mode=620  0 0
    none                    /proc                   proc    defaults        0 0
    none                    /dev/shm                tmpfs   defaults        0 0
    /dev/hda6               swap                    swap    defaults        0 0
    /dev/cdrom              /mnt/cdrom              udf,iso9660 noauto,owner,kudzu,ro 0 0
    The error message during the booting process is:
    Apr  6 17:18:14 Garfield devlabel: devlabel service started/restarted
    Apr  6 17:18:15 Garfield kernel: inserting floppy driver for 2.4.22-1.2174.nptl
    Apr  6 17:18:15 Garfield kernel: Floppy drive(s): fd0 is 1.44M
    Apr  6 17:18:18 Garfield kernel: floppy0: no floppy controllers found
    Apr  6 17:18:18 Garfield insmod: /lib/modules/2.4.22-1.2174.nptl/kernel/drivers/block/floppy.o: init_module: No such device
    Apr  6 17:18:18 Garfield 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
    Apr  6 17:18:18 Garfield insmod: /lib/modules/2.4.22-1.2174.nptl/kernel/drivers/block/floppy.o: insmod block-major-2 failed
    Where do I find the file controlling the loading of kernel modules during startup?
    Any further suggestions?

    Thx in advance

  4. $spacer_open
  5. #4
    The error messages aren't going to "hurt" anything, but if you want to prevent them try the following.

    /etc/modules.conf should list the modules that are attempted to be loaded at bootup. So if you open this file in an editor (you'll need to be logged in as root to do so I think) you can use the search function (search: floppy) to find the line where the floppy module is loaded.

    You can add a # symbol to the front of this line and that should keep that module from being loaded. When you do have the floppy drive connected though, you'll have to go back in and remove that # symbol though.

  6. #5
    Try as root: modprobe -r floppy

    You can use modprobe --list to see all the loaded modules. modules.conf will not list the floppy module as it is a standard module normally always loaded.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts