Garbage output on raspberry pi3 B/B+ when running and OCI container











up vote
0
down vote

favorite












I am running simple docker busybox container (converted to an OCI bundle) using docker-runC (https://github.com/opencontainers/runtime-spec) on a raspberry pi3, connected to a host via a UART terminal. The connection is done through pins 6-8-10 on the GPIO, using a UART to USB converter (C232HD USB to UART). Terminal settings : 115200 bps ,8 data / 1 stop bits, none parity and flow control.
I get garbage only when container internal process (in this case the Bourne shell prompt, but anything else will output the same garbage) outputs to the screen.
The problem won't occur when running the same container on imx7s WaRP7 device does (same architecture), or when connecting the raspberry pi3 with an HDMI cable to a screen.



Attached is a print screen of the garbage I see. The config.json file is the default (docker-runc spec) without changes.
I am running with process/env/TERM=xterm and process/terminal=true.
Does anyone have an idea why do I get this garbage only on raspberry pi3 and while using UART (not on other devices, and not when using HDMI) and can give me some direction on how to deal with this problem?












share|improve this question
























  • raspberrypi.stackexchange.com
    – Mat
    Nov 8 at 6:48















up vote
0
down vote

favorite












I am running simple docker busybox container (converted to an OCI bundle) using docker-runC (https://github.com/opencontainers/runtime-spec) on a raspberry pi3, connected to a host via a UART terminal. The connection is done through pins 6-8-10 on the GPIO, using a UART to USB converter (C232HD USB to UART). Terminal settings : 115200 bps ,8 data / 1 stop bits, none parity and flow control.
I get garbage only when container internal process (in this case the Bourne shell prompt, but anything else will output the same garbage) outputs to the screen.
The problem won't occur when running the same container on imx7s WaRP7 device does (same architecture), or when connecting the raspberry pi3 with an HDMI cable to a screen.



Attached is a print screen of the garbage I see. The config.json file is the default (docker-runc spec) without changes.
I am running with process/env/TERM=xterm and process/terminal=true.
Does anyone have an idea why do I get this garbage only on raspberry pi3 and while using UART (not on other devices, and not when using HDMI) and can give me some direction on how to deal with this problem?












share|improve this question
























  • raspberrypi.stackexchange.com
    – Mat
    Nov 8 at 6:48













up vote
0
down vote

favorite









up vote
0
down vote

favorite











I am running simple docker busybox container (converted to an OCI bundle) using docker-runC (https://github.com/opencontainers/runtime-spec) on a raspberry pi3, connected to a host via a UART terminal. The connection is done through pins 6-8-10 on the GPIO, using a UART to USB converter (C232HD USB to UART). Terminal settings : 115200 bps ,8 data / 1 stop bits, none parity and flow control.
I get garbage only when container internal process (in this case the Bourne shell prompt, but anything else will output the same garbage) outputs to the screen.
The problem won't occur when running the same container on imx7s WaRP7 device does (same architecture), or when connecting the raspberry pi3 with an HDMI cable to a screen.



Attached is a print screen of the garbage I see. The config.json file is the default (docker-runc spec) without changes.
I am running with process/env/TERM=xterm and process/terminal=true.
Does anyone have an idea why do I get this garbage only on raspberry pi3 and while using UART (not on other devices, and not when using HDMI) and can give me some direction on how to deal with this problem?












share|improve this question















I am running simple docker busybox container (converted to an OCI bundle) using docker-runC (https://github.com/opencontainers/runtime-spec) on a raspberry pi3, connected to a host via a UART terminal. The connection is done through pins 6-8-10 on the GPIO, using a UART to USB converter (C232HD USB to UART). Terminal settings : 115200 bps ,8 data / 1 stop bits, none parity and flow control.
I get garbage only when container internal process (in this case the Bourne shell prompt, but anything else will output the same garbage) outputs to the screen.
The problem won't occur when running the same container on imx7s WaRP7 device does (same architecture), or when connecting the raspberry pi3 with an HDMI cable to a screen.



Attached is a print screen of the garbage I see. The config.json file is the default (docker-runc spec) without changes.
I am running with process/env/TERM=xterm and process/terminal=true.
Does anyone have an idea why do I get this garbage only on raspberry pi3 and while using UART (not on other devices, and not when using HDMI) and can give me some direction on how to deal with this problem?









docker uart tty runc






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Nov 8 at 3:53









Mat

1,25622029




1,25622029










asked Nov 7 at 17:05









user2917095

1




1












  • raspberrypi.stackexchange.com
    – Mat
    Nov 8 at 6:48


















  • raspberrypi.stackexchange.com
    – Mat
    Nov 8 at 6:48
















raspberrypi.stackexchange.com
– Mat
Nov 8 at 6:48




raspberrypi.stackexchange.com
– Mat
Nov 8 at 6:48

















active

oldest

votes











Your Answer






StackExchange.ifUsing("editor", function () {
StackExchange.using("externalEditor", function () {
StackExchange.using("snippets", function () {
StackExchange.snippets.init();
});
});
}, "code-snippets");

StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "1"
};
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: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});


}
});














 

draft saved


draft discarded


















StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53194352%2fgarbage-output-on-raspberry-pi3-b-b-when-running-and-oci-container%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown






























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%2fstackoverflow.com%2fquestions%2f53194352%2fgarbage-output-on-raspberry-pi3-b-b-when-running-and-oci-container%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown





















































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown

































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown







這個網誌中的熱門文章

Tangent Lines Diagram Along Smooth Curve

Yusuf al-Mu'taman ibn Hud

Zucchini