ARM – Odroid U3 to 3.19-rc5
Updated the Odroid U3 to the patched version of 3.19-rc5, from here: https://github.com/tobiasjakobi/linux-odroid/tree/odroid-3.19.y
Fedora release 21 (Twenty One) Kernel 3.19.0-rc5 on an armv7l (ttySAC1) .................... [root@rgodroid ~]# uname -a Linux rgodroid 3.19.0-rc5 #1 SMP PREEMPT Wed Jan 21 17:11:42 EST 2015 armv7l armv7l armv7l GNU/Linux
Fairly stable, but got the occasional BUG:
# [ 123.955111] BUG: sleeping function called from invalid context at kernel/locking/mutex.c:97 [ 123.957827] in_atomic(): 1, irqs_disabled(): 128, pid: 77, name: mmcqd/0 [ 123.964503] Preemption disabled at:[< (null)>] (null) [ 123.969794] [ 123.971273] CPU: 0 PID: 77 Comm: mmcqd/0 Not tainted 3.19.0-rc5 #1 [ 123.977436] Hardware name: SAMSUNG EXYNOS (Flattened Device Tree) ..etc..............
I had tried the standard kernel.org version, and the boot process started OK, but then ‘tombstoned’, and rebooted:
[ 5.454777] Kernel panic - not syncing: Attempted to kill init! exitcode=0x00000004 [ 5.454777] [ 5.458303] CPU: 2 PID: 1 Comm: init Not tainted 3.19.0-rc5 #1 [ 5.464098] Hardware name: SAMSUNG EXYNOS (Flattened Device Tree) ........................ (arch_cpu_idle+0x44/0x48) [ 5.845592] [<c000ac24>] (arch_cpu_idle) from [<c00628bc>] (cpu_startup_entry+0x22c/0x418) [ 5.853839] [<c00628bc>] (cpu_startup_entry) from [<c000fbd0>] (secondary_start_kernel+0x14c/0x158) [ 5.862866] [<c000fbd0>] (secondary_start_kernel) from [<40008824>] (0x40008824) [ 5.870247] Rebooting in 5 seconds..
By contrast, the CuBox-i4 Pro can now boot and run standard kernel.org 3.19-rc kernel versions successfully….
Robert Gadsdon. January 22, 2015.
Concerning the mutex BUG, could you try if commit abc749843dd7022d01322dca3db0181211a30cd8 (“mmc: sdhci: don’t set clock while holding spinlock”) from odroid-3.17.y fixes this? I didn’t carry the commit over to 3.19.y since I didn’t experience any problems with the SD subsystem so far, but that’s probably just me.
– Tobias
OK.. I’ll try applying that on odroid-3.19-rc5 on my U3, and see if that makes a difference..
RG.
Thanks, it would be good if you could give me feedback on that one. Seems like I have to raise this issue (again) on linux-samsung-soc.
– Tobias
Applied the changes, recompiled, rebooted, and no errors now (for more than 24 hours)..
RG.
Thanks for the confirmation!
– Tobias