[Babel-users] Babel on itty bitty boxes

Dave Taht dave.taht at gmail.com
Sun Mar 27 17:39:24 UTC 2016


On Fri, Mar 25, 2016 at 2:41 AM, Matthieu Boutier
<boutier at pps.univ-paris-diderot.fr> wrote:
>> I checked and IPV6_SUBTREES is disabled in the raspbian kernel
>> build. I filed a bug.
>
> Good to know.  What if you specify explicitly to babeld not to use subtrees:
>
> ipv6-subtrees false

Congrats! That fixed the 3.14 kernel based droid c2. ip -6 rule show
showed the source specific stuff.

It did not fix the 3.10 kernel based c1.

So autodetection is broken on the c2 & c1 kernels, but works on the pi
kernel, and the ipv6-subtrees option can be set manually on the c2 to
work.

I am not seeing the kernel errors on the c2 I am on the rpi, see
below. I will try hooking up a usb wifi stick to the c2, I will try to
find one that works.

>
>> It is straightforward to build a new kernel whenever get around to it.
>
> It's written "optional", yeah?  So it should not be that much important.
> Remove it!

Your cynicism is shared and appreciated.

>>>> routerB does not get the "default from" routes.
>>>
>>> Aren't they even sent on the link ? (tcpdump from rpi)
>>
>> rpi3, c2, c1, x86 box are on the same switch.
>
> Ah ok, so what's in the babel RIB on rpi?
> (killall -USR1 babeld; cat /var/log/babeld.log)

Attached. I note that while the pi3 had had ip -6 rules showing, this
log dump is after a fresh restart - and even after waiting a few
minutes I did not get those ip -6 rules inserted. There are a bunch of
kernel errors from dmesg along the lines of the second bug I filed
with the raspberry folk, which are probably related.

I filed a bug on these:

[258034.946162] <unknown>: hw csum failure
[258034.946190] CPU: 0 PID: 21128 Comm: babeld Tainted: G        W
  4.1.19-v7+ #853
[258034.946200] Hardware name: BCM2709
[258034.946238] [<800185e0>] (unwind_backtrace) from [<80013f48>]
(show_stack+0x20/0x24)
[258034.946263] [<80013f48>] (show_stack) from [<80572fac>]
(dump_stack+0xd4/0x118)
[258034.946289] [<80572fac>] (dump_stack) from [<80497444>]
(netdev_rx_csum_fault+0x44/0x48)
[258034.946312] [<80497444>] (netdev_rx_csum_fault) from [<8048c6d0>]
(skb_copy_and_csum_datagram_msg+0xdc/0xe8)
[258034.946394] [<8048c6d0>] (skb_copy_and_csum_datagram_msg) from
[<7f01f048>] (udpv6_recvmsg+0x11c/0x7cc [ipv6])
[258034.946463] [<7f01f048>] (udpv6_recvmsg [ipv6]) from [<80509d18>]
(inet_recvmsg+0xa4/0xb8)
[258034.946489] [<80509d18>] (inet_recvmsg) from [<8047c3dc>]
(sock_recvmsg+0x20/0x24)
[258034.946510] [<8047c3dc>] (sock_recvmsg) from [<8047e274>]
(___sys_recvmsg+0xa4/0x12c)
[258034.946528] [<8047e274>] (___sys_recvmsg) from [<8047f0f8>]
(__sys_recvmsg+0x4c/0x7c)
[258034.946547] [<8047f0f8>] (__sys_recvmsg) from [<8047f140>]
(SyS_recvmsg+0x18/0x1c)
[258034.946566] [<8047f140>] (SyS_recvmsg) from [<8000fa20>]
(ret_fast_syscall+0x0/0x54)
[258035.497506] eth0: hw csum failure
[258035.497552] CPU: 0 PID: 0 Comm: swapper/0 Tainted: G        W
 4.1.19-v7+ #853
