Thinkpad, Thinkpad, Thinkpad

Peter Jones pjones at redhat.com
Tue Mar 28 03:15:41 UTC 2006


On Tue, 2006-03-28 at 01:04 +0100, Joe Desbonnet wrote:
> My model is a Thinkpad T41p: The best I can do with FC5 is what I was
> able to achieve with FC4:
> 
> Suspend seems to go smoothly and seems to restore ok,  *BUT* after a
> few seconds I get hard disk errors all over the place:
> 
> ide: failed opcode was: unknown
> hda: task_out_intr: status=0x51 {DriveReady SeekComplete Error}
> hda: task_out_intr: error=0x10 {SectorIdNotFound}, LBAsect=110365705,
> sector=110365705
> 
> This error is repeated very rapidly and a disk check is needed on reboot.

So, when you're booting up you probably see some text that's something
like:

hda: Host Protected Area detected.
        current capacity is 110194034 sectors (56419 MB)
        native  capacity is 117210240 sectors (60011 MB)
hda: Host Protected Area disabled.
hda: 117210240 sectors (60011 MB) w/7877KiB Cache, CHS=65535/16/63, UDMA(100)

This is a rather unfortunate bug.  When the disk starts up, it claims to
have 110194034 (on mine, yours may vary some) sectors accessible, but
117210240 total.  We then issue a SET MAX ADDRESS EXT command to the
drive to make all of the sectors available.  When you suspend, the drive
powers down.  When you resume, it comes back, but we don't issue that
command again.

I've got a fix that puts this into the control of the userland, but it's
not quite 100% just yet; hopefully it'll be working tomorrow.

The workaround right now is to reinstall, manually partition and be
absolutely sure not to use more than 56419345408 bytes (110194034 * 512,
again the number for your machine may vary) of the disk.

-- 
  Peter




More information about the devel mailing list