首页 > 代码库 > RHEL7.0启动时end_request I/O error及piix4_smbus错误提示处理
RHEL7.0启动时end_request I/O error及piix4_smbus错误提示处理
在VMWARE虚拟机下安装RHEL7.0,启动时有以下提示。经网上搜索,答复为floppy及piix4_smbus设备加载时找不到设备所致。
解决办法如下:
floppy,在BIOS里禁用软驱,重启
piix4_smbus,先检查一下是否有加载piix4,如有把i2c_piix4加入黑名单,启动时不加载此模块
# lsmod | grep i2c_piix4
# vi /etc/modprobe.d/blacklist.conf
blacklist i2c_piix4
其他的方法可参考
Added
blacklist floppy
to
/etc/modprobe.d/blacklist.conf
and rebooted
Added
alias floppy off
to
/etc/modprobe.conf
and rebooted
disable the floppy kernel module by doing this:
echo "blacklist floppy" | sudo tee /etc/modprobe.d/nofloppy.conf
The only real solution is to disable the floppy driven in your vm‘s BIOS (as mentioned by gerald_clark)
官方文档的方法:
Boot pauses probing floppy device
On some machines (mostly laptops with removable floppy drives), boot will pause while the (non-existant) floppy device is probed. A series of the following messages will appear:
end_request: I/O error, dev fd0, sector 0
end_request: I/O error, dev fd0, sector 0
Buffer I/O error on device fd0, logical block 0
This is caused by initrd‘s nash searching for filesystem labels on the floppy device. This problem can be avoided by adding floppy.allowed_drive_mask=0
to the kernel boot options.
RHEL7.0启动时end_request I/O error及piix4_smbus错误提示处理