Link to home
Start Free TrialLog in
Avatar of editperfil
editperfil

asked on

Adaptec 1420SA and red hat es 4 update 2 or 3

Hello, how can i install an Adaptec 1420SA with red hat es 4 update 2 or 3? In the web page of adaptec I only have update 1

thanks
Avatar of pjedmond
pjedmond
Flag of United Kingdom of Great Britain and Northern Ireland image

Stick the card in your system - I'd expect that it will be automatically recognised.

The reason that the adaptec web page only has update 1, is that the Adaptec Webmaster is a little slow in keeping the web site up to date;)

(   (()
(`-' _\
 ''  ''
Avatar of editperfil
editperfil

ASKER

No, is not recognized by the sytem.
Looks like you need to install the driver seperately, as it is not in the default kernel:

http://www.adaptec.com/en-US/downloads/rh/rhel_4?productId=AAR-1420SA&dn=Adaptec+Serial+ATA+II+RAID+1420SA

Although precompiled rpms exist only up to rhel4u1, I'd probably try that and see what dependencies cause problems. If it doesn't install, then it looks like you'll be having a bit of fun;)...This article should help:

http://www.keffective.com/mvsata/fc4_howto.html

The module that you need is the aar81xx module...however, this module is based on the same chipset, and appears to be a module that works for this card. In this case the driver is an mv_sata module.

Does the command:

dmesg | grep aar81

recognise anything? In which case have you edited your /etc/modules.conf yet? Add the line:

alias scsi_hostadapter aar81xx

or

alias scsi_hostadapter mv_sata

Depending on what gets recognised.

(   (()
(`-' _\
 ''  ''

Really i need the driver for update 3. Adaptec sends me this link:

http://www.adaptec.com/en-US/speed/raid/aar/linux/aar81xx-openbuild-b5732_i386_tar_gz.htm

to download the sources but when i tried to compile i get:

subdir-$(CONFIG_SCSI_AAR81XX) += aar81xx
No dotconfig files found, make terminated
You need to type:

./configure

in the corerct directory. This creates the dotconfigure file.
Then type:

make
make install

(   (()
(`-' _\
 ''  ''
I dont have a configure file!!!
Guess I'd better download and have a look at it!

----------8X----------------
[root@bigserver tmp]# rpm -ivh Adaptec_aar81xx-OpenBuild-B5732.i386.rpm
Preparing...                ########################################### [100%]
   1:Adaptec_aar81xx        ########################################### [100%]

cd /usr/src/adaptec/build  ,use
./Build /usr/src/adaptec/driver-Adaptec_ /usr/src/adaptec/shipped-modules /usr/src/linux-2.4.9-e.3
 to build driver dud and rpm packages for kernel linux-2.4.9-e.3
 After the ./Build command, dir linux-2.4.9-e.3 will be altered in order to do compilation,
 make sure you have a backup copy of the source tree.

Doing
./Build /usr/src/adaptec/driver-Adaptec_ /usr/src/adaptec/shipped-modules /usr/src/adaptec/linux-2.4.9-e.3 merge_driver=Yes
 will not build dud/rpm packages for you, it just simply
 merge the driver source into the kernel tree under
 /usr/src/linux-2.4.9-e.3/drivers/scsi/Adaptec_ AND all the necessary modifications.
 Doing this, end user is responsible for the rest of the setup to build the whole kernel.

----------8X----------------
Enter:
rpm -ivh Adaptec_aar81xx-OpenBuild-B5732.i386.rpm

then follow the instructions, and tell us where you get stuck? Obviously change any kernel references to match your installed kernel - You must have kernel devel installed.

(   (()
(`-' _\
 ''  ''
Just thought - If you've never built kernels before, then you may want to have a look at this:

http://www.digitalhermit.com/linux/Kernel-Build-HOWTO.html

(   (()
(`-' _\
 ''  ''
I get

subdir-$(CONFIG_SCSI_AAR81XX) += aar81xx
No dotconfig files found, make terminated

when i tried to compile with:


cd /usr/src/adaptec
./Build ../driver-aar81xx/ ../shipped-binary/ /usr/src/linux-2.6.9-34.ELsmp


/usr/src/linux-2.6.9-34.ELsmp is a symbolic link to /usr/src/kerneles/2.6.9-34.ELsmp
Accuracy is vital here!

cd /usr/src/adaptec/build

are you are in the wrong directory?

The process worked fine for me on a CentOS 4 system, so I'm fairly confident in the code compiling cleanly.

(   (()
(`-' _\
 ''  ''
Yes build . I have kernel 2.6.9-34. It starts but gives me the error I post in the last message
subdir-$(CONFIG_SCSI_AAR81XX) += aar81xx
No dotconfig files found, make terminated
Type *EXACTLY* what you typed in, and what response you got.

./Build ../driver-aar81xx/ ../shipped-binary/ /usr/src/linux-2.6.9-34.ELsmp

Why are you using .. instead of the full path? FOLLOW THE INSTRUCTIONS!!!! .. will mean a completely different directory once the script is running.

(   (()
(`-' _\
 ''  ''



cd /usr/src/adaptec/build

./Build /usr/src/adaptec/driver-aar81xx/ /usr/src/adaptec/shipped-binary/ /usr/src/linux-2.6.9-34.ELsmp

Why have you got a / at the end of the paths for driver-aar81xx?

Why have you got a / at the end of the paths for shipped-binary?

When you've made those changes, do you get exactly the same error?

(   (()
(`-' _\
 ''  ''


Wait, I think i have a problem with the sources of redhat. I'm downloading new sources
ASKER CERTIFIED SOLUTION
Avatar of pjedmond
pjedmond
Flag of United Kingdom of Great Britain and Northern Ireland image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Yes i have bad sources, now it compiles and i have the driver!!!!
thanks
Well done!

(   (()
(`-' _\
 ''  ''