Skip to contentSkip to conversation

ip_net_ftp message !

DISCUSSION Arindam Haldar 3 participants 8 messages Jun 3, 2002 – Jun 5, 2002

lore
Share & tools
lore
#0 lore raw

hi all,
this time while insmod ip_nat_ftp(after ip_conntrack_ftp) & i got this message--> ASSERT ip_conntrack_core.c:541 & ip_conntrack_lock not read locked !

this time i tried for the first time rh7.3. i have complied the kernel 2.4.18(downloaded & not from rh7.3) with iptables v1.2.7-2002528.

what does it mean ??..did i miss something ?

thanking in advance
A.H

#1 lore raw
Quoted 6 lines · Arindam Haldar

this time while insmod ip_nat_ftp(after ip_conntrack_ftp) & i got this message-->
ASSERT ip_conntrack_core.c:541 & ip_conntrack_lock not read locked !

this time i tried for the first time rh7.3. i have complied the kernel 2.4.18(downloaded & not from rh7.3) with iptables v1.2.7-2002528.

You mean, (sorry, I have difficulties in understanding your sentences) that you downloaded the kernel source from ftp.kernel.org, compiled it, installed both the kernel image and the modules and then got the message above?

Regards,
Jozsef
-
E-mail : [email protected], [email protected]
WWW-Home: http://www.kfki.hu/~kadlec
Address : KFKI Research Institute for Particle and Nuclear Physics

          H-1525 Budapest 114, POB. 49, Hungary
#2 lore raw

hi,

yes..:)... sorry for being a little cryptic ;)... but u guessed it right !..so i will summarize my 2 Question in this listing--> 1)i am getting these messages in my /var/log/messages..

iptables v1.2.7-20020423 with kernel 2.4.18 & patched htb3.3-020512 &
imq-2.4.18...

May 30 05:09:58 cab1 kernel: ASSERT: ip_nat_core.c:840 &ip_conntrack_lock not readlocked
May 30 05:10:04 cab1 kernel: ASSERT ip_nat_core.c:739
&ip_conntrack_lock_R71150de5 readlocked
May 30 05:10:04 cab1 kernel: ASSERT ip_conntrack_core.c:91

&ip_conntrack_lock_R71150de5 readlocked

this pattern message is being received every minute. !.. this system is on RH-7.2 with 512mb ram & has been running for a month now but the mesages started coming since may 30 !...

2) while insmod ip_nat_ftp(after ip_conntrack_ftp) & i got this message on RH-7.3(using RH-7.3 for 1st time !).. the kernel was downloaded from ftp.kernel.org & iptables v1.2.7-2002528 --> ASSERT ip_conntrack_core.c:541 & ip_conntrack_lock not read locked !

i have similar configuration done on different pc(with rh7.2) with various iptables veriosn but didnt get any of the errors mentioned above !

ur help is my guidance...
regards
A.H

#3 lore raw

Hi,

Quoted 11 lines · Arindam Haldar

1)i am getting these messages in my /var/log/messages..

iptables v1.2.7-20020423 with kernel 2.4.18 & patched htb3.3-020512 &
imq-2.4.18...

May 30 05:09:58 cab1 kernel: ASSERT: ip_nat_core.c:840

&ip_conntrack_lock not readlocked

this pattern message is being received every minute. !.. this system is on RH-7.2 with 512mb ram & has been running for a month now but the mesages started coming since may 30 !...

Quoted 7 lines

2) while insmod ip_nat_ftp(after ip_conntrack_ftp) & i got this message on RH-7.3(using RH-7.3 for 1st time !).. the kernel was downloaded from ftp.kernel.org & iptables v1.2.7-2002528 -->
ASSERT ip_conntrack_core.c:541 & ip_conntrack_lock not read locked !

i have similar configuration done on different pc(with rh7.2) with various iptables veriosn but didnt get any of the errors mentioned above !

The iptables version is irrelevant in these cases - only the kernel and its version counts. I can think of two possibilities (therefore stressed the question on from where did you get the source of the running kernel):

- you run a vendor-provided kernel, compiled from vendor-provided source
- the additional patches you applied break some internal mechanism in netfilter

