Silencing floppy warnings when floppy doesn't exist.

General support questions
Post Reply
CaViCcHi
Posts: 68
Joined: 2012/04/18 17:03:15
Contact:

Silencing floppy warnings when floppy doesn't exist.

Post by CaViCcHi » 2019/02/18 21:11:44

Hi guys,
I've seen a few of these while searching for similar issues, but none was quite like my request, so I'm hitting this "issue" where one particular machine keeps throwing me these errors to my tty & dmesg

Code: Select all

# dmesg | grep fd0
[    1.086049] Floppy drive(s): fd0 is 1.44M
[   37.133789] blk_update_request: I/O error, dev fd0, sector 0
[   49.319916] blk_update_request: I/O error, dev fd0, sector 0
[   61.504123] blk_update_request: I/O error, dev fd0, sector 0
[   73.690218] blk_update_request: I/O error, dev fd0, sector 0
[   73.690274] Buffer I/O error on dev fd0, logical block 0, async page read
I've already added:

/etc/dracut.conf.d/nofloppy.conf

Code: Select all

omit_drivers+="floppy"
/etc/modprobe.d/nofloppy.conf

Code: Select all

blacklist floppy
but after rebooting

Code: Select all

# lsmod | grep floppy
floppy                 69432  0
if I do rmmod floppy it does remove it, not sure why the modprobe file exclusion doesn't do it.

thanks

User avatar
TrevorH
Site Admin
Posts: 33215
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: Silencing floppy warnings when floppy doesn't exist.

Post by TrevorH » 2019/02/18 22:41:49

Did you rerun dracut after creating the dracut.d file?
The future appears to be RHEL or Debian. I think I'm going Debian.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke

CaViCcHi
Posts: 68
Joined: 2012/04/18 17:03:15
Contact:

Re: Silencing floppy warnings when floppy doesn't exist.

Post by CaViCcHi » 2019/02/18 23:21:29

that's what I forgot! thanks Trevor, as usual.

I guess what was throwing me off is the fact that blacklisting the driver wouldn't work by itself.
But suffices to know it works together with the dracut exclusion.

Post Reply