tpm8 Posted February 15, 2017 Share Posted February 15, 2017 Installed armbian 5.25 jessie legacy from scratch. No changes to network configuration. Cubietruck: - eth0 (wired ethernet) - DHCP - works fine - WLAN0 - driver is loaded during boot - but not used at all Default /etc/networking/interfaces config: allow-hotplug eth0 iface eth0 inet dhcp auto lo iface lo inet loopback Reboot hangs forever during shutdown while executing the following stop (!!) skript: [ *** ] A stop job is running for LSB: Raise network interfa...13s / no limit) Tried both possible solutions to define a timeout of 15 secs from http://unix.stackexchange.com/questions/186162/how-to-change-timeout-in-systemctl But this does not work - it keeps saying "no limit". Question is - why does i raise network interfaces during sytem stop anyway? TIA Tobias Lines grabbed from shutdown: ... [ OK ] Stopped Authenticate and Authorize Users to Run Privileged Tasks. [ OK ] Stopped Getty on tty1. [ OK ] Stopped Serial Getty on ttyS0. [ OK ] Stopped WPA supplicant. [ OK ] Stopped Bluetooth service. [ OK ] Stopped User Manager for UID 0. [ OK ] Stopped LSB: disk temperature monitoring daemon. [ 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: Armbian gathering hardware information. [ OK ] Stopped LSB: Advanced IEEE 802.11 management daemon. [ OK ] Stopped LSB: Start/stop sysstat's sadc. [ OK ] Started Store Sound Card State. [ OK ] Started Unattended Upgrades. Stopping LSB: set CPUFreq kernel parameters... [ OK ] Stopped target Network is Online. Stopping Login Service... [ OK ] Removed slice user-0.slice. Stopping LSB: Patch firmware for brcm40183 Bluetooth adapter... [ OK ] Removed slice system-serial\x2dgetty.slice. [ OK ] Removed slice system-getty.slice. Stopping /etc/rc.local Compatibility... [ OK ] Stopped /etc/rc.local Compatibility. Stopping Permit User Sessions... [ OK ] Stopped Login Service. [ OK ] Stopped LSB: set CPUFreq kernel parameters. [ OK ] Stopped LSB: Patch firmware for brcm40183 Bluetooth adapter. [ OK ] Stopped Permit User Sessions. [ OK ] Stopped target Network. Stopping LSB: Load kernel modules needed to enable cpufreq scaling... [ OK ] Stopped LSB: Load kernel modules needed to enable cpufreq scaling. [ OK ] Stopped target Basic System. [ OK ] Stopped target Slices. [ OK ] Removed slice User and Session Slice. [ OK ] Stopped target Paths. [ OK ] Stopped target Timers. [ OK ] Stopped target Sockets. [ OK ] Closed Syslog Socket. [ OK ] Closed D-Bus System Message Bus Socket. [ OK ] Stopped target System Initialization. Stopping Load/Save RF Kill Switch Status of rfkill4... Stopping Load/Save RF Kill Switch Status of rfkill1... Stopping Load/Save RF Kill Switch Status of rfkill2... Stopping Load/Save RF Kill Switch Status of rfkill0... Stopping Restore / save the current clock... Stopping Update UTMP about System Boot/Shutdown... Stopping Apply Kernel Variables... [ OK ] Stopped Apply Kernel Variables. [ OK ] Stopped target Encrypted Volumes. Stopping Load Kernel Modules... [ OK ] Stopped Load Kernel Modules. Stopping LSB: Raise network interfaces.... [ OK ] Stopped target Swap. Deactivating swap /var/swap... [ OK ] Stopped target Remote File Systems. [ OK ] Stopped target Remote File Systems (Pre). [ OK ] Stopped Load/Save RF Kill Switch Status of rfkill4. [ OK ] Stopped Load/Save RF Kill Switch Status of rfkill1. [ OK ] Stopped Load/Save RF Kill Switch Status of rfkill2. [ OK ] Stopped Load/Save RF Kill Switch Status of rfkill0. [ OK ] Stopped Restore / save the current clock. [ OK ] Stopped Update UTMP about System Boot/Shutdown. [ OK ] Deactivated swap /var/swap. Stopping Create Volatile Files and Directories... [ OK ] Stopped Create Volatile Files and Directories. [ OK ] Removed slice system-systemd\x2drfkill.slice. [* ] A stop job is running for LSB: Raise network interfa...32s / no limit) Link to comment Share on other sites More sharing options...
Igor Posted February 15, 2017 Share Posted February 15, 2017 I think it's related to bug in wireless driver (ap6210) which sometimes causes crash on unload / shutdown. If you don't need wireless, disable this module and you should be fine. 1 Link to comment Share on other sites More sharing options...
tpm8 Posted February 15, 2017 Author Share Posted February 15, 2017 Thanks - you are right. I saw the crash during unload of the wireless kernel module but wouldn't guess that it was related. Commenting the line ap6210 in /etc/modules fixed it. PS: And even better - disabling WLAN also fixed that 10-20 seconds delay during ssh login Link to comment Share on other sites More sharing options...
manofring Posted February 21, 2017 Share Posted February 21, 2017 for speedup ure ssh connect just add to /etc/ssh/sshd_config UseDNS no and change this option to GSSAPIAuthentication no after restart ssh service systemctl restart ssh.service Its old hax for speedup ssh Link to comment Share on other sites More sharing options...
Recommended Posts