Re: NanoPi Neo2, Rawhide-20180330: (probably) hangs in initial-setup

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 1 April 2018 at 12:02, Tomasz Kłoczko <kloczko.tomasz@xxxxxxxxx> wrote:
]..]
I've repeat test today with today
Fedora-Minimal-Rawhide-20180401.n.0.aarch64.raw.xz image.

Here is end part of the boot log on serial console:

[  OK  ] Started Rebuild Dynamic Linker Cache.
         Starting Update is Completed...
[  OK  ] Started Update is Completed.
[  OK  ] Reached target System Initialization.
[  OK  ] Listening on Open-iSCSI iscsid Socket.
[  OK  ] Listening on SSSD Secrets Service responder socket.
[  OK  ] Started Daily Cleanup of Temporary Directories.
[  OK  ] Listening on D-Bus System Message Bus Socket.
[  OK  ] Started dnf makecache timer.
[  OK  ] Reached target Timers.
[  OK  ] Listening on Open-iSCSI iscsiuio Socket.
[  OK  ] Reached target Sockets.
[  OK  ] Reached target Basic System.
         Starting OpenSSH ecdsa Server Key Generation...
         Starting Login Service...
[  OK  ] Started D-Bus System Message Bus.
         Starting Initial Setup configuration program...
[  OK  ] Started Secure Boot DBX (blacklist) updater.
         Starting OpenSSH ed25519 Server Key Generation...
[  OK  ] Started Hardware RNG Entropy Gatherer Daemon.
         Starting firewalld - dynamic firewall daemon...
         Starting NTP client/server...
         Starting OpenSSH rsa Server Key Generation...
[FAILED] Failed to start OpenSSH ecdsa Server Key Generation.
See 'systemctl status sshd-keygen@ecdsa.service' for details.
[FAILED] Failed to start OpenSSH ed25519 Server Key Generation.
See 'systemctl status sshd-keygen@ed25519.service' for details.
[FAILED] Failed to start OpenSSH rsa Server Key Generation.
See 'systemctl status sshd-keygen@rsa.service' for details.

After those fails I've left NanoPi Neo2 running with connected eth cable.
After about an hour next part of the console logs appeared:

[ 3573.381667] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
[ 3573.392157] RTL8211E Gigabit Ethernet 0.2:07: attached PHY driver
[RTL8211E Gigabit Ethernet] (mii_bus:phy_addr=0.2:07, irq=POLL)
[ 3573.419960] dwmac-sun8i 1c30000.ethernet eth0: No MAC Management
Counters available
[ 3573.427816] dwmac-sun8i 1c30000.ethernet eth0: PTP not supported by HW
[ 3573.439070] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
[ 3576.559307] dwmac-sun8i 1c30000.ethernet eth0: Link is Up -
100Mbps/Full - flow control off
[ 3576.568165] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[ 3753.881940] DMA-API: cacheline tracking ENOMEM, dma-debug disabled
[ 3753.888624] DMA-API: cacheline tracking ENOMEM, dma-debug disabled
[ 4242.259031] python3 (1410) used greatest stack depth: 9632 bytes left
[  OK  ] Started D-Bus System Message Bus.
[FAILED] Failed to start Login Service.
See 'systemctl status systemd-logind.service' for details.
[FAILED] Failed to start Network Manager.
See 'systemctl status NetworkManager.service' for details.
[  OK  ] Stopped Login Service.
         Starting Login Service...
[  OK  ] Started Initial Setup configuration program.
[  OK  ] Stopped Network Manager.
         Starting Network Manager...
[  OK  ] Reached target Login Prompts (Pre).
[  OK  ] Started Serial Getty on ttyS0.
[  OK  ] Started Getty on tty1.
[  OK  ] Reached target Login Prompts.

Fedora 29 (Rawhide)
Kernel 4.16.0-0.rc7.git1.1.fc29.aarch64 on an aarch64 (ttyS0)

localhost login: root
Password:
Login incorrect

Despite that I've wrote image on the sd card with --norootpass I was
not able to login.
I've left NanoPi running and started doing other things and after
about another hour next batch of boot log messages on SC appeared:

[  OK  ] Started D-Bus System Message Bus.
[  OK  ] Stopped OpenSSH server daemon.
[  OK  ] Stopped target sshd-keygen.target.
         Stopping sshd-keygen.target.
         Starting OpenSSH ecdsa Server Key Generation...
         Starting OpenSSH rsa Server Key Generation...
         Starting OpenSSH ed25519 Server Key Generation...
[FAILED] Failed to start Network Manager.
See 'systemctl status NetworkManager.service' for details.
[FAILED] Failed to start Login Service.
See 'systemctl status systemd-logind.service' for details.
[FAILED] Failed to start OpenSSH ecdsa Server Key Generation.
See 'systemctl status sshd-keygen@ecdsa.service' for details.
[FAILED] Failed to start OpenSSH rsa Server Key Generation.
See 'systemctl status sshd-keygen@rsa.service' for details.
[FAILED] Failed to start OpenSSH ed25519 Server Key Generation.
See 'systemctl status sshd-keygen@ed25519.service' for details.
[  OK  ] Stopped Network Manager.
[  OK  ] Started D-Bus System Message Bus.
         Starting Network Manager...
[  OK  ] Stopped Login Service.
         Starting Login Service...
[  OK  ] Stopped Serial Getty on ttyS0.
[  OK  ] Started Serial Getty on ttyS0.
[  OK  ] Reached target sshd-keygen.target.
         Starting OpenSSH server daemon...
[  OK  ] Started D-Bus System Message Bus.
[FAILED] Failed to start OpenSSH server daemon.
See 'systemctl status sshd.service' for details.
[  OK  ] Started D-Bus System Message Bus.

Fedora 29 (Rawhide)
Kernel 4.16.0-0.rc7.git1.1.fc29.aarch64 on an aarch64 (ttyS0)

localhost login: root
Password:
Login incorrect

So:
1) looks like first try to generate ssh keys fails for some still
unknown reasons
2) --norootpass and --addkey options are not working (I was not able
to login over ssh when ssh at least started).

Here is full command line which I've used to write image:

# fedora-arm-image-installer
--image=Fedora-Minimal-Rawhide-20180401.n.0.aarch64.raw.xz
--media=/dev/sdd --target=nanopi_neo2 --norootpass -y --addconsole
--addkey=id_rsa.pub

Will try latter to have look for some logs left on the image after initial boot.
I'll try lated as well with today image and RPi3.
Looking as well for any other suggestions about what can I do more to
diagnose those issues.

kloczek
--
Tomasz Kłoczko | LinkedIn: http://lnkd.in/FXPWxH
_______________________________________________
arm mailing list -- arm@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to arm-leave@xxxxxxxxxxxxxxxxxxxxxxx




[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Linux ARM (Vger)]     [Linux ARM]     [ARM Kernel]     [Fedora User Discussion]     [Older Fedora Users Discussion]     [Fedora Advisory Board]     [Fedora Security]     [Fedora Maintainers]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [ATA RAID]     [Fedora Marketing]     [Fedora Mentors]     [Fedora Package Announce]     [Fedora Package Review]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Coolkey]     [Yum Users]     [Tux]     [Yosemite News]     [Linux Apps]     [KDE Users]     [Fedora Tools]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]

Powered by Linux