LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 03-29-2006, 06:47 AM   #1
neiljt
LQ Newbie
 
Registered: Nov 2002
Location: Canewdon, UK
Distribution: CentOS
Posts: 27

Rep: Reputation: 15
Adaptec SATA Controller under CentOS 4.3?


I've just installed CentOS 4.3 (x86_64) on an Abit IG-81 (915G) Motherboard. Also aboard is an Adaptec AAR-1420SA SATA-II 4-port RAID controller (I don't want to use RAID).

The BIOS sees the SATA card OK, but the OS does not pick it up.

Has anyone managed to get one of these going under CentOS or RHEL? Did you need to build drivers from source, or did you manage to find binaries?

Thanks for any suggestions :-)
 
Old 03-29-2006, 04:25 PM   #2
Brian1
LQ Guru
 
Registered: Jan 2003
Location: Seymour, Indiana
Distribution: Distribution: RHEL 5 with Pieces of this and that. Kernel 2.6.23.1, KDE 3.5.8 and KDE 4.0 beta, Plu
Posts: 5,700

Rep: Reputation: 65
Quick look on Adaptec site has an installtion pdf file that talks about using the bootable cd driver cd disk that comes with the controller. Boot up with that and select the linux driver section. It will take a 3.5" floppy to make a floppy install disk. When you startup with the redhat rhel4 CD type ' linux expert ' or ' linux dd ' on the boot line and insert the floppy. Check out the pdf file here.
http://download.adaptec.com/pdfs/ins...tion_guide.pdf

There are links as well to making the CD if you do not have one.

Now if you update the kernel you will need to to do the part it talks about installing to an existing system. Not sure if it needs to be recompiled to match the kernel. Most drivers need to be done this way but the driver for this card may not kernel version dependent. So not sure what will happen when a new kernel is installed. Just make sure the orginal kernel is not removed during a kernel upgrade. Some updater apps like yum and apt remove the older version of the kernel and installs the newer kernel. But since you are using 86x64 version I would recommend building your own kernels. Oh by the way I did not see the a driver in the latest kernel 2.6.16 so you need to do like mention in this paragraph. If still confused I would contact Adaptec by phone or email for more help.

Brian1
Brian1
 
Old 03-30-2006, 02:38 AM   #3
neiljt
LQ Newbie
 
Registered: Nov 2002
Location: Canewdon, UK
Distribution: CentOS
Posts: 27

Original Poster
Rep: Reputation: 15
Thanks for these suggestions, Brian. Yep, I should have the installation CD, so will give this a go. Not sure if I can use a CD instead of a floppy for an initial install (no floppy on this machine, though I could hang one off it just for the install I guess). I will also try taking your advice wrt rebuilding the kernel, and from what you say the source code for the driver should be around somewhere.

I won't have access for a day or two, but will follow up when I have tried the above. Thanks again.

UPDATE: Having spent my lunchtime exploring the darker reaches of Adaptec's web site, unless I am missing something, it appears that RHEL 3 is the most recent version supported, which is disappointing. If this really is the case, I guess I must select an earlier version of CentOS or possibly a different distro. This box is intended as a file server, so it doesn't need to run the latest & greatest.

Alternatively, since the IG-81 sports 4 SATA ports of its own, I may use these in the hope that drivers for the 1420SA are forthcoming in the coming months.

Has anyone any thoughts on how likely it is I will see drivers (for RHEL/CentOS 4.x) one day, either from Adaptec or the community?

Last edited by neiljt; 03-30-2006 at 07:12 AM. Reason: Update info
 
Old 04-01-2006, 10:00 AM   #4
Brian1
LQ Guru
 
Registered: Jan 2003
Location: Seymour, Indiana
Distribution: Distribution: RHEL 5 with Pieces of this and that. Kernel 2.6.23.1, KDE 3.5.8 and KDE 4.0 beta, Plu
Posts: 5,700

Rep: Reputation: 65
I seen on the adaptec site mentioning rhel4.0 when I was first investigating this post. I figure the cd you had contain the needed image for rhel4. You might have and earlier release driver cd. Check this link for the floppy image to download for rhel4.
http://www.adaptec.com.tw/worldwide/...uct/AAR-1420SA

Brian1
 
Old 04-01-2006, 10:48 PM   #5
ScottReed
Member
 
Registered: Dec 2005
Location: Montana
Distribution: Debian "squeeze"
Posts: 157

Rep: Reputation: 30
If you get the SATA-II card to work with your Linux distribution, let me know. I am looking to buy that same Adaptec card for my machine running slackware.

Thanks,
Scott
 
Old 04-02-2006, 12:08 PM   #6
Brian1
LQ Guru
 
