2004-04-17 15:27:45

by Vágási László

[permalink] [raw]
Subject: Error compiling kernel 2.6.4 with dpt_i2o driver

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?

--
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]
http://www.mai-cee.com




2004-04-17 15:40:16

by Marc-Christian Petersen

[permalink] [raw]
Subject: Re: Error compiling kernel 2.6.4 with dpt_i2o driver

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

Hi V?g?si,

> 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

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

2004-04-18 11:26:31

by Vágási László

[permalink] [raw]
Subject: Re: Error compiling kernel 2.6.4 with dpt_i2o driver

Marc-Christian Petersen ?rta:
Hi Marc,

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*?
>
>
Thanks for the quick answer, I'm just trying the mentioned patch.

Thanks a lot.
Laszlo


2004-04-19 13:26:06

by Mark Salyzyn

[permalink] [raw]
Subject: RE: Error compiling kernel 2.6.4 with dpt_i2o driver

This is the `2.4.2->2.6.5' driver source tarball I have that is close to the set of patches I submitted in February in linux-scsi. It should work *much* better.

Sincerely -- Mark Salyzyn

-----Original Message-----
From: Marc-Christian Petersen [mailto:[email protected]]
Sent: Saturday, April 17, 2004 11:37 AM
To: [email protected]
Cc: V?g?si L?szl?; Salyzyn, Mark
Subject: Re: Error compiling kernel 2.6.4 with dpt_i2o driver

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

Hi V?g?si,

> 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

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


Attachments:
dpt_i2o-2.5.0-2331.tgz (27.42 kB)
dpt_i2o-2.5.0-2331.tgz