LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
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, 08: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, 09: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, 09:47 AM   #3
GazL
LQ Veteran
 
Registered: May 2008
Posts: 6,897

Rep: Reputation: 5018Reputation: 5018Reputation: 5018Reputation: 5018Reputation: 5018Reputation: 5018Reputation: 5018Reputation: 5018Reputation: 5018Reputation: 5018Reputation: 5018
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, 09: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, 10:44 AM   #5
onebuck
Moderator
 
Registered: Jan 2005
Location: Central Florida 20 minutes from Disney World
Distribution: SlackwareŽ
Posts: 13,925
Blog Entries: 44

Rep: Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159
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, 12: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 02:23 PM.
 
Old 10-25-2008, 02:49 PM   #7
onebuck
Moderator
 
Registered: Jan 2005
Location: Central Florida 20 minutes from Disney World
Distribution: SlackwareŽ
Posts: 13,925
Blog Entries: 44

Rep: Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159
Hi,

Do you have 'AHCI' setup?
 
Old 10-25-2008, 06: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



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

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

All times are GMT -5. The time now is 10:33 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