Skip to contentSkip to conversation

ICH4-M ACPI Error

DISCUSSION Lee Trager 2 participants 8 messages Aug 16, 2006 – Aug 17, 2006 2 messages not in the archive libata

lore
Share & tools
lore

Lee Trager

author
#0 lore raw

Hey I've been having this problem for awhile on my laptop(IBM Thinkpad T40) and have no been able to figure out how to fix it. It seems that when ever I resume my laptop from suspend(from hard drive or RAM) my dmesg is filled with this and I am unable to do anything that requires access to the hard drive.

ide: failed opcode was: unknown
hda: task_out_intr: status=0x51 { DriveReady SeekComplete Error }
hda: task_out_intr: error=0x10 { SectorIdNotFound }, LBAsect=74853287, sector=74853287

I checked the drive with the IBM hardware analysis tools as well as the Hitachi Drive Fitness extended test and both say the drive is fine. What is strange is that according to hdparm my drive only has 72037362 sectors while this error is on sector 74853287.

This error happens with and without wireless, DMA, and alsa. The kernel option in ATA/ATAPI/MFM/RLL support named IDEDISK_MULTI_MODE does not fix the error. I have also tested this with the mainline kernel, supend2 sources, gentoo sources, and the Knoppix boot disc and this error happens on all of them. I talked to one of the suspend2 developers and he said that the problem is with my IDE driver not properly waking the drive up. Could someone please help me?

Here is some system information

Distribution: Gentoo 2006.0
Laptop: IBM Thinkpad T40
IDE Controller: Intel Corporation 82801DBM (ICH4-M) IDE Controller (rev 01)
Harddrive: Hitachi IC25N040ATCS05-0
Software Environment:
GLIBC: 2.4
GCC: 4.1.1
Kernel: Gentoo-sources-2.6.17-r5(although I tried with a number of other sources as stated above)

Thanks,

Lee

#1 lore raw
Quoted 26 lines · Lee Trager

Hey I've been having this problem for awhile on my laptop(IBM Thinkpad T40) and have no been able to figure out how to fix it. It seems that when ever I resume my laptop from suspend(from hard drive or RAM) my dmesg is filled with this and I am unable to do anything that requires access to the hard drive.

ide: failed opcode was: unknown
hda: task_out_intr: status=0x51 { DriveReady SeekComplete Error }
hda: task_out_intr: error=0x10 { SectorIdNotFound }, LBAsect=74853287, sector=74853287

I checked the drive with the IBM hardware analysis tools as well as the Hitachi Drive Fitness extended test and both say the drive is fine. What is strange is that according to hdparm my drive only has 72037362 sectors while this error is on sector 74853287.

This error happens with and without wireless, DMA, and alsa. The kernel option in ATA/ATAPI/MFM/RLL support named IDEDISK_MULTI_MODE does not fix the error. I have also tested this with the mainline kernel, supend2 sources, gentoo sources, and the Knoppix boot disc and this error happens on all of them. I talked to one of the suspend2 developers and he said that the problem is with my IDE driver not properly waking the drive up. Could someone please help me?

Here is some system information

Quoted 9 lines

Distribution: Gentoo 2006.0
Laptop: IBM Thinkpad T40
IDE Controller: Intel Corporation 82801DBM (ICH4-M) IDE Controller (rev 01)
Harddrive: Hitachi IC25N040ATCS05-0
Software Environment:
GLIBC: 2.4
GCC: 4.1.1
Kernel: Gentoo-sources-2.6.17-r5(although I tried with a number of other sources as stated above)

Can you try 2.6.18-rc4?

Signature · 1 line
tejun

A message that is not in the archive (sent off-list or not yet received): [email protected]

A message that is not in the archive (sent off-list or not yet received): [email protected]

#4 lore raw

[resending as reply to add linux-ide back, please don't drop cc list]

Quoted 17 lines · Tejun Heo
Quoted 8 lines · Lee Trager
Quoted 7 lines · Tejun Heo
Quoted 6 lines · Lee Trager

Hey I've been having this problem for awhile on my laptop(IBM Thinkpad T40) and have no been able to figure out how to fix it. It seems that when ever I resume my laptop from suspend(from hard drive or RAM) my dmesg is filled with this and I am unable to do anything that requires access to the hard drive.

Quoted 4 lines
Quoted 4 lines
Quoted 4 lines

ide: failed opcode was: unknown
hda: task_out_intr: status=0x51 { DriveReady SeekComplete Error }
hda: task_out_intr: error=0x10 { SectorIdNotFound }, LBAsect=74853287, sector=74853287

Ah... it was the IDE driver, sorry. You can try using Alan Cox's libata pata drivers patch which is included in recent -mm trees. With the patch, libata ata_piix driver can drive the controller instead of ide and it has better error handling.

Be warned that the drive will come up as /dev/sda instead of /dev/hda and it currently doesn't disable host protected area unlike IDE, so your disk can be messed up.

Signature · 1 line
tejun
author
#5 lore raw
Quoted 28 lines · Tejun Heo

[resending as reply to add linux-ide back, please don't drop cc list]

Quoted 25 lines · Tejun Heo
Quoted 10 lines · Lee Trager
Quoted 9 lines · Tejun Heo
Quoted 8 lines · Lee Trager

Hey I've been having this problem for awhile on my laptop(IBM Thinkpad
T40) and have no been able to figure out how to fix it. It seems that when ever I resume my laptop from suspend(from hard drive or RAM) my dmesg is filled with this and I am unable to do anything that requires
access to the hard drive.

Quoted 5 lines
Quoted 5 lines
Quoted 5 lines

ide: failed opcode was: unknown
hda: task_out_intr: status=0x51 { DriveReady SeekComplete Error }
hda: task_out_intr: error=0x10 { SectorIdNotFound }, LBAsect=74853287,
sector=74853287

Ah... it was the IDE driver, sorry. You can try using Alan Cox's libata pata drivers patch which is included in recent -mm trees. With the patch, libata ata_piix driver can drive the controller instead of ide and it has better error handling.

Be warned that the drive will come up as /dev/sda instead of /dev/hda and it currently doesn't disable host protected area unlike IDE, so your disk can be messed up.

Isn't libata for SATA drivers? My drive is an IDE. Also I'm worried about using something that could mess up my drive when this is going to be used for school next month and I need something that can sleep as well as reliable.

author
#6 lore raw
Quoted 31 lines · Lee Trager
Quoted 29 lines · Tejun Heo

[resending as reply to add linux-ide back, please don't drop cc list]

Quoted 25 lines · Tejun Heo
Quoted 12 lines · Lee Trager
Quoted 10 lines · Tejun Heo
Quoted 8 lines · Lee Trager

Hey I've been having this problem for awhile on my laptop(IBM Thinkpad
T40) and have no been able to figure out how to fix it. It seems that when ever I resume my laptop from suspend(from hard drive or RAM) my dmesg is filled with this and I am unable to do anything that requires
access to the hard drive.

Quoted 6 lines
Quoted 6 lines
Quoted 6 lines

ide: failed opcode was: unknown
hda: task_out_intr: status=0x51 { DriveReady SeekComplete Error }
hda: task_out_intr: error=0x10 { SectorIdNotFound }, LBAsect=74853287,
sector=74853287

Ah... it was the IDE driver, sorry. You can try using Alan Cox's libata pata drivers patch which is included in recent -mm trees. With the patch, libata ata_piix driver can drive the controller instead of ide and it has better error handling.

Quoted 9 lines
Quoted 4 lines
Quoted 4 lines

Be warned that the drive will come up as /dev/sda instead of /dev/hda and it currently doesn't disable host protected area unlike IDE, so your disk can be messed up.

Isn't libata for SATA drivers? My drive is an IDE. Also I'm worried about using something that could mess up my drive when this is going to be used for school next month and I need something that can sleep as well as reliable.

I read about it a little more and it seems that my controller is supported and its maturity is listed as "No known major issues. New issues tend to get fixed quickly." So does this mean they fixed the issue you were talking about? I guess Ill test it tomarrow(its kina late) and report back.

Quoted 6 lines

-
To unsubscribe from this list: send the line "unsubscribe linux-ide" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html

author
#7 lore raw
Quoted 59 lines · Lee Trager
Quoted 42 lines · Lee Trager
Quoted 39 lines · Tejun Heo

[resending as reply to add linux-ide back, please don't drop cc list]

Quoted 34 lines · Tejun Heo
Quoted 14 lines · Lee Trager
Quoted 11 lines · Tejun Heo
Quoted 8 lines · Lee Trager

Hey I've been having this problem for awhile on my laptop(IBM Thinkpad
T40) and have no been able to figure out how to fix it. It seems that when ever I resume my laptop from suspend(from hard drive or RAM) my dmesg is filled with this and I am unable to do anything that requires
access to the hard drive.

Quoted 7 lines
Quoted 7 lines
Quoted 7 lines

ide: failed opcode was: unknown
hda: task_out_intr: status=0x51 { DriveReady SeekComplete Error }
hda: task_out_intr: error=0x10 { SectorIdNotFound }, LBAsect=74853287,
sector=74853287

Ah... it was the IDE driver, sorry. You can try using Alan Cox's libata pata drivers patch which is included in recent -mm trees. With the patch, libata ata_piix driver can drive the controller instead of ide and it has better error handling.

Be warned that the drive will come up as /dev/sda instead of /dev/hda and it currently doesn't disable host protected area unlike IDE, so your disk can be messed up.

Quoted 6 lines

Isn't libata for SATA drivers? My drive is an IDE. Also I'm worried about using something that could mess up my drive when this is going to be used for school next month and I need something that can sleep as well as reliable.

I read about it a little more and it seems that my controller is supported and its maturity is listed as "No known major issues. New issues tend to get fixed quickly." So does this mean they fixed the issue you were talking about? I guess Ill test it tomarrow(its kina late) and report back.

I tried the mm sources and as soon as I boot into it I get "atkbd.c: Spurious ACK on isa0060/serio0. Some program might be trying access hardware directly" It seems that they dont have a patch for just libata for any recent kerenls(the latest patch ive found is 2.6.17-rc4-git2). I could try that but id rather but on a recent, and for normal use, stable kernel.

author
#8 lore raw
Quoted 73 lines · Lee Trager
Quoted 59 lines · Lee Trager
Quoted 49 lines · Lee Trager
Quoted 45 lines · Tejun Heo

[resending as reply to add linux-ide back, please don't drop cc list]

Quoted 39 lines · Tejun Heo
Quoted 16 lines · Lee Trager
Quoted 12 lines · Tejun Heo
Quoted 8 lines · Lee Trager

Hey I've been having this problem for awhile on my laptop(IBM Thinkpad
T40) and have no been able to figure out how to fix it. It seems that when ever I resume my laptop from suspend(from hard drive or RAM) my dmesg is filled with this and I am unable to do anything that requires
access to the hard drive.

Quoted 8 lines
Quoted 8 lines
Quoted 8 lines

ide: failed opcode was: unknown
hda: task_out_intr: status=0x51 { DriveReady SeekComplete Error }
hda: task_out_intr: error=0x10 { SectorIdNotFound }, LBAsect=74853287,
sector=74853287

Ah... it was the IDE driver, sorry. You can try using Alan Cox's libata pata drivers patch which is included in recent -mm trees. With the patch, libata ata_piix driver can drive the controller instead of ide and it has better error handling.

Be warned that the drive will come up as /dev/sda instead of /dev/hda and it currently doesn't disable host protected area unlike IDE, so your disk can be messed up.

Quoted 7 lines

Isn't libata for SATA drivers? My drive is an IDE. Also I'm worried about using something that could mess up my drive when this is going to be used for school next month and I need something that can sleep as well as reliable.

Quoted 10 lines

I read about it a little more and it seems that my controller is supported and its maturity is listed as "No known major issues. New issues tend to get fixed quickly." So does this mean they fixed the issue you were talking about? I guess Ill test it tomarrow(its kina late) and report back.

I tried the mm sources and as soon as I boot into it I get "atkbd.c: Spurious ACK on isa0060/serio0. Some program might be trying access hardware directly" It seems that they dont have a patch for just libata for any recent kerenls(the latest patch ive found is 2.6.17-rc4-git2). I could try that but id rather but on a recent, and for normal use, stable kernel.

I filed a bug about this a few weeks ago and no kernel developer has said anything but it seems that people with other chipsets have a similar problem. You can look at the bug here. http://bugzilla.kernel.org/show_bug.cgi?id=6840

author
#9 lore raw
In reply to Tejun Heo
Quoted 38 lines · Tejun Heo
Quoted 26 lines · Lee Trager

Hey I've been having this problem for awhile on my laptop(IBM Thinkpad T40) and have no been able to figure out how to fix it. It seems that when ever I resume my laptop from suspend(from hard drive or RAM) my dmesg is filled with this and I am unable to do anything that requires access to the hard drive.

ide: failed opcode was: unknown
hda: task_out_intr: status=0x51 { DriveReady SeekComplete Error }
hda: task_out_intr: error=0x10 { SectorIdNotFound }, LBAsect=74853287, sector=74853287

I checked the drive with the IBM hardware analysis tools as well as the Hitachi Drive Fitness extended test and both say the drive is fine. What is strange is that according to hdparm my drive only has 72037362 sectors while this error is on sector 74853287.

This error happens with and without wireless, DMA, and alsa. The kernel option in ATA/ATAPI/MFM/RLL support named IDEDISK_MULTI_MODE does not fix the error. I have also tested this with the mainline kernel, supend2 sources, gentoo sources, and the Knoppix boot disc and this error happens on all of them. I talked to one of the suspend2 developers and he said that the problem is with my IDE driver not properly waking the drive up. Could someone please help me?

Here is some system information

Quoted 10 lines

Distribution: Gentoo 2006.0
Laptop: IBM Thinkpad T40
IDE Controller: Intel Corporation 82801DBM (ICH4-M) IDE Controller (rev 01)
Harddrive: Hitachi IC25N040ATCS05-0
Software Environment:
GLIBC: 2.4
GCC: 4.1.1
Kernel: Gentoo-sources-2.6.17-r5(although I tried with a number of other sources as stated above)

Quoted 2 lines

Can you try 2.6.18-rc4?

Nope, same thing in 2.6.18-rc4.