On Sat, Mar 02, 2013 at 03:01:14PM +0100, Simon Wunderlich wrote:
Hi,
I've tested this for compatibility on 2.6.32 (Debian stable) in my virtual machine.
Hello Simon and thank yuou,
Marek suggested to use:
batctl if add eth0 vconfig add bat0 5 batctl if add bat0.5
and the last command fails with: Error - can't write to file '/sys/class/net/bat0.5/batman_adv/mesh_iface': Operation not permitted
which looks good and expected to me.
yeah.
Without the patch, the directory /sys/class/net/bat0.5/batman_adv does not even exist - probably because the check was removed in this patch.
Well, with this patch the check is done later and therefore the folder is created. We may want to try to move the check earlier, like it was before the patch?
Another thing I have tried, which behaves bad with and without this patch: batctl if add eth0 brctl addbr br0 brctl addif br0 bat0 batctl if add br0 (wait a few seconds) rmmod batman-adv
First, enslaving br0 into bat0 does not fail, but it makes no sense to enslave bat0 through br0 into bat0 again - we should probably prevent this too. Removing the module crashes the kernel, not always, but pretty reliably (I have the feeling it happens more often after applying this patch, but not sure). Unfortunately I couldn't get any useful backtraces so far, if it fails it usually instantly reboots or hangs without output (this is in kvm with -curses). I've succeeded to get some trace part, it's probably not useful but i've attached it to the bottom anyway [1].
Any thoughts on that? :)
How sure are we about being batman-adv the culprit for this?
Cheers,