使用centos引导内核错误:kernel: pnp 00:0b: can't evaluate _CRS: 8
环境:系统Centos6.6 硬件环境 SAMSUNG RV420
1、错误信息记录位置查看find /var/log -type f|xargs grep "00:0b"
关键字也可以选择CRS
[root@door toor]# find /var/log -type f|xargs grep "00:0b" (使用最高权限查看,权限低 会拒绝find指令的查看)
/var/log/dmesg:pnp 00:0b: can't evaluate _CRS: 8
/var/log/dmesg:pnp 00:0b: Plug and Play ACPI device, IDs PNP0c01 (active)
2、查看错误详细信息:sudo gedit /var/log/messages (编辑器随便吧)
Ctrl+F 定位到“CRS“
这段信息是有用的:
Jul 26 11:35:17 door kernel: pnp: PnP ACPI init (PnP:即插即用,ACPI:高级电源管理接口) ---初始化
Jul 26 11:35:17 door kernel: ACPI: bus type pnp registered
Jul 26 11:35:17 door kernel: ACPI Warning for \_SB_.MEM2._CRS: Return type mismatch - found Integer, expected Buffer (20090903/nspredef-1018)
Jul 26 11:35:17 door kernel: ACPI Error (uteval-0310): Return object type is incorrect [\_SB_.MEM2._CRS] (Node f705e620), AE_TYPE
Jul 26 11:35:17 door kernel: ACPI Error: Type returned from _CRS was incorrect: Integer, expected Btypes: 0x4 (20090903/uteval-316)
Jul 26 11:35:17 door kernel: pnp 00:0b: can't evaluate _CRS: 8
Jul 26 11:35:17 door kernel: pnp: PnP ACPI: found 12 devices --发现了12个设置
Jul 26 11:35:17 door kernel: ACPI: ACPI bus type pnp unregistered --注册失败了一个
开始使用acpi=off 加到内核参数上,开机错误任在,鼠标移动不流畅了!!这里应该是还注册了其他设备的原因。
参考内核参数这:http://www.jinbuguo.com/kernel/boot_parameters.html
发现这个地方找到这个参数:
- pnpacpi=off
- 禁用ACPI的即插即用功能,转而使用古董的PNPBIOS来代替。
3、 sudo gedit /boot/grub/grub.conf
title CentOS 6 (2.6.32-504.el6.i686)
root (hd0,3)
kernel /vmlinuz-2.6.32-504.el6.i686 ro root=UUID=33b23ad2-f922-4329-8f8f-f3a145147587 rd_NO_LUKS rd_NO_LVM LANG=en_US.UTF-8 rd_NO_MD SYSFONT=latarcyrheb-sun16 crashkernel=auto KEYBOARDTYPE=pc KEYTABLE=us rd_NO_DM pnpacpi=off
initrd /initramfs-2.6.32-504.el6.i686.img
title Other System
rootnoverify (hd0,0)
chainloader +1
把日志 都删除root shell: find /var/log -type f -exec rm -v {} \; (分号要有的)
保存,重启, 再试一次 find /var/log -type f|xargs grep "00:0b" 这时候啥也没了!!!到此错误解决。