Boot needs up to 7 minutes on Ubuntu 16.04 - Printable Version +- PINE64 (https://forum.pine64.org) +-- Forum: PINE A64(+) (https://forum.pine64.org/forumdisplay.php?fid=4) +--- Forum: Pine A64 Hardware, Accessories and POT (https://forum.pine64.org/forumdisplay.php?fid=32) +---- Forum: Ethernet Port (https://forum.pine64.org/forumdisplay.php?fid=39) +---- Thread: Boot needs up to 7 minutes on Ubuntu 16.04 (/showthread.php?tid=4300) |
Boot needs up to 7 minutes on Ubuntu 16.04 - JulianM - 03-10-2017 Hi together! I need help with my Pine64 2GB RAM Board. The problem is a very long boot time, if ethernet is unplugged. The systems hangs on "[XXXXXXXX] Call trace:". Nothing else behind this note. The system boots completely after 4-7 minutes, but only if ethernet is unplugged. If ethernet is plugged in, the system starts within 1 minute. It doesn't matter which version of Pine64 I'm using, because I already tried 512 MB, 1 GB and 2 GB of RAM. Some information about my setup: - Ubuntu 16.04 with updated kernel and U-Boot via update scripts. - installed WiFi-/Bluetooth module. - Static IP address via WiFi in /etc/network/interfaces and router. - No connection via ethernet, just via WiFi. - Samsung Evo microsd card. - Official Pine64 power supply from Pine64 shop. - Deleted standard MAC address. Please help me with my little problem. Best regards Julian RE: Boot needs up to 7 minutes on Ubuntu 16.04 - pfeerick - 03-10-2017 (03-10-2017, 02:52 AM)JulianM Wrote: The problem is a very long boot time, if ethernet is unplugged. The systems hangs on "[XXXXXXXX] Call trace:". Hi Julian, This is happening because when your ethernet is unplugged, linux is still looking for your ethernet, and so keeps checking for five minutes, and then times out and allows bootup to continue. You need to edit the /etc/networking/interfaces, and add the line allow-hotplug eth0 to it. This tells the network manager the ethernet can be plugged in at any time... and isn't required at bootup. Edit: refer to post #4 where I correct myself RE: Boot needs up to 7 minutes on Ubuntu 16.04 - JulianM - 03-13-2017 Hi pfeerick, thanks for your reply, but it doesn't fixed the problem. I changed the "timeout" in /etc/dhcp/dhclient.conf from 300 to 10 seconds. This solutions doesn't fixed the problem, but this is a "good enough" solution for me. Best regards Julian RE: Boot needs up to 7 minutes on Ubuntu 16.04 - pfeerick - 03-15-2017 (03-13-2017, 04:44 PM)JulianM Wrote: Hi pfeerick, My apologies... I mean to say "replace", not add :-O in your /etc/network/interfaces file, if it currently contains the auto eth0 line, replace it with allow-hotplug eth0 If /etc/network/interfaces contains a line saying source-directory /etc/network/interfaces.d you instead need to instead be looking at and editing /etc/network/interfaces.d/eth0 That should fix cure your no-ethernet boot woes. |