Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Software > Linux - Kernel
User Name
Linux - Kernel This forum is for all discussion relating to the Linux kernel.


  Search this Thread
Old 07-18-2007, 01:22 PM   #1
Registered: Sep 2006
Location: San Francisco, Ca.
Distribution: Redhat/Fedora/CentOS
Posts: 39

Rep: Reputation: 15
Drivers and kernel versions...

I'm a happy owner of a Areca SCSI card that has an open source driver that is not integrated into the kernel. I managed to load CentOS 5 onto a server and can boot from the scsi card now, but had a couple of questions regarding kernel updates, or situations like attempting to use a liveCD which doesn't have this particular driver compiled.

Currently, when a new kernel gets installed a la 'yum -y update', I have to manually re-compile the driver and then re-run mkinitrd. The problem I've been running into is that no matter what I've tried, I cannot get mkinitrd to include the dependencies that the Areca driver requires (scsi_mod.ko and sd.mod.ko). So I'm left with running mkinitrd, and then gunzipping and cpioing the resulting file, copying the two dependencies, editing the init script, and then cpio + gzipping the file back together again before I can boot into the new kernel. Is there a trick here to make this process easier? I've tried things like --force-scsi-probe and --with options of mkinitrd, but it doesn't seem to help, or it loads the extra modules AFTER the scsi driver instead of before it which causes things to break when booting.

The second problem I've ran into is how to deal with situations where one has a livecd that doesn't have the particular driver I need. Paragon's latest version of their partition manager doesn't support this scsi card either, and I'm trying to figure out if there is a way I can generically compile the driver so that it can skip the kernel version checks that will prevent it from loading. I understand that there's a possibility that this will cause the driver to fail, but I'd at least like to give it a try to see first. Otherwise, are my only recourses in these situations to download the matching kernel, compile it, and then compile the driver?


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
gcc versions compatibility with kernel versions.. mahesh_manthapuri SUSE / openSUSE 1 03-22-2006 12:28 AM
AMD drivers - which Mandriva versions fully support mvanalyst Mandriva 2 01-29-2006 04:30 PM
Nvidia drivers, kernel versions and Redhat 9 sausagejohnson Red Hat 1 08-17-2004 08:20 PM
How to keep modules/drivers across kernel recompiles and kernel versions? Pisces107 Linux - General 5 01-21-2004 08:29 PM
How do I install drivers for hardware not seen by linux versions leobing Linux - Hardware 2 12-01-2003 02:18 PM > Forums > Linux Forums > Linux - Software > Linux - Kernel

All times are GMT -5. The time now is 03:15 PM.

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