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

HighPoints RocketRaid 454 unter Debian



Hallo zusammen,

ich habe oben genannten (Soft-)Raidcontroller auf drei Servern hier im
Einsatz. Alle laufen unter Debian mit verschiedenen
2.4.-Kernelversionen. Auf einem viertem System mit einem 2.6.1x-Kernel
bekomme ich die Treiber nicht kompiliert (siehe Fehlermeldung unten).
Wenn ich das richtig verstanden habe, gab es irgendwann in der
2.6.-Kernel-Historie eine Änderung im Bereich Scsi und vermutlich liegt
da auch das Problem.
Kennt jemand eine Lösung dazu (ausser 2.4.-Kernel oder andere Hardware
verwenden)?


Fehlermeldungen unter jeweiliger Verwendung von:

Kernel 2.6.13.4
---------------
rechner:/tmp/driver# make RR154X=0 CROSS_CTRL=1 KERNELDIR=/usr/src/linux
cp -f raid.o raid.obj
make -C /usr/src/linux SUBDIRS=`pwd` modules
make[1]: Entering directory `/usr/src/linux-2.6.13.4'
  CC [M]  /tmp/driver/hpt.o
In file included from /tmp/driver/hpt.c:126:
/tmp/driver/entry.c: In Funktion »hpt3xx_Detect«:
/tmp/driver/entry.c:621: Warnung: implicit declaration of function
`scsi_set_device'
In file included from /tmp/driver/hpt.c:126:
/tmp/driver/entry.c: In Funktion »hpt3xx_Abort«:
/tmp/driver/entry.c:764: error: structure has no member named `abort_reason'
/tmp/driver/entry.c: In Funktion »fOsBuildSgl«:
/tmp/driver/entry.c:942: Warnung: implicit declaration of function
`scsi_to_pci_dma_dir'
In file included from /tmp/driver/hpt.c:127:
/tmp/driver/hptproc.c: In Funktion »hpt_set_info«:
/tmp/driver/hptproc.c:230: Warnung: `verify_area' is deprecated
(declared at include/asm/uaccess.h:105)
/tmp/driver/hptproc.c:236: Warnung: `verify_area' is deprecated
(declared at include/asm/uaccess.h:105)
/tmp/driver/hptproc.c:242: Warnung: `verify_area' is deprecated
(declared at include/asm/uaccess.h:105)
make[2]: *** [/tmp/driver/hpt.o] Fehler 1
make[1]: *** [_module_/tmp/driver] Fehler 2
make[1]: Leaving directory `/usr/src/linux-2.6.13.4'
make: *** [default] Fehler 2


Kernel 2.6.15-rc5
-----------------
rechner:/tmp/driver$ make RR154X=0 CROSS_CTRL=1 KERNELDIR=/usr/src/linux
cp -f raid.o raid.obj
make -C /usr/src/linux SUBDIRS=`pwd` modules
make[1]: Entering directory `/usr/src/linux-2.6.15-rc5'
  CC [M]  /tmp/driver/hpt.o
/tmp/driver/hpt.c: In function `get_bdev':
/tmp/driver/hpt.c:64: error: `Scsi_Device' undeclared (first use in this
function)
/tmp/driver/hpt.c:64: error: (Each undeclared identifier is reported
only once
/tmp/driver/hpt.c:64: error: for each function it appears in.)
/tmp/driver/hpt.c:64: error: `SDptr' undeclared (first use in this function)
In file included from /tmp/driver/global.h:16,
                 from /tmp/driver/entry.c:5,
                 from /tmp/driver/hpt.c:126:
