Skip to content
Tom Herbers edited this page Nov 14, 2020 · 7 revisions

Build failed, why?

Rebuild with make V=s BUILD_LOG=1. If it still fails you can search the build log for one of the following common errors:

  • Waiting for unfinished jobs....
  • site.conf error
  • opkg_install_cmd: Cannot install package
  • WARNING: Image file [...] is too big
  • expected [...] to [...], but it is [...]
  • [...] is obsolete

If no error is visible we can continue searching the build logs in either openwrt/logs or lede/logs.

grep -r 'Error ' openwrt/logs

br0: received packet on bat0 with own address as source address

Explanation

The device br0 complains, that it has seen packets from it's own mac address arrive on the bridge port bat0, the batman-adv mesh interface. This is likely caused by a loop in the client network.

Recommendation

Check batctl tg for the mac address of br0 and find out who originates the mac address in the mesh. Resolve the originators mac address through respondd data, for example through a nodes.json file.

Example

# dmesg
[...]
[ 1877.476355] dom61-br: received packet on dom61-bat with own address as source address
[...]
# ip link show dev dom61-br
47: dom61-br: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP mode DEFAULT group default qlen 1000
    link/ether da:ff:61:00:02:04 brd ff:ff:ff:ff:ff:ff
# batctl dom61-bat tg | grep "da:ff:61:00:02:04"
 * da:ff:61:00:04:04   -1 [....] (  7) a6:fb:16:8d:c1:7b (  7) (0x3b6ea962)

The offender in this case was a6:fb:16:8d:c1:7b.

Clone this wiki locally