LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   How do you add Stabilized --hash to the initrd (https://www.linuxquestions.org/questions/linux-general-1/how-do-you-add-stabilized-hash-to-the-initrd-758128/)

irgang 09-27-2009 05:50 PM

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 2.6.27.19, 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?

Thanks!
Todd

irgang 09-28-2009 04:30 PM

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 2.6.27.19 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.

Thanks!
n00b


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