RE: Mandrake 8.1

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

 



Appearantly, I cannot...  The sources for the kernel are under
/usr/src/linux-2.4.8 , I tried putting the extracted files into the
/usr/src/linux-2.4.8/drivers/ide but no luck...  Infoact there is no
kernel.spec file on my system.   So, I still haven't been able to get the
array to work as yet.

Eric

-----Original Message-----
From: ataraid-list-admin@xxxxxxxxxx
[mailto:ataraid-list-admin@xxxxxxxxxx]On Behalf Of Marc Lavallie
Sent: Sunday, December 02, 2001 8:18 PM
To: ataraid-list@xxxxxxxxxx
Subject: Re: Mandrake 8.1


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








[Index of Archives]     [Linux RAID]     [Linux Device Mapper]     [Linux IDE]     [Linux SCSI]     [Kernel]     [Linux Books]     [Linux Admin]     [GFS]     [RPM]     [Yosemite Campgrounds]     [AMD 64]

  Powered by Linux