Project

General

Profile

Bug #427

after instatlling batman-adv cannot see log file

Added by Nikhil Kale 5 months ago. Updated 5 months ago.

Status:
Rejected
Priority:
High
Assignee:
batman-adv developers
Target version:
-
Start date:
06/30/2022
Due date:
% Done:

0%

Estimated time:

Description

Hi , I have installed batman-adve by using " sudo modprobe batman-adv"
I can see batman is working , Also neighbors are visible , but i am not able to see the log_level file.

sudo ls /sys/class/net/bat0/mesh/
aggregated_ogms bonding distributed_arp_table gw_bandwidth gw_sel_class isolation_mark network_coding routing_algo
ap_isolation bridge_loop_avoidance fragmentation gw_mode hop_penalty multicast_mode orig_interval
root@SugarOS:~#
root@SugarOS:~# sudo batctl -v
batctl debian-2019.0-1 [batman-adv: 2018.3]
root@SugarOS:~# uname -a
Linux SugarOS 4.19.0-11-amd64 #1 SMP Debian 4.19.146-1 (2020-09-17) x86_64 GNU/Linux
root@SugarOS:~# sudo batctl n
[B.A.T.M.A.N. adv 2018.3, MainIF/MAC: ap0.20/00:22:4d:d8:cb:f8 (bat0/8e:de:d6:d7:18:9f BATMAN_IV)]
IF Neighbor last-seen
ap0.20 00:22:4d:d7:1e:10 0.880s
root@SugarOS:~# sudo batctl o
[B.A.T.M.A.N. adv 2018.3, MainIF/MAC: ap0.20/00:22:4d:d8:cb:f8 (bat0/8e:de:d6:d7:18:9f BATMAN_IV)]
Originator last-seen (#/255) Nexthop [outgoingIF] * 00:22:4d:d7:1e:10 0.756s (255) 00:22:4d:d7:1e:10 [ ap0.20]
root@SugarOS:~#

root@SugarOS:~# sudo batctl log
Error - can't open file '/sys/kernel/debug//batman_adv/bat0/log': No such file or directory
The option you called seems not to be compiled into your batman-adv kernel module.
Consult the README if you wish to learn more about compiling options into batman-adv.
root@SugarOS:~# sudo batctl loglevel
Error - can't open file '/sys/class/net/bat0/mesh/log_level': No such file or directory
The option you called seems not to be compiled into your batman-adv kernel module.
Consult the README if you wish to learn more about compiling options into batman-adv.
root@SugarOS:~#

History

#1

Updated by Sven Eckelmann 5 months ago

  • Status changed from New to Rejected

First thing: you batman-adv + batctl are heavily outdated. The "current version only supports the normal kernel tracing and must also be activated by a compile time option

And the rest is answered by your ticket description:

The option you called seems not to be compiled into your batman-adv kernel module.
Consult the README if you wish to learn more about compiling options into batman-adv.

if you build batman-adv as externel module then please consult the README of the batman-adv version which you are using. If you use the kernel version then please enable the kernel build option CONFIG_BATMAN_ADV_DEBUG=y in your kernel .config

And this is a bug tracker and not the correct way to ask questions.

Also available in: Atom PDF