kern/51970: Adaptec AIC-7902 with HostRAID option enabled fails to
gvs at rinet.ru
Thu May 8 06:50:10 PDT 2003
>Synopsis: Adaptec AIC-7902 with HostRAID option enabled fails to be probed
>Arrival-Date: Thu May 08 06:50:08 PDT 2003
>Originator: Seva Gluschenko
>Release: FreeBSD 4.8-RC i386
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
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.
Configure your Adaptec SCSI Controller to enable HostRAID option and
try booting FreeBSD on that. Obviously, you'll fail.
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.
More information about the freebsd-bugs