Skip to content

Instantly share code, notes, and snippets.

@mweinelt
Created December 20, 2015 15:33
Show Gist options
  • Select an option

  • Save mweinelt/a56cf46b3a6c63797048 to your computer and use it in GitHub Desktop.

Select an option

Save mweinelt/a56cf46b3a6c63797048 to your computer and use it in GitHub Desktop.
gw03 login: [ 50.784044] ffda-br: port 1(ffda-bat) entered forwarding state
[ 1794.306908] batman_adv: ffda-bat: Adding interface: tun-ffda-gw04
[ 1794.306924] batman_adv: ffda-bat: The MTU of interface tun-ffda-gw04 is too small (1280) to handle the transport of batman-adv packets. Packets going over this interface will be fragmented on layer2 which could impact the performance. Setting the MTU to 1532 would solve the problem.
[ 1794.306935] batman_adv: ffda-bat: Interface activated: tun-ffda-gw04
[ 1908.415675] batman_adv: ffda-bat: Adding interface: tun-ffda-gw01
[ 1908.415688] batman_adv: ffda-bat: The MTU of interface tun-ffda-gw01 is too small (1280) to handle the transport of batman-adv packets. Packets going over this interface will be fragmented on layer2 which could impact the performance. Setting the MTU to 1532 would solve the problem.
[ 1908.415724] batman_adv: ffda-bat: Interface activated: tun-ffda-gw01
Debian GNU/Linux 8 gw03 hvc0
gw03 login: [ 3480.288827] BUG: unable to handle kernel NULL pointer dereference at 0000000000000074
[ 3480.288842] IP: [<ffffffff811a583e>] ksize+0x4e/0x60
[ 3480.288854] PGD 0
[ 3480.288858] Oops: 0000 [#1] SMP
[ 3480.288863] Modules linked in: tun ip6table_filter ip6table_mangle ip6table_nat nf_conntrack_ipv6 nf_defrag_ipv6 nf_nat_ipv6 ip6_tables xt_nat iptable_nat nf_nat_ipv4 nf_nat xt_TCPMSS xt_mark iptable_mangle xt_tcpudp nf_conntrack_ipv4 nf_defrag_ipv4 xt_conntrack nf_conntrack iptable_filter ip_tables x_tables ip_gre ip_tunnel gre bridge stp llc thermal_sys kvm_intel kvm crct10dif_pclmul crc32_pclmul sha256_ssse3 sha256_generic hmac drbg ansi_cprng aesni_intel aes_x86_64 lrw gf128mul glue_helper ablk_helper cryptd evdev pcspkr ip6_gre ip6_tunnel tunnel6 batman_adv(O) libcrc32c autofs4 ext4 crc16 mbcache jbd2 xen_netfront xen_blkfront crc32c_intel
[ 3480.288942] CPU: 0 PID: 1318 Comm: openvpn Tainted: G O 4.2.0-0.bpo.1-amd64 #1 Debian 4.2.6-3~bpo8+2
[ 3480.288954] task: ffff880004608f00 ti: ffff88007ab9c000 task.ti: ffff88007ab9c000
[ 3480.288964] RIP: e030:[<ffffffff811a583e>] [<ffffffff811a583e>] ksize+0x4e/0x60
[ 3480.288979] RSP: e02b:ffff88007d003580 EFLAGS: 00010246
[ 3480.288987] RAX: 0000000000000000 RBX: ffff88007b2db400 RCX: 0000000000000003
[ 3480.288996] RDX: 00ffff8000000000 RSI: ffff88007d01b950 RDI: 000077ff80000000
[ 3480.289005] RBP: 0000000000000040 R08: ffffea0000000aa0 R09: ffff88007d01b950
[ 3480.289014] R10: 0000000000000004 R11: 0000000000000000 R12: 0000000000000040
[ 3480.289023] R13: ffff88000009c000 R14: ffff8800795c6a00 R15: 0000000000000020
[ 3480.289038] FS: 00007f2b3e116700(0000) GS:ffff88007d000000(0000) knlGS:0000000000000000
[ 3480.289048] CS: e033 DS: 0000 ES: 0000 CR0: 000000008005003b
[ 3480.289058] CR2: 0000000000000074 CR3: 000000007b8e7000 CR4: 0000000000002620
[ 3480.289065] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
[ 3480.289074] DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000000
[ 3480.289080] Stack:
[ 3480.289085] ffffffff81453321 0000000000000020 ffff88007be06000 ffff880079385000
[ 3480.289098] 000000000000001c ffff88007b2db400 ffff88007be06000 ffff880079385000
[ 3480.289108] ffff8800795c6a00 0000000000000044 ffffffff81453d58 ffff88007b8e3600
[ 3480.289118] Call Trace:
[ 3480.289122] <IRQ>
[ 3480.289130] [<ffffffff81453321>] ? pskb_expand_head+0x81/0x250
[ 3480.289140] [<ffffffff81453d58>] ? skb_realloc_headroom+0x48/0x80
[ 3480.289150] [<ffffffffa00f1196>] ? ip6gre_xmit2+0x266/0x710 [ip6_gre]
[ 3480.289160] [<ffffffff810733fd>] ? __local_bh_enable_ip+0x1d/0x90
[ 3480.289167] [<ffffffffa00f198d>] ? ip6gre_tunnel_xmit+0x34d/0x450 [ip6_gre]
[ 3480.289176] [<ffffffff8146664e>] ? dev_hard_start_xmit+0x22e/0x380
[ 3480.289184] [<ffffffff81487a89>] ? sch_direct_xmit+0xc9/0x1e0
[ 3480.289191] [<ffffffff81466af6>] ? __dev_queue_xmit+0x236/0x540
[ 3480.289202] [<ffffffffa011e383>] ? batadv_frag_send_packet+0x2e3/0x350 [batman_adv]
[ 3480.289214] [<ffffffff8145dfca>] ? dev_get_by_index+0xa/0x20
[ 3480.289224] [<ffffffffa0126fe0>] ? batadv_send_skb_to_orig+0x80/0xa0 [batman_adv]
[ 3480.289235] [<ffffffffa01271a4>] ? batadv_send_skb_unicast+0x84/0xf0 [batman_adv]
[ 3480.289245] [<ffffffffa01284cf>] ? batadv_interface_tx+0x3cf/0x410 [batman_adv]
[ 3480.289255] [<ffffffff8146664e>] ? dev_hard_start_xmit+0x22e/0x380
[ 3480.289262] [<ffffffff81466d90>] ? __dev_queue_xmit+0x4d0/0x540
[ 3480.289273] [<ffffffffa01bba04>] ? br_dev_queue_push_xmit+0x84/0x140 [bridge]
[ 3480.289283] [<ffffffffa01bbae5>] ? br_forward_finish+0x25/0x80 [bridge]
[ 3480.289292] [<ffffffffa01bbc9f>] ? __br_deliver+0x4f/0x120 [bridge]
[ 3480.289300] [<ffffffff81478e1d>] ? sk_filter+0x3d/0xb0
[ 3480.289308] [<ffffffffa01bc09b>] ? br_deliver+0x3b/0x70 [bridge]
[ 3480.289315] [<ffffffffa01b9803>] ? br_dev_xmit+0x123/0x210 [bridge]
[ 3480.289322] [<ffffffff8146664e>] ? dev_hard_start_xmit+0x22e/0x380
[ 3480.289329] [<ffffffff81466d90>] ? __dev_queue_xmit+0x4d0/0x540
[ 3480.289338] [<ffffffff814a0a71>] ? ip_finish_output2+0x121/0x3a0
[ 3480.289344] [<ffffffff814a2e41>] ? ip_output+0x61/0xc0
[ 3480.289351] [<ffffffff814a1e60>] ? ip_fragment.constprop.50+0x90/0x90
[ 3480.289358] [<ffffffff8149ee10>] ? ip_forward+0x380/0x470
[ 3480.289365] [<ffffffff8149ea00>] ? ip_frag_mem+0x40/0x40
[ 3480.289372] [<ffffffff8149d4ef>] ? ip_rcv+0x26f/0x3a0
[ 3480.289378] [<ffffffff8149cbc0>] ? inet_del_offload+0x40/0x40
[ 3480.289385] [<ffffffff81464891>] ? __netif_receive_skb_core+0x841/0x9a0
[ 3480.289393] [<ffffffff810ab877>] ? autoremove_wake_function+0x27/0x40
[ 3480.289400] [<ffffffff810b0841>] ? __raw_callee_save___pv_queued_spin_unlock+0x11/0x20
[ 3480.289409] [<ffffffff81465681>] ? process_backlog+0xa1/0x140
[ 3480.289416] [<ffffffff81464f1a>] ? net_rx_action+0x20a/0x320
[ 3480.289423] [<ffffffff81073aa7>] ? __do_softirq+0x107/0x270
[ 3480.289432] [<ffffffff8155b89c>] ? do_softirq_own_stack+0x1c/0x30
[ 3480.289437] <EOI>
[ 3480.289441] [<ffffffff810733d3>] ? do_softirq.part.20+0x33/0x40
[ 3480.289450] [<ffffffff8146380f>] ? netif_rx_ni+0x2f/0x60
[ 3480.289458] [<ffffffffa02a9496>] ? tun_get_user+0x4e6/0x8e0 [tun]
[ 3480.289466] [<ffffffff8144974d>] ? move_addr_to_user+0xad/0xd0
[ 3480.289473] [<ffffffffa02a9951>] ? tun_chr_write_iter+0x51/0x70 [tun]
[ 3480.289480] [<ffffffff811bf678>] ? new_sync_write+0x88/0xb0
[ 3480.289487] [<ffffffff811bfcd4>] ? vfs_write+0xa4/0x190
[ 3480.289493] [<ffffffff8100a4b5>] ? xen_clocksource_get_cycles+0x15/0x20
[ 3480.289500] [<ffffffff811c0992>] ? SyS_write+0x42/0xa0
[ 3480.289507] [<ffffffff81559d72>] ? system_call_fast_compare_end+0xc/0x6b
[ 3480.289513] Code: bf 00 00 00 80 ff 77 00 00 48 0f 42 3d ec e7 86 00 48 01 f8 48 c1 e8 0c 48 c1 e0 06 48 01 d0 48 8b 10 80 e6 80 75 0e 48 8b 40 30 <48> 63 40 74 c3 0f 0b 31 c0 c3 48 8b 40 30 eb ec 66 90 0f 1f 44
[ 3480.289567] RIP [<ffffffff811a583e>] ksize+0x4e/0x60
[ 3480.289574] RSP <ffff88007d003580>
[ 3480.289579] CR2: 0000000000000074
[ 3480.289598] ---[ end trace 1f32b9c6174d2bf1 ]---
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment