[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#633738: ip6_tunnel: kernel BUG at net_namespace.c:497



Package: linux-2.6
Version: 2.6.32-35
Severity: important
Tags: squeeze

If have the following in my /etc/network/interfaces file:
----
auto iptv-foobar
iface iptv-foobar inet static
        address 169.254.0.2
        netmask 255.255.255.255
        pointopoint 169.254.0.3

        pre-up    modprobe ip6_tunnel
        pre-up    ip -6 tunnel add iptv-foobar mode ipip6 remote 2001:db8:1::1 local 2001:db8:2::1 ttl 64
        post-down ip tunnel del iptv-foobar

        up        ip link set iptv-foobar multicast on
        up        sysctl -q net.ipv4.conf.iptv-foobar.rp_filter=0
        up        sysctl -q net.ipv4.conf.iptv-foobar.forwarding=0
----

It seems when ip6_tunnel is loaded, I get the following BUG:
----
[   33.135714] kernel BUG at /build/buildd-linux-2.6_2.6.32-35-armel-66FbPF/linux-2.6-2.6.32/debian/build/source_armel_none/net/core/net_namespace.c:497!
[   33.149340] Unable to handle kernel NULL pointer dereference at virtual address 00000000
[   33.157485] pgd = df310000
[   33.160204] [00000000] *pgd=1f0a4031, *pte=00000000, *ppte=00000000
[   33.166643] Internal error: Oops: 817 [#1]
[   33.170756] last sysfs file: /sys/module/ipv6/initstate
[   33.176003] Modules linked in: ip6_tunnel(+) tunnel6 bonding ipv6 iptable_nat nf_nat nf_conntrack_ipv4 nf_conntrack nf_defrag_ipv4 ipt_REJECT xt_tcpudp iptable_filter ip_tables x_tables dm_mod hmac xgifb(C) sata_mv fb ehci_hcd sha1_generic cfbcopyarea libata mv_cesa usbcore cfbimgblt scsi_mod mv643xx_eth aes_generic libphy inet_lro cfbfillrect nls_base
[   33.207618] CPU: 0    Tainted: G         C  (2.6.32-5-kirkwood #1)
[   33.213831] PC is at __bug+0x1c/0x28
[   33.217418] LR is at __bug+0x18/0x28
[   33.221012] pc : [<c002b7f8>]    lr : [<c002b7f4>]    psr: 60000013
[   33.221018] sp : df333ee8  ip : 0000987a  fp : 0001cf00
[   33.232555] r10: bf24d338  r9 : df332000  r8 : dfb716c0
[   33.237805] r7 : c043af08  r6 : 00000000  r5 : 00000000  r4 : c03d0a34
[   33.244362] r3 : 00000000  r2 : c03b4d2c  r1 : 60000013  r0 : 000000a0
[   33.250921] Flags: nZCv  IRQs on  FIQs on  Mode SVC_32  ISA ARM  Segment user
[   33.258088] Control: 0005317f  Table: 1f310000  DAC: 00000015
[   33.263860] Process modprobe (pid: 482, stack limit = 0xdf332270)
[   33.269982] Stack: (0xdf333ee8 to 0xdf334000)
[   33.274364] 3ee0:                   c03d0a34 c02397ec c03d0a34 00000000 c043af08 dfb716c0
[   33.282588] 3f00: c043af08 bf24d3d0 dfb71840 00000000 00000000 c03d0a34 bf24f734 c043af08
[   33.290811] 3f20: 40156000 c03d0a34 00000000 c023942c bf24f734 bf252000 c03d0a48 40156000
[   33.299033] 3f40: 00000000 c02395c0 00000000 bf252000 00000000 bf25200c 00000000 c002734c
[   33.307256] 3f60: 000056bc bf24f744 00000000 40156000 00000000 bf24f744 00000000 40156000
[   33.315479] 3f80: c0028048 c00738ec dfb71300 dfb20a80 0001b038 0001b070 00000000 00000000
[   33.323702] 3fa0: 00000080 c0027ea0 0001b070 00000000 40156000 000056bc 0001cfb0 00000000
[   33.331925] 3fc0: 0001b070 00000000 00000000 00000080 00000000 0001b038 00000000 0001cf00
[   33.340149] 3fe0: 0001cfb0 be8f395c 0000b720 400ee1d4 60000010 40156000 00000000 00000000
[   33.348380] [<c002b7f8>] (__bug+0x1c/0x28) from [<c02397ec>] (net_assign_generic+0x3c/0xbc)
[   33.356789] [<c02397ec>] (net_assign_generic+0x3c/0xbc) from [<bf24d3d0>] (ip6_tnl_init_net+0x98/0x19c [ip6_tunnel])
[   33.367378] [<bf24d3d0>] (ip6_tnl_init_net+0x98/0x19c [ip6_tunnel]) from [<c023942c>] (register_pernet_operations+0x40/0xf4)
[   33.378658] [<c023942c>] (register_pernet_operations+0x40/0xf4) from [<c02395c0>] (register_pernet_device+0x20/0x54)
[   33.389240] [<c02395c0>] (register_pernet_device+0x20/0x54) from [<bf25200c>] (ip6_tunnel_init+0xc/0x84 [ip6_tunnel])
[   33.399915] [<bf25200c>] (ip6_tunnel_init+0xc/0x84 [ip6_tunnel]) from [<c002734c>] (do_one_initcall+0x6c/0x1e4)
[   33.410062] [<c002734c>] (do_one_initcall+0x6c/0x1e4) from [<c00738ec>] (sys_init_module+0xc0/0x1f0)
[   33.419241] [<c00738ec>] (sys_init_module+0xc0/0x1f0) from [<c0027ea0>] (ret_fast_syscall+0x0/0x28)
[   33.428333] Code: e1a01000 e59f000c eb0a2ec7 e3a03000 (e5833000)
[   33.434502] ---[ end trace bf87ce5c849aaa8e ]---
Segmentation fault
Failed to bring up iptv-shironeko.
----

This is a regression as I was able to do all this with earlier kernels; definately 2.6.32-34squeeze1.

Cheers

-- Package-specific info:
** Version:
Linux version 2.6.32-5-kirkwood (Debian 2.6.32-35) (dannf@debian.org) (gcc version 4.3.5 (Debian 4.3.5-4) ) #1 Tue Jun 14 23:05:32 UTC 2011

** Command line:
console=ttyS1,115200=panic=10 ubi.mtd=root kw_openrd_init_uart1=232 root=ubi0:rootfs rootfstype=ubifs rw

** Tainted: C (1024)
 * Module from drivers/staging has been loaded.

** Model information
Processor	: Feroceon 88FR131 rev 1 (v5l)
Hardware	: Marvell OpenRD Ultimate Board
Revision	: 0000

** Loaded modules:
Module                  Size  Used by
ext4                  288561  1 
mbcache                 4860  1 ext4
jbd2                   64191  1 ext4
xt_multiport            2341  1 
xfrm_user              18549  4 
xfrm4_tunnel            1407  0 
tunnel4                 2035  1 xfrm4_tunnel
ipcomp                  1698  0 
xfrm_ipcomp             3541  1 ipcomp
esp4                    4791  0 
ah4                     3687  0 
ctr                     3241  0 
twofish                 7467  0 
twofish_common         14498  1 twofish
camellia               21397  0 
serpent                21417  0 
blowfish                8262  0 
cast5                  16967  0 
des_generic            16617  0 
cbc                     2313  0 
xcbc                    2219  0 
rmd160                  8978  0 
sha256_generic          8818  0 
crypto_null             2122  0 
af_key                 32301  0 
sd_mod                 31324  1 
crc_t10dif              1106  1 sd_mod
crc32c                  2562  4 
ib_iser                25362  0 
rdma_cm                22066  1 ib_iser
ib_cm                  34747  1 rdma_cm
iw_cm                   6677  1 rdma_cm
ib_sa                  16138  2 rdma_cm,ib_cm
ib_mad                 33174  2 ib_cm,ib_sa
ib_core                40397  6 ib_iser,rdma_cm,ib_cm,iw_cm,ib_sa,ib_mad
ib_addr                 4427  1 rdma_cm
iscsi_tcp               7899  2 
libiscsi_tcp           11539  1 iscsi_tcp
libiscsi               28796  3 ib_iser,iscsi_tcp,libiscsi_tcp
scsi_transport_iscsi    25860  4 ib_iser,iscsi_tcp,libiscsi
fuse                   51324  3 
bonding                78374  0 
ipv6                  253766  50 ib_addr,bonding
iptable_nat             4297  1 
nf_nat                 13001  1 iptable_nat
nf_conntrack_ipv4      10003  3 iptable_nat,nf_nat
nf_conntrack           49323  3 iptable_nat,nf_nat,nf_conntrack_ipv4
nf_defrag_ipv4           945  1 nf_conntrack_ipv4
ipt_REJECT              1935  2 
xt_tcpudp               2129  11 
iptable_filter          2012  1 
ip_tables               9004  2 iptable_nat,iptable_filter
x_tables               10753  5 xt_multiport,iptable_nat,ipt_REJECT,xt_tcpudp,ip_tables
dm_mod                 56595  3 
hmac                    2475  0 
sata_mv                24398  0 
ehci_hcd               36473  0 
sha1_generic            1717  0 
xgifb                 205970  0 
libata                137894  1 sata_mv
usbcore               122547  2 ehci_hcd
mv_cesa                 9262  0 
fb                     38994  1 xgifb
cfbcopyarea             2577  1 xgifb
cfbimgblt               1721  1 xgifb
scsi_mod              124244  6 sd_mod,ib_iser,iscsi_tcp,libiscsi,scsi_transport_iscsi,libata
nls_base                5367  1 usbcore
mv643xx_eth            22558  0 
aes_generic            32820  1 mv_cesa
libphy                 14836  1 mv643xx_eth
inet_lro                5060  1 mv643xx_eth
cfbfillrect             2788  1 xgifb

** PCI devices:
not available

** Sound cards:

-- System Information:
Debian Release: 6.0.2
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: armel (armv5tel)

Kernel: Linux 2.6.32-5-kirkwood
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages linux-image-2.6.32-5-kirkwood depends on:
ii  debconf [debconf-2.0]         1.5.36.1   Debian configuration management sy
ii  initramfs-tools [linux-initra 0.98.8     tools for generating an initramfs
ii  linux-base                    2.6.32-35  Linux image base package
ii  module-init-tools             3.12-1     tools for managing Linux kernel mo

Versions of packages linux-image-2.6.32-5-kirkwood recommends:
pn  firmware-linux-free           <none>     (no description available)
ii  uboot-mkimage                 0.4        generate kernel image for U-Boot

Versions of packages linux-image-2.6.32-5-kirkwood suggests:
pn  fdutils                       <none>     (no description available)
pn  linux-doc-2.6.32              <none>     (no description available)

Versions of packages linux-image-2.6.32-5-kirkwood is related to:
pn  firmware-bnx2                 <none>     (no description available)
pn  firmware-bnx2x                <none>     (no description available)
pn  firmware-ipw2x00              <none>     (no description available)
pn  firmware-ivtv                 <none>     (no description available)
pn  firmware-iwlwifi              <none>     (no description available)
pn  firmware-linux                <none>     (no description available)
pn  firmware-linux-nonfree        <none>     (no description available)
pn  firmware-qlogic               <none>     (no description available)
pn  firmware-ralink               <none>     (no description available)
pn  xen-hypervisor                <none>     (no description available)

-- debconf information excluded



Reply to: