On Tue, 13 Nov 2001 19:05:35 -0600 "Eric Sandquist" <esandquist@xxxxxxxx> wrote: > I've been trying the Promise dirvers and the ones from Redhat to get the > FastTrak 100 to mount in Mandrake 8.1... No luck yet... Can you recompile a kernel with rpm? Get the kernel src.rpm on Mandrake ftp site and follow these instructions. put the included ataraid-0.3.tar.bz2 file in /usr/src/RPM/SOURCES/ and add these lines in the kernel spec file, where appropriate: (the number can be different than 107) Source107: ataraid-0.3b.tar.bz2 # at the end of the sources section %setup -q -n linux -D -T -a107 # just before the packages sections Decide which packages you want to compile; I only need the "up" kernel: %define build_up 1 %define build_smp 0 %define build_enterprise 0 %define build_80 0 %define build_boot 0 %define build_kgcc 0 %define build_kdb 1 # this is important, leave it on %define build_doc 0 then recompile with rpm -ba /usr/src/RPMS/SPECS/kernel.spec Don't forget to run the included MAKEDEV script to create the ataraid devices. Install the kernel with rpm -Uhv, update lilo, reboot... If the new drivers are working, make a new initrd image: mkinitrd --preload=ataraid --preload=pdcraid \ /boot/initrd-2.4.8-20-raid-mdk 2.4.8-20mdk (for example) and use this image in your lilo setup; this will load the drivers at boot. Good luck -- Marc
Attachment:
ataraid-0.3b.tar.bz2
Description: Binary data