Subject: Re: port-i386/17900: panic/system hang with Adaptec aic7889 SCSI controller
To: None <bouyer@netbsd.org>
From: Greg A. Woods <woods@weird.com>
List: netbsd-bugs
Date: 12/05/2004 17:52:38
[ On Sunday, December 5, 2004 at 21:16:07 (+0000), bouyer@netbsd.org wrote: ]
> Subject: Re: port-i386/17900
>
> Synopsis: panic/system hang with Adaptec aic7889 SCSI controller
> 
> State-Changed-From-To: open->feedback
> State-Changed-By: bouyer@netbsd.org
> State-Changed-When: Sun, 05 Dec 2004 21:16:06 +0000
> State-Changed-Why:
> Hi,
> If you still have the hardware, can you try a 2.0 kernel ? A new ahc driver
> has been imported from FreeBSD, which may fix this.

Note the author of the PR, Pascal Renauld, was the guy who did much of
the work to import the "new at the time" AHC driver to NetBSD in the
first place, e.g. from aic7xxx.c:

----------------------------
revision 1.96
date: 2003/04/19 19:33:29;  author: fvdl;  state: Exp;  lines: +6519 -4704
Newer adaptec 7xxx driver. Written by Justin Gibbs for FreeBSD. Ported to
NetBSD by Pascal Renauld at Network Storage Solutions, Inc.
Some modifications by me.
----------------------------


BTW, it's way _long_ past the time that the AHC driver be updated from
FreeBSD again -- hopefully this time whomever does it can keep detailed
notes, maybe even in the form of a transformation script, so that the
port can be done again and again as necessary by pretty much anybody and
without so much delay, knashing of teeth and such.  I can't thank Pascal
enough for that last update, but I do wish someone would tackle it again.

Note also my related PR, 13659, which has been waiting for some action
on the 1.6 branch for the better part of a year already too.  If you can
get the pullups done (they've worked fine for me since then), perhaps you
can close that PR too.

It wouldn't be so bad if this were rare and uncommon old hardware,
and/or if there were no better driver consantly being maintained by
someone working for the hardware vendor in FreeBSD, but these chips are
_everywhere_ and the old driver just does not work with many of the
"newer" ones, and doesn't get half the performance it should out of the
ones it does work with.

-- 
						Greg A. Woods

+1 416 218-0098                  VE3TCP            RoboHack <woods@robohack.ca>
Planix, Inc. <woods@planix.com>          Secrets of the Weird <woods@weird.com>