当前时区为 UTC + 8 小时



发表新帖 回复这个主题  [ 4 篇帖子 ] 
作者 内容
1 楼 
 文章标题 : sata硬盘的问题
帖子发表于 : 2008-10-01 14:26 
头像

注册: 2005-10-25 8:44
帖子: 233
送出感谢: 0 次
接收感谢: 0 次
加了块sata硬盘,系统出现读写操作时反应特别慢,当前窗口变暗。等待数分钟后恢复,之后重新出现。系统是8.04。格掉重装,安装失败,在安装过程中时进另一个tty(CtrlAltF2)实时查看系统log(tail -f /var/log/syslog),失败时遇到的问题相同。

syslog如下:

引用:
Sep 29 22:53:16 ubuntu kernel: [ 757.928941] ata3.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x2 frozen
Sep 29 22:54:02 ubuntu kernel: [ 757.928955] ata3.00: cmd 35/00:08:c2:1b:ba/00:00:11:00:00/e0 tag 0 dma 4096 out
Sep 29 22:54:02 ubuntu kernel: [ 757.928957] res 40/00:00:00:00:00/00:00:00:00:00/00 Emask 0x4 (timeout)
Sep 29 22:54:02 ubuntu kernel: [ 757.928961] ata3.00: status: { DRDY }
Sep 29 22:54:02 ubuntu kernel: [ 762.967915] ata3: port is slow to respond, please be patient (Status 0xd0)
Sep 29 22:54:02 ubuntu kernel: [ 767.950925] ata3: device not ready (errno=-16), forcing hardreset
Sep 29 22:54:02 ubuntu kernel: [ 767.950933] ata3: soft resetting link
Sep 29 22:54:02 ubuntu kernel: [ 797.241138] ata3.01: revalidation failed (errno=-2)
Sep 29 22:54:02 ubuntu kernel: [ 797.241146] ata3: failed to recover some devices, retrying in 5 secs
Sep 29 22:54:02 ubuntu kernel: [ 802.244133] ata3: soft resetting link
Sep 29 22:54:02 ubuntu kernel: [ 803.528187] ata3.00: configured for UDMA/100
Sep 29 22:54:02 ubuntu kernel: [ 803.544261] ata3.01: configured for UDMA/100
Sep 29 22:54:02 ubuntu kernel: [ 803.544289] ata3: EH complete
Sep 29 22:54:02 ubuntu kernel: [ 803.544659] sd 2:0:0:0: [sdb] 390721968 512-byte hardware sectors (200050 MB)
Sep 29 22:54:02 ubuntu kernel: [ 803.544898] sd 2:0:0:0: [sdb] Write Protect is off
Sep 29 22:54:02 ubuntu kernel: [ 803.544902] sd 2:0:0:0: [sdb] Mode Sense: 00 3a 00 00
Sep 29 22:54:02 ubuntu kernel: [ 803.545360] sd 2:0:0:0: [sdb] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
Sep 29 22:54:02 ubuntu kernel: [ 803.545795] sd 2:0:1:0: [sdc] 156301488 512-byte hardware sectors (80026 MB)
Sep 29 22:54:02 ubuntu kernel: [ 803.552044] sd 2:0:1:0: [sdc] Write Protect is off
Sep 29 22:54:02 ubuntu kernel: [ 803.552055] sd 2:0:1:0: [sdc] Mode Sense: 00 3a 00 00
Sep 29 22:54:02 ubuntu kernel: [ 803.573491] sd 2:0:1:0: [sdc] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
Sep 29 22:54:02 ubuntu kernel: [ 803.584466] sd 2:0:0:0: [sdb] 390721968 512-byte hardware sectors (200050 MB)
Sep 29 22:54:02 ubuntu kernel: [ 803.587891] sd 2:0:0:0: [sdb] Write Protect is off
Sep 29 22:54:02 ubuntu kernel: [ 803.587900] sd 2:0:0:0: [sdb] Mode Sense: 00 3a 00 00
Sep 29 22:54:02 ubuntu kernel: [ 803.615848] sd 2:0:0:0: [sdb] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
Sep 29 22:54:02 ubuntu kernel: [ 803.626949] sd 2:0:1:0: [sdc] 156301488 512-byte hardware sectors (80026 MB)
Sep 29 22:54:02 ubuntu kernel: [ 803.633798] sd 2:0:1:0: [sdc] Write Protect is off
Sep 29 22:54:02 ubuntu kernel: [ 803.633806] sd 2:0:1:0: [sdc] Mode Sense: 00 3a 00 00
Sep 29 22:54:02 ubuntu kernel: [ 803.634236] sd 2:0:1:0: [sdc] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
Sep 29 22:55:38 ubuntu kernel: [ 899.540794] ata3.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x2 frozen
Sep 29 22:55:38 ubuntu kernel: [ 899.540808] ata3.00: cmd 35/00:08:ba:e4:ba/00:00:11:00:00/e0 tag 0 dma 4096 out
Sep 29 22:55:38 ubuntu kernel: [ 899.540811] res 40/00:00:00:00:00/00:00:00:00:00/00 Emask 0x4 (timeout)
Sep 29 22:55:38 ubuntu kernel: [ 899.540815] ata3.00: status: { DRDY }
Sep 29 22:55:43 ubuntu kernel: [ 904.771387] ata3: port is slow to respond, please be patient (Status 0xd0)
Sep 29 22:55:48 ubuntu kernel: [ 909.594769] ata3: device not ready (errno=-16), forcing hardreset
Sep 29 22:55:48 ubuntu kernel: [ 909.594777] ata3: soft resetting link
Sep 29 22:55:49 ubuntu kernel: [ 910.746910] ata3.00: configured for UDMA/100
Sep 29 22:55:49 ubuntu kernel: [ 910.754988] ata3.01: configured for UDMA/100
Sep 29 22:55:49 ubuntu kernel: [ 910.755011] ata3: EH complete
Sep 29 22:55:49 ubuntu kernel: [ 910.755707] sd 2:0:0:0: [sdb] 390721968 512-byte hardware sectors (200050 MB)
Sep 29 22:55:49 ubuntu kernel: [ 910.758803] sd 2:0:0:0: [sdb] Write Protect is off
Sep 29 22:55:49 ubuntu kernel: [ 910.758811] sd 2:0:0:0: [sdb] Mode Sense: 00 3a 00 00
Sep 29 22:55:49 ubuntu kernel: [ 910.791428] sd 2:0:0:0: [sdb] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
Sep 29 22:55:49 ubuntu kernel: [ 910.813283] sd 2:0:1:0: [sdc] 156301488 512-byte hardware sectors (80026 MB)
Sep 29 22:55:49 ubuntu kernel: [ 910.818447] sd 2:0:1:0: [sdc] Write Protect is off
Sep 29 22:55:49 ubuntu kernel: [ 910.818457] sd 2:0:1:0: [sdc] Mode Sense: 00 3a 00 00
Sep 29 22:55:53 ubuntu kernel: [ 910.835808] sd 2:0:1:0: [sdc] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
Sep 29 22:55:53 ubuntu kernel: [ 910.836227] sd 2:0:0:0: [sdb] 390721968 512-byte hardware sectors (200050 MB)
Sep 29 22:55:53 ubuntu kernel: [ 910.836243] sd 2:0:0:0: [sdb] Write Protect is off
Sep 29 22:55:53 ubuntu kernel: [ 910.836246] sd 2:0:0:0: [sdb] Mode Sense: 00 3a 00 00
Sep 29 22:55:53 ubuntu kernel: [ 910.836261] sd 2:0:0:0: [sdb] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
Sep 29 22:55:53 ubuntu kernel: [ 910.836277] sd 2:0:1:0: [sdc] 156301488 512-byte hardware sectors (80026 MB)
Sep 29 22:55:53 ubuntu kernel: [ 910.836287] sd 2:0:1:0: [sdc] Write Protect is off
Sep 29 22:55:53 ubuntu kernel: [ 910.836290] sd 2:0:1:0: [sdc] Mode Sense: 00 3a 00 00
Sep 29 22:55:53 ubuntu kernel: [ 910.836303] sd 2:0:1:0: [sdc] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
Sep 29 22:57:20 ubuntu kernel: [ 1001.680488] ata3.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x2 frozen
Sep 29 22:57:20 ubuntu kernel: [ 1001.680503] ata3.00: cmd 25/00:10:3e:ed:46/00:00:15:00:00/e0 tag 0 dma 8192 in
Sep 29 22:57:20 ubuntu kernel: [ 1001.680505] res 40/00:00:00:00:00/00:00:00:00:00/00 Emask 0x4 (timeout)
Sep 29 22:57:20 ubuntu kernel: [ 1001.680509] ata3.00: status: { DRDY }
Sep 29 22:57:25 ubuntu kernel: [ 1006.727460] ata3: port is slow to respond, please be patient (Status 0xd0)
Sep 29 22:57:30 ubuntu kernel: [ 1011.730466] ata3: device not ready (errno=-16), forcing hardreset
Sep 29 22:57:30 ubuntu kernel: [ 1011.730473] ata3: soft resetting link
Sep 29 22:57:31 ubuntu kernel: [ 1012.882576] ata3.00: configured for UDMA/100
Sep 29 22:57:31 ubuntu kernel: [ 1012.890638] ata3.01: configured for UDMA/100
Sep 29 22:57:31 ubuntu kernel: [ 1012.890659] ata3: EH complete


