Starting test 0005-operational_all █ 2024-10-10 22:42:17 # Starting (2024-10-10 22:42:17) 2024-10-10 22:42:17 # host: monza 2024-10-10 22:42:17 # tgt: swp1 2024-10-10 22:42:17 # target: alder1 2024-10-10 22:42:17 # mgmt: x10 2024-10-10 22:42:24 # teletype text
CFLAGS="-Wall -Werror -Wextra -Wno-unused-parameter -Wformat=2 -Wformat-overflow=2 -Winit-self -Wstrict-overflow=4 -Wno-format-truncation -Wno-format-nonliteral -Wimplicit-function-declaration"
First check you have the timer trigger loaded:
root@gimli:~# lsmod |grep led
snd_ctl_led 24576 0
input_leds 16384 0
snd 135168 45 snd_ctl_led,snd_hda_codec_generic,snd_seq,snd_seq_device,snd_hda_codec_hdmi,snd_hwdep,snd_hda_intel,snd_usb_audio,snd_usbmidi_lib,snd_hda_codec,snd_hda_codec_realtek,snd_sof,snd_timer,snd_compress,thinkpad_acpi,snd_soc_core,snd_pcm,snd_rawmidi
soundcore 16384 2 snd_ctl_led,snd
The magic keybinding is
C-x 8 RET
Insert character (Unicode name or hex): 2015
―
grep Vm /proc/$(ps aux | grep inadyn |head -1 |awk '{print $2}')/status |
Ever since I started working with multicast back in the early 2000's, I've had to make my own tools. There weren't that many useful ones available, at least not in the Open Source space where I worked.
The first tool made, mcjoin,
was based on an example an IBM'er had made public. I used that, the
standard ping(1)
tool, and tcpdump(1)
, to check my multicast flows.
When I started out learning about libnl, around 10 years ago, I did not fully understand it. Mostly because I didn't (want to) understand Netlink. A great way to learn something is to try to fix a bug, or develop a new feature, because then you will want to write both tests and demo applications, which you may end up having to debug! Debuggers give you backtraces, which will help you understand how your program works.
Note: for debugging embedded systems using
gdb-server
, see the following blog post I wrote
#BR2_ROOTFS_OVERLAY := $(BR2_ROOTFS_OVERLAY) $(BR2_EXTERNAL_NETBOX_PATH)/jocke | |
LINUX_OVERRIDE_SRCDIR = /home/jocke/src/linux | |
#IPROUTE2_OVERRIDE_SRCDIR = /home/jocke/src/iproute2 | |
#MDIO_TOOLS_OVERRIDE_SRCDIR = /home/jocke/src/github.com/jocke/mdio-tools | |
#MDIO_TOOLS_AUTORECONF = YES | |
#PLY_OVERRIDE_SRCDIR = /home/jocke/src/github.com/jocke/ply | |
#PLY_AUTORECONF = YES | |
#TCPDUMP_OVERRIDE_SRCDIR = /home/jocke/src/github.com/the-tcpdump-group/tcpdump | |
#LIBPCAP_OVERRIDE_SRCDIR = /home/jocke/src/github.com/the-tcpdump-group/libpcap |