Solved

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

Posted on 2006-07-21
19
1,068 Views
Last Modified: 2013-12-06
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
0
Comment
Question by:editperfil
  • 11
  • 8
19 Comments
 
LVL 22

Expert Comment

by:pjedmond
ID: 17155777
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;)

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

Author Comment

by:editperfil
ID: 17155866
No, is not recognized by the sytem.
0
 
LVL 22

Expert Comment

by:pjedmond
ID: 17156589
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.

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

0
Master Your Team's Linux and Cloud Stack!

The average business loses $13.5M per year to ineffective training (per 1,000 employees). Keep ahead of the competition and combine in-person quality with online cost and flexibility by training with Linux Academy.

 

Author Comment

by:editperfil
ID: 17167715
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
0
 
LVL 22

Expert Comment

by:pjedmond
ID: 17168282
You need to type:

./configure

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

make
make install

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

Author Comment

by:editperfil
ID: 17169451
I dont have a configure file!!!
0
 
LVL 22

Expert Comment

by:pjedmond
ID: 17169520
Guess I'd better download and have a look at it!
0
 
LVL 22

Expert Comment

by:pjedmond
ID: 17169549

----------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.

(   (()
(`-' _\
 ''  ''
0
 
LVL 22

Expert Comment

by:pjedmond
ID: 17169569
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

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

Author Comment

by:editperfil
ID: 17169839
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
0
 
LVL 22

Expert Comment

by:pjedmond
ID: 17170000
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.

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

Author Comment

by:editperfil
ID: 17170063
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
0
 
LVL 22

Expert Comment

by:pjedmond
ID: 17170322
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.

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



0
 

Author Comment

by:editperfil
ID: 17170399
cd /usr/src/adaptec/build

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

Expert Comment

by:pjedmond
ID: 17170577

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?

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


0
 

Author Comment

by:editperfil
ID: 17170982
Wait, I think i have a problem with the sources of redhat. I'm downloading new sources
0
 
LVL 22

Accepted Solution

by:
pjedmond earned 250 total points
ID: 17171139
Attention to detail;)

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

0
 

Author Comment

by:editperfil
ID: 17171185
Yes i have bad sources, now it compiles and i have the driver!!!!
thanks
0
 
LVL 22

Expert Comment

by:pjedmond
ID: 17171198
Well done!

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

0

Featured Post

Free Tool: Postgres Monitoring System

A PHP and Perl based system to collect and display usage statistics from PostgreSQL databases.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Google Drive is extremely cheap offsite storage, and it's even possible to get extra storage for free for two years.  You can use the free account 15GB, and if you have an Android device..when you install Google Drive for the first time it will give…
With User Account Control (UAC) enabled in Windows 7, one needs to open an elevated Command Prompt in order to run scripts under administrative privileges. Although the elevated Command Prompt accomplishes the task, the question How to run as script…
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…

789 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question