Scsi adaptec AIC 7902 controller and raid 0

Scsi adaptec AIC 7902 controller and raid 0

Post by Pokurc » Thu, 16 Jun 2005 16:38:54



Hello

I have a problem with setting up
raid array 0 on Linux slackware kernel 2.6.11.
I'm doing it for the first time so
i ask for patiance.

Should an array created in scsi controler bios
(scsi select) be seen by a linux driver aic7902
as one device for example /dev/sda (double capacity
of one disc) ?

My hardware is: mainboard intel se7501hg2 with the
two channel scsi adaptec aic7902 controller. On
channel A 3 hard discs . From disc (id 0 and id 2)
i create array 0 (in scsi select). 3 disc i leave
for the system.

Whether i build the driver aic790xx into kernel
or load it as a module the result is the same:
(under) the driver detects 3 discs (sda,sdb,sdc).

Jun 14 08:03:48 gerda kernel: ACPI: PCI interrupt 0000:03:04.0[A] -> GSI 30
(level, low) -> IRQ 30
Jun 14 08:03:48 gerda kernel: ACPI: PCI interrupt 0000:03:04.1[B] -> GSI 31
(level, low) -> IRQ 31
Jun 14 08:03:48 gerda kernel: scsi0 : Adaptec AIC79XX PCI-X SCSI HBA
DRIVER, Rev
1.3.11
Jun 14 08:04:06 gerda kernel:   Vendor: FUJITSU   Model: MAU3036NC
    Rev: 0102
Jun 14 08:04:06 gerda kernel:   Type:   Direct-Access
    ANSI
SCSI revision: 03
Jun 14 08:04:07 gerda kernel: SCSI device sda: 71819496 512-byte hdwr
sectors
(36772 MB)
Jun 14 08:04:07 gerda kernel: SCSI device sda: drive cache: write back
Jun 14 08:04:07 gerda kernel:   Vendor: FUJITSU   Model: MAU3036NC
    Rev: 0102
Jun 14 08:04:07 gerda kernel:   Type:   Direct-Access
    ANSI
SCSI revision: 03
Jun 14 08:04:07 gerda kernel: SCSI device sda: 71819496 512-byte hdwr
sectors
(36772 MB)
Jun 14 08:04:07 gerda kernel: SCSI device sda: drive cache: write back
Jun 14 08:04:07 gerda kernel:  sda: unknown partition table
Jun 14 08:04:07 gerda kernel: Attached scsi disk sda at scsi0, channel
0, id 0,
lun 0
Jun 14 08:04:07 gerda kernel: SCSI device sdb: 71819496 512-byte hdwr
sectors
(36772 MB)
Jun 14 08:04:07 gerda kernel: SCSI device sdb: drive cache: write back
Jun 14 08:04:07 gerda udev[3106]: creating device node '/dev/sda'
Jun 14 08:04:07 gerda kernel: SCSI device sdb: 71819496 512-byte hdwr
sectors
(36772 MB)
Jun 14 08:04:07 gerda kernel: SCSI device sdb: drive cache: write back
Jun 14 08:04:07 gerda kernel:  sdb: unknown partition table
Jun 14 08:04:07 gerda kernel: Attached scsi disk sdb at scsi0, channel
0, id 2,
lun 0
Jun 14 08:04:07 gerda kernel:   Vendor: FUJITSU   Model: MAU3036NC
    Rev: 0102
Jun 14 08:04:07 gerda kernel:   Type:   Direct-Access
    ANSI
SCSI revision: 03
Jun 14 08:04:07 gerda kernel: SCSI device sdc: 71819496 512-byte hdwr
sectors
(36772 MB)
Jun 14 08:04:07 gerda kernel: SCSI device sdc: drive cache: write back
Jun 14 08:04:07 gerda kernel: SCSI device sdc: 71819496 512-byte hdwr
sectors
(36772 MB)
Jun 14 08:04:07 gerda kernel: SCSI device sdc: drive cache: write back
Jun 14 08:04:07 gerda kernel:  sdc: sdc1
Jun 14 08:04:07 gerda kernel: Attached scsi disk sdc at scsi0, channel
0, id 3,
lun 0
Jun 14 08:04:07 gerda udev[3155]: creating device node '/dev/sdb'
Jun 14 08:04:07 gerda udev[3163]: creating device node '/dev/sdc'
Jun 14 08:04:07 gerda udev[3165]: creating device node '/dev/sdc1'
Jun 14 08:04:07 gerda kernel:   Vendor: ESG-SHV   Model: SCA HSBP M15
    Rev: 0.11
Jun 14 08:04:07 gerda kernel:   Type:   Processor
    ANSI
SCSI revision: 02
Jun 14 08:04:09 gerda kernel: scsi1 : Adaptec AIC79XX PCI-X SCSI HBA
DRIVER, Rev
1.3.11

I have a quastion:
if these two disc (that i 've created
as an array 0) should be seen
by a driver as a one device what do i
do wrong, or what could be a reason of
such a state? Is it important on what
channel are discs, or should an array be
on a diffrent channel than normal disc, or
maybe scsi id of the discs is important
in creating such an array, or maybe i should
load the driver as a module with some options?

If the discs should be seen separatly so
how can i use array ?

I will be glad for any help
Thanks

Pokurcz

 
 
 

Scsi adaptec AIC 7902 controller and raid 0

Post by John-Paul Stewar » Fri, 17 Jun 2005 00:05:22



> Hello

> I have a problem with setting up
> raid array 0 on Linux slackware kernel 2.6.11.
> I'm doing it for the first time so
> i ask for patiance.

> Should an array created in scsi controler bios
> (scsi select) be seen by a linux driver aic7902
> as one device for example /dev/sda (double capacity
> of one disc) ?

The aic79xx driver is for non-RAID operation.  AFAICT, you need
Adaptec's a320raid driver to use their HostRAID features.  (You can
dowload it from their support pages.)

Note that there will be very little difference between using the
a320raid driver vs. using the kernel's aic79xx driver with Linux
software RAID.

 
 
 

1. RedHat 8.0 install on Adaptec AIC-7902 U320 SCSI mainboard

Per the RedHat 8.0 install notes:

The kernel used in this release contains the following improvements
and new features: Adaptec U320 support, updated aacraid driver,
speakup accessibility, HZ=512 for i686 and Athlon, and network console
and crash dump. Also, there are several small improvements not listed
here. The kernel is based on the 2.4.18 with selected bits from the
2.4.19 and the -ac patchset.

In the same release notes is a list of chipsets and the corresponding
kernel module to use. No mention of AIC-7902 is made there and a
usenet message from Justin Gibbs mentions that AIC7XXX will not
support this chipset because of how different it is. He did not
mention what module was for this chipset and even if so, I don't see
it in the RH 8.0 installer anyway. I've manually tried selecting every
Adaptec module in the list to no avail so far.

Suggestions or ideas? This is from downloaded ISOs and I have a copy
of RH 8.0 professional on order, perhaps the full manual will address
this where the onlnie install guide doesn't? I'm not holding my breath
for that though.

2. fork process

3. CLI tools for Adaptec 7902 SCSI controller?

4. sending e-mail programatically

5. Onboard Adaptec AIC-7902 with RH8.0 on Intel Xeon Board

6. Configuring an internal modem under linux

7. troubles with adaptec aic-7902

8. on recent kernels

9. AIC-7902 scsi problem!

10. Reproducible SCSI Error with Adaptec 7902

11. Reproducible SCSI Error with Adaptec 7902 & ST336607LW

12. Installing Linux with SCSI CD Rom Adaptec AIC-6x60 SCSI Controller