hard drive error messages dmesg

hard drive error messages dmesg

Postby DarrenHaye » Wed Aug 04, 2010 3:12 am

Code: Select all
ata1: translated ATA stat/err 0x51/04 to SCSI SK/ASC/ASCQ 0xb/00/00
ata1: status=0x51 { DriveReady SeekComplete Error }
ata1: error=0x04 { DriveStatusError }


Many times these errors indicate drive failure in the near future. If you are unfortunate enough to witness these messages there are a few steps that can be taken.

* First: Begin backing things up starting with the most critical. If the drives are dying, the less disk activity there is, the longer it may live so choose wisely.

* Second: If the drives are still running after backing up essential files, it's time to check if the drives truly are failing. To do this, install sys-apps/smartmontools if you haven't already. After installing them, check IDE (hdX) drives (where X is your drive letter) by

Code: Select all
smartctl -a /dev/hdX



For SATA (sdX) drives, try:
Code: Select all
smartctl -a --device=ata /dev/sdX


Third: If no errors are reported, you may have escaped drive failure and a simple kernel config option may cure the errors. For kernel versions >=2.6.19, try enabling:

Code: Select all
CONFIG_IDEDISK_MULTI_MODE:
If you get this error, try to say Y here:

hda: set_multmode: status=0x51 { DriveReady SeekComplete Error }
hda: set_multmode: error=0x04 { DriveStatusError }

If in doubt, say N.

Symbol: IDEDISK_MULTI_MODE [=y]
Prompt: Use multi-mode by default
   Defined at drivers/ide/Kconfig:156
   Depends on: BLOCK && IDE && BLK_DEV_IDE
   Location:
     -> Device Drivers
       -> ATA/ATAPI/MFM/RLL support
         -> ATA/ATAPI/MFM/RLL support (IDE [=y])
           -> Enhanced IDE/MFM/RLL disk/cdrom/tape/floppy support (BLK_DEV_IDE [=y])
User avatar
DarrenHaye
 
Posts: 1257
Joined: Thu Dec 17, 2009 10:33 am


Return to Computers

Who is online

Users browsing this forum: Google [Bot] and 2 guests

cron