netconsole prefixes every message
Clash Royale CLAN TAG#URR8PPP
up vote
1
down vote
favorite
I just enabled netconsole
on my Ubiquiti wireless LAN access points. They run a custom OpenWRT or LEDE version, based on Linux Kernel 3.3.8. It works, but the message it sends always contains an additional prefix. While dmesg
reads
[ 73.690000] netconsole: remote port 6666
it is sent as
d865 e557 [ 73.690000] netconsole: remote port 6666
I confirmed this with wireshark
, and using netcat
as the receiver. It always contains a prefix consisting of hhhh hhhh
where h
is a lowercase hex digit. The second block always seems to be e557, no matter what device sent the message, while the first block seems to change from time to time, but it does not seem to be related the the facility, time, or severity.
Some samples:
32f8 e557 [ 2107.350000] br0: port 2(ath0) entered disabled state
32f8 e557 [ 2109.200000] Restarting system.
d865 e557 [ 73.690000] netconsole: local port 514
d865 e557 [ 73.690000] netconsole: local IP 10.1.0.10
6d77 e557 [ 1215.920000] STOPPED EVENT for vap 1 (80f50000)
Unfortunately, this build does not have /dev/kmsg
so testing is quite uncomfortable.
What is the meaning of this prefix?
linux kernel logs openwrt netconsole
add a comment |Â
up vote
1
down vote
favorite
I just enabled netconsole
on my Ubiquiti wireless LAN access points. They run a custom OpenWRT or LEDE version, based on Linux Kernel 3.3.8. It works, but the message it sends always contains an additional prefix. While dmesg
reads
[ 73.690000] netconsole: remote port 6666
it is sent as
d865 e557 [ 73.690000] netconsole: remote port 6666
I confirmed this with wireshark
, and using netcat
as the receiver. It always contains a prefix consisting of hhhh hhhh
where h
is a lowercase hex digit. The second block always seems to be e557, no matter what device sent the message, while the first block seems to change from time to time, but it does not seem to be related the the facility, time, or severity.
Some samples:
32f8 e557 [ 2107.350000] br0: port 2(ath0) entered disabled state
32f8 e557 [ 2109.200000] Restarting system.
d865 e557 [ 73.690000] netconsole: local port 514
d865 e557 [ 73.690000] netconsole: local IP 10.1.0.10
6d77 e557 [ 1215.920000] STOPPED EVENT for vap 1 (80f50000)
Unfortunately, this build does not have /dev/kmsg
so testing is quite uncomfortable.
What is the meaning of this prefix?
linux kernel logs openwrt netconsole
possibly related: unix.stackexchange.com/q/451404/117549
â Jeff Schaller
Sep 5 at 11:14
@JeffSchaller Unfortunately,busybox dmesg
does not contain them.
â Max Ried
Sep 5 at 11:17
add a comment |Â
up vote
1
down vote
favorite
up vote
1
down vote
favorite
I just enabled netconsole
on my Ubiquiti wireless LAN access points. They run a custom OpenWRT or LEDE version, based on Linux Kernel 3.3.8. It works, but the message it sends always contains an additional prefix. While dmesg
reads
[ 73.690000] netconsole: remote port 6666
it is sent as
d865 e557 [ 73.690000] netconsole: remote port 6666
I confirmed this with wireshark
, and using netcat
as the receiver. It always contains a prefix consisting of hhhh hhhh
where h
is a lowercase hex digit. The second block always seems to be e557, no matter what device sent the message, while the first block seems to change from time to time, but it does not seem to be related the the facility, time, or severity.
Some samples:
32f8 e557 [ 2107.350000] br0: port 2(ath0) entered disabled state
32f8 e557 [ 2109.200000] Restarting system.
d865 e557 [ 73.690000] netconsole: local port 514
d865 e557 [ 73.690000] netconsole: local IP 10.1.0.10
6d77 e557 [ 1215.920000] STOPPED EVENT for vap 1 (80f50000)
Unfortunately, this build does not have /dev/kmsg
so testing is quite uncomfortable.
What is the meaning of this prefix?
linux kernel logs openwrt netconsole
I just enabled netconsole
on my Ubiquiti wireless LAN access points. They run a custom OpenWRT or LEDE version, based on Linux Kernel 3.3.8. It works, but the message it sends always contains an additional prefix. While dmesg
reads
[ 73.690000] netconsole: remote port 6666
it is sent as
d865 e557 [ 73.690000] netconsole: remote port 6666
I confirmed this with wireshark
, and using netcat
as the receiver. It always contains a prefix consisting of hhhh hhhh
where h
is a lowercase hex digit. The second block always seems to be e557, no matter what device sent the message, while the first block seems to change from time to time, but it does not seem to be related the the facility, time, or severity.
Some samples:
32f8 e557 [ 2107.350000] br0: port 2(ath0) entered disabled state
32f8 e557 [ 2109.200000] Restarting system.
d865 e557 [ 73.690000] netconsole: local port 514
d865 e557 [ 73.690000] netconsole: local IP 10.1.0.10
6d77 e557 [ 1215.920000] STOPPED EVENT for vap 1 (80f50000)
Unfortunately, this build does not have /dev/kmsg
so testing is quite uncomfortable.
What is the meaning of this prefix?
linux kernel logs openwrt netconsole
linux kernel logs openwrt netconsole
edited Sep 5 at 11:16
asked Sep 5 at 11:08
Max Ried
486721
486721
possibly related: unix.stackexchange.com/q/451404/117549
â Jeff Schaller
Sep 5 at 11:14
@JeffSchaller Unfortunately,busybox dmesg
does not contain them.
â Max Ried
Sep 5 at 11:17
add a comment |Â
possibly related: unix.stackexchange.com/q/451404/117549
â Jeff Schaller
Sep 5 at 11:14
@JeffSchaller Unfortunately,busybox dmesg
does not contain them.
â Max Ried
Sep 5 at 11:17
possibly related: unix.stackexchange.com/q/451404/117549
â Jeff Schaller
Sep 5 at 11:14
possibly related: unix.stackexchange.com/q/451404/117549
â Jeff Schaller
Sep 5 at 11:14
@JeffSchaller Unfortunately,
busybox dmesg
does not contain them.â Max Ried
Sep 5 at 11:17
@JeffSchaller Unfortunately,
busybox dmesg
does not contain them.â Max Ried
Sep 5 at 11:17
add a comment |Â
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f466988%2fnetconsole-prefixes-every-message%23new-answer', 'question_page');
);
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
possibly related: unix.stackexchange.com/q/451404/117549
â Jeff Schaller
Sep 5 at 11:14
@JeffSchaller Unfortunately,
busybox dmesg
does not contain them.â Max Ried
Sep 5 at 11:17