b.a.t.m.a.n.lists.open-mesh.org archive mirror
 help / color / mirror / Atom feed
From: Nathan Wharton <naw@greptar.com>
To: The list for a Better Approach To Mobile Ad-hoc Networking
	<b.a.t.m.a.n@open-mesh.net>
Subject: Re: [B.A.T.M.A.N.] Kernel crashes with batgat installed
Date: Wed, 20 May 2009 12:01:43 -0500	[thread overview]
Message-ID: <4313f3060905201001u5658c660p5a9be3d63dbff150@mail.gmail.com> (raw)
In-Reply-To: <200905210010.54489.lindner_marek@yahoo.de>

On Wed, May 20, 2009 at 11:10 AM, Marek Lindner <lindner_marek@yahoo.de> wrote:
> 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 ?

In this case, it does the same thing whether or not batgat is installed.

Debug level 4 gives:
========================================
WARNING: You are using the unstable batman branch. If you are
interested in *using* batman get the lat
est stable release !
Deleting throw route to 10.1.3.0/24 via 0.0.0.0 (table 66 - unknown)
Deleting throw route to 10.1.3.0/24 via 0.0.0.0 (table 66 - unknown)
Deleting throw route to 10.1.3.0/24 via 0.0.0.0 (table 65 - unknown)
Deleting throw route to 10.1.3.0/24 via 0.0.0.0 (table 65 - unknown)
Deleting throw route to 10.1.3.0/24 via 0.0.0.0 (table 67 - unknown)
Deleting throw route to 10.1.3.0/24 via 0.0.0.0 (table 67 - unknown)
Interface activated: ath0
Using interface ath0 with address 10.0.1.3 and broadcast address 10.0.255.255
Interface activated: eth0
Using interface eth0 with address 10.255.1.3 and broadcast address
10.255.255.255
B.A.T.M.A.N. 0.3.2-beta rv1256 (compatibility version 5)
[        30] Adding throw route to 127.0.0.0/8 via 0.0.0.0 (table 68 - lo)
[        30] Adding throw route to 10.1.3.0/24 via 0.0.0.0 (table 68 - eth1)
[        30] Adding throw route to 10.0.0.0/16 via 0.0.0.0 (table 68 - ath0)
debug level: 4
routing class: 2
[        30] Adding throw route to 10.1.3.0/24 via 0.0.0.0 (table 65 - unknown)
[        30] Adding throw route to 10.1.3.0/24 via 0.0.0.0 (table 66 - unknown)
[        30] Adding throw route to 10.1.3.0/24 via 0.0.0.0 (table 67 - unknown)
[        30] Adding throw route to 10.1.3.0/24 via 0.0.0.0 (table 68 - unknown)
[        30] Error - can't add throw route to 10.1.3.0/24 via 0.0.0.0
(table 68): File exists
[        30] Error - can't add throw route to 10.1.3.0/24 via 0.0.0.0
(table 68): File exists
[        30] debugRealloc - invalid magic number in trailer: 78183456,
malloc tag = 15
[        30] debugRealloc - invalid magic number in trailer: 78183456,
malloc tag = 15
[        30] Deleting throw route to 127.0.0.0/8 via 0.0.0.0 (table 68 - lo)
[       100] Deleting throw route to 10.1.3.0/24 via 0.0.0.0 (table 68 - eth1)
[       130] Deleting throw route to 10.0.0.0/16 via 0.0.0.0 (table 68 - ath0)
========================================

It does this while not connected.

>> 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 ?

If you consider 1 bug being the debug_malloc stuff not working, and
the other being batgat possibly crashing the kernel, then yes.
If I turn off debug malloc, then everything works fine, except using
batgat and going from gateway to routing class.

  reply	other threads:[~2009-05-20 17:01 UTC|newest]

Thread overview: 24+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-05-19 14:27 [B.A.T.M.A.N.] Kernel crashes with batgat installed Nathan Wharton
2009-05-19 19:21 ` Sven Eckelmann
2009-05-19 20:38   ` Nathan Wharton
2009-05-20  1:30     ` Marek Lindner
2009-05-20 14:34       ` Nathan Wharton
2009-05-20 16:10         ` Marek Lindner
2009-05-20 17:01           ` Nathan Wharton [this message]
2009-05-20 19:02             ` Marek Lindner
2009-05-20 19:39               ` Nathan Wharton
2009-05-28 10:40 ` [B.A.T.M.A.N.] [PATCH] [batman] Add padding around allocation debugger structures Sven Eckelmann
2009-05-29  7:02   ` Marek Lindner
2009-05-29 14:00     ` Nathan Wharton
2009-06-01 16:44       ` Sven Eckelmann
2009-06-01 18:03         ` Nathan Wharton
2009-06-01 19:35           ` Sven Eckelmann
2009-06-01 21:50             ` Nathan Wharton
2009-06-02  4:36             ` Marek Lindner
2009-06-02 17:50               ` [B.A.T.M.A.N.] " Sven Eckelmann
2009-06-02 17:56                 ` [B.A.T.M.A.N.] [PATCH] [batman] Align pointers in hna list elements Sven Eckelmann
2009-06-02 18:56                   ` Nathan Wharton
2009-06-03 10:39                   ` [B.A.T.M.A.N.] [PATCHv2] " Sven Eckelmann
2009-06-03 11:16                     ` Marek Lindner
2009-05-28 11:36 ` [B.A.T.M.A.N.] [PATCH 2/3] [batman] Make TYPE_OF_WORD the largest integral type Sven Eckelmann
2009-05-28 11:36 ` [B.A.T.M.A.N.] [PATCH 3/3] [batman] Word-Align char buffer which are later casted to larger data types Sven Eckelmann

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4313f3060905201001u5658c660p5a9be3d63dbff150@mail.gmail.com \
    --to=naw@greptar.com \
    --cc=b.a.t.m.a.n@open-mesh.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).