Bug 217 - compile failure in drivers/scsi/dpt_i2o.c
Summary: compile failure in drivers/scsi/dpt_i2o.c
Status: CLOSED CODE_FIX
Alias: None
Product: SCSI Drivers
Classification: Unclassified
Component: Other (show other bugs)
Hardware: i386 Linux
: P2 normal
Assignee: Adrian Bunk
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-12-30 12:41 UTC by John Kim
Modified: 2005-07-05 12:08 UTC (History)
3 users (show)

See Also:
Kernel Version:
Subsystem:
Regression: ---
Bisected commit-id:


Attachments

Description John Kim 2002-12-30 12:41:58 UTC
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
Comment 1 Thomas Molina 2003-02-21 20:57:35 UTC
This driver still does not compile correctly under 2.5.62
Comment 2 HJH 2003-07-05 10:43:11 UTC
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
Comment 3 Rutger Hendriks 2003-07-14 12:01:54 UTC
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.
Comment 4 Rutger Hendriks 2003-08-05 08:04:41 UTC
Today I was told the driver update is nearing completion. Will report back when
I have more info.
Comment 5 Zurd 2003-08-05 15:26:36 UTC
Still not compiling on 2.6.0-test2
Comment 6 HJH 2003-08-29 12:18:09 UTC
still does not compile in 2.6.0-test4
Comment 7 Andreas Mack 2003-10-21 07:42:07 UTC
Not working in 2.6.0-test6. Bugged Adaptec.
Comment 8 Peder Hedlund 2003-10-31 06:11:38 UTC
Not working in 2.6.0-test9

 Peder
Comment 9 Dumitru Ciobarcianu 2003-12-20 06:44:47 UTC
Well, 2.6 is out.
This means we have a new "stable" kernel :)
Who @ Adaptec do we have to bug ? :)
Comment 10 Andreas Mack 2003-12-20 07:37:31 UTC
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.
Comment 11 Michael Renner 2004-04-05 02:25:40 UTC
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.
Comment 12 Michael Renner 2004-06-08 01:59:33 UTC
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?
Comment 13 Adrian Bunk 2004-07-09 18:49:01 UTC
The compilation of dpt_i2o.c is fixed in 2.6.7 .
Comment 14 Adrian Bunk 2004-07-09 18:49:23 UTC
The compilation of dpt_i2o.c is fixed in 2.6.7 .

Note You need to log in before you can comment on or make changes to this bug.