  | | | Kernel Upgrade doesn 't retain existing driver. | Kernel Upgrade doesn 't retain existing driver. 2003-12-04 - By Craig White
Back On Thu, 2003-12-04 at 13:01, Matthias Saou wrote: > William Hooper wrote : > > > Camron W. Fox said: > > > Alle, > > > > > > I have recently installed 7.3 from the ISOs (kernel 2.4.18-3) with > > > a > > > Promise SX6000 RAID card (the only drives in the box) using the driver > > > from > > > promise (installed with "boot: linux dd". This went without a hitch. > > > > Quoting the Promise readme.txt: > > > > The disk image file used to install Linux > > Redhat7.3 with the SuperTrak SX6000. These drivers > > support Linux kernel 2.4.18-3 UP/SMP and bigmem-2 (See http://mem-2.ora-code.com).4.18-3. > > > > Promise has a history of having closed source drivers and only releasing > > them for the kernel's shipped by RH. Unless an open-source driver will > > work with that card, you are SOL and can't upgrade your kernel. > > Yeah, Promise RAID s*cks :-( > I have a bunch of servers running 7.3 which were installed with the > proprietary driver and contain an onboard Promise IDE RAID controller. I've > been able to use the ataraid and pdcraid modules of the latest errata > kernels on them, but the transition was a bit tricky as the Promise driver > makes the devices appear as SCSI devices, whereas the free drivers make > them appear in /dev/ataraid/. Also, I've got severe data corruption issues > with 2.4.2x kernels, so I had to downgrade to the latest 2.4.18 errata one > to fix that. I still have a bugzilla bug open about this one... > > If you want my advice : Disable completely the Promise RAID stuff, and if > you can get the drives to appear as regular IDE devices, you'll be much > better off using software RAID! > > Here is basically what I did, in case your situation is similar. The 2.4.18 > kernel can still be found here : > http://ftp.freshrpms.net/pub/freshrpms/redhat/misc/kernel-2 (See http://nel-2.ora-code.com).4.18-27.7.x/ > > apt-get update > apt-get install modutils > apt-get install kernel-smp#2.4.18-27.7.x > mkinitrd --omit-scsi-modules --with=ataraid --with=pdcraid > /boot/initrd-2 (See http://trd-2.ora-code.com).4.18-27.7.xsmp.img 2.4.18-27.7.xsmp > > edit /etc/grub.conf to : > - Add the new initrd file!!! > initrd /boot/initrd-2 (See http://trd-2.ora-code.com).4.18-27.7.xsmp.img > - Replace root=/dev/sda1 with root=/dev/ataraid/d0p1 > - Change to default=0 (the new kernel) > > edit /etc/fstab : > - Replace /dev/sda8 (swap) with /dev/ataraid/d0p8 > - reboot - > > rpm -e kernel-2 (See http://nel-2.ora-code.com).4.18-3 kernel-smp-2 (See http://smp-2.ora-code.com).4.18-3 > > remove the FastTrak line from /etc/modules.conf and add : > alias scsi_hostadapter0 ataraid > alias scsi_hostadapter1 pdcraid > - re-reboot and done! - > -- -- dude - that was the $500 answer - you don't get answers like that from paid support anywhere.
I've laid off the ATA RAID controllers for these reasons so it hasn't been my problem but I just read through this answer and wanted to express my admiration for your step-by-step solution.
Craig
|
|
 |