Re: CentOS4 and older megaraid - SOLVED

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



Mike Fedyk wrote:
Matt Hyclak wrote:
Yes, you'll just have to boot the UP kernel until you do. It should just be a matter of repeating the same steps with kernel-smp-devel
What happens with the smp verson with
insmod /media/floppy/megaraid.ko
It was already done with the UP version, same filename.
and putting the
resulting .ko files in /lib/modules/xxx.ELsmp

Don't you mean /lib/modules/`uname -r`/xxx.EXsmp?

I don't think so.

uname -r for me is 2.6.9-42.EL

But I have
/lib/modules/2.6.9-42.EL and /lib/modules2.6.9-42.ELsmp

From the help so far I am proposing to:
# Insert floppy with 686 version of megaraid.ko
mount /media/floppy
# Copy the 686 megaraid.ko module
cp /media/floppy/megaraid.ko /mnt/sysimage/lib/modules/2.6.9-42.EL/kernel/drivers/scsi
umount /media/floppy
# Insert floppy with 686-smp version of megaraid.ko
mount /media/floppy
# Copy the smp686 megaraid.ko module
cp /media/floppy/megaraid.ko /mnt/sysimage/lib/modules/2.6.9-42.ELsmp/kernel/drivers/scsi

and then

# set root to your newly installed system image
chroot /mnt/sysimage
vi /etc/modprobe.conf
# make the line with 'alias scsi_hostadapter' say
alias scsi_hostadapter megaraid
# Save the file.
:wq
#Switch to the /boot directory
cd /boot
#Create new initrd files
mkinitrd initrd-2.6.9-42.EL.img.megaraid 2.6.9-42.EL
mkinitrd initrd-2.6.9-42.ELsmp.img.megaraid 2.6.9-42.ELsmp
#
#Copy the new initrd over old initrd
cp initrd-2.6.9-42.EL.img.megaraid initrd-2.6.42-EL.img
cp initrd-2.6.9-42.EL.img.megaraid initrd-2.6.42-ELsmp.img
# Exit chroot environment
exit
# Switch back to the GUI installer
Alt-F1
press Finish
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos

[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux