ata broken on Thinkpad A22m

Thomas Mueller tmueller at thmu.de
Fri Oct 10 09:52:20 PDT 2003


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
@@ -316,7 +316,7 @@
 {
     /* 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);
 
@@ -327,7 +327,6 @@
 		       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


More information about the freebsd-current mailing list