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 05-23-2013, 07:40 AM   #1
Berkut9
LQ Newbie
 
Registered: May 2013
Posts: 3

Rep: Reputation: Disabled
RAID Ctrl and generic kernel


Hi!

I have Fujitsu RX300 S7 server and LSI RAID Ctrl SAS 6G 1GB D3116 Contoller.
Quote:
lspci
01:00.0 RAID bus controller: LSI Logic / Symbios Logic MegaRAID SAS 2208 [Thunderbolt] (rev 03)
I have successfully installed Slackware 14 x86_64 on this server and booting fine with huge kernel (3.2.45).
But booting with generic kernel not work.

RAMDISK: Couldn't find valid RAM disk image starting at 0.
VFS: Cannot open root device "803" or unknown -block (8,3)

I have created ramdisk with this command
mkinitrd -c -k 3.2.45 -m megaraid_sas:reiserfs -o /boot/3.2.45-initrd.gz -s /boot/3.2.45-initrd-tree
lilo -v
no warnings
 
Old 05-23-2013, 04:23 PM   #2
Nikosis
Member
 
Registered: Dec 2005
Location: In front of the monitor
Distribution: Slackware
Posts: 310

Rep: Reputation: 59
You missing FS driver
Try this
Code:
mkinitrd -c -k 3.2.45 -f reiserfs -r /dev/YOUR_DEVICE -m megaraid_sas:usbhid:ehci-hcd:uhci-hcd:mbcache:jbd2:ext4:reiserfs \
-u -o /boot/initrd.gz

Last edited by Nikosis; 05-23-2013 at 04:32 PM.
 
Old 05-23-2013, 05:54 PM   #3
Celyr
Member
 
Registered: Mar 2012
Location: Italy
Distribution: Slackware+Debian
Posts: 314

Rep: Reputation: 77
There is a wonderful tool in
Code:
/usr/share/mkinitrd
called
Code:
mkinitrd_command_generator.sh
you can invoke it this way:
Code:
# ./mkinitrd_command_generator.sh -k 3.8.13
and it puts out with lot of magic something like this:
Code:
mkinitrd -c -k 3.8.13 -f ext4 -r /dev/sda1 -m usbhid:uhci-hcd:mbcache:jbd2:ext4 -u -o /boot/initrd.gz
wich is the right initrd for my computer.
 
Old 05-24-2013, 03:51 AM   #4
Berkut9
LQ Newbie
 
Registered: May 2013
Posts: 3

Original Poster
Rep: Reputation: Disabled
This not helped me

Quote:
mkinitrd -c -k 3.2.45 -f reiserfs -r /dev/sda3 -m megaraid_sas:usbhid:ehci-hcd:uhci-hcd:mbcache:jbd2:ext4:reiserfs -u -o /boot/initrd.gz
And this also
Quote:
./mkinitrd_command_generator.sh
mkinitrd -c -k 3.2.45 -f reiserfs -r /dev/sda3 -m megaraid_sas:usbhid:ehci-hcd:reiserfs -u -o /boot/initrd.gz
 
Old 05-24-2013, 04:03 AM   #5
Nikosis
Member
 
Registered: Dec 2005
Location: In front of the monitor
Distribution: Slackware
Posts: 310

Rep: Reputation: 59
Than, you might need to rebuild kernel, if you don't want to use huge.
 
Old 05-24-2013, 05:30 AM   #6
Celyr
Member
 
Registered: Mar 2012
Location: Italy
Distribution: Slackware+Debian
Posts: 314

Rep: Reputation: 77
Are you sure to use the right initrd in lilo.conf? Have you issued it?

Last edited by Celyr; 05-24-2013 at 05:33 AM.
 
Old 05-24-2013, 06:18 AM   #7
Berkut9
LQ Newbie
 
Registered: May 2013
Posts: 3

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by Celyr View Post
Are you sure to use the right initrd in lilo.conf? Have you issued it?
lilo command not show any warnings and i use the right initrd in lilo.conf

Last edited by Berkut9; 05-24-2013 at 06:35 AM.
 
  


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
[SOLVED] Software RAID 1 vs. LILO vs. kernel-generic kikinovak Slackware 4 07-03-2011 03:06 AM
[SOLVED] setting up initrd / generic kernel in Grub2...can't load generic Ubunoob001 Slackware 8 01-05-2011 11:37 PM
Kubuntu kernel upgrade to 2.6.24-23-generic mangles RAID disk partitions leibniz Ubuntu 0 02-09-2009 01:06 PM
slack 12, switch to generic kernel from huge kernel, using grub? jaguarrh Slackware 8 09-19-2007 06:29 AM
Cannot boot a software raid array with 'generic' kernel (Slackware 12) dieymir Slackware 2 07-11-2007 09:26 PM


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