Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 166206 - Crash with kernel 2.6.20 and NF_CONNTRACK*
Summary: Crash with kernel 2.6.20 and NF_CONNTRACK*
Status: RESOLVED UPSTREAM
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Unspecified (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Mobile Herd (OBSOLETE)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-02-10 14:36 UTC by Tiger
Modified: 2007-05-09 18:53 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Tiger 2007-02-10 14:36:19 UTC
Recently I updated my kernel to gentoo-sources-2.6.20
I had some problems with rt2500 and it's fixed
BUT
I seen iptables failed to started at the INIT and after I tried to debug it
Finally I found some changes in kernel config (section netfilter) and added NF_CONNTRACK* to my config
Now the system crashed (no debug msgs, magic sysreq do not re-lay...).

I test it both rt2500-beta4 and rt2500_pre

Here, the diff bewteen the ~stable~ .config and the ~crash~ .config

--- config_old  2007-02-10 14:20:45.000000000 +0100
+++ config_bug  2007-02-10 14:22:00.000000000 +0100
@@ -1,7 +1,7 @@
 #
 # Automatically generated make config: don't edit
 # Linux kernel version: 2.6.20-gentoo
-# Sat Feb 10 13:47:39 2007
+# Sat Feb 10 14:21:40 2007
 #
 CONFIG_X86_64=y
 CONFIG_64BIT=y
@@ -338,17 +338,39 @@
 CONFIG_NETFILTER_NETLINK=y
 # CONFIG_NETFILTER_NETLINK_QUEUE is not set
 # CONFIG_NETFILTER_NETLINK_LOG is not set
-# CONFIG_NF_CONNTRACK_ENABLED is not set
+CONFIG_NF_CONNTRACK_ENABLED=y
+CONFIG_NF_CONNTRACK_SUPPORT=y
+# CONFIG_IP_NF_CONNTRACK_SUPPORT is not set
+CONFIG_NF_CONNTRACK=y
+CONFIG_NF_CT_ACCT=y
+CONFIG_NF_CONNTRACK_MARK=y
+# CONFIG_NF_CONNTRACK_EVENTS is not set
+# CONFIG_NF_CT_PROTO_SCTP is not set
+# CONFIG_NF_CONNTRACK_AMANDA is not set
+CONFIG_NF_CONNTRACK_FTP=m
+# CONFIG_NF_CONNTRACK_H323 is not set
+CONFIG_NF_CONNTRACK_IRC=m
+# CONFIG_NF_CONNTRACK_NETBIOS_NS is not set
+# CONFIG_NF_CONNTRACK_PPTP is not set
+# CONFIG_NF_CONNTRACK_SIP is not set
+# CONFIG_NF_CONNTRACK_TFTP is not set
+# CONFIG_NF_CT_NETLINK is not set
 CONFIG_NETFILTER_XTABLES=y
 CONFIG_NETFILTER_XT_TARGET_CLASSIFY=m
+CONFIG_NETFILTER_XT_TARGET_CONNMARK=m
 CONFIG_NETFILTER_XT_TARGET_DSCP=m
 CONFIG_NETFILTER_XT_TARGET_MARK=m
 CONFIG_NETFILTER_XT_TARGET_NFQUEUE=m
 CONFIG_NETFILTER_XT_TARGET_NFLOG=m
+CONFIG_NETFILTER_XT_TARGET_NOTRACK=m
 CONFIG_NETFILTER_XT_MATCH_COMMENT=m
+CONFIG_NETFILTER_XT_MATCH_CONNBYTES=m
+CONFIG_NETFILTER_XT_MATCH_CONNMARK=m
+CONFIG_NETFILTER_XT_MATCH_CONNTRACK=m
 CONFIG_NETFILTER_XT_MATCH_DCCP=m
 CONFIG_NETFILTER_XT_MATCH_DSCP=m
 CONFIG_NETFILTER_XT_MATCH_ESP=m
+CONFIG_NETFILTER_XT_MATCH_HELPER=m
 CONFIG_NETFILTER_XT_MATCH_LENGTH=m
 CONFIG_NETFILTER_XT_MATCH_LIMIT=m
 CONFIG_NETFILTER_XT_MATCH_MAC=m
@@ -358,6 +380,7 @@
 CONFIG_NETFILTER_XT_MATCH_QUOTA=m
 CONFIG_NETFILTER_XT_MATCH_REALM=m
 CONFIG_NETFILTER_XT_MATCH_SCTP=m
+CONFIG_NETFILTER_XT_MATCH_STATE=m
 CONFIG_NETFILTER_XT_MATCH_STATISTIC=m
 CONFIG_NETFILTER_XT_MATCH_STRING=m
 CONFIG_NETFILTER_XT_MATCH_TCPMSS=m
@@ -366,6 +389,7 @@
 #
 # IP: Netfilter Configuration
 #
+# CONFIG_NF_CONNTRACK_IPV4 is not set
 # CONFIG_IP_NF_QUEUE is not set
 CONFIG_IP_NF_IPTABLES=m
 CONFIG_IP_NF_MATCH_IPRANGE=m


Reproducible: Always

Steps to Reproduce:
Comment 1 Daniel Drake (RETIRED) gentoo-dev 2007-02-10 16:39:09 UTC
Please define "the system crashed" -- be descriptive.
Comment 2 Tiger 2007-02-10 19:22:18 UTC
(In reply to comment #1)
> Please define "the system crashed" -- be descriptive.
> 

All is blocked (I can't do anything)
System crash after Kernel boot and INIT

I found the problem, the system was not stable with this option in kernel config :

  (X) Layer 3 Independent Connection tracking

But work with :

  (X) Layer 3 Dependent Connection tracking (OBSOLETE)

Those options are here :

-> Networking                                                                                       
  -> Networking support (NET [=y])                                                                    
    -> Networking options                                                                           
      -> Network packet filtering framework (Netfilter) (NETFILTER [=y])
           IP: Netfilter Configuration
Comment 3 Daniel Drake (RETIRED) gentoo-dev 2007-02-10 21:50:44 UTC
You still haven't really described what you mean by 'crash', it's not a specific term.

Any beeps? Anything on screen? Does caps lock respond? Num lock? Can you ping the system? What do you mean by "during kernel boot and init" -- which one? Which point precisely?
Comment 4 Tiger 2007-02-11 15:03:26 UTC
I have a news, it's a kernel panic.

You can see it there :
http://braineed.ath.cx/~tiger/gentoo/kernel_panics/kernel_panic.jpg

I seen two importants things in :
  - invalid opcode : 0000 (1) SMP
  - <IRQ> [<ffffffff880739f2>] :rt2500:RTMFHandleDecryptionDoneInterrupt+0x6bf/0xed0

I confirm I had this kernel panic after selected this options in kernel config :

(X) Layer 3 Independent Connection tracking
Comment 5 Daniel Drake (RETIRED) gentoo-dev 2007-02-11 15:53:43 UTC
This is a bug in the rt2500 driver which is not part of the kernel
Comment 6 Stefan Schweizer (RETIRED) gentoo-dev 2007-05-09 18:53:01 UTC
please try with 1.1.0_pre2007020911

or try the new rt2x00-git from bug 176148