页首
 用户资料  
 
2 楼 
 文章标题 : Re: sata硬盘的问题
帖子发表于 : 2008-10-01 14:47 

注册: 2006-09-11 22:47
帖子: 2841
送出感谢: 0 次
接收感谢: 4
你这个问题可以google出一大堆。这个问题是Linux 内核的问题,发行版是解决不了的。

有的人通过BIOS设置中改变SATA硬盘的操作方式解决这个问题,但我目前测试唯一有效的办法是修改跳线。

也就是说,如果你把设备的MA,SL,CS跳线换一下(当然,跳线有可能需要接线方式一起换),直到换到不出下面这个字样为止。——注意主要考虑有跳线的设备,也就是说PATA硬盘和PATA的光驱跳线——不要以为你是SATA硬盘出问题就与PATA没有关系,其实有可能正是他们的关系。

Sep 29 22:54:02 ubuntu kernel: [ 762.967915] ata3: port is slow to respond, please be patient (Status 0xd0)
Sep 29 22:54:02 ubuntu kernel: [ 767.950925] ata3: device not ready (errno=-16), forcing hardreset

启动的时候使用安全模式启动,可以查看所有信息,仔细看有没有上面的信息,没有就表示OK了。


页首
 用户资料  
 
3 楼 
 文章标题 : Re: sata硬盘的问题
