12

Every couple of days I get these errors that lockup the server.

[501.882940] print_req_error: I/O error, dev fd0, sector 0

[504.338961] print_req_error: I/O error, dev fd0, sector 0

[504.738984] print_req_error: I/O error, dev fd0, sector 0

[509.250929] print_req_error: I/O error, dev fd0, sector 0

[509.898921] print_req_error: I/O error, dev fd0, sector 0

[510.334916] print_req_error: I/O error, dev fd0, sector 0

[517.714867] print_req_error: I/O error, dev fd0, sector 0

[520.118801] print_req_error: I/O error, dev fd0, sector 0

[520.618864] print_req_error: I/O error, dev fd0, sector 0

[521.047029] print_req_error: I/O error, dev fd0, sector 0

I've blacklisted the floppy drive and I also disabled the floppy drive in vSphere. Any help would be appreciated! Thanks

waltinator
  • 37,856
John De La Motte
  • 131
  • 1
  • 1
  • 3

6 Answers6

10

If you have removed your swap file then ensure that in step 3 that you have commented out the swap file line (it will have 'swap' in the same line) and in step 4 comment out the first (and only)

  1. Run this dpkg-reconfigure initramfs-tools and then restart and continue

  2. lsblk -f command, and note the UUID's

  3. Ensure that the UUID's in this file are right /etc/fstab -- sudo nano /etc/fstab

  4. Ensure that the UUID's in this file are also right /etc/initramfs-tools/conf.d/resume. -- sudo nano /etc/initramfs-tools/conf.d/resume.

  5. Run sudo update-initramfs -u and restart

Sources:

https://tinycp.com/community/show/solved-print-req-error-i-o-error-dev-fd0-sector-0,43.html#sidebar

https://lists.debian.org/debian-user/2017/09/msg00866.html

6

I saw this on the following website: https://tinycp.com/community/show/solved-print-req-error-i-o-error-dev-fd0-sector-0,43.html

# rmmod floppy
# echo "blacklist floppy" | tee /etc/modprobe.d/blacklist-floppy.conf 
# dpkg-reconfigure initramfs-tools 

For me this seems to work pretty fine! (Oh, I just saw the page was referenced already in an earlier anwer. But this containts step-by-step commands (as does the linked page) which solved the issue for me.)

Thanks

TomS
  • 161
1

Why are you disabling the Floppy Drive? Why not just remove it from the VM's configuration?

I completely removed the Floppy Drive from the configuration of the VM. Time will tell if the error returns.

PapaJim
  • 11
1

This did not work on our 18.04 server, using tee gave permission denied to create the file. This however worked:

sudo rmmod floppy
sudo sh -c "echo 'blacklist floppy' >  /etc/modprobe.d/blacklist-floppy.conf"
sudo dpkg-reconfigure initramfs-tools
0

I kept getting this error, which made me boot into emergency mode and did not allow SSH/remote access.

I removed all custom /etc/fstab entries except the default ones. In my case I had entries to mount hard disks that were no longer plugged in, once I removed them I stopped getting that error. For reference, my error said the problem was with sr0, but I couldn't find a reference to sr0 in any logs/fdisk.

0

You can see my answer here: I encountered the print_req_error while trying to open Ubuntu 16.04 on my dual booted HP laptop

As I used to encounter the same problem.