Arch-Linux
blk_update_request:I/O 錯誤,dev fd0,扇區 0
我最近開始注意到
blk_update_request: I/O error, dev fd0, sector 0
在我用作伺服器的第二台執行 Arch Linux 的電腦上出現了一些錯誤。這始於我搬進新公寓時不得不重新啟動電腦。我有以下/etc/fstab
配置:# # /etc/fstab: static file system information # # <file system> <dir> <type> <options> <dump> <pass> #UUID=94880e53-c4d3-4d4d-a217-84c9ac58f4fd /dev/sda1 / ext4 rw,relatime,data=ordered 0 1 #UUID=c1245aca-bbf7-4813-8c25-10bd0d95631e /dev/sda2 none swap defaults 0 0 #UUID=94880e53-c4d3-4d4d-a217-84c9ac58f4fd /dev/sdb1 /media/marcel/videos auto rw,user,auto 0 0
所以我的主硬碟安裝到
/
我的外部硬碟安裝到/media/marcel/videos
. 問題是重新啟動後,我的外部驅動器得到了/dev/sda
,而我的內部驅動器得到了/dev/sdb
。據我所知,電腦啟動良好,直到我查看了/media/marcel/videos
哪個是/
. 現在我拔掉了外部驅動器,我只是想對我的主驅動器進行故障排除。相關
dmesg
:ACPI Error: [CAPB] Namespace lookup failure, AE_ALREADY_EXISTS (20160108/dsfield-211) ACPI Error: Method parse/execution failed [\_SB.PCI0._OSC] (Node ffff88007b891708), AE_ALREADY_EXISTS (20160108/psparse-542) blk_update_request: I/O error, dev fd0, sector 0 floppy: error -5 while reading block 0 ACPI Exception: AE_NOT_FOUND, Evaluating _DOD (20160108/video-1248) ACPI Warning: SystemIO range 0x0000000000001028-0x000000000000102F conflicts with OpRegion 0x0000000000001028-0x0000000000001047 (\_SB.PCI0.IEIT.EITR) (20160108/utaddress-255) ACPI Warning: SystemIO range 0x0000000000001028-0x000000000000102F conflicts with OpRegion 0x0000000000001000-0x000000000000102F (\_SB.PCI0.LPC0.PMIO) (20160108/utaddress-255) ACPI Warning: SystemIO range 0x0000000000001180-0x00000000000011AF conflicts with OpRegion 0x0000000000001180-0x00000000000011AF (\_SB.PCI0.LPC0.GPOX) (20160108/utaddress-255) blk_update_request: I/O error, dev fd0, sector 0 floppy: error -5 while reading block 0 blk_update_request: I/O error, dev fd0, sector 0 floppy: error -5 while reading block 0 blk_update_request: I/O error, dev fd0, sector 0 floppy: error -5 while reading block 0
fdisk -l
(每當我執行時fdisk -l
,我都會blk_update_request
再次收到錯誤消息):Disk /dev/sda: 149.1 GiB, 160041885696 bytes, 312581808 sectors Units: sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disklabel type: dos Disk identifier: 0x0007ee23 Device Boot Start End Sectors Size Id Type /dev/sda1 * 2048 311609343 311607296 148.6G 83 Linux /dev/sda2 311609344 312581807 972464 474.9M 82 Linux swap / Solaris
uname -a
:Linux nas 4.5.3-1-ARCH #1 SMP PREEMPT Sat May 7 20:43:57 CEST 2016 x86_64 GNU/Linux
這是一個嚴重的問題還是可以忽略的問題?
編輯1:
lsmod
:Module Size Used by cfg80211 491520 0 rfkill 20480 2 cfg80211 coretemp 16384 0 kvm_intel 180224 0 psmouse 118784 0 kvm 491520 1 kvm_intel irqbypass 16384 1 kvm serio_raw 16384 0 snd_hda_codec_analog 16384 1 iTCO_wdt 16384 0 snd_hda_codec_generic 69632 1 snd_hda_codec_analog iTCO_vendor_support 16384 1 iTCO_wdt gpio_ich 16384 0 input_leds 16384 0 ppdev 20480 0 led_class 16384 1 input_leds pcspkr 16384 0 evdev 24576 3 joydev 20480 0 mac_hid 16384 0 snd_hda_intel 32768 0 snd_hda_codec 106496 3 snd_hda_codec_generic,snd_hda_intel,snd_hda_codec_analog i2c_i801 20480 0 snd_hda_core 49152 4 snd_hda_codec_generic,snd_hda_codec,snd_hda_intel,snd_hda_codec_analog lpc_ich 24576 0 snd_hwdep 16384 1 snd_hda_codec snd_pcm 86016 3 snd_hda_codec,snd_hda_intel,snd_hda_core mei_me 32768 0 i915 1155072 1 mei 81920 1 mei_me snd_timer 28672 1 snd_pcm snd 65536 7 snd_hwdep,snd_timer,snd_pcm,snd_hda_codec_generic,snd_hda_codec,snd_hda_intel,snd_hda_codec_analog intel_agp 20480 0 soundcore 16384 1 snd fjes 28672 0 drm_kms_helper 106496 1 i915 e1000e 217088 0 drm 290816 3 i915,drm_kms_helper parport_pc 28672 0 ptp 20480 1 e1000e parport 40960 2 ppdev,parport_pc pps_core 20480 1 ptp button 16384 1 i915 video 36864 1 i915 intel_gtt 20480 3 i915,intel_agp acpi_cpufreq 20480 1 syscopyarea 16384 1 drm_kms_helper sysfillrect 16384 1 drm_kms_helper sysimgblt 16384 1 drm_kms_helper fb_sys_fops 16384 1 drm_kms_helper i2c_algo_bit 16384 1 i915 tpm_tis 20480 0 tpm 36864 1 tpm_tis processor 32768 1 acpi_cpufreq sch_fq_codel 20480 2 ip_tables 28672 0 x_tables 28672 1 ip_tables ext4 516096 1 crc16 16384 1 ext4 mbcache 20480 1 ext4 jbd2 94208 1 ext4 sr_mod 24576 0 cdrom 49152 1 sr_mod sd_mod 36864 3 hid_generic 16384 0 usbhid 45056 0 hid 114688 2 hid_generic,usbhid atkbd 24576 0 libps2 16384 2 atkbd,psmouse ata_piix 36864 2 ehci_pci 16384 0 floppy 69632 0 ata_generic 16384 0 pata_acpi 16384 0 i8042 24576 1 libps2 serio 20480 6 serio_raw,atkbd,i8042,psmouse uhci_hcd 40960 0 libata 196608 3 pata_acpi,ata_generic,ata_piix ehci_hcd 69632 1 ehci_pci usbcore 196608 4 uhci_hcd,ehci_hcd,ehci_pci,usbhid usb_common 16384 1 usbcore scsi_mod 151552 3 libata,sd_mod,sr_mod
似乎核心錯誤地將某些設備檢測為磁片,或者只是創建了一個不存在的引用,因為您的機器沒有真正的磁片驅動器。因此,這些與您的硬碟驅動
blk_update_request
器fd0
完全無關。許多磁碟管理程序fdisk
喜歡列舉所有可用的塊設備,並且fdisk
確實命中了磁片模組,並且這些消息開始出現在您的 dmesg 中。由於您的機器沒有磁片驅動器,因此建議您刪除
floppy
核心模組並將其列入黑名單,這樣以後就不會打擾您了:sudo rmmod floppy echo "blacklist floppy" | sudo tee /etc/modprobe.d/blacklist-floppy.conf
然後添加
/etc/modprobe.d/blacklist-floppy.conf
到/etc/mkinitcpio.conf
FILES 變數,這樣mkinitcpio -p linux
做 initramfs 也不會載入它。因此,下次重新啟動後,它不會出現並弄亂您的穩定配置。