日期:2014-05-16  浏览次数:20781 次

请帮忙分析一下一个奇怪的问题。
安装双系统后在xp下不死机、在linux下不定期死机。基本每天一次。后来在系统日志中发现以下记录:
May 3 20:14:35 localhost kernel: Bad page state in process 'updatedb'
May 3 20:14:35 localhost kernel: page:c11adae0 flags:0x8000082c mapping:ec0e8554 mapcount:0 count:0 (Not tainted)
May 3 20:14:35 localhost kernel: Trying to fix it up, but a reboot is needed
May 3 20:14:35 localhost kernel: Backtrace:
May 3 20:14:35 localhost kernel: [<c045e576>] bad_page+0x52/0x79
May 3 20:14:35 localhost kernel: [<c045e89e>] free_hot_cold_page+0x6a/0x140
May 3 20:14:35 localhost kernel: [<f8eb9416>] fat_search_long+0x682/0x68f [fat]
May 3 20:18:31 localhost syslogd 1.4.1: restart.
开始以为是内存坏了,用mem测了一下,没问题。
又找了前几天的日志发现都是在updatedb、find时死机的。看到它的日志backtrace中有fat的字样,想到是不是有可能是挂载了一个vfat分区(为了让xp和linux共享一些资料)的原因,试了一下挂载时用updatedb必死,不挂载一点问题没有。以下是我的分区情况:
/dev/sda1 fat32(xp下c盘)
/dev/sda2 ext'd (xp下扩展分区) 
/dev/sda3 linux(linux下就一个分区)
/dev/sda4 linux swap(linux下交换分区)
/dev/sda5 fat32(xp下d)
/dev/sda6 fat32(xp下e)
/dev/sda7 fat32(xp下f)
/dev/sda8 fat32(linux和xp共用的,在linux下开机不挂载)
不知道哪里出错了,哪位仁兄帮忙分析一下,谢谢了

------解决方案--------------------
好奇怪的问题,没见过!
------解决方案--------------------
看日志是进程更新什么东西挂了。
------解决方案--------------------
最好先在windows下好好扫描一遍fat

fat本身很不可靠,极易出问题

而windows下出了问题的文件系统在linux下很可能扩大问题……fat的linux支持本身又是个内核级驱动程序,出了问题就是宕机

另外,发行版是?
------解决方案--------------------
探讨
安装双系统后在xp下不死机、在linux下不定期死机。基本每天一次。后来在系统日志中发现以下记录:
May 3 20:14:35 localhost kernel: Bad page state in process 'updatedb'
May 3 20:14:35 localhost kernel: page:c11adae0 flags:0x8000082c mapping:ec0e……