I know it's not much help for you.

Regards,
Jozsef
-
E-mail : [email protected], [email protected]
WWW-Home: http://www.kfki.hu/~kadlec
Address : KFKI Research Institute for Particle and Nuclear Physics

          H-1525 Budapest 114, POB. 49, Hungary
#4 lore raw

Help NEEDED--sos !!

In reply to Arindam Haldar
Quoted 6 lines · Arindam Haldar

hi,
yes..:)... sorry for being a little cryptic ;)... but u guessed it right !..so i will summarize my 2 Question in this listing--> 1)i am getting these messages in my /var/log/messages..

iptables v1.2.7-20020423 with kernel 2.4.18 & patched htb3.3-020512 &
imq-2.4.18...

Quoted 8 lines
May 30 05:09:58 cab1 kernel: ASSERT: ip_nat_core.c:840 &ip_conntrack_lock not readlocked
May 30 05:10:04 cab1 kernel: ASSERT ip_nat_core.c:739
&ip_conntrack_lock_R71150de5 readlocked
May 30 05:10:04 cab1 kernel: ASSERT ip_conntrack_core.c:91

&ip_conntrack_lock_R71150de5 readlocked

this pattern message is being received every minute. !.. this system is on RH-7.2 with 512mb ram & has been running for a month now but the mesages started coming since may 30 !...

more info to the above from the server--->

# watch 'sort -nr -k 2 /proc/slabinfo'
buffer_head        34508  34560     96  864  864    1
dentry_cache       10665  10680    128  356  356    1
inode_cache         7501   7544    480  938  943    1
ip_dst_cache        2437   2800    192  140  140    1
ip_conntrack        1249   1884    320  124  157    1
# cabneigh all |wc -l
     17
# cat /proc/sys/net/ipv4/ip_conntrack_max
32248
# ls /lib/modules/2.4.18/kernel/net/ipv4/netfilter/
ip_conntrack_egg.o      iptable_nat.o      ipt_LOG.o         ipt_realm.o
ip_conntrack_ftp.o      ip_tables.o        ipt_mac.o    ipt_record_rpc.o
ip_conntrack_h323.o     ipt_ah.o           ipt_mark.o     ipt_REDIRECT.o
ip_conntrack_irc.o      ipt_connmark.o     ipt_MARK.o       ipt_REJECT.o
ip_conntrack.o          ipt_CONNMARK.o     ipt_MASQUERADE.o  ipt_state.o
ip_conntrack_rpc_tcp.o  ipt_conntrack.o    ipt_MIRROR.o     ipt_string.o
ip_conntrack_rpc_udp.o  ipt_dscp.o         ipt_mport.o      ipt_tcpmss.o
ip_nat_ftp.o            ipt_DSCP.o         ipt_multiport.o  ipt_TCPMSS.o
ip_nat_h323.o           ipt_esp.o          ipt_NETLINK.o     ipt_time.o
ip_nat_irc.o            ipt_helper.o       ipt_nth.o         ipt_tos.o
ip_nat_snmp_basic.o     ipt_IMQ.o          ipt_owner.o       ipt_TOS.o
ip_pool.o               ipt_iplimit.o      ipt_pkttype.o     ipt_ttl.o
ip_queue.o              ipt_ipv4options.o  ipt_pool.o        ipt_TTL.o
iptable_filter.o        ipt_length.o       ipt_POOL.o        ipt_ULOG.o
iptable_mangle.o        ipt_limit.o        ipt_psd.o         ipt_unclean.o
#

so surely something is wrong when i get the above said messages on /var/log/messages---EVERY ONE MIN...& even at none peak time like late midnight !! ...

can someone tell me whats wrong ?..how can i solve this problem??

Quoted 3 lines

regards
A.H

#5 lore raw

Re: Help NEEDED--sos !!

Quoted 10 lines · Arindam Haldar
Quoted 8 lines

yes..:)... sorry for being a little cryptic ;)... but u guessed it right !..so i will summarize my 2 Question in this listing-->
1)i am getting these messages in my /var/log/messages..

