LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (http://www.linuxquestions.org/questions/slackware-14/)
-   -   RAID Ctrl and generic kernel (http://www.linuxquestions.org/questions/slackware-14/raid-ctrl-and-generic-kernel-4175463141/)

Berkut9 05-23-2013 07:40 AM

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

Nikosis 05-23-2013 04:23 PM

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


Celyr 05-23-2013 05:54 PM

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.

Berkut9 05-24-2013 03:51 AM

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

Nikosis 05-24-2013 04:03 AM

Than, you might need to rebuild kernel, if you don't want to use huge.

Celyr 05-24-2013 05:30 AM

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

Berkut9 05-24-2013 06:18 AM

Quote:

Originally Posted by Celyr (Post 4958002)
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


All times are GMT -5. The time now is 11:45 PM.