linux-scsi.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* BAD_SG_DMA panic in aha1542
@ 2007-04-27 21:47 Bob Tracy
  2007-04-27 22:13 ` Alan Cox
  2007-04-27 22:21 ` James Bottomley
  0 siblings, 2 replies; 14+ messages in thread
From: Bob Tracy @ 2007-04-27 21:47 UTC (permalink / raw)
  To: linux-kernel; +Cc: linux-scsi

I previously reported an ISA DMA issue for the 2.6.12 kernel.  The issue
persists through at least 2.6.18.  SCSI controller is an Adaptec
AHA-1542B (ISA).

The action "mount -t iso9660 /dev/scd0 /mnt/cdrom -r"

produces

(cdrom detection messages as various modules autoload, then...)
sgpnt[0:1] page c1ee5af0/0x1ee5af0 length 32
Kernel panic - not syncing: Buffer at physical address > 16 Mb used for aha1542

As before, no problems using the sda hard disk (which is the boot drive):
everything works reliably until I touch the cdrom drive.

I'll be happy to assist with the debugging, but the system with the
aha1542 has no development facilities, i.e., I'll have to build test
kernels on a different system, and turnaround is going to be slow :-(.

Thanks in advance for helping me get this old machine working again.
No issues with 2.4 kernels.  I have no idea about 2.5 kernels and
2.6 kernels prior to 2.6.12.  As for why I didn't report this before
now, the aha1542b was in my parts bin until I cobbled a system together
approx. two weeks ago, mostly to see if a useful system could still be
had using legacy hardware and modern GNU/Linux software.  I'm happy to
report the answer is mostly "yes".

-- 
-----------------------------------------------------------------------
Bob Tracy                   WTO + WIPO = DMCA? http://www.anti-dmca.org
rct@frus.com
-----------------------------------------------------------------------

^ permalink raw reply	[flat|nested] 14+ messages in thread
* Re: BAD_SG_DMA panic in aha1542
@ 2007-05-01  2:10 Bob Tracy
  2007-05-01 13:33 ` Jens Axboe
  2007-05-01 13:46 ` Alan Cox
  0 siblings, 2 replies; 14+ messages in thread
From: Bob Tracy @ 2007-05-01  2:10 UTC (permalink / raw)
  To: James.Bottomley; +Cc: linux-kernel, linux-scsi, alan

rct wrote:
> Apologies to all concerned for an unfortunate delay in resolving this.
> (...)
> I'll go retrieve a more conservatively-configured source tree (closer to
> what DSL-N uses) and start over...

Success with the Debian 2.6.18-4-486 build, which is known to work
almost as well on the test platform as the 2.6.12 kernel that DSL-N
comes with.  I used an older compiler than Debian used for their
production build, so I binary-patched the aha1542.ko and sr_mod.ko
files so insmod wouldn't complain about different vermagic strings.

That's as close as it gets without redoing everything from scratch.
I'll give Alan's and James' patches a go within the next 13 hours.

(Alan: what *else* would you name a variable associated with a bounce
buffer besides Zebedee?  Thanks for the occasion to smile...)

-- 
-----------------------------------------------------------------------
Bob Tracy                   WTO + WIPO = DMCA? http://www.anti-dmca.org
rct@frus.com
-----------------------------------------------------------------------

^ permalink raw reply	[flat|nested] 14+ messages in thread

end of thread, other threads:[~2007-05-01 18:32 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-04-27 21:47 BAD_SG_DMA panic in aha1542 Bob Tracy
2007-04-27 22:13 ` Alan Cox
2007-04-27 23:56   ` Bob Tracy
2007-04-27 22:21 ` James Bottomley
2007-04-27 23:53   ` Bob Tracy
2007-04-30 14:33   ` Bob Tracy
2007-04-30 17:32   ` Jens Axboe
2007-04-30 17:39     ` Christoph Hellwig
2007-04-30 17:52       ` Jens Axboe
  -- strict thread matches above, loose matches on Subject: below --
2007-05-01  2:10 Bob Tracy
2007-05-01 13:33 ` Jens Axboe
2007-05-01 13:42   ` Bob Tracy
2007-05-01 13:46 ` Alan Cox
2007-05-01 18:32   ` Bob Tracy

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).