2006-01-30 04:23:55

by sarat

[permalink] [raw]
Subject: insmod error

insmod: error inserting 'firewall.ko': -1 Unknown symbol in module
plz tell me how to solve this..

--
ur's sarat


2006-01-30 05:04:14

by Fawad Lateef

[permalink] [raw]
Subject: Re: insmod error

On 1/30/06, sarat <[email protected]> wrote:
> insmod: error inserting 'firewall.ko': -1 Unknown symbol in module
> plz tell me how to solve this..
>

Give the details of the unknown symbols in module error. This can be
get through log (run command dmesg, and see in the last about the
unresolved symbols) !

This error comes mostly due to missing header files in your module


--
Fawad Lateef

2006-01-30 05:11:26

by sarat

[permalink] [raw]
Subject: Re: insmod error

this is the error given in 'dmesg' hope this is okay..
firewall: module license 'unspecified' taints kernel.
firewall: Unknown symbol register_firewall
firewall: Unknown symbol unregister_firewall

On 1/30/06, Fawad Lateef <[email protected]> wrote:
> On 1/30/06, sarat <[email protected]> wrote:
> > insmod: error inserting 'firewall.ko': -1 Unknown symbol in module
> > plz tell me how to solve this..
> >
>
> Give the details of the unknown symbols in module error. This can be
> get through log (run command dmesg, and see in the last about the
> unresolved symbols) !
>
> This error comes mostly due to missing header files in your module
>
>
> --
> Fawad Lateef
>


--
ur's sarat

2006-01-30 08:50:35

by Arjan van de Ven

[permalink] [raw]
Subject: Re: insmod error

On Mon, 2006-01-30 at 10:41 +0530, sarat wrote:
> this is the error given in 'dmesg' hope this is okay..
> firewall: module license 'unspecified' taints kernel.
> firewall: Unknown symbol register_firewall
> firewall: Unknown symbol unregister_firewall


same question as was asked last week. This module is not compatible with
2.6.10 and later, and needs rewriting to be compliant with the 2.4/2.6
firewall (as opposed to the 2.2 kernel firewall).


2006-01-30 09:43:10

by sarat

[permalink] [raw]
Subject: Re: insmod error

okay.... i got you but the thing is i dn't know exactly how to convert
the code.. can any body plz help me..

On 1/30/06, Arjan van de Ven <[email protected]> wrote:
> On Mon, 2006-01-30 at 10:41 +0530, sarat wrote:
> > this is the error given in 'dmesg' hope this is okay..
> > firewall: module license 'unspecified' taints kernel.
> > firewall: Unknown symbol register_firewall
> > firewall: Unknown symbol unregister_firewall
>
>
> same question as was asked last week. This module is not compatible with
> 2.6.10 and later, and needs rewriting to be compliant with the 2.4/2.6
> firewall (as opposed to the 2.2 kernel firewall).
>
>
>


--
ur's sarat

2006-01-30 09:47:43

by Arjan van de Ven

[permalink] [raw]
Subject: Re: insmod error

On Mon, 2006-01-30 at 15:13 +0530, sarat wrote:
> okay.... i got you but the thing is i dn't know exactly how to convert
> the code.. can any body plz help me..

there is a lot of documentation and examples on how to write netfilter
modules; there's like 3 dozen of those at minimum, if not more. So I'd
suggest you look at the netfilter homepage and the many examples there.


2006-01-30 09:51:00

by Jan Engelhardt

[permalink] [raw]
Subject: Re: insmod error

>
>okay.... i got you but the thing is i dn't know exactly how to convert
>the code.. can any body plz help me..

the use of 'plz' inclines me to think of...