If you like BoxMatrix then please contribute Supportdata, Supportdata2, Firmware and/or Hardware (get in touch).
My metamonk@yahoo.com is not reachable by me since years. Please use hippie2000@webnmail.de instead.
Property:avm debug.ko
BoxMatrix >> Shell-Commands >> avm_debug.ko | @ BoxMatrix - IRC-Chat - Translate: de es fr it nl pl |
News | Selectors | Models | Accessories | Components | Environment | Config | Commands | System | Webif | Software | Develop | Lexicon | Community | Project | Media |
Startup-Scr | Hotplug-Scr | BusyBox-Cmds | Bash-Cmds | AVM-Cmds | Chipset-Cmds | Linux-Cmds | Shared-Libs | Kernel-Mods | Research |
Kernel-Module
Note that Kernel 2.4 and builtin *.o
modules have been renamed to *.ko
for an easier comparison.
Command: | avm_debug.ko - type | Wiki | Freetz | IPPF | whmf | AVM | Web |
Location: | Shell-Commands >> Kernel-Modules - Origin: AVM | ||||||
Path: | Release: Lab+Rel: | ||||||
Properties: | Size: - Firmware: | ||||||
Function: | AVM debug device driver (GPL) |
Goto: Examples - GPL-Browser - Dependencies - Model-Matrix - Symbols - SMW-Browser
Details
avm_debug.ko is a driver logging the kernel printk
output into a buffer.
This buffer could be read from the /dev/debug
character device using cat.
This is mainly used by supportdata and the crash handler libbacktrace.so.
This is a virtual module to have an article about it. It is part of the avm.ko bundle at:
drivers/char/avm_new/avm_debug.c
Examples
By default /dev/debug
does not have an EOF (end of file), and a cat will wait forever.
This could be defeated in scripts by detaching it. cat runs asynchronous then and is terminated at the end of the script:
cat /dev/debug &
Alternatively an EOF mode could be enabled, making cat non blocking:
echo AVMDBG_EOF 1 > /dev/debug cat /dev/debug echo AVMDBG_EOF 0 > /dev/debug
Redirecting printk
is enabled at boot time in tail like this:
echo AVM_PRINTK > /dev/debug
To return to normal printk
this is the way:
echo STD_PRINTK > /dev/debug
avm_debug.ko is extensible with dumping functions of kernel modules.
This is used for supportdata and some closed source modules, here some findings:
echo isdn_list > /dev/debug echo isdn_reg > /dev/debug echo pcmlink_reg > /dev/debug echo pcmlink_dma > /dev/debug echo pcmlink_status > /dev/debug echo pcmlink_ecdump > /dev/debug - supportdata.argo echo support_phone_hw > /dev/debug
Each of these registered dumpers makes the respective module and function print to the log buffer.
GPL-Browser
Daily updated index of all avm_debug.ko code findings on the GPL-Browser. Last update: 2024-06-17 04:08 GMT.
The Files
header attempts to list the files which belong to this module. Useful if a directory contains multiple modules.
The Browse
column points to the Path
of the Makefile
referring this code on the gpl.boxmatrix.info service.
The SoC
column lists the Chip-Codenames, the Model
column lists the nicks of the Box-Models.
The Diff
column links the comparison of the AVM Kernel to the pristine original from Kernel.org.
The Download
column links the full tarball the respective directory content is extracted from.
The presence of the source does not mean it fits the respective model and architecture. See the Model-Matrix where it's used.
Note that this list matches module names with hyphen (-
) and underscore (_
) exchangeable, same as modprobe does.
Dependencies
Daily updated index of all dependencies of this module. Last update: 2024-06-16 07:30 GMT.
A *
in the Mod
column marks info from Supportdata-Probes, which will always stay incomplete.
Relation | Typ | Object | Mod | Firmware | Info | Origin |
---|---|---|---|---|---|---|
Enabled by | kcfg | CONFIG_AVM_DEBUG | 65 | 4.68 - 7.90 | Support for AVM Debug (avm.ko, avm_debug.ko, avm_logger.ko) | Linux |
1 dependency for this module |
Model-Matrix
Daily updated index of the presence, path and size of this module for each model. Last update: 2024-06-17 05:05 GMT.
Showing all models using this module. Click any column header (click-wait-click) to sort the list by the respective data.
The (main/scrpn/boot/arm/prx/atom)
label in the Model
column shows which CPU is meant for models with multiple Linux instances.
Note that this list is merged from Firmware-Probes of all known AVM firmware for a model, including Recovery.exe and Labor-Files.
Model | Firmware | Path | Size |
---|---|---|---|
0 models use this module |
Symbols
Daily updated index of all symbols of this module. Last update: 2024-06-16 07:30 GMT.
Firmware | Symbol |
---|---|
0 symbols for this module |