Now I've tried a fresh install, but the hc2 installer on the dietpi website is still 6.13. During the install it notices the 6.14 update and applies it automatically. But upon rebooting I can't ssh back into the server to complete the installation because it won't re-connect to the network. This has to be some issue being caused by the update, but I can't seem to keep the installer from applying it.
I have a backup of 6.13 before the update, but I have no way of applying it now.
@Kdcarrero
Thanks for the report 👍
The only thing I can suspect is a kernel upgrade (via APT) is completed during the initial DietPi update, which is possibly unstable.
Failing that, hardware issue due to unstable PSU/SD card etc.
I'll try to replicate on my HC1 (I lack the HC2, but should be the same).
@Kdcarrero
Power supply used | 5V 2A
~I suspect this is the issue, especially if any HDD is attached. Ideally this needs to be 5V/4A at least.~
Requires 12V/2A, please confirm this is what you are using.
It is using 12V 2A. Idk why I put 5V before
@Kdcarrero
Confirmed on HC1, looking into it now.
Serial:
ks=0x0eef:0x0005:0x0004"; fi
cfgload: setenv bootargs "${bootrootfs} ${videoconfig} smsc95xx.macaddr=${macaddr} governor=${governor} ${hdmi_phy_control} ${hid_quirks}"
cfgload: bootz 0x40008000 0x42000000 0x44000000
Kernel image @ 0x40008000 [ 0x000000 - 0x569a08 ]
## Loading init Ramdisk from Legacy Image at 42000000 ...
Image Name: uInitrd
Image Type: ARM Linux RAMDisk Image (uncompressed)
Data Size: 5302078 Bytes = 5.1 MiB
Load Address: 00000000
Entry Point: 00000000
Verifying Checksum ... OK
## Flattened Device Tree blob at 44000000
Booting using the fdt blob at 0x44000000
Using Device Tree in place at 44000000, end 4401291f
Starting kernel ...
#HANG
root=UUID=af314fbe-6db6-4970-84b4-19fd22bd6bf7
/dev/loop2p2: LABEL="rootfs" UUID="af314fbe-6db6-4970-84b4-19fd22bd6bf7" TYPE="ext4" PARTUUID="000f1766-02"
Tests:
fake-hwclock during 1st run (we need to disable this, or improve the scrape regardless)@Kdcarrero
New image uploaded which resolves the failed boot issue:
https://dietpi.com/downloads/images/DietPi_OdroidXU4-ARMv7-Stretch.7z
I've tested here fine, however, please confirm its working for you.
Okay, I will test it later this afternoon.
Thank you
Strange, would be interesting what needs/uses the serial console and breaks boot, if not available.
hwclock: Hmm, I remember there is a socket on the port to plug a hardware clock battery. Maybe in those cases hwclock command dues not result in error code, but has some special output? If it's no difference to x86_64 available and powered hwclock, then indeed we cannot remove it, to be sure not even on x86_64!
@Kdcarrero @Fourdee
Any change one can install rsyslog, let the HC1/2 run into the boot error and then investigate logs on external machine? Maybe there is some service that needs serial console but the we don't need an can disable.
And what is the actual output of hwclock on this machine, with and without fake-hwclock installed?
@MichaIng
And what is the actual output of hwclock on this machine, with and without fake-hwclock installed?
Same results as the sparky one: https://github.com/Fourdee/DietPi/issues/2014#issuecomment-413518658
@Fourdee
It installed and can successfully reboot (tested a few times for posterity).
Very strange that that was the issue though. Thank you for the help!
@MichaIng
Any change one can install rsyslog, let the HC1/2 run into the boot error and then investigate logs on external machine? Maybe there is some service that needs serial console but the we don't need an can disable.
Good idea 👍, but I lack the time currently.
As the original issue is now resolved, I'll mark this as closed.
Could be retested with current Stretch image and console=ttySAC2,115200n8 removed from boot.ini.