Re: 2.1.101, dma + hd problem

mlord (mlord@pobox.com)
Thu, 14 May 1998 10:50:09 -0400


This is a multi-part message in MIME format.

--------------670D85DA7895721F48B1652D
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

S. Shore wrote:
..
> For 2.1.101, it went through several timeouts, then disables DMA and
> hangs. Disabling "Generic DMA bus-master support" cures this.

Fixed several days ago. pre-patch-2.1.102 includes the fix,
and I've attached the fix to this email.

-- 
mlord@pobox.com
The Linux IDE guy

--------------670D85DA7895721F48B1652D Content-Type: text/plain; charset=us-ascii; name="ide-2.1.101+.pat1" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="ide-2.1.101+.pat1"

--- linux-2.1.101/drivers/block/ide.c Sat May 9 09:23:32 1998 +++ linux/drivers/block/ide.c Sat May 9 09:42:48 1998 @@ -1333,6 +1333,7 @@ } hwgroup->busy = 1; /* should already be "1" */ hwgroup->handler = NULL; + del_timer(&hwgroup->timer); if (hwgroup->poll_timeout != 0) { /* polling in progress? */ IDE_SPIN_UNLOCK_IRQRESTORE("ide_timer_expiry3", &hwgroup->spinlock, flags); handler(drive); @@ -1348,7 +1349,6 @@ IDE_SPIN_UNLOCK_IRQRESTORE("ide_timer_expiry5", &hwgroup->spinlock, flags); ide_error(drive, "irq timeout", GET_STAT()); } - del_timer(&hwgroup->timer); start_next_request(hwgroup, 0); }

--------------670D85DA7895721F48B1652D--

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu