Ich möchte den Treiber für eine Promise Fasttrack TX4000 Raidkarte kompilieren
Das Problem dabei ist, daß ich den Treiber benötige um ein Debian Sarge auf einem Rechner zu installieren.
Sprich ich muss den Treiber bei der Installation einbinden, damit ich das RAID überhaupt benutzen kann.
Zur Installation verwende ich Debian Sarge 3.1 rc2.
Die empfohlene Vorgehensweise von Promise sieht folgendermaßen aus:
Code: Alles auswählen
/***********************************************************************
* PROMISE FastTrak TX4000/376/378/S150 TX Series Linux Driver README *
* *
* PROMISE Linux support team <support@promise.com.tw> 2003/07/03 *
***********************************************************************/
How to make and load a Driver module (UP/SMP) for FastTrak
1.) Make sure you have linux kernel source code in /usr/src/linux,
and the gcc version is 3.x by issuing the command -
# gcc -v
2.) Set the Kernel Compiling Environment -
# cd /usr/src/linux/
# make config(or menuconfig/xconfig)
To set kernel config items as you wish as below,
Processor type and features/Processor family
Processor type and features/High Memory Support
Processor type and features/Symmetric multi-processing support
# make dep clean
3.) Go to the directory where PROMISE driver code is located and edit
Makefile.
4.) Choose the parameters in Makefile (default parameter is INDEP586)
ex: INDEP586 for most common case
DEP586 for most common case including module version
SuSE_TB for SuSE linux and Turbolinux,
MDK for Mandrake linux
5.) Issue Linux command to make a FastTrak(UP/SMP) driver: ft3xx.o
#make clean all
6.) Be sure to load scsi_mod.o before "insmod ft3xx.o".
7.) Copy this module to /lib/modules/2.4.x/kernel/drivers/scsi/
8.) Issue "cat /proc/scsi/ft3xx/x" (x is a SCSI host number) to get the
RAID array status.
Source liegen im richtigen Verzeichnis
kernel ist konfiguriert und make dep ausgeführt
Im Makefile der Promisesourcen ist der richtige Parameter gewählt
treiber ist dann mit make clean all kompiliert
wenn ich überprüfen möchte ob das Module scsi_mod.o geladen ist, meldet mir modprobe einen Fehler, insmod sagt, das ein Module namens scsi_mod.o bereits existiert
Wenn ich jetzt ft3xx.o mit modprobe aufrufe bekomme ich über 30 unresolved symbols.
Jetzt komme ich nicht mehr weiter und brauche irgendjemanden, der mir sagen kann wo mein Fehler liegen könnte.
Viele Dank für die HIlfe im voraus
Dicki