LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices

Reply
 
Search this Thread
Old 08-04-2005, 07:07 PM   #1
marsupillami
LQ Newbie
 
Registered: Aug 2005
Location: Portugal
Distribution: Fedora Core 2
Posts: 7

Rep: Reputation: 0
Compiling from 2.6.5-1 to 2.6.12-3 (adding raid driver)


Hi!

Iīm currently having a problem with a compilation from 2.6.5-1 to the new 2.6.12-3 (or whatever kernel I choose).

I installed Fedora Core 2 (which has the 2.6.5-1 kernel) with a driver disk for my SATA Raid Controller (Highpoint RocketRaid 2220). Everything ran well, however, now I want to compile this new kernel version (2.6.12-3) with more specific options. The problem is that after compiling it, and rebooting, I get a kernel panic, since the new kernel is unable to find de /dev/sda1 partition. This happens because the hpto6.ko module isnīt loaded in the initrd (it used to be loaded before the ext3.ko module). Any idea on how to include the highpoint module on the kernel recompilation?

Thank You.
 
Old 08-04-2005, 08:12 PM   #2
Tomasfuego
Member
 
Registered: Nov 2002
Location: USA
Distribution: Lenny at work
Posts: 168

Rep: Reputation: 30
Is it part of the kernel?

Fedora is probably just not loading the module you want. If it is, dont compile the driver as a module but as a built-in piece of the kernel. You can change this when you configure the kernel. Besides garanteeing it gets loaded, its a little bit faster for being built in.

While you are in there, you can turn other modules to built in. For instance, ext3, iso9660, USB .... and you can turn off what you def dont need, ie ISA Bus.
 
Old 08-04-2005, 08:16 PM   #3
marsupillami
LQ Newbie
 
Registered: Aug 2005
Location: Portugal
Distribution: Fedora Core 2
Posts: 7

Original Poster
Rep: Reputation: 0
The problem is that I have no option in menuconfig to activate this driver as module or kernel integrated :/

Should I have that option? This controller is the latest from Highpoint.

Thank You for your reply
 
Old 08-04-2005, 08:24 PM   #4
Tomasfuego
Member
 
Registered: Nov 2002
Location: USA
Distribution: Lenny at work
Posts: 168

Rep: Reputation: 30
If the driver is from a company, it may have directions for building it into the kernel.

If not, after you build it as a module you have to figure out how to get it into initr.d(sp?) .... its another file in /boot.

Maybe you can get into BIOS and see if you can map SATA 0 to IDE 0 that way you can skirt the whole issue.
 
Old 08-04-2005, 08:34 PM   #5
marsupillami
LQ Newbie
 
Registered: Aug 2005
Location: Portugal
Distribution: Fedora Core 2
Posts: 7

Original Poster
Rep: Reputation: 0
Nope, the motherboard BIOS wonīt do because it is a PCI-X controller, and the controller BIOS doesnīt have that option (also, it is a RAID Array).

The company (HighPoint), provides me a driver disk for Fedora Core 2, and the driver source. They have the instructions on how to install the driver source, but how can I do it if I canīt even boot into the 2.6.12 kernel? I just can boot with the 2.6.5 one :S
 
Old 08-04-2005, 10:54 PM   #6
marsupillami
LQ Newbie
 
Registered: Aug 2005
Location: Portugal
Distribution: Fedora Core 2
Posts: 7

Original Poster
Rep: Reputation: 0
I just tried it again, checked the whole modules list (in make modules_install step), and the hptmv6.ko isnīt there

So, I believe it is not a problem with initrd.... but with the compilation itself. Shouldnīt I have to add the driver during the compilation?
 
Old 08-05-2005, 09:48 AM   #7
Tomasfuego
Member
 
Registered: Nov 2002
Location: USA
Distribution: Lenny at work
Posts: 168

Rep: Reputation: 30
Where is the site that has the directions?
 
Old 08-05-2005, 10:12 AM   #8
marsupillami
LQ Newbie
 
Registered: Aug 2005
Location: Portugal
Distribution: Fedora Core 2
Posts: 7

Original Poster
Rep: Reputation: 0
http://www.highpoint-tech.com/

Support -> BIOS + Drivers -> RocketRaid 2220

(sorry but the site doesnīt display the full path in the address bar)

Thank You.
 
Old 08-05-2005, 09:30 PM   #9
Tomasfuego
Member
 
Registered: Nov 2002
Location: USA
Distribution: Lenny at work
Posts: 168

Rep: Reputation: 30
You are using the generic linux tarball right?
 
  


Reply


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
URGENT:Adding new disk to raid mailnickykav Red Hat 3 11-07-2005 12:40 PM
Adding additional drive to make a RAID 1 config khooke Linux - Hardware 2 09-25-2005 12:39 AM
Adding a hardware Raid setup darazman Linux - Hardware 1 04-02-2004 09:18 AM
Adding ide drive to existing raid 5 help koj333 Linux - Hardware 3 09-28-2003 12:28 PM
Adding Additional HD With Raid Present LeeForkenbrock Linux - Hardware 2 07-23-2003 04:43 PM


All times are GMT -5. The time now is 09:27 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration