All of lore.kernel.org
 help / color / mirror / Atom feed
From: Robert Hancock <hancockr@shaw.ca>
To: Bob Tracy <rct@gherkin.frus.com>
Cc: linux-kernel@vger.kernel.org
Subject: Re: old ISA DMA bug in 2.6.12?
Date: Tue, 24 Apr 2007 17:47:33 -0600	[thread overview]
Message-ID: <462E9715.60304@shaw.ca> (raw)
In-Reply-To: <fa.7m5DEEaYclDeS/YSPViAnSljQHI@ifi.uio.no>

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/


       reply	other threads:[~2007-04-24 23:47 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <fa.7m5DEEaYclDeS/YSPViAnSljQHI@ifi.uio.no>
2007-04-24 23:47 ` Robert Hancock [this message]
2007-04-24 22:01 old ISA DMA bug in 2.6.12? Bob Tracy

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=462E9715.60304@shaw.ca \
    --to=hancockr@shaw.ca \
    --cc=linux-kernel@vger.kernel.org \
    --cc=rct@gherkin.frus.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.