netconsole prefixes every message

The name of the pictureThe name of the pictureThe name of the pictureClash 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?










share|improve this question























  • 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














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?










share|improve this question























  • 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












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?










share|improve this question















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






share|improve this question















share|improve this question













share|improve this question




share|improve this question








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
















  • 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















active

oldest

votes











Your Answer







StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "106"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);

else
createEditor();

);

function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
convertImagesToLinks: false,
noModals: false,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);



);













 

draft saved


draft discarded


















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



































active

oldest

votes













active

oldest

votes









active

oldest

votes






active

oldest

votes















 

draft saved


draft discarded















































 


draft saved


draft discarded














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













































































Popular posts from this blog

How to check contact read email or not when send email to Individual?

Displaying single band from multi-band raster using QGIS

How many registers does an x86_64 CPU actually have?