Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - General
User Name
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.


  Search this Thread
Old 09-27-2009, 05:50 PM   #1
LQ Newbie
Registered: Sep 2009
Posts: 3

Rep: Reputation: 0
How do you add Stabilized --hash to the initrd

Hi Everyone,

Longtime reader, first time poster. I've recently installed RHEL 5.3, and found that it does not support Firewire with any of their "supported" kernels. I've built kernel, and am getting a kernel panic on boot. Comparing my working version of a kernel I built with the one that isn't working, I find the initrd of the working version has

stabilized --hash --interval 1000 /proc/scsi/scsi

while the non-working one does not. I have not been able to find anything that lets me know how to insert that line into the initrd file. Has anyone else run into this?

Old 09-28-2009, 04:30 PM   #2
LQ Newbie
Registered: Sep 2009
Posts: 3

Original Poster
Rep: Reputation: 0
Get machine to boot from SW RAID

OK, figured out how to get the stabilized line in. I'm trying to boot from a SW RAID, and keep getting a kernel panic, with my kernel build (selected this kernel since we are using it on another machine here). My kernel 2.6.18 build will boot with the RAID and works fine. I've compared the initrd*.img files, and the only differences now between the working and non-working version is the following lines are included in the working version:

echo "Loading dm-mem-cache.ko module"
insmod /lib/dm-mem-cache.ko
echo "Loading dm-region_hash.ko module"
insmod /lib/dm-region_hash.ko
echo "Loading dm-message.ko module"
insmod /lib/dm-message.ko
echo "Loading dm-raid45.ko module"
insmod /lib/dm-raid45.ko

In the menuconfig, the "RAID 4/5 target (EXPERIMENTAL)" option is not available in the later kernel version. Otherwise, all my "multi-device support" options are set the same (although there is an option in the newer kernel for "Device mapper debugging support").

I'm running RAID 1, so it doesn't seem like the raid45 module is important, but it seems like the others must be the cause of this issue.

Anyone have an idea of how I can get this puppy running? Do I need a newer (or older) version of the kernel? Ultimately, we're trying to collect data with a firewire camera, and this has driven the change to the newer (unsupported by Red Hat) kernel.



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 On
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Command help to mount INITRD.img and add files to it to create bootloader newtovanilla Linux - Newbie 5 07-01-2013 04:23 PM
add network module initrd B-Boy Linux - General 7 02-12-2009 06:57 AM
Add drivers to initrd shvnsen Linux - Enterprise 4 11-22-2008 11:54 PM
how can I add udev into initrd? randomsel Slackware 1 06-29-2008 08:27 PM
How to add non-US keyboard layout to initrd (cryptsetup)? malo_umoran Slackware 6 04-05-2008 08:44 AM > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 06:26 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration