≡ Menu

floppy0: no floppy controllers found – HP / IBM / Dell Server error and solution

An anonymous frustrated reader asks:

Why am I getting a 'no floppy controllers found' error message - /var/log/messages file on my RedHat (RHEL) HP BL20P Blade server ? Log attached:


Feb 27 05:14:01 oradb9 kernel: Floppy drive(s): fd0 is 1.44M
Feb 27 05:14:27 oradb9 kernel: floppy0: no floppy controllers found

First of all this problem is not specific to any server vendor. This message will be displayed on any system connected without a diskette / floppy drive

All you need to do is blacklist / disable floppy driver or module.

Debian / Ubuntu Linux user

Add your driver /block device to /etc/modprobe.d/aliases file.
# vi /etc/modprobe.d/aliases
Add following line
alias block-major-2 off
Or comment out line
# alias block-major-2

Reboot the system.

Redhat enterprise Linux user (RHEL)/CentOS/Fedora Core Linux user

Open /etc/modules.conf file
# vi /etc/modules.conf
Append following line to file:
alias block-major-2 off

Save close the file. My complete file looks as follows:

alias eth0 tg3
alias eth1 tg3
alias scsi_hostadapter sata_svw
alias usb-controller ehci-hcd
alias usb-controller1 ohci-hcd
alias block-major-2 off

Now rebuild the initial ramdisk:
# mkinitrd -f -v /boot/ initrd-2.6.9-42.0.8.ELsmp.img 2.6.9-42.0.8.ELsmp

Reboot the server.

This is the only way to disable floppy drive, AFIK.

Tweet itFacebook itGoogle+ itPDF itFound an error/typo on this page?

Comments on this entry are closed.

  • Jalal Hajigholamali May 18, 2012, 2:47 am

    Hi,

    Thanks,

    we can edit /etc/modprobe.conf

    instead of /etc/modules.conf for new releases of redhat/…..