Re: ata broken on Thinkpad A22m

From: Thomas Mueller <tmueller_at_thmu.de>
Date: Fri, 10 Oct 2003 18:50:26 +0200
On Fri, 10 Oct 2003 08:37:41 -0700 (PDT) Brian Buchanan wrote:
> After updating to yesterday's -CURRENT, my IBM Thinkpad A22m stoped
> booting.  It hangs at:
> 
> GEOM: create disk ad0 dp=0xc3ded670
> ad0: 38154MB <IC25N040ATCS04-0> [77520/16/63] at ata0-master UDMA33
> ata1: resetting devices ..
> done
> 

I had the same problem on my HP XT6050 laptop. This patch solved the problem
for me.

--- ata-queue.c.1.7	Tue Oct  7 16:38:46 2003
+++ ata-queue.c	Fri Oct 10 09:28:56 2003
_at__at_ -316,7 +316,7 _at__at_
 {
     /* clear timeout etc */
     request->timeout_handle.callout = NULL;
-#if 0
+
     /* call interrupt to try finish up the command */
     request->device->channel->hw.interrupt(request->device->channel);
 
_at__at_ -327,7 +327,6 _at__at_
 		       ata_cmd2str(request));
 	return;
     }
-#endif
 
     /* if this was a DMA request stop the engine to be on the safe side */
     if (request->flags & ATA_R_DMA) {

-- 
Thomas Mueller                  tmueller_at_thmu.de
Received on Fri Oct 10 2003 - 07:52:20 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:37:24 UTC