Exact Kernel version: 2.5.53 Distribution: Gentoo 1.4rc1 Hardware Environment: Abit KG7-RAID, AMD Athlon TBird 1.4, 512MB DDR, Geforce 3 Software Environment: gcc 3.2.1, glibc 2.3.1, ld 2.13.90.0.16 Problem Description: gcc -Wp,-MD,drivers/scsi/.dpt_i2o.o.d -D__KERNEL__ -Iinclude -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -pipe -mpreferred-stack-boundary=2 -march=athlon -Iinclude/asm-i386/mach-numaq -Iinclude/asm-i386/mach-default -nostdinc -iwithprefix include -DKBUILD_BASENAME=dpt_i2o -DKBUILD_MODNAME=dpt_i2o -c -o drivers/scsi/dpt_i2o.o drivers/scsi/dpt_i2o.c drivers/scsi/dpt_i2o.c:32:2: #error Please convert me to Documentation/DMA-mapping.txt drivers/scsi/dpt_i2o.c: In function `adpt_i2o_post_wait': drivers/scsi/dpt_i2o.c:1138: warning: operation on `adpt_post_wait_id' may be undefined drivers/scsi/dpt_i2o.c: In function `adpt_scsi_to_i2o': drivers/scsi/dpt_i2o.c:2138: structure has no member named `address' drivers/scsi/hosts.h: At top level: drivers/scsi/dpt_i2o.c:165: warning: `dptids' defined but not used make[2]: *** [drivers/scsi/dpt_i2o.o] Error 1 make[1]: *** [drivers/scsi] Error 2 make: *** [drivers] Error 2 Steps to reproduce: SCSI device support ---> SCSI low-level drivers ---> <*> Adaptec I2O RAID support CONFIG_SCSI_DPT_I2O=y
This driver still does not compile correctly under 2.5.62
Driver does not compile in 2.5.74 CC [M] drivers/scsi/dpt_i2o.o drivers/scsi/dpt_i2o.c:32:2: #error Please convert me to Documentation/DMA-mapping.txt drivers/scsi/dpt_i2o.c: In function `adpt_install_hba': drivers/scsi/dpt_i2o.c:977: warning: passing arg 2 of `request_irq' from incompatible pointer type drivers/scsi/dpt_i2o.c: In function `adpt_scsi_to_i2o': drivers/scsi/dpt_i2o.c:2118: structure has no member named `address' make[2]: *** [drivers/scsi/dpt_i2o.o] Error 1 make[1]: *** [drivers/scsi] Error 2 make: *** [drivers] Error 2
And it doesn't compile in 2.6.0_test1 The Adaptec programmer responsible for this driver told me Adaptec will only let him make drivers for stable kernels.
Today I was told the driver update is nearing completion. Will report back when I have more info.
Still not compiling on 2.6.0-test2
still does not compile in 2.6.0-test4
Not working in 2.6.0-test6. Bugged Adaptec.
Not working in 2.6.0-test9 Peder
Well, 2.6 is out. This means we have a new "stable" kernel :) Who @ Adaptec do we have to bug ? :)
Mark Salyzyn of Adaptec is working on it very hard. Check out the archives: http://marc.theaimsgroup.com/?l=linux-scsi&m=106191846824480&w=2 He attached a version for 2.6.0-test2, I couldn't test it yet.
the "current" version (as of around march this year) can be found at http://amd.co.at/data/dpt_i2o-2.5.0-2326.tgz. works for me so far.
apparently this is fixed in 2.6.7-rc3 see http://linux.bkbits.net:8080/linux-2.6/diffs/drivers/scsi/dpt_i2o.c@1.38?nav=index.html|src/|src/drivers|src/drivers/scsi|hist/drivers/scsi/dpt_i2o.c for further information. can anybody test this?
The compilation of dpt_i2o.c is fixed in 2.6.7 .