[SOLVED] Add driver at boot time for Fedora Core 6
Linux - HardwareThis forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I'm trying to install FC 6 on old Dell 6300 which has the PERC2/SC RAID Controller for its SCSI drives.
It worked on RH 7.3 and I've found a post suggesting the driver is not in the 2.6 kernel.
Is there a way to tell it to use the driver originally made for the 2.4 kernel during the install of a 2.6 kernel distro?
By the way - Google shows other people talking about the Dell 6300 and PERC but they are talking about an Adaptec PERC card not the PERC2/SC which is a Megatrends PERC card instead.
A driver module compiled for a 2.4 kernel will not work on a 2.6 kernel. During installation, most distros have an option to use alternative kernels, including the latest 2.4 kernel. That route is probably your best bet when trying to install FC 6.
Luckily we had a spare PERC 4/DC card around so were able to swap out the PERC 2/DC for that. FC 6 (with 2.6 kernel) recognized the PERC 4/DC and installed like a champ.
I did that last night. This morning I saw a response from the same question I'd posted on my LUG's mail list. Since I'm under time pressure I'm not going to put the PERC 2/SC back and reinstall. However, I'll post that response for people that may not have a spare PERC avaialable as I did:
The response suggests the 2.6 kernel will recognize the older PERC card:
Quote:
There is a 2.6 driver for those old megaraid cards. It is considered a "legacy" card, and you need the CONFIG_MEGARAID_LEGACY option set to Y or M in your kernel to use it.
I'm not familiar with FC, but on openSuSE 10.20, they currently deliver these modules:
/lib/modules/2.6.18.2-34-default/kernel/drivers/scsi/megaraid.ko
/lib/modules/2.6.18.2-34-default/kernel/drivers/scsi/megaraid/megaraid_mm.ko
/lib/modules/2.6.18.2-34-default/kernel/drivers/scsi/megaraid/megaraid_sas.ko
/lib/modules/2.6.18.2-34-default/kernel/drivers/scsi/megaraid/megaraid_mbox.ko
Other information gathered since my original post. I haven't gone very far in this but will post it here in case someone else has more cycles to try any of this than I do:
This Suse forum talks about how the guy solved the issue for another old MegaRAID card. My read of it suggests that it could be adapted to Fedora:
Well I finally started to work on this again yesterday since I had some spare cycles. On doing a Google for comments in the above link about megaraid.h I eventually found my way to a site that had the answer for FC4 (and later in thread FC5) which led me to believe it would work for FC6.
I tried it and sure enough it worked.
Short answer: The driver is already there.
Complete answer: The 2.6 kernel in FC4 FC5 FC6 (and presumably later) contains TWO megaraid drivers which are LSI MEGARAID AND LSI MEGARAID_MBOX.
When you do the initial boot it probes your hardware and defaults to using the LSI MEGARAID_MBOX. This however, won't work on the older cards like the Dell PERC 2/SC (made by American Megatrends which later became LSI).
However, you can tell your system NOT to probe and then manually select the driver.
Steps:
1) Boot from the FC6 installation CD
2) At first screen hit F4 for Kernel
3) At next screen at "boot:" prompt type "linux noprobe" and hit return.
4) At prompts to pick language and keyboard select as normal.
5) A box will appear to select driver.
Scroll down the list and highlight the LSI MEGARAID driver (you'll also see LSI MEGARAID_MBOX - do NOT use MBOX).
6) NOTE: This step only needed if you have additional SCSI adapters.
On my system there were also 2 Adaptec 7890 SCSI adapters and an Adaptec 7860 SCSI (only God knows why this box had 3 Adaptecs AND the PERC 2). Because it found other SCSI adapters it opened the box to select driver again.
Chose "AHA-2470, 28xx, 29xx, 39xx (AIC7xxx)" driver.
7) It will go to the screen asking to test the media. I chose "skip"
8) It goes to a Devices screen - this should show all the drivers you selected in 5 and 6. Click "Done".
9) Proceed with the installation as normal from there.
After following the above the system booted up cleanly from the LUN on the PERC 2/SC. Also I ran "yum update" to update all the software to latest version after the install - this installed a new kernel and that also booted fine from the LUN.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.