ODROID-XU4 fails to boot after update

This forum is for supported devices using an ARMv7 Samsung SoC.

Re: ODROID-XU4 fails to boot after update

Postby cbredi » Mon Mar 20, 2017 3:01 am

4.9.13-3 does not boot for me but 3.10.105-2 does.
Fan spinning but no blue heartbeat LED even after about an hour.
cbredi
 
Posts: 4
Joined: Wed Nov 11, 2015 6:45 pm

Re: ODROID-XU4 fails to boot after update

Postby jbodhorn » Tue Mar 21, 2017 1:39 am

This is at least the second time an update has caused me a no boot.... I was dead set on not getting a RPi3 and getting an odroid-c2, but I really can't seen ever buying another odroid product atm
jbodhorn
 
Posts: 40
Joined: Wed Dec 16, 2015 2:22 am

Re: ODROID-XU4 fails to boot after update

Postby Salm » Wed Mar 22, 2017 4:39 am

Same issue here.
Salm
 
Posts: 8
Joined: Tue Jun 07, 2016 11:41 pm

Re: ODROID-XU4 fails to boot after update

Postby ninjew » Wed Mar 22, 2017 2:15 pm

Same issue as well. I loved using Arch because I felt I could easily update my whole system (and have never had an issue doing so), but now I am wary of updating all packages. For now, I'll keep using Arch but ignore the kernel package.
ninjew
 
Posts: 1
Joined: Wed Mar 22, 2017 2:13 pm

Re: ODROID-XU4 fails to boot after update

Postby viky » Wed Mar 22, 2017 6:31 pm

Issue is still present in 4.9.13-4. Can I help with debugging without UART-USB?
All I have is upgrade log. I noticed that building image says it is building 4.9.13-1 when the installed kernel was 4.9.13-4. But I don't know if it actually means something.
Code: Select all
:: Synchronizing package databases...
 core                                                                                             215.6 KiB  2.34M/s 00:00 [##########################################################################] 100%
 extra is up to date
 community is up to date
 alarm is up to date
 aur is up to date                                                                                  0.0   B  0.00B/s 00:00 [--------------------------------------------------------------------------]   0%
 Foreign packages: / 5 / 5

==> Software upgrade (new version) :
core/linux-odroid-xu3 3.10.104-8 -> 4.9.13-4
core/mkinitcpio       22-1       -> 23-1.1

==> Continue upgrade ? [Y/n]
==> [V]iew package detail   [M]anually select packages
==> --------------------------------------------------
==> y
:: Starting full system upgrade...
resolving dependencies...
looking for conflicting packages...

Packages (2) linux-odroid-xu3-4.9.13-4  mkinitcpio-23-1.1

Total Download Size:   19.97 MiB
Total Installed Size:  23.78 MiB
Net Upgrade Size:       5.21 MiB

:: Proceed with installation? [Y/n]
:: Retrieving packages...
 mkinitcpio-23-1.1-any                                                                             39.4 KiB  1312K/s 00:00 [##########################################################################] 100%
 linux-odroid-xu3-4.9.13-4-armv7h                                                                  19.9 MiB  2.98M/s 00:07 [##########################################################################] 100%
(2/2) checking keys in keyring                                                                                             [##########################################################################] 100%
(2/2) checking package integrity                                                                                           [##########################################################################] 100%
(2/2) loading package files                                                                                                [##########################################################################] 100%
(2/2) checking for file conflicts                                                                                          [##########################################################################] 100%
(2/2) checking available disk space                                                                                        [##########################################################################] 100%
:: Processing package changes...
(1/2) upgrading mkinitcpio                                                                                                 [##########################################################################] 100%
(2/2) upgrading linux-odroid-xu3                                                                                           [##########################################################################] 100%
warning: /etc/mkinitcpio.d/linux-odroid-xu3.preset installed as /etc/mkinitcpio.d/linux-odroid-xu3.preset.pacnew
>>> Updating module dependencies. Please wait ...
:: Running post-transaction hooks...
(1/3) Updating linux-odroid-xu3 initcpios
==> Building image from preset: /etc/mkinitcpio.d/linux-odroid-xu3.preset: 'default'
  -> -k 4.9.13-1-ARCH -c /etc/mkinitcpio.conf -g /boot/initramfs-linux.img
==> Starting build: 4.9.13-1-ARCH
  -> Running build hook: [base]
  -> Running build hook: [udev]
  -> Running build hook: [autodetect]
  -> Running build hook: [modconf]
  -> Running build hook: [block]
  -> Running build hook: [filesystems]
  -> Running build hook: [keyboard]
  -> Running build hook: [fsck]
==> WARNING: No modules were added to the image. This is probably not what you want.
==> Creating gzip-compressed initcpio image: /boot/initramfs-linux.img
==> Image generation successful
(2/3) Creating temporary files...
(3/3) Arming ConditionNeedsUpdate...

EDIT: My bad I had somehow /etc/mkinitcpio.d/linux-odroid-xu3.preset file on my filesystem.
And the mkinitcpio is not causing the issue, I just upgraded it.
viky
 
Posts: 6
Joined: Sat Nov 07, 2015 9:05 pm

Re: ODROID-XU4 fails to boot after update

Postby Salm » Thu Mar 23, 2017 3:36 am

Just logged into my device via UART terminal, ran -Syu and it downloaded 4.9.13-5 and voila!!! we're back to normal.

BTW, once logged in, I had to start NetworkManager manually as It wasn't running already. Also I had to add --ignore ca-certificates-utils after -Syu as this package is causing problems.
Salm
 
Posts: 8
Joined: Tue Jun 07, 2016 11:41 pm

Re: ODROID-XU4 fails to boot after update

Postby Salm » Thu Mar 23, 2017 3:49 am

Wait. After the update the screen came to life and everything seemed normal but now that I've rebooted it's back to where it was and even worse, can't even connect via UART. :(
Sorry if I got anyone excited.
Salm
 
Posts: 8
Joined: Tue Jun 07, 2016 11:41 pm

Re: ODROID-XU4 fails to boot after update

Postby Salm » Thu Mar 23, 2017 3:55 am

UART runs for a few seconds and then stops. See below:

U-Boot 2016.07-2 (Aug 20 2016 - 15:07:23 -0600) Arch Linux ARM

CPU: Exynos5422 @ 800 MHz
Model: Odroid XU3 based on EXYNOS5422
Board: Odroid XU3 based on EXYNOS5422
Type: xu4
DRAM: 2 GiB
MMC: EXYNOS DWMMC: 0, EXYNOS DWMMC: 1
*** Warning - bad CRC, using default environment

In: serial
Out: serial
Err: serial
Net: No ethernet found.
Hit any key to stop autoboot: 0
switch to partitions #0, OK
mmc0 is current device
Scanning mmc 0:1...
Found U-Boot script /boot/boot.scr
2220 bytes read in 18 ms (120.1 KiB/s)
## Executing script at 50000000
6114712 bytes read in 453 ms (12.9 MiB/s)
60891 bytes read in 46 ms (1.3 MiB/s)
4960285 bytes read in 386 ms (12.3 MiB/s)
Kernel image @ 0x42000000 [ 0x000000 - 0x5d4d98 ]
## Flattened Device Tree blob at 43000000
Booting using the fdt blob at 0x43000000
Loading Ramdisk to 4fb44000, end 4ffff01d ... OK
Loading Device Tree to 4fb32000, end 4fb43dda ... OK

Starting kernel ...

Warning: /lib/modules/4.9.13-5-ARCH/modules.devname not found - ignoring
Salm
 
Posts: 8
Joined: Tue Jun 07, 2016 11:41 pm

Re: ODROID-XU4 fails to boot after update

Postby sdrider » Thu Mar 23, 2017 8:40 pm

My odroid-xu4 is back in service. After leaving it offline for a few days to see if any new details came to light, I decided to give another crack at bringing it to life. I hooked up full monitor and keyboard and tried booting into my attempted 3.10.105 recovery, but it just hung halfway through boot (no obvious indication as to reason for hanging).

I then booted onto the freshly built SD image, which came up on the 3.10.105 kernel fine. I arch-chrooted to my eMMC and figured I'd give a full update a go, since the kernel had been revved at least twice since my previous attempt. Upon boot, it hung waiting for single-user login, complaining about some mounts. This odroid happens to serve NFS for me, so I went and removed all NFS boot processes from /etc/systemd/system and then rebooted and viola! it came up fine.

I almost posted here, but then remembered people said they could get their odroids to boot, but they either wouldn't stay up or would hang on reboot. I can confirm the hang on reboot - if I reboot my odroid, it won't come back up until I physically disconnect power and then power it back up. However, that issue aside, my odroid has been running 4.9.13-4 for a few days now and is stable. I haven't tried turning NFS back on yet.

I have two odroid-xu4's, one is actually my primary home router. Running arch as your internet router is living dangerously.. :shock: and having been bit a few times before, I now have the second odroid-xu4 that gets all updates/reboots before I upgrade my router. Since rebooting cleanly in the case of a power out is a critical function of an internet router, my router odroid-xu4 will continue running 3.10.105 until I see the 4.9.x kernel get to a stable point on my second one.

But just wanted to add to the information available to maintainers that might be keeping an eye on this thread. With NFS disabled, my odroid-xu4 appears to be stable running 4.9.13-4, as long as I don't try to reboot it. :)
sdrider
 
Posts: 25
Joined: Sat Aug 10, 2013 3:56 am

Re: ODROID-XU4 fails to boot after update

Postby sdrider » Sat Mar 25, 2017 5:39 am

Updated to 4.9.13-6 tonight. Rebooted, and it came back fine - ie. seems to be back to normal. I rebooted a few times to test it out. It seems to take a little longer to reboot than before - up to 60 seconds, as opposed to ~25 or so before. But after several reboots, it has come back consistently every time without me having to hard power off.

Not ready to upgrade my internet router odroid just yet, but so far 4.9.13-6 is looking a lot more stable than the first few 4.9.13's were a week or two ago.
sdrider
 
Posts: 25
Joined: Sat Aug 10, 2013 3:56 am

PreviousNext

Return to Samsung

Who is online

Users browsing this forum: Google [Bot] and 2 guests