Date: Sun, 7 Sep 1997 20:43:01 -0500 (CDT) From: "Daniel M. Eischen" <deischen@iworks.InterWorks.org> To: aic7xxx@FreeBSD.ORG, shirsch@ibm.net Subject: Re: Adaptec driver broken on 2740T Message-ID: <199709080143.UAA05232@iworks.InterWorks.org>
next in thread | raw e-mail | index | archive | help
> I have bad news. The adaptec aic7xxx driver in Linux 2.0.31-pre-9 is > broken for my EISA bus 2740T controller. It seems to scan the drives on > bus A properly, then goes into an endless loop of kernel paging errors and > scsi resets when attempting to scan bus B (which has nothing on it, BTW). > > I reverted back to the older driver to test other aspects of pre-9 (looks > fine so far..). > > You certainly don't want this driver included as-is in the final 2.0.31 > release, though. Well, there are too many bugs with the previous driver, so unless someone with a 274x can figure it out ;-) Doug Ledford found one bug that may be causing problems. It is in aic7xxx_register where we do this: for (i = 0; i <= NUMBER(p->device_status); i++) { p->device_status[i].commands_sent = 0; p->device_status[i].flags = 0; p->device_status[i].active_cmds = 0; p->device_status[i].last_reset = 0; } Change the first line to this: for (i = 0; i < NUMBER(p->device_status); i++) It's on or abouts like 5011 in aic7xxx.c. Dan Eischen deischen@iworks.InterWorks.org
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199709080143.UAA05232>