Jump to content

Timed out waiting for device dev-ttyGS0.device


Recommended Posts

Posted

Hi Experts,

 

I am using Armbian Ubuntu Xenial image on Orange Pi Zero and I get following Failure during boot after which it starts rebooting itself.

 

[ TIME ] Timed out waiting for device dev-ttyGS0.device.
[DEPEND] Dependency failed for Serial Getty on ttyGS0.

 

THIS HAPPENS ONLY WHEN WIFI (SSID) CONFIGURED IN THE IMAGE IS POWERED OFF. IF WIFI ROUTER IS ON, IT SUCCESSFULLY GOES TO THE LOGIN PROMPT.

 

Is there specific boot sequence that cause this failure when WiFi is not available. Any workaround please?

Posted (edited)

Providing Failure and Successful scenario logs. Hope this will help to identify the problem. We need login prompt irrespective WiFi AP is up or down.

 

Logs of Failure When WiFi Router was off 

Spoiler


Starting kernel ...

[sun8i_fixup]: From boot, get meminfo:
        Start:  0x40000000
        Size:   512MB
ion_carveout reserve: 160m@0 256m@0 130m@1 200m@1
ion_reserve_select: ion chipid  [0x2c00042!
ion_reserve_common: ion reserve: [0x57e00000, 0x60000000]!
<6<Loading, please wait...
starting version 229
Begin: Loading essential drivers ... done.
Begin: Running /scripts/init-premount ... done.
Begin: Mounting root file system ... Begin: Running /scripts/local-top ... done.
Begin: Running /scripts/local-premount ... Scanning for Btrfs filesystems
done.
Begin: Will now check root file system ... fsck from util-linux 2.27.1
[/sbin/fsck.ext4 (1) -- /dev/mmcblk0p1] fsck.ext4 -a -C0 /dev/mmcblk0p1
/dev/mmcblk0p1: clean, 51753/211744 files, 518267/841984 blocks
done.
done.
Begin: Running /scripts/local-bottom ... done.
Begin: Running /scripts/init-bottom ... Warning: overlayroot: configuring overlayroot with driver=overlayfs mode=tmpfs opts='' per /dev/mmcblk0p1/etc/overlayroot.conf
Success: overlayroot: configured root with 'tmpfs' using overlayfs per /dev/mmcblk0p1/etc/overlayroot.conf
/scripts/init-bottom/plymouth: line 18: /bin/plymouth: not found
done.

Welcome to Ubuntu 16.04.1 LTS!

[  OK  ] Reached target Remote File Systems (Pre).
[  OK  ] Listening on fsck to fsckd communication Socket.
[  OK  ] Reached target Encrypted Volumes.
[  OK  ] Created slice System Slice.
[  OK  ] Created slice system-serial\x2dgetty.slice.
[  OK  ] Started Forward Password Requests to Wall Directory Watch.
[  OK  ] Listening on Journal Audit Socket.
[  OK  ] Created slice User and Session Slice.
[  OK  ] Listening on /dev/initctl Compatibility Named Pipe.
[  OK  ] Listening on Journal Socket.
         Starting Load Kernel Modules...
         Starting Create list of required st... nodes for the current kernel...
         Starting Remount Root and Kernel File Systems...
         Starting Nameserver information manager...
         Mounting Debug File System...
[  OK  ] Created slice system-systemd\x2dfsck.slice.
         Starting Set console keymap...
[  OK  ] Reached target Remote File Systems.
[  OK  ] Listening on Journal Socket (/dev/log).
         Starting Restore / save the current clock...
[  OK  ] Listening on udev Kernel Socket.
[  OK  ] Listening on Syslog Socket.
[  OK  ] Set up automount Arbitrary Executab...ats File System Automount Point.
[  OK  ] Reached target Swap.
[  OK  ] Listening on udev Control Socket.
[  OK  ] Reached target Slices.
         Mounting POSIX Message Queue File System...
[  OK  ] Mounted Debug File System.
[  OK  ] Mounted POSIX Message Queue File System.
[  OK  ] Started Create list of required sta...ce nodes for the current kernel.
[  OK  ] Started Remount Root and Kernel File Systems.
[FAILED] Failed to start Load Kernel Modules.
See 'systemctl status systemd-modules-load.service' for details.
[  OK  ] Started Set console keymap.
[  OK  ] Started Restore / save the current clock.
[  OK  ] Started Nameserver information manager.
         Starting Apply Kernel Variables...
         Mounting FUSE Control File System...
         Starting Load/Save Random Seed...
         Starting udev Coldplug all Devices...
         Starting Create Static Device Nodes in /dev...
[  OK  ] Mounted FUSE Control File System.
[  OK  ] Started Apply Kernel Variables.
[  OK  ] Started Load/Save Random Seed.
[  OK  ] Started Create Static Device Nodes in /dev.
[  OK  ] Started udev Coldplug all Devices.
[  OK  ] Reached target Local File Systems (Pre).
         Mounting /tmp...
         Starting udev Kernel Device Manager...
[  OK  ] Mounted /tmp.
[  OK  ] Started Entropy daemon using the HAVEGE algorithm.
         Starting Journal Service...
[  OK  ] Started udev Kernel Device Manager.
[  OK  ] Started Dispatch Password Requests to Console Directory Watch.
[  OK  ] Started Journal Service.
         Starting Flush Journal to Persistent Storage...
[  OK  ] Reached target Sound Card.
[  OK  ] Found device /sys/subsystem/net/devices/wlan0.
[  OK  ] Started Flush Journal to Persistent Storage.
[  OK  ] Found device /dev/ttyS0.
[  OK  ] Found device /dev/disk/by-uuid/fd472eba-571d-4583-8873-97f09353655c.
         Starting File System Check on /dev/...a-571d-4583-8873-97f09353655c...
[  OK  ] Started File System Check Daemon to report status.
[  OK  ] Listening on Load/Save RF Kill Switch Status /dev/rfkill Watch.
[  OK  ] Started File System Check on /dev/d...eba-571d-4583-8873-97f09353655c.
         Starting Load/Save RF Kill Switch Status...
[  OK  ] Reached target Local File Systems.
         Starting Create Volatile Files and Directories...
         Starting Tell Plymouth To Write Out Runtime Data...
         Starting Set console font and keymap...
         Starting LSB: AppArmor initialization...
         Starting Armbian enhanced Log2Ram...
         Starting Commit a transient machine-id on disk...
[  OK  ] Started Load/Save RF Kill Switch Status.
[  OK  ] Started Create Volatile Files and Directories.
[  OK  ] Started Tell Plymouth To Write Out Runtime Data.
[  OK  ] Started Set console font and keymap.
[  OK  ] Started Armbian enhanced Log2Ram.
[FAILED] Failed to start Commit a transient machine-id on disk.
See 'systemctl status systemd-machine-id-commit.service' for details.
[  OK  ] Created slice system-getty.slice.
         Starting Update UTMP about System Boot/Shutdown...
[  OK  ] Reached target System Time Synchronized.
[FAILED] Failed to start LSB: AppArmor initialization.
See 'systemctl status apparmor.service' for details.
[  OK  ] Started ifup for wlan0.
         Starting Raise network interfaces...
[  OK  ] Started Update UTMP about System Boot/Shutdown.
[  OK  ] Reached target System Initialization.
[   17.780651] [STA] !!!xradio_vif_setup: id=0, type=2, p2p=0
[  OK  ] Started Daily apt activities.
         Starting Armbian filesystem resize service...
[  OK  ] Reached target Paths.
[  OK  ] Started Daily Cleanup of Temporary Directories.
[  OK  ] Reached target Timers.
[  OK  ] Listening on D-Bus System Message Bus Socket.
[  OK  ] Reached target Sockets.
[  OK  ] Started Raise network interfaces.
[  OK  ] Stopped LSB: Start NTP daemon.
         Starting LSB: Start NTP daemon...
[  OK  ] Started LSB: Start NTP daemon.
[  OK  ] Started Armbian filesystem resize service.
[  OK  ] Reached target Basic System.
         Starting Data Parition Mount...
[  OK  ] Started D-Bus System Message Bus.
         Starting LSB: Start/stop sysstat's sadc...
         Starting LSB: Armbian gathering hardware information...
         Starting LSB: Load kernel modules needed to enable cpufreq scaling...
         Starting System Logging Service...
         Starting LSB: Starts LIRC daemon....
         Starting Network Manager...
         Starting Login Service...
[  OK  ] Started Regular background program processing daemon.
         Starting Permit User Sessions...
         Starting Save/Restore Sound Card State...
[  OK  ] Started System Logging Service.
[  OK  ] Started Data Parition Mount.
[  OK  ] Started Permit User Sessions.
[  OK  ] Started Save/Restore Sound Card State.
[  OK  ] Started LSB: Start/stop sysstat's sadc.
[  OK  ] Started LSB: Starts LIRC daemon..
[  OK  ] Started LSB: Load kernel modules needed to enable cpufreq scaling.
[  OK  ] Started Network Manager.
[  OK  ] Started Login Service.
         Starting Network Manager Script Dispatcher Service...
[  OK  ] Reached target Network.
         Starting OpenBSD Secure Shell server...
         Starting MySQL Community Server...
         Starting Network Manager Wait Online...
         Starting LSB: set CPUFreq kernel parameters...
[  OK  ] Started OpenBSD Secure Shell server.
[  OK  ] Started LSB: Armbian gathering hardware information.
[  OK  ] Started Network Manager Script Dispatcher Service.
         Starting Hostname Service...
[  OK  ] Started LSB: set CPUFreq kernel parameters.
[  OK  ] Started Hostname Service.
         Starting LSB: Set sysfs variables from /etc/sysfs.conf...
         Starting WPA supplicant...
         Starting Authenticate and Authorize Users to Run Privileged Tasks...
[  OK  ] Started Network Manager Wait Online.
[  OK  ] Started WPA supplicant.
[  OK  ] Reached target Network is Online.
         Starting LSB: disk temperature monitoring daemon...
         Starting /etc/rc.local Compatibility...
         Starting LSB: Advanced IEEE 802.11 management daemon...
         Starting LSB: Apache2 web server...
[  OK  ] Started LSB: Set sysfs variables from /etc/sysfs.conf.
[  OK  ] Started Authenticate and Authorize Users to Run Privileged Tasks.
[  OK  ] Started LSB: disk temperature monitoring daemon.
[  OK  ] Started LSB: Advanced IEEE 802.11 management daemon.
[   33.650085] rc.local[975]: stored time is 1512730238
         Starting Daily apt activities...
[   33.716255] rc.local[975]: current time is 1508931564
[   33.761628] rc.local[975]: Updating System time with Last Stored Time
[   33.783473] rc.local[975]: 1512730238
         Starting Load/Save RF Kill Switch Status...
[  OK  ] Started Load/Save RF Kill Switch Status.
[  OK  ] Started MySQL Community Server.
[  OK  ] Started Access Control Service.
[  OK  ] Started RFID Reader Service.
[  OK  ] Started LSB: Apache2 web server.
[ TIME ] Timed out waiting for device dev-ttyGS0.device.
[DEPEND] Dependency failed for Serial Getty on ttyGS0.
[ SKIP ] Ordering cycle found, skipping Journal Socket
[ SKIP ] Ordering cycle found, skipping File...2eba-571d-4583-8873-97f09353655c
[  OK  ] Stopped Update UTMP about System Runlevel Changes.
         Stopping Save/Restore Sound Card State...
[  OK  ] Stopped target Graphical Interface.
[  OK  ] Stopped target Sound Card.
         Stopping Authenticate and Authorize Users to Run Privileged Tasks...
[  OK  ] Stopped target Timers.
[  OK  ] Stopped Daily Cleanup of Temporary Directories.
[  OK  ] Stopped target Multi-User System.
[  OK  ] Stopped Terminate Plymouth Boot Screen.
         Stopping LSB: Advanced IEEE 802.11 management daemon...
         Stopping System Logging Service...
         Stopping LSB: Set sysfs variables from /etc/sysfs.conf...
         Stopping LSB: Starts LIRC daemon....
[  OK  ] Stopped target Login Prompts.
[  OK  ] Stopped Getty on tty1.
[  OK  ] Removed slice system-getty.slice.
[  OK  ] Stopped Serial Getty on ttyS0.
[  OK  ] Removed slice system-serial\x2dgetty.slice.
         Stopping LSB: Start NTP daemon...
         Stopping LSB: disk temperature monitoring daemon...
         Stopping RFID Reader Service...
         Stopping Login Service...
         Stopping LSB: Armbian gathering hardware information...
         Stopping LSB: Start/stop sysstat's sadc...
         Stopping LSB: Apache2 web server...
[  122.650133] [STA_WRN] !!! xradio_remove_interface: vif_id=0
[  OK  ] Stopped Hold until boot process finishes up.
         Stopping Permit User Sessions...
         Stopping OpenBSD Secure Shell server...
         Stopping Regular background program processing daemon...
[  OK  ] Closed Load/Save RF Kill Switch Status /dev/rfkill Watch.
[  122.841009] xradio wlan power off
[  122.894827] [XRADIO] Remove SDIO card 1
[  OK  ] Stopped System Logging Service.
[  OK  ] Stopped Login Service.
[  OK  ] Stopped Regular background program processing daemon.
[  OK  ] Stopped OpenBSD Secure Shell server.
[  OK  ] Stopped Authenticate and Authorize Users to Run Privileged Tasks.
[  OK  ] Stopped /etc/rc.local Compatibility.
[  OK  ] Stopped Daily apt activities.
[  OK  ] Stopped RFID Reader Service.
[  OK  ] Stopped Save/Restore Sound Card State.
[  OK  ] Stopped LSB: Advanced IEEE 802.11 management daemon.
[  OK  ] Stopped LSB: Armbian gathering hardware information.
[  OK  ] Stopped Permit User Sessions.
[  OK  ] Stopped LSB: Set sysfs variables from /etc/sysfs.conf.
[  OK  ] Stopped LSB: Starts LIRC daemon..
[  OK  ] Stopped LSB: Start NTP daemon.
[  OK  ] Stopped LSB: disk temperature monitoring daemon.
[  OK  ] Stopped LSB: Start/stop sysstat's sadc.
         Stopping LSB: set CPUFreq kernel parameters...
         Starting Set console scheme...
         Stopping Access Control Service...
[  OK  ] Stopped Daily apt activities.
[  OK  ] Stopped target System Time Synchronized.
[  OK  ] Started Set console scheme.
[  OK  ] Stopped LSB: set CPUFreq kernel parameters.
         Stopping LSB: Load kernel modules needed to enable cpufreq scaling...
[  OK  ] Stopped Access Control Service.
         Stopping MySQL Community Server...
[  OK  ] Stopped LSB: Load kernel modules needed to enable cpufreq scaling.
[  OK  ] Stopped LSB: Apache2 web server.
[  OK  ] Stopped target Remote File Systems.
[  OK  ] Stopped target Remote File Systems (Pre).
[  OK  ] Stopped target Network is Online.
[  OK  ] Stopped Network Manager Wait Online.
[  OK  ] Stopped MySQL Community Server.
[  OK  ] Stopped target Network.
         Stopping Raise network interfaces...
         Stopping WPA supplicant...
         Stopping ifup for wlan0...
         Stopping Network Manager...
[  OK  ] Stopped WPA supplicant.
[  OK  ] Stopped Network Manager.
         Stopping D-Bus System Message Bus...
[  OK  ] Stopped D-Bus System Message Bus.
[  OK  ] Stopped target Basic System.
[  OK  ] Stopped target Slices.
[  OK  ] Removed slice User and Session Slice.
[  OK  ] Stopped target Sockets.
[  OK  ] Closed Syslog Socket.
[  OK  ] Stopped target Paths.
[  OK  ] Stopped Forward Password Requests to Wall Directory Watch.
[  OK  ] Stopped Dispatch Password Requests to Console Directory Watch.
[  OK  ] Closed D-Bus System Message Bus Socket.
[  OK  ] Stopped target System Initialization.
         Stopping Restore / save the current clock...
         Stopping Update UTMP about System Boot/Shutdown...
[  OK  ] Stopped target Encrypted Volumes.
         Stopping Entropy daemon using the HAVEGE algorithm...
[  OK  ] Stopped target Swap.
[  OK  ] Stopped Restore / save the current clock.
[  OK  ] Stopped Entropy daemon using the HAVEGE algorithm.
         Stopping Load/Save Random Seed...
[  OK  ] Stopped Update UTMP about System Boot/Shutdown.
[  OK  ] Stopped Load/Save Random Seed.
[  OK  ] Stopped Create Volatile Files and Directories.
         Unmounting /var/log...
[  OK  ] Unmounted /var/log.
[  OK  ] Stopped Raise network interfaces.
[  OK  ] Stopped Apply Kernel Variables.
[  OK  ] Stopped ifup for wlan0.
[  OK  ] Stopped target Local File Systems.
         Unmounting /media/root-rw/data...
         Unmounting /var/log.hdd...
         Starting Unattended Upgrades Shutdown...
         Unmounting /tmp...
[  OK  ] Unmounted /var/log.hdd.
[  OK  ] Unmounted /media/root-rw/data.
[  OK  ] Started Unattended Upgrades Shutdown.
         Unmounting /media/root-rw...
[  OK  ] Unmounted /tmp.
[  OK  ] Unmounted /media/root-rw.
[  OK  ] Reached target Unmount All Filesystems.
[  OK  ] Stopped target Local File Systems (Pre).
[  OK  ] Stopped Create Static Device Nodes in /dev.
[  OK  ] Stopped Remount Root and Kernel File Systems.
[  OK  ] Reached target Shutdown.
[  OK  ] Reached target Final Step.
         Starting Reboot...
[  146.650735] Restarting system.

 

Successful boot Log with Login Prompt when WiFi Router was On

Spoiler

Starting kernel ...

[sun8i_fixup]: From boot, get meminfo:
        Start:  0x40000000
        Size:   512MB
ion_carveout reserve: 160m@0 256m@0 130m@1 200m@1
ion_reserve_select: ion chipid  [0x2c00042!
ion_reserve_common: ion reserve: [0x57e00000, 0x60000000]!
<6<Loading, please wait...
starting version 229
Begin: Loading essential drivers ... done.
Begin: Running /scripts/init-premount ... done.
Begin: Mounting root file system ... Begin: Running /scripts/local-top ... done.
Begin: Running /scripts/local-premount ... Scanning for Btrfs filesystems
done.
Begin: Will now check root file system ... fsck from util-linux 2.27.1
[/sbin/fsck.ext4 (1) -- /dev/mmcblk0p1] fsck.ext4 -a -C0 /dev/mmcblk0p1
/dev/mmcblk0p1: clean, 51753/211744 files, 518267/841984 blocks
done.
done.
Begin: Running /scripts/local-bottom ... done.
Begin: Running /scripts/init-bottom ... Warning: overlayroot: configuring overlayroot with driver=overlayfs mode=tmpfs opts='' per /dev/mmcblk0p1/etc/overlayroot.conf
Success: overlayroot: configured root with 'tmpfs' using overlayfs per /dev/mmcblk0p1/etc/overlayroot.conf
/scripts/init-bottom/plymouth: line 18: /bin/plymouth: not found
done.

Welcome to Ubuntu 16.04.1 LTS!

[  OK  ] Set up automount Arbitrary Executab...ats File System Automount Point.
[  OK  ] Listening on udev Kernel Socket.
[  OK  ] Started Forward Password Requests to Wall Directory Watch.
[  OK  ] Listening on Journal Audit Socket.
[  OK  ] Listening on Journal Socket.
[  OK  ] Reached target Swap.
[  OK  ] Listening on Journal Socket (/dev/log).
[  OK  ] Listening on /dev/initctl Compatibility Named Pipe.
[  OK  ] Reached target Encrypted Volumes.
[  OK  ] Listening on Syslog Socket.
[  OK  ] Listening on udev Control Socket.
[  OK  ] Reached target Remote File Systems (Pre).
[  OK  ] Reached target Remote File Systems.
[  OK  ] Created slice User and Session Slice.
[  OK  ] Listening on fsck to fsckd communication Socket.
[  OK  ] Created slice System Slice.
[  OK  ] Reached target Slices.
         Mounting POSIX Message Queue File System...
         Starting Set console keymap...
         Mounting Debug File System...
         Starting Load Kernel Modules...
[  OK  ] Created slice system-serial\x2dgetty.slice.
[  OK  ] Created slice system-systemd\x2dfsck.slice.
         Starting Restore / save the current clock...
         Starting Create list of required st... nodes for the current kernel...
         Starting Nameserver information manager...
         Starting Remount Root and Kernel File Systems...
[  OK  ] Mounted Debug File System.
[  OK  ] Mounted POSIX Message Queue File System.
[  OK  ] Started Set console keymap.
[  OK  ] Started Restore / save the current clock.
[  OK  ] Started Create list of required sta...ce nodes for the current kernel.
[  OK  ] Started Remount Root and Kernel File Systems.
[FAILED] Failed to start Load Kernel Modules.
See 'systemctl status systemd-modules-load.service' for details.
[  OK  ] Started Nameserver information manager.
         Starting Apply Kernel Variables...
         Mounting FUSE Control File System...
         Starting udev Coldplug all Devices...
         Starting Load/Save Random Seed...
         Starting Create Static Device Nodes in /dev...
[  OK  ] Mounted FUSE Control File System.
[  OK  ] Started Apply Kernel Variables.
[  OK  ] Started Load/Save Random Seed.
[  OK  ] Started Create Static Device Nodes in /dev.
[  OK  ] Started udev Coldplug all Devices.
         Starting udev Kernel Device Manager...
[  OK  ] Reached target Local File Systems (Pre).
         Mounting /tmp...
[  OK  ] Mounted /tmp.
[  OK  ] Started udev Kernel Device Manager.
[  OK  ] Started Dispatch Password Requests to Console Directory Watch.
[  OK  ] Started Entropy daemon using the HAVEGE algorithm.
         Starting Journal Service...
[  OK  ] Reached target Local File Systems.
         Starting Commit a transient machine-id on disk...
         Starting Tell Plymouth To Write Out Runtime Data...
         Starting Armbian enhanced Log2Ram...
         Starting LSB: AppArmor initialization...
         Starting Set console font and keymap...
[  OK  ] Started Journal Service.
[FAILED] Failed to start Commit a transient machine-id on disk.
See 'systemctl status systemd-machine-id-commit.service' for details.
[  OK  ] Started Tell Plymouth To Write Out Runtime Data.
[  OK  ] Started Armbian enhanced Log2Ram.
[  OK  ] Found device /dev/ttyS0.
[FAILED] Failed to start LSB: AppArmor initialization.
See 'systemctl status apparmor.service' for details.
[  OK  ] Started Set console font and keymap.
[  OK  ] Found device /dev/disk/by-uuid/fd472eba-571d-4583-8873-97f09353655c.
[  OK  ] Listening on Load/Save RF Kill Switch Status /dev/rfkill Watch.
         Starting File System Check on /dev/...a-571d-4583-8873-97f09353655c...
[  OK  ] Created slice system-getty.slice.
         Starting Raise network interfaces...
[  OK  ] Started ifup for wlan0.
[  OK  ] Reached target Sound Card.
         Starting Flush Journal to Persistent Storage...
[  OK  ] Started File System Check on /dev/d...eba-571d-4583-8873-97f09353655c.
[   15.880701] [STA] !!!xradio_vif_setup: id=0, type=2, p2p=0
[  OK  ] Started File System Check Daemon to report status.
         Starting Load/Save RF Kill Switch Status...
[  OK  ] Started Flush Journal to Persistent Storage.
[  OK  ] Started Load/Save RF Kill Switch Status.
         Starting Create Volatile Files and Directories...
[  OK  ] Started Create Volatile Files and Directories.
[  OK  ] Reached target System Time Synchronized.
         Starting Update UTMP about System Boot/Shutdown...
[  OK  ] Started Update UTMP about System Boot/Shutdown.
[  OK  ] Started Raise network interfaces.
[  OK  ] Reached target System Initialization.
[  OK  ] Started Daily Cleanup of Temporary Directories.
[  OK  ] Reached target Paths.
[  OK  ] Started Daily apt activities.
[  OK  ] Reached target Timers.
         Starting Armbian filesystem resize service...
[  OK  ] Listening on D-Bus System Message Bus Socket.
[  OK  ] Reached target Sockets.
[  OK  ] Stopped LSB: Start NTP daemon.
         Starting LSB: Start NTP daemon...
[  OK  ] Started LSB: Start NTP daemon.
[   22.909741] [STA_WRN] Freq 2462 (wsm ch: 11).
[  OK  ] Started Armbian filesystem resize service.
[  OK  ] Reached target Basic System.
[   23.229573] [AP_WRN] [STA] ASSOC HTCAP 11N 58
         Starting LSB: Load kernel modules needed to enable cpufreq scaling...
         Starting LSB: Armbian gathering hardware information...
         Starting LSB: Start/stop sysstat's sadc...
[  OK  ] Started Regular background program processing daemon.
         Starting Data Parition Mount...
         Starting Save/Restore Sound Card State...
         Starting Permit User Sessions...
         Starting System Logging Service...
         Starting LSB: Starts LIRC daemon....
[  OK  ] Started D-Bus System Message Bus.
         Starting Network Manager...
         Starting Login Service...
[  OK  ] Started System Logging Service.
[  OK  ] Started Data Parition Mount.
[  OK  ] Started Permit User Sessions.
[  OK  ] Started Save/Restore Sound Card State.
[  OK  ] Started LSB: Start/stop sysstat's sadc.
[  OK  ] Started LSB: Load kernel modules needed to enable cpufreq scaling.
[  OK  ] Started LSB: Starts LIRC daemon..
[  OK  ] Started Network Manager.
[  OK  ] Started Login Service.
[  OK  ] Started LSB: Armbian gathering hardware information.
         Starting Network Manager Script Dispatcher Service...
[  OK  ] Reached target Network.
         Starting MySQL Community Server...
         Starting OpenBSD Secure Shell server...
         Starting Network Manager Wait Online...
         Starting LSB: set CPUFreq kernel parameters...
[  OK  ] Started OpenBSD Secure Shell server.
[  OK  ] Started Network Manager Script Dispatcher Service.
         Starting Hostname Service...
[  OK  ] Started LSB: set CPUFreq kernel parameters.
[  OK  ] Started Hostname Service.
         Starting LSB: Set sysfs variables from /etc/sysfs.conf...
         Starting WPA supplicant...
         Starting Authenticate and Authorize Users to Run Privileged Tasks...
[  OK  ] Started Network Manager Wait Online.
[  OK  ] Started WPA supplicant.
[  OK  ] Reached target Network is Online.
         Starting /etc/rc.local Compatibility...
         Starting LSB: Advanced IEEE 802.11 management daemon...
         Starting LSB: Apache2 web server...
[   29.262722] rc.local[992]: stored time is 1512730238
[   29.313164] rc.local[992]: current time is 1508931560
         Starting LSB: disk temperature monitoring daemon...
[   29.391504] rc.local[992]: Updating System time with Last Stored Time
[   29.463331] rc.local[992]: 1512730238
[  OK  ] Started LSB: Set sysfs variables from /etc/sysfs.conf.
[  OK  ] Started LSB: Advanced IEEE 802.11 management daemon.
[  OK  ] Started Authenticate and Authorize Users to Run Privileged Tasks.
         Starting Daily apt activities...
         Stopping LSB: Start NTP daemon...
[  OK  ] Stopped LSB: Start NTP daemon.
[  OK  ] Started LSB: disk temperature monitoring daemon.
[  OK  ] Started MySQL Community Server.
[  OK  ] Started Access Control Service.
[  OK  ] Started RFID Reader Service.
[  OK  ] Started LSB: Apache2 web server.
         Starting Load/Save RF Kill Switch Status...
[  OK  ] Started Load/Save RF Kill Switch Status.
         Starting LSB: Start NTP daemon...
[  OK  ] Started LSB: Start NTP daemon.
[   65.840163] [BH_WRN] miss interrupt!
         Stopping LSB: Apache2 web server...
[  OK  ] Stopped LSB: Apache2 web server.
[   76.301939] rc.local[992]: RTNETLINK answers: File exists
[  OK  ] Started /etc/rc.local Compatibility.
         Starting Terminate Plymouth Boot Screen...
         Starting Hold until boot process finishes up...
[  OK  ] Started Terminate Plymouth Boot Screen.
[  OK  ] Started Hold until boot process finishes up.
         Starting Set console scheme...
[  OK  ] Started Getty on tty1.
[  OK  ] Started Serial Getty on ttyS0.
[  OK  ] Started Set console scheme.

Ubuntu 16.04.1 LTS orangepizero ttyS0

orangepizero login: root
Password:
Last login: Thu May 25 10:07:16 IST 2017 on ttyS0
  ___                               ____  _   _____
 / _ \ _ __ __ _ _ __   __ _  ___  |  _ \(_) |__  /___ _ __ ___
| | | | '__/ _` | '_ \ / _` |/ _ \ | |_) | |   / // _ \ '__/ _ \
| |_| | | | (_| | | | | (_| |  __/ |  __/| |  / /|  __/ | | (_) |
 \___/|_|  \__,_|_| |_|\__, |\___| |_|   |_| /____\___|_|  \___/
                       |___/

Welcome to ARMBIAN 5.25 stable Ubuntu 16.04.1 LTS 3.4.113-sun8i
System load:   1.16             Up time:       2 min
Memory usage:  33 % of 494Mb    IP:            192.168.1.9
CPU temp:      59°C
Usage of /:    23% of 248M

 

 

 

Edited by Igor
added code under spoilers
Posted
4 hours ago, gailu said:

No clue?? Any pointer?


Yes, but I am afraid it is not much you can do. Try modern kernel or use the board with a decent wireless chip. It is virtually impossible to find worse than this one. Most of the people stopped wasting time on anything related to Orangepi zero xradio chip/driver. A long time ago and especially on the old EOL kernel. 

Posted

I understand that no one is interested to support this. But I am sure that someone could advise based on log how to stop reboot when. specifically following logs where reboot is triggered

 

[ TIME ] Timed out waiting for device dev-ttyGS0.device.
[DEPEND] Dependency failed for Serial Getty on ttyGS0.
[ SKIP ] Ordering cycle found, skipping Journal Socket
[ SKIP ] Ordering cycle found, skipping File...2eba-571d-4583-8873-97f09353655c
[  OK  ] Stopped Update UTMP about System Runlevel Changes.
         Stopping Save/Restore Sound Card State...
[  OK  ] Stopped target Graphical Interface.
[  OK  ] Stopped target Sound Card.
         Stopping Authenticate and Authorize Users to Run Privileged Tasks...
[  OK  ] Stopped target Timers.
[  OK  ] Stopped Daily Cleanup of Temporary Directories.
[  OK  ] Stopped target Multi-User System.
[  OK  ] Stopped Terminate Plymouth Boot Screen.
         Stopping LSB: Advanced IEEE 802.11 management daemon...
         Stopping System Logging Service...
         Stopping LSB: Set sysfs variables from /etc/sysfs.conf...
         Stopping LSB: Starts LIRC daemon....
[  OK  ] Stopped target Login Prompts.
[  OK  ] Stopped Getty on tty1.
[  OK  ] Removed slice system-getty.slice.
[  OK  ] Stopped Serial Getty on ttyS0.

 

Posted

A websearch  did bring me here last week. Now I'm back to report my observation.

 

The slow startup plus the

 

[ TIME ] Timed out waiting for device dev-ttyGS0.device.
[DEPEND] Dependency failed for Serial Getty on ttyGS0.

 

appears to me when I have systemd-networkd enabled.

 

The  issue seems to be that systemd-networkd waits for all network interfaces it is told about.

 

For quick startup and avoidance of the time-out, I have changed  /etc/systemd/network/10-foo-lan3.network


 

[Match]
Name=lan3

[Network]
LinkLocalAddressing=no
Bridge=lan

 

into


 

[Match]
Name=lan3

[Link]
RequiredForOnline=no

[Network]
LinkLocalAddressing=no
Bridge=lan

 

So the trick seems to be the

[Link]
RequiredForOnline=no

 

I do read it as    don't wait for interface lan3 getting link.

 

Because I have more simular interfaces as lan3, I have set there also RequiredForOnline=no

 

 

Regards

Geert Stappers

 

Looking forward to see  yes, that link RequiredForOnline=no worked for me also.

Posted
1 hour ago, stappers said:

appears to me when I have systemd-networkd enabled.


Disable serial getty on ttyGS0 

Posted (edited)

Oh, I didn't mention in my previous post that I do use systemd-networkd and have Network-Manager disabled.

 

With the various files in /etc/systemd/network sets systemd-networkd network configuration as IP address.

 

Edited by stappers
added what sd-nwd does for me
Posted
42 minutes ago, stappers said:

Oh, I didn't mention in my previous post that I do use systemd-networkd and have Network-Manager disabled.


This has nothing to do with networking.

Guest
This topic is now closed to further replies.
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines