lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [day] [month] [year] [list]
Date:	Tue, 24 Apr 2007 17:47:33 -0600
From:	Robert Hancock <hancockr@...w.ca>
To:	Bob Tracy <rct@...rkin.frus.com>
Cc:	linux-kernel@...r.kernel.org
Subject: Re: 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@...pamshaw.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@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