lkml.org 
[lkml]   [2007]   [Apr]   [24]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: old ISA DMA bug in 2.6.12?
Bob Tracy wrote:
> I was enjoying yet another session of beating my head against the wall
> trying to do useful things with old hardware :-), and managed to cause a
> kernel panic by simply trying to mount a cdrom in the context of a DSL-N
> installation.
>
> The SCSI host adapter is an Adaptec AHA-1542B, and when I try to mount a
> cdrom, I manage to run afoul of the BAD_DMA() check in aha1542.c: the
> buffer returned is not in the lower 16 MB of memory.
>
> The same 2.6.12 kernel + hardware combination works fine as long as I
> confine my I/O to the hard disk that's also attached to the AHA-1542B.

Looks like the aha1542 driver doesn't set the DMA mask, so the kernel
will default to thinking it can do 32-bit DMA when it should be 24-bit.

--
Robert Hancock Saskatoon, SK, Canada
To email, remove "nospam" from hancockr@nospamshaw.ca
Home Page: http://www.roberthancock.com/

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2007-04-25 01:51    [W:0.120 / U:0.048 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site