Skip to contentSkip to conversation

New: Init system (systemd) kills login on Raspberry Pi Zero

Buildroot bugzilla at busybox.net 1 participant 6 messages Nov 26, 2019 – May 22, 2020

lore
Share & tools
lore
#0 lore raw

https://bugs.busybox.net/show_bug.cgi?id=12361

Bug ID: 12361
Summary: Init system (systemd) kills login on Raspberry Pi Zero
Product: buildroot
Version: 2019.08.2
Hardware: All
OS: Linux
Status: NEW
Severity: major
Priority: P5
Component: Other
Assignee: unassigned at buildroot.uclibc.org
Reporter: spynet314 at gmail.com
CC: buildroot at uclibc.org
Target Milestone: ---

Starting with a raspberrypi0_defconfig, then selecting
Toolchain/C library = glibc
System configuration / Init system = systemd
the device boots normally, but the welcome message and the login are shown twice.
Trying to login with 'root', a password is then request, even if not set in the configuration.
After entering 'root' and a blank password twice, the device block and it is no more possible to continue.

Here's a piece of the bootlog:

[   13.773714] bcm2835_v4l2: module is from the staging directory, the quality
is unknown, you have been warned.
[   13.835338] bcm2835_codec: module is from the staging directory, the quality
is unknown, you have been warned.
[   14.074354] bcm2835-codec bcm2835-codec: Device registered as /dev/video10
[   14.143280] bcm2835-codec bcm2835-codec: Loaded V4L2 decode
[   14.211667] bcm2835-codec bcm2835-codec: Device registered as /dev/video11
[   14.283874] bcm2835-codec bcm2835-codec: Loaded V4L2 encode
[   14.347166] bcm2835-codec bcm2835-codec: Device registered as /dev/video12
[   14.422866] bcm2835-codec bcm2835-codec: Loaded V4L2 isp

Welcome to Buildroot
Welcome to Buildroot
buildroot login: buildroot login: root
buildroot login: root
Password:
Password:

Thanks

Signature · 2 lines
You are receiving this mail because:
You are on the CC list for the bug.
#1 lore raw

[Buildroot] [Bug 12361] Init system (systemd) kills login on Raspberry Pi Zero

https://bugs.busybox.net/show_bug.cgi?id=12361

Thomas Petazzoni <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------
Assignee|unassigned at buildroot.uclibc |ps.report at gmx.net
|.org |

Signature · 2 lines
You are receiving this mail because:
You are on the CC list for the bug.
#2 lore raw

[Buildroot] [Bug 12361] Init system (systemd) kills login on Raspberry Pi Zero

In reply to bugzilla at busybox.net

https://bugs.busybox.net/show_bug.cgi?id=12361

--- Comment #1 from Peter Seiderer <[email protected]> ---
Sorry, long standing inconvenience with the rpi/systemd combination, see e.g. [1], [2] for description/solution...

[1] http://lists.busybox.net/pipermail/buildroot/2016-September/172792.html
[2] https://www.raspberrypi.org/forums/viewtopic.php?t=157836

Signature · 2 lines
You are receiving this mail because:
You are on the CC list for the bug.
#3 lore raw

[Buildroot] [Bug 12361] Init system (systemd) kills login on Raspberry Pi Zero

In reply to bugzilla at busybox.net

https://bugs.busybox.net/show_bug.cgi?id=12361

Thomas Petazzoni <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------
CC| |aduskett at gmail.com

--- Comment #2 from Thomas Petazzoni <[email protected]> --- *** Bug 12786 has been marked as a duplicate of this bug. ***

Signature · 2 lines
You are receiving this mail because:
You are on the CC list for the bug.
#4 lore raw

[Buildroot] [Bug 12361] Init system (systemd) kills login on Raspberry Pi Zero

In reply to bugzilla at busybox.net

https://bugs.busybox.net/show_bug.cgi?id=12361

--- Comment #3 from Adam Duskett <[email protected]> ---
(In reply to scaramouche from comment #0)
Luckily in the intermittent, you can fix this bug by changing "console" to "ttyS0" under System configuration ---> Run a getty (login prompt) after boot ---> TTY port

Signature · 2 lines
You are receiving this mail because:
You are on the CC list for the bug.
#5 lore raw

[Buildroot] [Bug 12361] Init system (systemd) kills login on Raspberry Pi Zero

In reply to bugzilla at busybox.net

https://bugs.busybox.net/show_bug.cgi?id=12361

Yann E. MORIN <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------

                 CC|                            |yann.morin.1998 at free.fr
         Resolution|---                         |FIXED
             Status|NEW                         |RESOLVED

--- Comment #4 from Yann E. MORIN <[email protected]> --- Hello,

This is suposedly fixed now with this commit that was just applied to master:

https://git.buildroot.org/buildroot/commit/?id=26c32d933eb4d841b7fbe9c1e0b61cef89665b15

Thanks for the report, and sorry for the long delay in solving this issue.

Regards,
Yann E. MORIN.

Signature · 2 lines
You are receiving this mail because:
You are on the CC list for the bug.