帖子发表于 : 2008-10-01 17:13 
头像

注册: 2005-10-25 8:44
帖子: 233
送出感谢: 0 次
接收感谢: 0 次
能否介绍一下改变bios的方式?我也是google出一大推但并没有找到合适的解决方式。
现在我有3块硬盘,2个光驱,改跳线的话各种排列组合能折腾死人……
ps:那块sata不是主盘,现在上面什么跳线也没有。曾经换过数据线插槽,但是不起作用。


页首
 用户资料  
 
4 楼 
 文章标题 : Re: sata硬盘的问题
帖子发表于 : 2008-10-05 20:19 
头像

注册: 2005-10-25 8:44
帖子: 233
送出感谢: 0 次
接收感谢: 0 次
汗,那天用一个叫什么sector regenerator的光盘检查硬盘,发现一个坏扇区,修复就不再有问题了……

以前遇上类似问题kernel log会报IO Error,这次居然是什么exceptional mask……


页首
 用户资料  
 
显示帖子 :  排序  
发表新帖 回复这个主题  [ 4 篇帖子 ] 

当前时区为 UTC + 8 小时


在线用户

正在浏览此版面的用户:没有注册用户 和 3 位游客


不能 在这个版面发表主题
不能 在这个版面回复主题
不能 在这个版面编辑帖子
不能 在这个版面删除帖子
不能 在这个版面提交附件

前往 :  
本站点为公益性站点,用于推广开源自由软件,由 DiaHosting VPSBudgetVM VPS 提供服务。
我们认为:软件应可免费取得,软件工具在各种语言环境下皆可使用,且不会有任何功能上的差异;
人们应有定制和修改软件的自由,且方式不受限制,只要他们自认为合适。

Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
简体中文语系由 王笑宇 翻译