Registered: Jan 2003
Location: Seymour, Indiana
Distribution: Distribution: RHEL 5 with Pieces of this and that. Kernel 2.6.23.1, KDE 3.5.8 and KDE 4.0 beta, Plu
Posts: 5,700

Rep: Reputation: 65
Hi Scott, If you download the Linux source code driver from the link in post #4 it has what you need to apply it to a slackware system. But the issue is to install a fresh copy of slackware on a sata drive using this controller. Many of the files on the link have a precompiled driver that matches the kernel version that each distro installs as the default. Like rhel4 may use kernel 2.6.9.457 so it has the driver built to match the kernel version and has an image disc to use to install with.

A few things you can do.

1. Okay if you want do a clean install to the sata then you will need to make an image disc that contains the modules for the controller to load during the install. Use a command like ' linux dd ' to load the module from the floppy. I would look at one of the other files on the link that has precompiled modules and there is a readme that says how-to use a module floppy.

2. If you already have a default install of slackware that you want to use with your current installed kernel then all you need to do is download the linux source code driver shim package. Now this idea may be tricker and requires a second harddrive of the IDE type. As long as you have the kernel source of the matching kernel version installed on the drive in /usr/src/linux then all you have to do is build it for that kernel. Instructions included in the driver shim file to do this. Now once you have the driver built you can install the controller in the machine with a sata drive and bootup. load the the module for the controller and see what dmesg command shows. If it does not error and loads the module then one can type fdisk -l comamand and see if you can see the new sata drive as /dev/sda if no other scsi, sata, usb, or firewire devices are attached. Okay if all looks fine then this is where the second harddrive comes into play. Since ghost for linux does not support this controller yet this is what I would do.
1. Download Ghost for Linux ISO and burn image to CD.
2. Install second harddrive of same size or larger. (You buy one and return to store later and say not compatiable or something) ( Not a nice thing to do but works in a tight pinch)
3. Bootup with ghost and copy drive to drive
4. Once done reboot and have both drives and sata installed.
5. Since the module is built for the kernel load it and make sure you can see all drives.
6. DO NOT MOUNT the second drive partitions.
7. Install Partimage and copy the images from the second harddrive to the sata drive. (probalbly have to same partition as image then restore image to the sata.
8. Only issue is the bootloader. Not sure how to get around this.
9. If you have windows on the harddrive as well you need to apply the driver before coping the partitions.
10. reboot
What am I missing or forgetting?

Now if you upgrade the kernel you need to build a new driver to match the new kernel from the shim package.

This is an interresting experiment. Maybe I might try this if I pick up a system with a 1420 controller and sata drive.

If you give it a try or anyone knows of a better idea I would like to know.
Brian1
 
Old 04-02-2006, 12:24 PM   #7
ScottReed
Member
 
Registered: Dec 2005
Location: Montana
Distribution: Debian "squeeze"
Posts: 157

Rep: Reputation: 30
Smile

Brian -

Thanks for the steps.

I deffinately would need to start with step #2 because I have a working system for my business right now and I cannot afford to re-install.

I currently use two 80gb SATA Maxtors, mirrored off of my onboard RAID controller. I want to add two more drives and do a RAID 10, hence the curiosity about the Adaptec card.

Maybe down the road i'll image my current drive to an external disk with g4u and then play around with the adaptec card if I buy one.

Thanks again,
Scott
 
Old 04-03-2006, 08:59 AM   #8
neiljt
LQ Newbie
 
Registered: Nov 2002
Location: Canewdon, UK
Distribution: CentOS
Posts: 27

Original Poster
Rep: Reputation: 15
Hi Brian,

Yep, it seems I was missing something. I've just downloaded the source from the link you gave, and will try this when I rebuild the kernel. For now, I have 4 drives attached to the on-board controller, but have left the 1420 in place for future explansion. (My wife just took delivery of a hi-res Canon camera, and has read that raw images are a Good Thing, so it may not be too long before this is needed).

So many thanks, Brian. And Scott, good luck to you -- I will follow up here with details if/when I get this working in case it's useful to you.
 
  


Reply

Tags
adaptec, centos, raid, sata



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Drivers for Adaptec SATA RAID Controller 1210SA AddictIT Linux - Hardware 6 11-02-2007 03:01 AM
Adaptec 320u controller problem roadhippie Linux - Newbie 0 06-06-2005 02:54 PM
CentOS and raid controller trusouthrnplaya Linux - Enterprise 1 04-22-2005 01:48 PM
SuSE 9.1 and Adaptec 2100S Controller taschubert SUSE / openSUSE 2 04-04-2005 05:37 AM
cannot use Adaptec RAID controller jobe17 Linux - Hardware 7 12-04-2004 03:55 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 04:55 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration