2002-02-17 11:33:23

by Kilobug

[permalink] [raw]
Subject: Kernel 2.4.18-pre9-mjc2 breaks some netfilter modules

Hello,
I've upgraded from 2.4.18-pre3-mjc3 to 2.4.18-pre9-mjc2 and the following
netfilter modules are now broken:

depmod: *** Unresolved symbols in
/lib/modules/2.4.18-pre9-mjc2-kb1/kernel/net/ipv4/netfilter/ipt_owner.o
depmod: pidhash_bits
depmod: pidhash_size
depmod: *** Unresolved symbols in
/lib/modules/2.4.18-pre9-mjc2-kb1/kernel/net/ipv4/netfilter/ipt_time.o
depmod: get_fast_time
make: *** [_modinst_post] Erreur 1

I'm using iptables 1.2.5 (debian Sid package)

Hoping this can help you,

--
** Gael Le Mignot "Kilobug", Ing3 EPITA - http://kilobug.free.fr **
Home Mail : [email protected] Work Mail : [email protected]
GSM : 06.71.47.18.22 (in France) ICQ UIN : 7299959
Fingerprint : 1F2C 9804 7505 79DF 95E6 7323 B66B F67B 7103 C5DA

"Software is like sex it's better when it's free.", Linus Torvalds


2002-02-17 16:44:32

by Harald Welte

[permalink] [raw]
Subject: Re: Kernel 2.4.18-pre9-mjc2 breaks some netfilter modules

On Sun, Feb 17, 2002 at 12:30:55PM +0100, Kilobug wrote:
> Hello,
> I've upgraded from 2.4.18-pre3-mjc3 to 2.4.18-pre9-mjc2 and the following
> netfilter modules are now broken:
>
> depmod: *** Unresolved symbols in
> /lib/modules/2.4.18-pre9-mjc2-kb1/kernel/net/ipv4/netfilter/ipt_owner.o
> depmod: pidhash_bits
> depmod: pidhash_size

I don't know what happend with regard to this. The owner match module
compiles on my system without any problems on all kernels up to 2.4.18-rc1.

I assume that the 'mjc2' patches change something with regard to the pid
hash, thus breaking the netfilter module. Whoever makes this change should
take care of modifying the ipt_owner module.

Since the change is not in the unpatched mainstream kernel, I'm not
concerned about this.

> depmod: *** Unresolved symbols in
> /lib/modules/2.4.18-pre9-mjc2-kb1/kernel/net/ipv4/netfilter/ipt_time.o
> depmod: get_fast_time
> make: *** [_modinst_post] Erreur 1

This is a recent change in the 2.4.18 kernel, removing get_fast_time and
using do_gettimeofday instead.

The time match from iptables-1.2.5 still used the old get_fast_time() function
and needs to be updated. the time match is a contributed patch from
Fabrice MARIE <[email protected]>, so please ask him to update his patch
to work with recent kernel versions.

> Hoping this can help you,

Thanks for reporting this to us.

> ** Gael Le Mignot "Kilobug", Ing3 EPITA - http://kilobug.free.fr **

--
Live long and prosper
- Harald Welte / [email protected] http://www.gnumonks.org/
============================================================================
GCS/E/IT d- s-: a-- C+++ UL++++$ P+++ L++++$ E--- W- N++ o? K- w--- O- M+
V-- PS++ PE-- Y++ PGP++ t+ 5-- !X !R tv-- b+++ !DI !D G+ e* h--- r++ y+(*)

2002-02-18 18:55:24

by Michael Cohen

[permalink] [raw]
Subject: Re: Kernel 2.4.18-pre9-mjc2 breaks some netfilter modules

On Sun, 2002-02-17 at 06:30, Kilobug wrote:
> Hello,
> I've upgraded from 2.4.18-pre3-mjc3 to 2.4.18-pre9-mjc2 and the following
> netfilter modules are now broken:
>
I've noticed this, and already have a fix slated for 2.4.18-rc1-mjc1.
Thanks for reporting it though. Every little bit helps.

------
Michael Cohen
OhDarn.net


2002-03-11 02:15:35

by Jack Bowling

[permalink] [raw]
Subject: initio scsi won't compile in 2.5.6

The following output from an attempted compile of kernel 2.5.6 indicates to me that the initio scsi module has yet to be ported over to the new code. I am not a programmer so am just throwing it out there as something that would be nice to have done if I am eventually ever going to use 2.5.6 and beyond with my scsi hardware :-))

------------

gcc -D__KERNEL__ -I/usr/src/linux-2.5.6/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fomit-frame-pointer -fno-strict-aliasing -fno-common -pipe -mpreferred-stack-boundary=2 -march=i686 -DKBUILD_BASENAME=ini9100u -c -o ini9100u.o ini9100u.c
ini9100u.c:111:2: #error Please convert me to Documentation/DMA-mapping.txt
ini9100u.c: In function `i91uBuildSCB':
ini9100u.c:494: structure has no member named `address'
ini9100u.c:503: structure has no member named `address'
make[3]: *** [ini9100u.o] Error 1
make[3]: Leaving directory `/usr/src/linux-2.5.6/drivers/scsi'
make[2]: *** [first_rule] Error 2
make[2]: Leaving directory `/usr/src/linux-2.5.6/drivers/scsi'
make[1]: *** [_subdir_scsi] Error 2
make[1]: Leaving directory `/usr/src/linux-2.5.6/drivers'
make: *** [_dir_drivers] Error 2

-------

jb

PS - please copy me on any replies. I am not subbed to lkml

--
Jack Bowling
mailto: [email protected]