kern/51970: Adaptec AIC-7902 with HostRAID option enabled fails to
be probed
Seva Gluschenko
gvs at rinet.ru
Thu May 8 06:50:10 PDT 2003
>Number: 51970
>Category: kern
>Synopsis: Adaptec AIC-7902 with HostRAID option enabled fails to be probed
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: freebsd-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: sw-bug
>Submitter-Id: current-users
>Arrival-Date: Thu May 08 06:50:08 PDT 2003
>Closed-Date:
>Last-Modified:
>Originator: Seva Gluschenko
>Release: FreeBSD 4.8-RC i386
>Organization:
JSC Demos-Internet
>Environment:
System: FreeBSD road.demos.su 4.8-RC FreeBSD 4.8-RC #2: Tue Mar 4 15:43:13 MSK 2003 gvs at road.demos.su:/usr/local/obj/usr/local/src/sys/ROAD i386
>Description:
When booting with FreeBSD installation CD on ServerWorks machine with
AIC-7902 SCSI controller on-board with HostRAID option is turned on,
the controller fails to be detected by FreeBSD driver and is reported
as unknown device.
>How-To-Repeat:
Configure your Adaptec SCSI Controller to enable HostRAID option and
try booting FreeBSD on that. Obviously, you'll fail.
>Fix:
In /usr/src/sys/dev/aic7xxx/aic79xx_pci.c, line 69:
#define ID_9005_GENERIC_MASK 0xFFF0FFFF00000000ull
this line breaks successful AIC-7902 detection with HostRAID option
turned on because it reports itself as another device ID (809F vs.
801F with disabled HostRAID). So change the mask to be
0xFF70FFFF00000000ull (don't care about the specified bit) and thus
the detection problem is solved.
BEWARE: while our HostRAID has been configured for mirroring, both
disks were seen by FreeBSD (da0 and da1), so maybe different
communication method should be used. I failed to find any contact
addresses of driver developer from Adaptec, so I can't verify that.
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-bugs
mailing list