お知らせ

  • 利用規約を守って投稿してください。また、よくある質問および投稿の手引きも参照してください。
  • メッセージの投稿にはアカウントが必要です。未登録の方は、ユーザ登録ページからアカウントを作成することができます。

#1 2011-07-26 08:11:40

body-and-soul
メンバ
登録日: 2009-03-11

「カーネル・エラー」ディスククラッシュの前兆?

最近、ログに次のようなエラーが記録されるようになりました。
これはブートディスク(/dev/sda)のクラッシュの前兆なのでしょうか?
以下のログは、少し長いので恐縮ですが、ご意見を頂ければ幸いです。
よろしくお願いいたします。


WARNING:  Kernel Errors Present
    [  591.995618]          res 51/40:00:e5:98:4e/40:00:00:00:00/00 Emask 0x9 (media error) ...:  1 Time(s)
    [  591.995623] ata3.00: error: { UNC } ...:  1 Time(s)
    [  595.194006]          res 51/40:00:e5:98:4e/40:00:00:00:00/00 Emask 0x9 (media error) ...:  1 Time(s)
    [  595.194011] ata3.00: error: { UNC } ...:  1 Time(s)
    [  598.383909]          res 51/40:00:e5:98:4e/40:00:00:00:00/00 Emask 0x9 (media error) ...:  1 Time(s)
    [  598.383914] ata3.00: error: { UNC } ...:  1 Time(s)
    [  601.499138]          res 51/40:00:e5:98:4e/40:00:00:00:00/00 Emask 0x9 (media error) ...:  1 Time(s)
    [  601.499143] ata3.00: error: { UNC } ...:  1 Time(s)
    [  604.664118]          res 51/40:00:e5:98:4e/40:00:00:00:00/00 Emask 0x9 (media error) ...:  1 Time(s)
    [  604.664123] ata3.00: error: { UNC } ...:  1 Time(s)
    [  607.812572]          res 51/40:00:e5:98:4e/40:00:00:00:00/00 Emask 0x9 (media error) ...:  1 Time(s)
    [  607.812578] ata3.00: error: { UNC } ...:  1 Time(s)
    [  608.015745] sd 2:0:0:0: [sda]  Sense Key : Medium Error [current] [descr ...:  1 Time(s)
    [  608.015766] sd 2:0:0:0: [sda]  Add. Sense: Unrecovered read error - auto reallocat ...:  1 Time(s)
    [  608.015782] end_request: I/O error, dev sda, sector ...:  1 Time(s)
    [  611.077656]          res 51/40:00:e5:98:4e/40:00:00:00:00/00 Emask 0x9 (media error) ...:  1 Time(s)
    [  611.077661] ata3.00: error: { UNC } ...:  1 Time(s)
    [  614.609078]          res 51/40:00:e5:98:4e/40:00:00:00:00/00 Emask 0x9 (media error) ...:  1 Time(s)
    [  614.609083] ata3.00: error: { UNC } ...:  1 Time(s)
    [  617.782511]          res 51/40:00:e5:98:4e/40:00:00:00:00/00 Emask 0x9 (media error) ...:  1 Time(s)
    [  617.782515] ata3.00: error: { UNC } ...:  1 Time(s)
    [  620.930981]          res 51/40:00:e5:98:4e/40:00:00:00:00/00 Emask 0x9 (media error) ...:  1 Time(s)
    [  620.930986] ata3.00: error: { UNC } ...:  1 Time(s)
    [ 6804.183306] end_request: I/O error, dev sr0, sector ...:  1 Time(s)
    [ 6804.185401] end_request: I/O error, dev sr0, sector ...:  1 Time(s)
    [ 6804.187503] end_request: I/O error, dev sr0, sector ...:  1 Time(s)

1 Time(s): NOHZ: local_softirq_pending 08
1 Time(s): [  591.995602] ata3.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x0
1 Time(s): [  591.995607] ata3.00: BMDMA stat 0x24
1 Time(s): [  591.995610] ata3.00: failed command: READ DMA
1 Time(s): [  591.995617] ata3.00: cmd c8/00:08:df:98:4e/00:00:00:00:00/e0 tag 0 dma 4096 in
1 Time(s): [  591.995621] ata3.00: status: { DRDY ERR }
1 Time(s): [  592.211863] ata3.00: configured for UDMA/133
1 Time(s): [  592.211872] ata3: EH complete
1 Time(s): [  595.193992] ata3.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x0
1 Time(s): [  595.193995] ata3.00: BMDMA stat 0x24
1 Time(s): [  595.193999] ata3.00: failed command: READ DMA
1 Time(s): [  595.194005] ata3.00: cmd c8/00:08:df:98:4e/00:00:00:00:00/e0 tag 0 dma 4096 in
1 Time(s): [  595.194009] ata3.00: status: { DRDY ERR }
1 Time(s): [  595.395745] ata3.00: configured for UDMA/133
1 Time(s): [  595.395755] ata3: EH complete
1 Time(s): [  598.383894] ata3.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x0
1 Time(s): [  598.383898] ata3.00: BMDMA stat 0x24
1 Time(s): [  598.383902] ata3.00: failed command: READ DMA
1 Time(s): [  598.383908] ata3.00: cmd c8/00:08:df:98:4e/00:00:00:00:00/e0 tag 0 dma 4096 in
1 Time(s): [  598.383912] ata3.00: status: { DRDY ERR }
1 Time(s): [  598.571639] ata3.00: configured for UDMA/133
1 Time(s): [  598.571646] ata3: EH complete
1 Time(s): [  601.499124] ata3.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x0
1 Time(s): [  601.499127] ata3.00: BMDMA stat 0x24
1 Time(s): [  601.499131] ata3.00: failed command: READ DMA
1 Time(s): [  601.499137] ata3.00: cmd c8/00:08:df:98:4e/00:00:00:00:00/e0 tag 0 dma 4096 in
1 Time(s): [  601.499141] ata3.00: status: { DRDY ERR }
1 Time(s): [  601.691795] ata3.00: configured for UDMA/133
1 Time(s): [  601.691806] ata3: EH complete
1 Time(s): [  604.664103] ata3.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x0
1 Time(s): [  604.664107] ata3.00: BMDMA stat 0x24
1 Time(s): [  604.664111] ata3.00: failed command: READ DMA
1 Time(s): [  604.664117] ata3.00: cmd c8/00:08:df:98:4e/00:00:00:00:00/e0 tag 0 dma 4096 in
1 Time(s): [  604.664121] ata3.00: status: { DRDY ERR }
1 Time(s): [  604.843714] ata3.00: configured for UDMA/133
1 Time(s): [  604.843723] ata3: EH complete
1 Time(s): [  607.812557] ata3.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x0
1 Time(s): [  607.812562] ata3.00: BMDMA stat 0x24
1 Time(s): [  607.812565] ata3.00: failed command: READ DMA
1 Time(s): [  607.812571] ata3.00: cmd c8/00:08:df:98:4e/00:00:00:00:00/e0 tag 0 dma 4096 in
1 Time(s): [  607.812576] ata3.00: status: { DRDY ERR }
1 Time(s): [  608.015728] ata3.00: configured for UDMA/133
1 Time(s): [  608.015738] sd 2:0:0:0: [sda] Unhandled sense code
1 Time(s): [  608.015741] sd 2:0:0:0: [sda]  Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE
1 Time(s): [  608.015750] Descriptor sense data with sense descriptors (in hex):
1 Time(s): [  608.015752]         72 03 11 04 00 00 00 0c 00 0a 80 00 00 00 00 00
1 Time(s): [  608.015762]         00 4e 98 e5
1 Time(s): [  608.015772] sd 2:0:0:0: [sda] CDB: Read(10): 28 00 00 4e 98 df 00 00 08 00
1 Time(s): [  608.015801] ata3: EH complete
1 Time(s): [  611.077640] ata3.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x0
1 Time(s): [  611.077645] ata3.00: BMDMA stat 0x24
1 Time(s): [  611.077648] ata3.00: failed command: READ DMA
1 Time(s): [  611.077654] ata3.00: cmd c8/00:08:df:98:4e/00:00:00:00:00/e0 tag 0 dma 4096 in
1 Time(s): [  611.077658] ata3.00: status: { DRDY ERR }
1 Time(s): [  611.631667] ata3.00: configured for UDMA/133
1 Time(s): [  611.631682] ata3: EH complete
1 Time(s): [  614.609062] ata3.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x0
1 Time(s): [  614.609066] ata3.00: BMDMA stat 0x24
1 Time(s): [  614.609070] ata3.00: failed command: READ DMA
1 Time(s): [  614.609076] ata3.00: cmd c8/00:08:df:98:4e/00:00:00:00:00/e0 tag 0 dma 4096 in
1 Time(s): [  614.609081] ata3.00: status: { DRDY ERR }
1 Time(s): [  614.827812] ata3.00: configured for UDMA/133
1 Time(s): [  614.827824] ata3: EH complete
1 Time(s): [  617.782500] ata3.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x0
1 Time(s): [  617.782503] ata3.00: BMDMA stat 0x24
1 Time(s): [  617.782506] ata3.00: failed command: READ DMA
1 Time(s): [  617.782511] ata3.00: cmd c8/00:08:df:98:4e/00:00:00:00:00/e0 tag 0 dma 4096 in
1 Time(s): [  617.782514] ata3.00: status: { DRDY ERR }
1 Time(s): [  617.967735] ata3.00: configured for UDMA/133
1 Time(s): [  617.967747] ata3: EH complete
1 Time(s): [  620.930965] ata3.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x0
1 Time(s): [  620.930969] ata3.00: BMDMA stat 0x24
1 Time(s): [  620.930973] ata3.00: failed command: READ DMA
1 Time(s): [  620.930979] ata3.00: cmd c8/00:08:df:98:4e/00:00:00:00:00/e0 tag 0 dma 4096 in
1 Time(s): [  620.930983] ata3.00: status: { DRDY ERR }
1 Time(s): [  621.123725] ata3.00: configured for UDMA/133
1 Time(s): [  621.123735] ata3: EH complete
1 Time(s): [  675.428780] UDF-fs: Partition marked readonly; forcing readonly mount
1 Time(s): [  675.482591] UDF-fs INFO UDF: Mounting volume 'Flash_Forward_S1_Vol6_JPN_DES', timestamp 2011/01/08 09:55 (121c)
1 Time(s): [ 4440.360045] CE: hpet increased min_delta_ns to 20113 nsec
1 Time(s): [ 6804.111804] VFS: busy inodes on changed media or resized disk sr0
1 Time(s): [ 6804.183278] sr 0:0:1:0: [sr0] Device not ready
1 Time(s): [ 6804.183282] sr 0:0:1:0: [sr0]  Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE
1 Time(s): [ 6804.183286] sr 0:0:1:0: [sr0]  Sense Key : Not Ready [current]
1 Time(s): [ 6804.183290] sr 0:0:1:0: [sr0]  Add. Sense: Medium not present - tray closed
1 Time(s): [ 6804.183296] sr 0:0:1:0: [sr0] CDB: Read(10): 28 00 00 00 01 0a 00 00 01 00
1 Time(s): [ 6804.185377] sr 0:0:1:0: [sr0] Device not ready
1 Time(s): [ 6804.185380] sr 0:0:1:0: [sr0]  Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE
1 Time(s): [ 6804.185383] sr 0:0:1:0: [sr0]  Sense Key : Not Ready [current]
1 Time(s): [ 6804.185387] sr 0:0:1:0: [sr0]  Add. Sense: Medium not present - tray closed
1 Time(s): [ 6804.185392] sr 0:0:1:0: [sr0] CDB: Read(10): 28 00 00 00 01 0a 00 00 01 00
1 Time(s): [ 6804.187477] sr 0:0:1:0: [sr0] Device not ready
1 Time(s): [ 6804.187480] sr 0:0:1:0: [sr0]  Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE
1 Time(s): [ 6804.187484] sr 0:0:1:0: [sr0]  Sense Key : Not Ready [current]
1 Time(s): [ 6804.187488] sr 0:0:1:0: [sr0]  Add. Sense: Medium not present - tray closed
1 Time(s): [ 6804.187493] sr 0:0:1:0: [sr0] CDB: Read(10): 28 00 00 00 01 0a 00 00 01 00
3 Time(s): r8169 0000:04:00.0: eth0: link up

オフライン

 

#2 2011-07-26 09:50:17

hmatsue
アドバイザ
登録日: 2009-03-10

Re: 「カーネル・エラー」ディスククラッシュの前兆?

body-and-soul による投稿:

最近、ログに次のようなエラーが記録されるようになりました。
これはブートディスク(/dev/sda)のクラッシュの前兆なのでしょうか?

下記のエラーがでており、
1. Kernel側がエンバグした
2. ケーブルが断線しかかっている
3. HDDそのものが壊れかかっている
などが怪しいかと思います。

コード:

    [  608.015745] sd 2:0:0:0: [sda]  Sense Key : Medium Error [current] [descr ...:  1 Time(s)
    [  608.015766] sd 2:0:0:0: [sda]  Add. Sense: Unrecovered read error - auto reallocat ...:  1 Time(s)

1については、ちょうどカーネルの更新のタイミングとエラーが出始めたタイミングが一致するか、以前のカーネルで起動した場合はエラーがでないか、などを確認することで切り分けられるかと思います。
2,3については、ハードウェアの問題なので、交換するか、PCそのものを買い直すか、となるかと思います。
一応、

コード:

sudo smartctl -a /dev/sda
sudo smartctl -H /dev/sda

の結果も参考程度に見ておくと良いかもです。

オフライン

 

#3 2011-07-26 22:14:27

body-and-soul
メンバ
登録日: 2009-03-11

Re: 「カーネル・エラー」ディスククラッシュの前兆?

 ご返信が遅くなりました。
 ご丁寧なアドバイス、感謝いたします。

 次のコマンドを実行してみました。

~$ sudo smartctl -l error /dev/sda
smartctl 5.40 2010-07-12 r3124 [i686-pc-linux-gnu] (local build)
Copyright (C) 2002-10 by Bruce Allen, http://smartmontools.sourceforge.net

=== START OF READ SMART DATA SECTION ===
SMART Error Log Version: 1
ATA Error Count: 261 (device log contains only the most recent five errors)
(以下、省略)

 他方、正常な(そのはず)ディスクに対して同様のコマンドを実行すると、次のようになります。

~$ sudo smartctl -l error /dev/sdb
smartctl 5.40 2010-07-12 r3124 [i686-pc-linux-gnu] (local build)
Copyright (C) 2002-10 by Bruce Allen, http://smartmontools.sourceforge.net

=== START OF READ SMART DATA SECTION ===
SMART Error Log Version: 0
No Errors Logged

 どうやら、/dev/sdaはかなり危険な状態にあると言わざるを得ないようです。
 ちなみに、次のコマンドを実行すると、

~$ sudo smartctl -a /dev/sda

 その中の以下の行は「321」を示し、

197 Current_Pending_Sector  0x0012   085   083   000    Old_age   Always   321

 正常なディスクの場合には、

~$ sudo smartctl -a /dev/sdb

 次のようになります。

197 Current_Pending_Sector  0x0022   100   100   000    Old_age   Always   0

 嗚呼、これはもうディスク異常も確定でしょうか?

オフライン

 

#4 2011-07-26 22:54:59

hmatsue
アドバイザ
登録日: 2009-03-10

Re: 「カーネル・エラー」ディスククラッシュの前兆?

どうもそのようですね。
今のうちに救えるデータだけでも救出して、HDD交換なりPC交換なりされるのがよろしいかと思います。

オフライン

 

#5 2011-07-27 14:10:36

body-and-soul
メンバ
登録日: 2009-03-11

Re: 「カーネル・エラー」ディスククラッシュの前兆?

アドバイス、ありがとうございました。
できるだけ早期にディスク交換しようと思います。

まだ、ほんの2年くらいしか使っていないのですが…

オフライン

 

#6 2011-07-27 23:37:16

hmatsue
アドバイザ
登録日: 2009-03-10

Re: 「カーネル・エラー」ディスククラッシュの前兆?

2年なら経験的には壊れるには少し早い気もしますが、
壊れても不思議は無いとも言える期間ですね。
実際には使い方や環境などにもよると思いますので、なんとも言いがたいところではありますが。。

自分の知識の範囲内では壊れかけているとしか思えないのですが、smartctlでテストを走らせてみるのもよいかもですね。
# あとは、やったことはないので詳細分かりませんが、HDDメーカに保証を求めるとか?
# ものによっては3年くらいの保証期間が付いていたりもするようです。
# http://wiki.nothing.sh/page/HDD%20RMA

オフライン

 

Board footer

Powered by FluxBB