[258035.497563] Hardware name: BCM2709
[258035.497604] [<800185e0>] (unwind_backtrace) from [<80013f48>]
(show_stack+0x20/0x24)
[258035.497638] [<80013f48>] (show_stack) from [<80572fac>]
(dump_stack+0xd4/0x118)
[258035.497664] [<80572fac>] (dump_stack) from [<80497444>]
(netdev_rx_csum_fault+0x44/0x48)
[258035.497688] [<80497444>] (netdev_rx_csum_fault) from [<8048c310>]
(__skb_checksum_complete+0xb4/0xb8)
[258035.497709] [<8048c310>] (__skb_checksum_complete) from
[<8053abe4>] (udp6_csum_init+0x1cc/0x218)
[258035.497791] [<8053abe4>] (udp6_csum_init) from [<7f0216c0>]
(__udp6_lib_rcv+0x274/0x4b8 [ipv6])
[258035.497896] [<7f0216c0>] (__udp6_lib_rcv [ipv6]) from [<7f01e238>]
(udpv6_rcv+0x1c/0x20 [ipv6])
[258035.497982] [<7f01e238>] (udpv6_rcv [ipv6]) from [<7f0069d8>]
(ip6_input_finish+0x188/0x5d8 [ipv6])
[258035.498053] [<7f0069d8>] (ip6_input_finish [ipv6]) from
[<7f007514>] (ip6_input+0x30/0x84 [ipv6])
[258035.498128] [<7f007514>] (ip6_input [ipv6]) from [<7f007694>]
(ip6_mc_input+0x12c/0x274 [ipv6])
[258035.498198] [<7f007694>] (ip6_mc_input [ipv6]) from [<7f0067d0>]
(ip6_rcv_finish+0x44/0xc4 [ipv6])
[258035.498267] [<7f0067d0>] (ip6_rcv_finish [ipv6]) from [<7f0072b4>]
(ipv6_rcv+0x48c/0x6bc [ipv6])
[258035.498316] [<7f0072b4>] (ipv6_rcv [ipv6]) from [<80495294>]
(__netif_receive_skb_core+0x694/0xa40)
[258035.498340] [<80495294>] (__netif_receive_skb_core) from
[<80497504>] (__netif_receive_skb+0x20/0x7c)
[258035.498367] [<80497504>] (__netif_receive_skb) from [<8049758c>]
(netif_receive_skb_internal+0x2c/0xa4)
[258035.498390] [<8049758c>] (netif_receive_skb_internal) from
[<80497628>] (netif_receive_skb_sk+0x24/0x9c)
[258035.498414] [<80497628>] (netif_receive_skb_sk) from [<7f35c2f8>]
(ri_tasklet+0xec/0x28c [ifb])
[258035.498439] [<7f35c2f8>] (ri_tasklet [ifb]) from [<8002b948>]
(tasklet_action+0x74/0x10c)
[258035.498459] [<8002b948>] (tasklet_action) from [<8002ade4>]
(__do_softirq+0x1a0/0x3e0)
[258035.498478] [<8002ade4>] (__do_softirq) from [<8002b3c4>]
(irq_exit+0xdc/0x140)
[258035.498499] [<8002b3c4>] (irq_exit) from [<8006e8d4>]
(__handle_domain_irq+0x98/0xec)
[258035.498520] [<8006e8d4>] (__handle_domain_irq) from [<8000933c>]
(asm_do_IRQ+0x2c/0x30)
[258035.498538] [<8000933c>] (asm_do_IRQ) from [<80578334>]
(__irq_svc+0x34/0x12c)
[258035.498549] Exception stack(0x80805f20 to 0x80805f68)
[258035.498566] 5f20: 00000000 00000000 00000000 00000000 80804000
80822ddc 80822d00 80822d7c
[258035.498582] 5f40: 8057d280 8088473c bafff780 80805f74 80823cdc
80805f68 80010aa4 80010aa8
[258035.498593] 5f60: 60000013 ffffffff
[258035.498619] [<80578334>] (__irq_svc) from [<80010aa8>]
(arch_cpu_idle+0x34/0x4c)
[258035.498641] [<80010aa8>] (arch_cpu_idle) from [<80061f98>]
(cpu_startup_entry+0x21c/0x2d0)
[258035.498664] [<80061f98>] (cpu_startup_entry) from [<805712d4>]
(rest_init+0x88/0x8c)
[258035.498685] [<805712d4>] (rest_init) from [<80795d1c>]
(start_kernel+0x3d0/0x3dc)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: babeld.log
Type: text/x-log
Size: 37209 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/babel-users/attachments/20160327/a6b5e803/attachment-0001.bin>


More information about the Babel-users mailing list