/tmp/driver/osheader.h:111:5: warning: "DBG" is not defined
In file included from /tmp/driver/hpt.c:126:
/tmp/driver/entry.c:18:5: warning: "DBG" is not defined
In file included from /tmp/driver/hpt.c:126:
/tmp/driver/entry.c: At top level:
/tmp/driver/entry.c:519: error: syntax error before '*' token
/tmp/driver/entry.c:520: warning: function declaration isn't a prototype
/tmp/driver/entry.c: In function `hpt3xx_Detect':
/tmp/driver/entry.c:581: error: `tpnt' undeclared (first use in this
function)
/tmp/driver/entry.c:621: warning: implicit declaration of function
`scsi_set_device'
/tmp/driver/entry.c: In function `hpt3xx_Abort':
/tmp/driver/entry.c:764: error: structure has no member named `abort_reason'
/tmp/driver/entry.c: In function `fOsBuildSgl':
/tmp/driver/entry.c:942: warning: implicit declaration of function
`scsi_to_pci_dma_dir'
/tmp/driver/entry.c: At top level:
/tmp/driver/entry.c:1257: error: syntax error before "driver_template"
/tmp/driver/entry.c:1257: warning: type defaults to `int' in declaration
of `driver_template'
/tmp/driver/entry.c:1258: error: field name not in record or union
initializer
/tmp/driver/entry.c:1258: error: (near initialization for `driver_template')
/tmp/driver/entry.c:1258: warning: initialization makes integer from
pointer without a cast
/tmp/driver/entry.c:1259: error: field name not in record or union
initializer
/tmp/driver/entry.c:1259: error: (near initialization for `driver_template')
/tmp/driver/entry.c:1259: warning: excess elements in scalar initializer
/tmp/driver/entry.c:1259: warning: (near initialization for
`driver_template')
/tmp/driver/entry.c:1260: error: field name not in record or union
initializer
/tmp/driver/entry.c:1260: error: (near initialization for `driver_template')
/tmp/driver/entry.c:1260: warning: excess elements in scalar initializer
/tmp/driver/entry.c:1260: warning: (near initialization for
`driver_template')
/tmp/driver/entry.c:1261: error: field name not in record or union
initializer
/tmp/driver/entry.c:1261: error: (near initialization for `driver_template')
/tmp/driver/entry.c:1261: warning: excess elements in scalar initializer
/tmp/driver/entry.c:1261: warning: (near initialization for
`driver_template')
/tmp/driver/entry.c:1262: error: field name not in record or union
initializer
/tmp/driver/entry.c:1262: error: (near initialization for `driver_template')
/tmp/driver/entry.c:1262: warning: excess elements in scalar initializer
/tmp/driver/entry.c:1262: warning: (near initialization for
`driver_template')
/tmp/driver/entry.c:1263: error: field name not in record or union
initializer
/tmp/driver/entry.c:1263: error: (near initialization for `driver_template')
/tmp/driver/entry.c:1263: warning: excess elements in scalar initializer
/tmp/driver/entry.c:1263: warning: (near initialization for
`driver_template')
/tmp/driver/entry.c:1264: error: field name not in record or union
initializer
/tmp/driver/entry.c:1264: error: (near initialization for `driver_template')
/tmp/driver/entry.c:1264: warning: excess elements in scalar initializer
/tmp/driver/entry.c:1264: warning: (near initialization for
`driver_template')
/tmp/driver/entry.c:1265: error: field name not in record or union
initializer
/tmp/driver/entry.c:1265: error: (near initialization for `driver_template')
/tmp/driver/entry.c:1265: warning: excess elements in scalar initializer
/tmp/driver/entry.c:1265: warning: (near initialization for
`driver_template')
/tmp/driver/entry.c:1266: error: field name not in record or union
initializer
/tmp/driver/entry.c:1266: error: (near initialization for `driver_template')
/tmp/driver/entry.c:1266: warning: excess elements in scalar initializer
/tmp/driver/entry.c:1266: warning: (near initialization for
`driver_template')
/tmp/driver/entry.c:1268: error: field name not in record or union
initializer
/tmp/driver/entry.c:1268: error: (near initialization for `driver_template')
/tmp/driver/entry.c:1268: warning: excess elements in scalar initializer
/tmp/driver/entry.c:1268: warning: (near initialization for
`driver_template')
/tmp/driver/entry.c:1269: error: field name not in record or union
initializer
/tmp/driver/entry.c:1269: error: (near initialization for `driver_template')
/tmp/driver/entry.c:1269: warning: excess elements in scalar initializer
/tmp/driver/entry.c:1269: warning: (near initialization for
`driver_template')
/tmp/driver/entry.c:1270: error: field name not in record or union
initializer
/tmp/driver/entry.c:1270: error: (near initialization for `driver_template')
/tmp/driver/entry.c:1270: warning: excess elements in scalar initializer
/tmp/driver/entry.c:1270: warning: (near initialization for
`driver_template')
/tmp/driver/entry.c:1287: error: field name not in record or union
initializer
/tmp/driver/entry.c:1287: error: (near initialization for `driver_template')
/tmp/driver/entry.c:1287: warning: excess elements in scalar initializer
/tmp/driver/entry.c:1287: warning: (near initialization for
`driver_template')
/tmp/driver/entry.c:1288: error: field name not in record or union
initializer
/tmp/driver/entry.c:1288: error: (near initialization for `driver_template')
/tmp/driver/entry.c:1288: warning: excess elements in scalar initializer
/tmp/driver/entry.c:1288: warning: (near initialization for
`driver_template')
/tmp/driver/entry.c:1289: error: field name not in record or union
initializer
/tmp/driver/entry.c:1289: error: (near initialization for `driver_template')
/tmp/driver/entry.c:1289: warning: excess elements in scalar initializer
/tmp/driver/entry.c:1289: warning: (near initialization for
`driver_template')
/tmp/driver/entry.c:1290: error: field name not in record or union
initializer
/tmp/driver/entry.c:1290: error: (near initialization for `driver_template')
/tmp/driver/entry.c:1290: warning: excess elements in scalar initializer
/tmp/driver/entry.c:1290: warning: (near initialization for
`driver_template')
/tmp/driver/entry.c:1292: error: field name not in record or union
initializer
/tmp/driver/entry.c:1292: error: (near initialization for `driver_template')
/tmp/driver/entry.c:1293: warning: excess elements in scalar initializer
/tmp/driver/entry.c:1293: warning: (near initialization for
`driver_template')
/tmp/driver/entry.c:1293: warning: data definition has no type or
storage class
In file included from /tmp/driver/entry.c:1353,
                 from /tmp/driver/hpt.c:126:
drivers/scsi/scsi_module.c: In function `init_this_scsi_driver':
drivers/scsi/scsi_module.c:19: warning: initialization from incompatible
pointer type
drivers/scsi/scsi_module.c: In function `exit_this_scsi_driver':
drivers/scsi/scsi_module.c:54: warning: initialization from incompatible
pointer type
In file included from /tmp/driver/hpt.c:127:
/tmp/driver/hptproc.c:182:5: warning: "DBG" is not defined
In file included from /tmp/driver/hpt.c:127:
/tmp/driver/hptproc.c: In function `hpt_set_info':
/tmp/driver/hptproc.c:230: warning: implicit declaration of function
`verify_area'
make[2]: *** [/tmp/driver/hpt.o] Error 1
make[1]: *** [_module_/tmp/driver] Error 2
make[1]: Leaving directory `/usr/src/linux-2.6.15-rc5'
make: *** [default] Error 2





Reply to: