On Wednesday 20 May 2009 22:34:29 Nathan Wharton wrote:
Here is the output when I have DEBUG_MALLOC on from start to finish:
root@SchaferRobotics_1_3:/# batmand -d 3 -r 2 -a 10.1.3.0/24 --disable-client-na t --hop-penalty 5 --purge-timeout 10000 ath0 eth0 WARNING: You are using the unstable batman branch. If you are interested in *using* batman get the lat est stable release ! B.A.T.M.A.N. 0.3.2-beta rv1256 (compatibility version 5)
Thanks, that helps.
Adding throw route to 127.0.0.0/8 via 0.0.0.0 (table 68 - lo) Adding throw route to 10.1.3.0/24 via 0.0.0.0 (table 68 - eth1) Adding throw route to 10.0.0.0/16 via 0.0.0.0 (table 68 - ath0) debug level: 3 routing class: 2 Adding throw route to 10.1.3.0/24 via 0.0.0.0 (table 65 - unknown) Adding throw route to 10.1.3.0/24 via 0.0.0.0 (table 66 - unknown) Adding throw route to 10.1.3.0/24 via 0.0.0.0 (table 67 - unknown) Adding throw route to 10.1.3.0/24 via 0.0.0.0 (table 68 - unknown) Error - can't add throw route to 10.1.3.0/24 via 0.0.0.0 (table 68): File exists debugRealloc - invalid magic number in trailer: 78183456, malloc tag = 15 Deleting throw route to 127.0.0.0/8 via 0.0.0.0 (table 68 - lo) Deleting throw route to 10.1.3.0/24 via 0.0.0.0 (table 68 - eth1) Deleting throw route to 10.0.0.0/16 via 0.0.0.0 (table 68 - ath0)
Ok, from your output plus the nvalid magic number we can say that it seems somewhat related to your HNA settings. A few more questions: * In this case the batgat module is not involved and still it crashes ?! * Is your network up & running ? Does batman receive messages from neighbor nodes (you can track that via debug log 4) ? * Does batman also crash in a disconnected environment ?
This is only happening when using the batgat module. The kernel is crashing. If it happens to not reboot, I see that batman is in a device wait state and can't be killed.
The log you just provided is not about a kernel crash - its "just" the batman daemon. Are we hunting 2 different bugs ?
I see that some more patches were added recently. I will try them and see if anything changes.
Ok, keep us posted.
Regards, Marek