New: bootstrap stuck and no login prompt
https://bugs.busybox.net/show_bug.cgi?id=12811
Bug ID: 12811
Summary: bootstrap stuck and no login prompt
Product: buildroot
Version: 2020.02.1
Hardware: Other
OS: Linux
Status: NEW
Severity: major
Priority: P5
Component: Other
Assignee: unassigned at buildroot.uclibc.org
Reporter: cristovao.cordeiro at sixsq.com
CC: buildroot at uclibc.org
Target Milestone: ---
Hi guys,
Setup: RPi 3 B+
with 2020.02.1, I've simply make raspberrypi3_defconfig, make menuconfig - here I've just done some basic stuff like: use glibc, use systemd init, increase the fs image size, and installed docker-cli, docker-engine and open-ssh. Then make
Config: https://pastebin.com/q2qx4wNq
when booting my RPi 3B+, the last message on the splash screen is "IPv6:ADDRCONF(NETDEV_UP): docker0: link is not read", and I cannot move from there.
there's no login prompt
and if I try to SSH remotely, it asks for password...even though I've left it default (should be none)
Any ideas?
Thanks in advance
Signature · 2 lines
You are receiving this mail because: You are on the CC list for the bug.
[Buildroot] [Bug 12811] bootstrap stuck and no login prompt
https://bugs.busybox.net/show_bug.cgi?id=12811
--- Comment #1 from Peter Seiderer <[email protected]> ---
- you switched the init system to systemd, needs a change of the kernel commandline (otherwise your get two gettys running on the serial console and none on the HDMI console):
diff -u cmdline.txt_orig cmdline.txt
--- cmdline.txt_orig
+++ cmdline.txt
@@ -1 +1 @@
-root=/dev/mmcblk0p2 rootwait console=tty1 console=ttyAMA0,115200 +root=/dev/mmcblk0p2 rootwait console=ttyAMA0,115200 console=tty1
- the default /etc/ssh/sshd_config contains the following lines:
#PermitRootLogin prohibit-password
#PermitEmptyPasswords no
your have to change it too
PermitRootLogin yes
PermitEmptyPasswords yes
to enable ssh root access without a password (make sure your rpi is only reachable via a private network)...
Signature · 2 lines
You are receiving this mail because: You are on the CC list for the bug.
[Buildroot] [Bug 12811] bootstrap stuck and no login prompt
In reply to bugzilla at busybox.nethttps://bugs.busybox.net/show_bug.cgi?id=12811
--- Comment #2 from cjdc <[email protected]> --- Thanks. I naively assumed such changed would be done automatically.
It worked for the cmdline.txt.
For the openssh however, I assume that is a change that can only be done with post-scripts?
Signature · 2 lines
You are receiving this mail because: You are on the CC list for the bug.
[Buildroot] [Bug 12811] bootstrap stuck and no login prompt
In reply to bugzilla at busybox.nethttps://bugs.busybox.net/show_bug.cgi?id=12811
Peter Seiderer <[email protected]> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution|--- |INVALID--- Comment #3 from Peter Seiderer <[email protected]> ---
Quoted 1 line
Thanks. I naively assumed such changed would be done automatically.
No..., buildroot is not about automatically customizing every possible selection of features..., just a starting point for your own project (see below and [1] for customize support)...
Quoted 1 line
It worked for the cmdline.txt.
Good news...
Quoted 1 line
For the openssh however, I assume that is a change that can only be done with post-scripts?
Yes, one of the many possibilities to customize your project, see [1] for alternatives...
Closing the bug (as it is not a bug, but a feature ;-)), feel free to turn to the mailing list for further questions/support...
[1] https://buildroot.org/downloads/manual/manual.html#rootfs-custom
Signature · 2 lines
You are receiving this mail because: You are on the CC list for the bug.