2005/09/02

MegaRaid at FC3 kernel update problem solved

有台老機器是HP NetServer LH Pro 是pentium 100 雙CPU
裝FC3無法馬上裝起來而找到下列方式:

安裝不起來用這個方式:

Comment #22 From Chris Adams on 2004-12-16 13:33 EST[reply]
I don't expect to see new install images (those are rare).  However, I
have made a driver disk that should work (I haven't had a chance to
test it yet because my test system doesn't boot the FC3 installer at all).

You can try my FC3 MegaRAID driver disk at:

http://www.iruntheinter.net/files/misc/megaraid-dd.zip

Just unzip the files to the top level of a DOS floppy and tell the
installer you have a driver disk. I'd appreciate any feedback.
---------------
安裝後用yum update更新到的kernel無法開機,用下列的方式解決。

Comment #37 From W.C. Epperson on 2005-04-15 20:03 EST [reply]
Here's a fix.
If you've done a kernel update to 2.6.11-1.14_FC3 and are getting a kernel panic
after "No volume groups found" on an older megaraid card, the fix is pretty
easy, because the old megaraid driver is actually getting built, just not put
into the initrd image.

Boot your previous kernel by interrupting the countdown screen and selecting it.
Fix /etc/modprobe.conf to alias to megaraid instead of megaraid_mbox:
[root@home etc]# diff modprobe.conf modprobe.conf.-1
1c1
< alias scsi_hostadapter megaraid
---
> alias scsi_hostadapter megaraid_mbox
4c4
< alias scsi_hostadapter2 megaraid
---
> alias scsi_hostadapter2 megaraid_mbox

I.E. just take the "_mbox" off the alias lines for megaraid_mbox.

Then rebuild the initrd image:
/sbin/mkinitrd -v -f /boot/initrd-2.6.11-1.14_FC3.img 2.6.11-1.14_FC3
If you're running multiprocessor kernel, also do:
/sbin/mkinitrd -v -f /boot/initrd-2.6.11-1.14_FC3smp.img 2.6.11-1.14_FC3smp
Should boot fine now. My Dell Precision 530 with PERC2/DC does. Hope this helps.