Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Frequently Asked Questions
  • Search

SA8: What are these hard drive error messages dmesg?

Some of the most commonly heard questions in the Gentoo Community, along with answers.
Post Reply
Advanced search
1 post • Page 1 of 1
Author
Message
cynric
Guru
Guru
User avatar
Posts: 439
Joined: Fri Oct 08, 2004 2:14 am

SA8: What are these hard drive error messages dmesg?

  • Quote

Post by cynric » Mon Jun 04, 2007 4:26 am

Navigation: [System Administration] [Table of Contents]

Q: What are these hard drive error messages dmesg?

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 }
A: 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])
"This Snow Crash thing -- is it a virus, a drug, or a religion?" "What's the difference?"
-- Neal Stephenson - Snow Crash
Top
Post Reply
1 post • Page 1 of 1

Return to “Frequently Asked Questions”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy