[Solved] Reboot stalls on ODROID-X2

Ask questions about Arch Linux ARM. Please search before making a new topic.

[Solved] Reboot stalls on ODROID-X2

Postby gangtrashsta » Mon Mar 25, 2013 5:45 am

I am looking for help with getting the ODROID-X2 running Arch Linux to reboot correctly.

I wrote a fresh image of Arch Linux to eMMC card and connected it to ODROID-X2, noticed reboot always hangs on
[ OK ] Reached target Shutdown.
Reboot is quiet vital for me since I am going to set this up in a location out of my physical reach and will need to manage it remotely.

I am fairly new to Arch Linux so I would need help with most debugging processes you may ask me to do, please type example commands with each suggestion you give.

Below is the output of the UART module connected to ODROID-X2 with a fresh image of Arch Linux written to an eMMC card, The results are the same before and after I update packages.

Power On
$this->bbcode_second_pass_code('', 'U-Boot 2010.12-svn (Jan 28 2013 - 14:10:19) for Exynox4412


CPU: S5PC220 [Samsung SOC on SMP Platform Base on ARM CortexA9]
APLL = 1000MHz, MPLL = 880MHz
DRAM: 2047 MiB

PMIC VERSION : 0x00, CHIP REV : 2
TrustZone Enabled BSP
BL1 version: 20121128


Checking Boot Mode ... EMMC4.41
REVISION: 2.0
Manufacturer TOSHIBA [ 15028MB ]
NAME: S5P_MSHC4
MMC Device 0: 15028 MB
MMC Device 1: 0 MB
MMC Device 2 not found
ModeKey Check... run normal_boot
Net: No ethernet found.
Hit any key to stop autoboot: 0
NAME: S5P_MSHC4
NAME: S5P_MSHC4
>>> Load Boot Script from mmc 0:1 <<<
NAME: S5P_MSHC4
Partition1: Start Address(0x1000), Size(0x20000)
reading boot.scr

** Unable to read "boot.scr" from mmc 0:1 **
>>> Load Boot Script from mmc 0:2 <<<
NAME: S5P_MSHC4
Partition2: Start Address(0x21000), Size(0x73a000)
reading boot.scr

** Unable to read "boot.scr" from mmc 0:2 **
NAME: S5P_MSHC4
Partition1: Start Address(0x1000), Size(0x20000)
reading zImage

2294696 bytes read
Boot with zImage

Starting kernel ...

Uncompressing Linux... done, booting the kernel.
[ 0.000000] s3c_register_clksrc: clock audiocdclk has no registers set
[ 0.000000] audiocdclk: no parent clock specified
[ 0.000000] s3c_register_clksrc: clock armclk has no registers set
[ 0.000000] Unable to set parent aclk_160 of clock dout_mmc0.
[ 0.000000] Unable to set parent aclk_160 of clock dout_mmc1.
[ 0.000000] Unable to set parent aclk_160 of clock dout_mmc2.
[ 0.871077] s5p-ohci s5p-ohci: Already power on PHY
[ 1.180882] mmc1: no vmmc regulator found
[ 1.181284] mmc2: no vmmc regulator found
[ 1.211612] TMU: Memory Allocation Sucessful
[ 1.211655] TMU: Platform data set
[ 1.213627] TMU: Copied the Dev access Information
[ 1.218517] TMU: IRQ Granted!
[ 1.221438] TMU: IO Resource alloced on Memory
[ 1.225861] TMU: Memory area resersed
[ 1.229501] TMU: IO Memory Remapped
[ 1.232982] TMU: Created Sysfs
[ 1.236045] TMU: Workqueue Created
[ 1.239380] TMU: Work Created
[ 1.242370] TMU: Printed Parameters
[ 1.369960] mmc2: Internal clock never stabilised.

Welcome to Arch Linux ARM!

Expecting device dev-ttySAC1.device...
[ OK ] Reached target Remote File Systems.
[ OK ] Listening on Syslog Socket.
[ OK ] Listening on /dev/initctl Compatibility Named Pipe.
[ OK ] Listening on Delayed Shutdown Socket.
[ OK ] Reached target Encrypted Volumes.
[ OK ] Set up automount Arbitrary Executable File Formats F...utomount Point.
[ OK ] Listening on udev Kernel Socket.
[ OK ] Listening on udev Control Socket.
[ OK ] Reached target Swap.
Expecting device dev-mmcblk0p1.device...
[ OK ] Listening on Journal Socket.
Starting Remount Root and Kernel File Systems...
Mounting Temporary Directory...
Starting udev Coldplug all Devices...
Starting udev Kernel Device Manager...
Starting Setup Virtual Console...
Mounting Debug File System...
Starting Apply Kernel Variables...
Starting Journal Service...
[ OK ] Started Journal Service.
[ OK ] Reached target Syslog.
[ OK ] Started udev Kernel Device Manager.
[ OK ] Started Remount Root and Kernel File Systems.
[ OK ] Mounted Temporary Directory.
[ OK ] Mounted Debug File System.
[ OK ] Started Apply Kernel Variables.
[ OK ] Reached target Local File Systems (Pre).
Starting Load Random Seed...
[ OK ] Started Setup Virtual Console.
[ OK ] Started udev Coldplug all Devices.
[ OK ] Started Load Random Seed.
[ OK ] Found device /dev/ttySAC1.
[ OK ] Reached target Sound Card.
[ OK ] Found device /dev/mmcblk0p1.
Mounting /boot...
[ OK ] Mounted /boot.
[ OK ] Reached target Local File Systems.
Starting Recreate Volatile Files and Directories...
Starting Trigger Flushing of Journal to Persistent Storage...
[ OK ] Started Recreate Volatile Files and Directories.
[ OK ] Reached target System Initialization.
[ OK ] Listening on D-Bus System Message Bus Socket.
[ OK ] Reached target Sockets.
[ OK ] Reached target Basic System.
Starting Netcfg multi-profile daemon...
Starting Periodic Command Scheduler...
[ OK ] Started Periodic Command Scheduler.
Starting OpenSSH Daemon...
[ OK ] Started OpenSSH Daemon.
Starting Login Service...
Starting D-Bus System Message Bus...
[ OK ] Started D-Bus System Message Bus.
Starting System Logger Daemon...
[ OK ] Started System Logger Daemon.
[ OK ] Started Trigger Flushing of Journal to Persistent Storage.
Starting Permit User Sessions...
[ OK ] Started Login Service.
[ OK ] Started Permit User Sessions.
Starting Getty on tty1...
[ OK ] Started Getty on tty1.
Starting Serial Getty on ttySAC1...
[ OK ] Started Serial Getty on ttySAC1.
[ OK ] Reached target Login Prompts.

Arch Linux 3.0.60-1 (ttySAC1)

alarm login: [ OK ] Started Netcfg multi-profile daemon.
[ OK ] Reached target Network.
Starting OpenNTP Daemon...
[ OK ] Started OpenNTP Daemon.
[ OK ] Reached target Multi-User.
[ OK ] Reached target Graphical Interface.')

systemctl poweroff / shutdown now
$this->bbcode_second_pass_code('', '[ OK ] Stopped target Sound Card.
Stopping D-Bus System Message Bus...
Stopping System Logger Daemon...
[ OK ] Stopped OpenSSH Daemon.
[ OK ] Stopped Login Service.
[ OK ] Stopped System Logger Daemon.
[ OK ] Stopped Periodic Command Scheduler.
[ OK ] Stopped D-Bus System Message Bus.
[ OK ] Stopped Getty on tty1.
[ OK ] Stopped Serial Getty on ttySAC1.
Stopping Permit User Sessions...
[ OK ] Stopped OpenNTP Daemon.
[ OK ] Stopped target Network.
Stopping Netcfg multi-profile daemon...
[ OK ] Stopped Permit User Sessions.
[ OK ] Stopped target Remote File Systems.
[ OK ] Stopped Netcfg multi-profile daemon.
[ OK ] Stopped target Basic System.
[ OK ] Stopped target Sockets.
[ OK ] Closed D-Bus System Message Bus Socket.
[ OK ] Closed Syslog Socket.
[ OK ] Stopped target System Initialization.
Stopping Setup Virtual Console...
[ OK ] Stopped Setup Virtual Console.
Stopping Apply Kernel Variables...
[ OK ] Stopped Apply Kernel Variables.
[ OK ] Stopped target Encrypted Volumes.
[ OK ] Stopped target Swap.
[ OK ] Stopped target Local File Systems.
Unmounting /boot...
Unmounting Temporary Directory...
[ OK ] Unmounted /boot.
[ OK ] Unmounted Temporary Directory.
[ OK ] Reached target Unmount All Filesystems.
[ OK ] Stopped target Local File Systems (Pre).
Stopping Remount Root and Kernel File Systems...
[ OK ] Stopped Remount Root and Kernel File Systems.
Starting Save Random Seed...
[ OK ] Reached target Shutdown.
Sending SIGTERM to remaining processes...
Sending SIGKILL to remaining processes...
Unmounting file systems.
Unmounting /sys/kernel/debug.
All filesystems unmounted.
Deactivating swaps.
All swaps deactivated.
Detaching loop devices.
All loop devices detached.
Detaching DM devices.
All DM devices detached.
[ 300.611866] Power down.')

systemctl reboot / reboot / shutdown -r now
$this->bbcode_second_pass_code('', '[ OK ] Stopped target Sound Card.
Stopping System Logger Daemon...
[ OK ] Stopped OpenSSH Daemon.
[ OK ] Stopped Login Service.
[ OK ] Stopped System Logger Daemon.
[ OK ] Stopped Periodic Command Scheduler.
[ OK ] Stopped D-Bus System Message Bus.
[ OK ] Stopped Getty on tty1.
[ OK ] Stopped Serial Getty on ttySAC1.
Stopping Permit User Sessions...
[ OK ] Stopped OpenNTP Daemon.
[ OK ] Stopped target Network.
Stopping Netcfg multi-profile daemon...
[ OK ] Stopped Permit User Sessions.
[ OK ] Stopped target Remote File Systems.
[ OK ] Stopped Netcfg multi-profile daemon.
[ OK ] Stopped target Basic System.
[ OK ] Stopped target Sockets.
[ OK ] Closed D-Bus System Message Bus Socket.
[ OK ] Closed Syslog Socket.
[ OK ] Stopped target System Initialization.
Stopping Setup Virtual Console...
[ OK ] Stopped Setup Virtual Console.
Stopping Apply Kernel Variables...
[ OK ] Stopped Apply Kernel Variables.
[ OK ] Stopped target Encrypted Volumes.
[ OK ] Stopped target Swap.
[ OK ] Stopped target Local File Systems.
Unmounting /boot...
Unmounting Temporary Directory...
[ OK ] Unmounted Temporary Directory.
[ OK ] Unmounted /boot.
[ OK ] Reached target Unmount All Filesystems.
[ OK ] Stopped target Local File Systems (Pre).
Stopping Remount Root and Kernel File Systems...
[ OK ] Stopped Remount Root and Kernel File Systems.
Starting Save Random Seed...
[ OK ] Reached target Shutdown.')
Last edited by gangtrashsta on Mon Mar 25, 2013 6:54 pm, edited 2 times in total.
gangtrashsta
 
Posts: 3
Joined: Tue Feb 19, 2013 9:16 pm

Re: Reboot stalls

Postby gangtrashsta » Mon Mar 25, 2013 6:53 pm

Found a solution.
When the ODROID-X2 is booted in eMMC mode, rebooting will always fail if there is no SD card found that ODROID-X2

Solution: Leave any functional SD card plugged into the ODROID-X2, doesn't matter if it is empty or being used by the ODROID-X2.

Notes: This rebooting problem does not happen when the ODROID-X2 is booted in SD mode.
gangtrashsta
 
Posts: 3
Joined: Tue Feb 19, 2013 9:16 pm

Re: [Solved] Reboot stalls on ODROID-X2

Postby xenoxaos » Tue Mar 26, 2013 12:39 pm

Quick question...when booting from eMMC, do you have the jumper for SD/eMMC on the proper position?
Arch Linux ARM exists and continues to grow through community support, please donate today!
xenoxaos
Developer
 
Posts: 323
Joined: Thu Jan 06, 2011 1:45 am

Re: [Solved] Reboot stalls on ODROID-X2

Postby gangtrashsta » Fri Apr 19, 2013 5:15 pm

$this->bbcode_second_pass_quote('', 'Q')uick question...when booting from eMMC, do you have the jumper for SD/eMMC on the proper position?

The jumper SD/eMMC is not connected.
gangtrashsta
 
Posts: 3
Joined: Tue Feb 19, 2013 9:16 pm


Return to User Questions

Who is online

Users browsing this forum: No registered users and 3 guests