LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 10-25-2008, 09:30 AM   #1
dcsmith300
LQ Newbie
 
Registered: Oct 2008
Location: San Antonio, TX
Distribution: Slackware
Posts: 15

Rep: Reputation: 3
Help needed with initrd


I have installed slackware 12.1 on my server and I'm having issues with the initrd that loads the generic kernel. I created my initrd with the following command: mkinitrd -c -k 2.6.24.5-smp -m dpt_i2o:reiserfs

This box has scsi raid that is installed as sda: sda1: sda2: but the initrd loads the SATA driver and it picks up sda and then identifies the SCSI as sdb.

My question is: is there a way to not load the sata drivers in the initrd? That way the SCSI controller would get the correct definitions ie: sda?

Thanks in advance for any help.
 
Old 10-25-2008, 10:10 AM   #2
dcsmith300
LQ Newbie
 
Registered: Oct 2008
Location: San Antonio, TX
Distribution: Slackware
Posts: 15

Original Poster
Rep: Reputation: 3
I answered my own question: SATA support is compiled into the generic kernel so I have 2 options: 1) Re-install (not going to happen) or 2) Recompile the kernel with SATA support being modules. I am recompiling now and will let you know how it turns out.
 
Old 10-25-2008, 10:47 AM   #3
GazL
LQ Guru
 
Registered: May 2008
Posts: 5,329
Blog Entries: 18

Rep: Reputation: 3126Reputation: 3126Reputation: 3126Reputation: 3126Reputation: 3126Reputation: 3126Reputation: 3126Reputation: 3126Reputation: 3126Reputation: 3126Reputation: 3126
There might be a 3) See if you can pass a parameter to the kernel from lilo/grub to disable it. My machines are too old for SATA so I couldn't tell you what the parameter might be off hand, but I'd be surprised if there isn't one.
 
Old 10-25-2008, 10:58 AM   #4
dcsmith300
LQ Newbie
 
Registered: Oct 2008
Location: San Antonio, TX
Distribution: Slackware
Posts: 15

Original Poster
Rep: Reputation: 3
I thought of that too but I need the SATA later in the boot process. I have 2 70GB Cheetah SCSI drives in a mirror set that I have configured for the / partition and then I have a 80GB IDE and 150GB SATA drive.
 
Old 10-25-2008, 11:44 AM   #5
onebuck
Moderator
 
Registered: Jan 2005
Location: Summer Midwest USA, Central Illinois, Winter Central Florida
Distribution: SlackwareŽ
Posts: 13,492
Blog Entries: 32

Rep: Reputation: 2665Reputation: 2665Reputation: 2665Reputation: 2665Reputation: 2665Reputation: 2665Reputation: 2665Reputation: 2665Reputation: 2665Reputation: 2665Reputation: 2665
Hi,

You could look at 'mkinitrd_command_generator'.

Quote:
very useful script to create a mkinitrd line. 'The script will not change anything to your system. It only reads the state of your running system and it will output a mkinird commandline that should load the required drivers for your computer so that it will boot properly.'
 
Old 10-25-2008, 01:47 PM   #6
dcsmith300
LQ Newbie
 
Registered: Oct 2008
Location: San Antonio, TX
Distribution: Slackware
Posts: 15

Original Poster
Rep: Reputation: 3
I appreciate the thought but a configuration script will not help in this case. I know what drivers I need, the problem I am having is with the SATA bios stepping on my raid card.

Last edited by dcsmith300; 10-25-2008 at 03:23 PM.
 
Old 10-25-2008, 03:49 PM   #7
onebuck
Moderator
 
Registered: Jan 2005
Location: Summer Midwest USA, Central Illinois, Winter Central Florida
Distribution: SlackwareŽ
Posts: 13,492
Blog Entries: 32

Rep: Reputation: 2665Reputation: 2665Reputation: 2665Reputation: 2665Reputation: 2665Reputation: 2665Reputation: 2665Reputation: 2665Reputation: 2665Reputation: 2665Reputation: 2665
Hi,

Do you have 'AHCI' setup?
 
Old 10-25-2008, 07:38 PM   #8
dcsmith300
LQ Newbie
 
Registered: Oct 2008
Location: San Antonio, TX
Distribution: Slackware
Posts: 15

Original Poster
Rep: Reputation: 3
Fixed!!! I recompiled the Generic-smp kernel and compiled in my Raid card and Reiserfs. I Made the SATA Cards Modules and now it is seen as sdb.
Very Cool, thanks for all the suggestions.
 
  


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
Choosing a kernel for Slackware 12 and is an initrd needed? Lufbery Slackware 26 01-22-2008 08:52 PM
How to create new initrd.gz (or initrd.img) file? kkpal Programming 2 12-10-2007 09:38 AM
Is initrd really needed? kpachopoulos Linux - General 1 06-14-2005 08:48 AM
OPT INITRD Directory Purpose(s)? Needed? Outabux Debian 1 10-05-2004 11:41 PM
Kernel Panic: pivot_root (/sysroot, /sysroot/initrd) Faild: 2 Help Needed KingofBLASH Linux - General 8 12-20-2003 10:43 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 02:16 PM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration