Buffer I/O error on device fd0, logical block 0 error and simply soultion

Posted on in Categories , , , , , last updated July 10, 2007

Q. I’ve CentOS 5 server running on Dell hardware. I’m getting following error message in my /var/log/message file (some time message is also shown on console):

Jul 05 12:04:05 dell01 kernel: end_request: I/O error, dev fd0, sector 0
Jul 05 12:04:05 dell01 kernel: Buffer I/O error on device fd0, logical block 0
Jul 05 12:04:18 dell01 kernel: end_request: I/O error, dev fd0, sector 0
Jul 05 12:04:18 dell01 kernel: Buffer I/O error on device fd0, logical block 0
Jul 05 12:04:30 dell01 kernel: end_request: I/O error, dev fd0, sector 0
Jul 05 12:04:42 dell01 kernel: end_request: I/O error, dev fd0, sector 0

What do they mean? How do I fix this problem?

A. This message appears when you don’t have a floppy drive attached to Linux server. Solution is quite simple just disable driver for floppy and reboot the system. You can verify this with the following command (this solution works with RHEL, CentOS, Redhat, Ubuntu/Debian and other Linux distros) :
# lsmod | grep -i floppy
Output:

floppy                 95465  0

Open file called /etc/modprobe.d/blacklist:
# vi /etc/modprobe.d/blacklist
Listing a module (driver name) in this file prevents the hotplug scripts from loading it. Usually that’d be so that some other driver will bind it instead,
no matter which driver happens to get probed first. Sometimes user mode tools can also control driver binding. Append following line:
blacklist floppy
Save and close the file. Now reboot the Linux server:
# reboot

Posted by: Vivek Gite

The author is the creator of nixCraft and a seasoned sysadmin and a trainer for the Linux operating system/Unix shell scripting. He has worked with global clients and in various industries, including IT, education, defense and space research, and the nonprofit sector. Follow him on Twitter, Facebook, Google+.

17 comment

  1. Aaron, you have to put this into your terminal or console, e.g. by going with Ctrl-Alt-F1 into the first TTY (TTY1). Enter user and password and su to root. There you go. Now you are ready to insert these commands and everything works as expected… :)

  2. Hi, can somebody tell me step by step what should I do? Im not so into computer system. I already disable floppy, Im not getting the same error anymore, but it doesnt go anywhre. It send me to a busybox 3.1 screen, but I dont know what am I supposed to write iin order to make it finish the intallation. Thanks in advance. I have windows vista and Im trying to intall UBUNTU

  3. Wow, i spent 2 days working on it. i was getting i.o error on ubuntu live usbs and also in boot-repar application so i disabled my floppy and i also diasbled by dvd(may not be required). and it worked. THANK YOU

  4. disable the floppy device in BIOS

    make sure that the floppy drive is getting power
    make sure that the floppy drive cable is attached at both ends
    make sure that the floppy drive light is not on ALL THE TIME (if it is, flip it around you put it on backwards)
    replace the floppy drive with a known working unit

  5. This method works however the correct path of the modprobe file is /etc/modprobe.d/blacklist.conf
    sudo su
    nano /etc/modprobe.d/blacklist.conf
    blacklist floppy
    reboot

Leave a Comment