iptables v1.2.7-20020423 with kernel 2.4.18 & patched htb3.3-020512 &
imq-2.4.18...

May 30 05:09:58 cab1 kernel: ASSERT: ip_nat_core.c:840

&ip_conntrack_lock not readlocked

can someone tell me whats wrong ?..how can i solve this problem??

I'd suggest to start with a new 2.4.18 kernel, without the htb3 and imq patches applied. Check out that it works, without emitting such messages.

If the problem persists, then it might be a netfilter related problem (there still can be bad hardvare...). If the problem disappears then it is related to the two additional extra patches.

Regards,
Jozsef
-
E-mail : [email protected], [email protected]
WWW-Home: http://www.kfki.hu/~kadlec
Address : KFKI Research Institute for Particle and Nuclear Physics

          H-1525 Budapest 114, POB. 49, Hungary
#6 lore raw

Re: Help NEEDED--sos !!

no this is not htb or imq specific problem !!... i have tried with/without imq/htb/ vanila iptables... at this point of time thereis no htb or imq ie not complied in kernel or with iptables... but i still get the messages !....:( friends do any of u faced this problem or is it the first time ?
Plsssssssssssssssssssssssssss i NEEEEEEEEEEED help !!!!

Quoted 23 lines · Jozsef Kadlecsik
Quoted 11 lines · Arindam Haldar
Quoted 10 lines

yes..:)... sorry for being a little cryptic ;)... but u guessed it right !..so i will summarize my 2 Question in this listing-->
1)i am getting these messages in my /var/log/messages..

iptables v1.2.7-20020423 with kernel 2.4.18 & patched htb3.3-020512 & imq-2.4.18...

May 30 05:09:58 cab1 kernel: ASSERT: ip_nat_core.c:840
&ip_conntrack_lock not readlocked
May 30 05:09:58 cab1 kernel: ASSERT: ip_conntrack_core.c:91

&ip_conntrack_lock_R71150de5 readlocked

can someone tell me whats wrong ?..how can i solve this problem??

I'd suggest to start with a new 2.4.18 kernel, without the htb3 and imq patches applied. Check out that it works, without emitting such messages.

If the problem persists, then it might be a netfilter related problem (there still can be bad hardvare...). If the problem disappears then it is related to the two additional extra patches.

Regards,
Jozsef

#7 lore raw

Re: Help NEEDED--sos !!

May I see the command you use to load the module, (and to satisfy my curisoty the output of 'uname -a')

// George

Quoted 34 lines · Arindam Haldar

no this is not htb or imq specific problem !!... i have tried with/without imq/htb/ vanila iptables... at this point of time thereis no htb or imq ie not complied in kernel or with iptables... but i still get the messages !....:(
friends do any of u faced this problem or is it the first time ? Plsssssssssssssssssssssssssss i NEEEEEEEEEEED help !!!!

Quoted 23 lines · Jozsef Kadlecsik
Quoted 11 lines · Arindam Haldar
Quoted 10 lines

yes..:)... sorry for being a little cryptic ;)... but u guessed it right !..so i will summarize my 2 Question in this listing-->
1)i am getting these messages in my /var/log/messages..

iptables v1.2.7-20020423 with kernel 2.4.18 & patched htb3.3-020512 & imq-2.4.18...

May 30 05:09:58 cab1 kernel: ASSERT: ip_nat_core.c:840
&ip_conntrack_lock not readlocked
May 30 05:09:58 cab1 kernel: ASSERT: ip_conntrack_core.c:91

&ip_conntrack_lock_R71150de5 readlocked

can someone tell me whats wrong ?..how can i solve this problem??

I'd suggest to start with a new 2.4.18 kernel, without the htb3 and imq patches applied. Check out that it works, without emitting such messages.

If the problem persists, then it might be a netfilter related problem (there still can be bad hardvare...). If the problem disappears then it is related to the two additional extra patches.

Regards,
Jozsef

Signature · 3 lines
GEORGE GEORGALIS, System Admin/Architect    cell: 347-451-8229 
Security Services, Web, Mail,            mailto:[email protected] 
File, Print, DB and DNS Servers.       http://www.galis.org/george