Skip to contentSkip to conversation

Error compiling kernel 2.6.4 with dpt_i2o driver

DISCUSSION Vágási László 2 participants 3 messages Apr 17, 2004 – Apr 18, 2004

lore
Share & tools
lore
#0 lore raw

Dear All,

My company is running a Degian GNU Linux on a dual Intel PII 933MHz system with 1 GB RAM. Currently it is running kernel 2.4.22 which supports our Adaptec 2100S raid controller using the dpt_i2o driver.

We decided to change to kernel 2.6.x (I have tried 2.6.0, 2.6.1, 2.6.4) but it fails to compile. Here are some lines from the output:

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:997: warning: passing arg 2 of 'request_irq' from incompatible pointer type drivers/scsi/dpt_i2o.c: I function 'adpt_scsi_to_i25':
drivers/scsi/dpt_i2o.c:2118: structure has no member named 'address' drivers/scsi/dpt_i2o.c: At top level:
drivers/scsi/dpt_i2o.c:165: warning: 'dptids' defined but not used

Is it a bug in the kernel source or I have miss configured something?

Here is the result of the ver_linux script:

If some fields are empty or look unusual you may have an old version. Compare to the current minimal requirements in Documentation/Changes.

Linux szamoca 2.4.22 #6 SMP Mon Oct 6 13:27:22 CEST 2003 i686 unknown

Gnu C                  3.0.4
Gnu make               3.79.1
util-linux             2.11n
mount                  2.11n
module-init-tools      0.9.15-pre4
e2fsprogs              1.27
quota-tools            3.04.
PPP                    2.4.1
nfs-utils              1.0
Linux C Library        2.3.2
Dynamic linker (ldd)   2.3.2
Procps                 2.0.7
Net-tools              1.60
Console-tools          0.2.3
Sh-utils               2.0.11
Modules Loaded         st

If You need any other information I'll send it.

Thanks for Your help.

László

Signature · 9 lines
Vágási László

MAI CASCO Biztosítási Szolgáltató Kft.
1062 Budapest Bajza utca 19.
Tel: +36  1 413 2360
Fax: +36  1 461 0462
Mob: +36 20 967 9858
E-mail: [email protected]
www.mai-cee.com
#1 lore raw

On Saturday 17 April 2004 17:27, Vágási László wrote:

Hi Vágási,

Quoted 5 lines

My company is running a Degian GNU Linux on a dual Intel PII 933MHz system with 1 GB RAM.
Currently it is running kernel 2.4.22 which supports our Adaptec 2100S raid controller using the dpt_i2o driver.

Quoted 12 lines

We decided to change to kernel 2.6.x (I have tried 2.6.0, 2.6.1, 2.6.4) but it fails to compile.
Here are some lines from the output:
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:997: warning: passing arg 2 of 'request_irq' from incompatible pointer type
drivers/scsi/dpt_i2o.c: I function 'adpt_scsi_to_i25':
drivers/scsi/dpt_i2o.c:2118: structure has no member named 'address' drivers/scsi/dpt_i2o.c: At top level:
drivers/scsi/dpt_i2o.c:165: warning: 'dptids' defined but not used

http://www.kernel.org/pub/linux/kernel/people/mcp/2.6-WOLK/linux-2.6.4-wolk2.0-broken-out/2203_adaptec_dpt_i2o.patch

Mark: Is there a newer one which applies to 2.6.5/2.6.6-rc1||-bk*?

ciao, Marc