[Solved] Boot-up is longer than 01:45. antiX 17.3.1 x64 Debian Testing version

Forum Forums New users New Users and General Questions [Solved] Boot-up is longer than 01:45. antiX 17.3.1 x64 Debian Testing version

Tagged: ,

This topic contains 6 replies, has 5 voices, and was last updated by betman Mar 2-9:02 pm.

Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #18977
    Member
    Avatar
    betman

    Hello!
    For quite a few days now, the boot process is taking about a minute and 48 secs (I timed now). The majority (about 52 secs) of that time is spent on
    [....] Configuring network interfaces...ifup: waiting for lock on /run/network/ifstate.eth0

    I remember this wasn’t the case after fresh install. So, these are consequences of my actions, sure, but I can’t figure what. Please, let me know what I should do to minimize booting time?

    ####EXTRA INFO
    I am using WICD network manager and not CENI.
    I have LUKS enabled.
    I have XFCE.

    Thank you!

    • This topic was modified 2 months, 2 weeks ago by betman.
    #18979
    Member
    caprea
    caprea

    I solved this once by editing the /etc/network/interfaces to look like this

    #——————————————————————————
    # /etc/network/interfaces
    #
    # interfaces(5) file used by ifup(8) and ifdown(8)
    # Used by ceni but not by wicd
    #——————————————————————————

    auto lo
    iface lo inet loopback

    #18981
    Forum Admin
    rokytnji
    rokytnji

    My ssd in my chromebook boots up in seconds. Not minutes.

    harry@biker:~
    $ inxi -Fxz
    System:
      Host: biker Kernel: 4.20.0-antix.1-amd64-smp x86_64 bits: 64 compiler: gcc v: 6.3.0 
      Desktop: IceWM 1.4.2 Distro: antiX-17_x64-full Heather Heyer 24 October 2017 
      base: Debian GNU/Linux 9 (stretch) 
    Machine:
      Type: Desktop System: Google product: Parrot v: 1.0 serial: <filter> 
      Mobo: Google model: Parrot v: 1.0 serial: <filter> BIOS: coreboot 
      v: 4.0-6588-g4acd8ea-dirty date: 09/04/2014 
    Battery:
      ID-1: BATX charge: 31.3 Wh condition: 31.3/37.0 Wh (85%) model: SANYO AL12B32 
      status: Full 
    CPU:
      Topology: Dual Core model: Intel Celeron 1007U bits: 64 type: MCP arch: Ivy Bridge 
      rev: 9 L2 cache: 2048 KiB 
      flags: lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx bogomips: 5986 
      Speed: 1300 MHz min/max: 800/1500 MHz Core speeds (MHz): 1: 996 2: 1015 
    Graphics:
      Device-1: Intel 3rd Gen Core processor Graphics driver: i915 v: kernel 
      bus ID: 00:02.0 
      Display: server: X.Org 1.19.2 driver: modesetting unloaded: fbdev,vesa 
      resolution: 1366x768~60Hz 
      OpenGL: renderer: Mesa DRI Intel Ivybridge Mobile v: 3.3 Mesa 13.0.6 
      direct render: Yes 
    Audio:
      Device-1: Intel 7 Series/C216 Family High Definition Audio driver: snd_hda_intel 
      v: kernel bus ID: 00:1b.0 
      Sound Server: ALSA v: k4.20.0-antix.1-amd64-smp 
    Network:
      Device-1: Qualcomm Atheros AR9462 Wireless Network Adapter vendor: Foxconn 
      driver: ath9k v: kernel port: 0400 bus ID: 01:00.0 
      IF: wlan0 state: up mac: <filter> 
      Device-2: Broadcom and subsidiaries NetLink BCM57785 Gigabit Ethernet PCIe 
      vendor: Acer Incorporated ALI driver: tg3 v: 3.137 port: 0400 bus ID: 02:00.0 
      IF: eth0 state: down mac: <filter> 
    Drives:
      Local Storage: total: 14.91 GiB used: 7.40 GiB (49.6%) 
      ID-1: /dev/sda vendor: SanDisk model: SSD U100 16GB size: 14.91 GiB 
    Partition:
      ID-1: / size: 14.62 GiB used: 7.40 GiB (50.6%) fs: ext4 dev: /dev/sda1 
    Sensors:
      System Temperatures: cpu: 54.0 C mobo: N/A 
      Fan Speeds (RPM): N/A 
    Info:
      Processes: 134 Uptime: 2h 25m Memory: 3.79 GiB used: 679.6 MiB (17.5%) 
      Init: SysVinit runlevel: 5 Compilers: gcc: 6.3.0 Shell: bash v: 4.4.12 inxi: 3.0.29 
    

    I have not updated the kernel on this yet as I am beta testing 64 bit AntiX 17.4. I use WICD also full time as my default.

    harry@biker:~
    $ which wicd
    /usr/sbin/wicd
    

    Without specs shown. Kinda hard to answer your thread. So all I can say. Reinstall wicd and maybe wpa supplicant while hooked up to land line or hook up ceni 1st before reinstalling wicd,wpa_suplicant.

    $ apt search wpa
    Sorting... Done
    <snip>
    wpasupplicant/stretch,now 2:2.4-1.0nosystemd2 amd64 [installed,automatic]
      client support for WPA and WPA2 (IEEE 802.11i)
    <snip>
    
    • This reply was modified 2 months, 2 weeks ago by rokytnji.

    Sometimes I drive a crooked road to get my mind straight.
    Not all who Wander are Lost.
    Linux Registered User # 475019
    How to Search for AntiX solutions to your problems

    #18988
    Forum Admin
    BitJam
    BitJam

    Hello!
    For quite a few days now, the boot process is taking about a minute and 48 secs (I timed now). The majority (about 52 secs) of that time is spent on
    [....] Configuring network interfaces...ifup: waiting for lock on /run/network/ifstate.eth0

    I remember this wasn’t the case after fresh install. So, these are consequences of my actions, sure, but I can’t figure what. Please, let me know what I should do to minimize booting time?

    That message and behavior sounds like a bug that comes with the Debian version of /etc/init.d/networking. I fixed this in antiX by moving the creation of network connections to the background.

    There is a spare version of the fixed “networking” file at /usr/local/share/live-files/general-files/etc/init.d/networking. If this is different from /etc/init.d/networking then copy the spare over the original after saving a backup of the original to your home directory:

    cp /etc/init.d/networking ~
    sudo cp /usr/local/share/live-files/general-files/etc/init.d/networking /etc/init.d/networking

    If the /etc/init.d/networking file got changed to the buggy version due to a system upgrade then other people may be hitting this same problem. OTOH, I may be wrong about the cause of the problem.

    Context is worth 80 IQ points -- Alan Kay

    #18999
    Member
    Avatar
    betman

    @rokytnji. Sorry. Here are the specs:

    System:    Host: zwx Kernel: 4.9.146-antix.1-amd64-smp x86_64 bits: 64 compiler: gcc v: 8.2.0 Desktop: Xfce 4.12.4 
               Distro: antiX-17.3.1_x64-base Helen Keller 27 December 2018 base: Debian GNU/Linux buster/sid 
    Machine:   Type: Laptop System: Acer product: Gateway 4250s v: N/A serial: <filter> 
               Mobo: Acer model: Gateway 4250s serial: <filter> BIOS: American Megatrends v: 1.01 date: 08/14/2013 
    Battery:   ID-1: BAT0 charge: 265.2 Wh condition: 267.8/47.5 Wh (564%) model: standard status: Unknown 
    CPU:       Topology: Dual Core model: AMD A4-3320M APU with Radeon HD Graphics bits: 64 type: MCP arch: Fusion 
               L2 cache: 2048 KiB 
               flags: lm nx pae sse sse2 sse3 sse4a svm bogomips: 7985 
               Speed: 1200 MHz min/max: 800/2000 MHz Core speeds (MHz): 1: 1200 2: 800 
    Graphics:  Device-1: Advanced Micro Devices [AMD/ATI] Sumo [Radeon HD 6480G] driver: radeon v: kernel bus ID: 00:01.0 
               Display: server: X.Org 1.20.3 driver: ati,radeon unloaded: fbdev,modesetting,vesa resolution: 1366x768~60Hz 
               OpenGL: renderer: AMD SUMO (DRM 2.49.0 / 4.9.146-antix.1-amd64-smp LLVM 7.0.1) v: 3.3 Mesa 18.3.4 
               direct render: Yes 
    Audio:     Device-1: AMD BeaverCreek HDMI Audio [Radeon HD 6500D and 6400G-6600G series] driver: snd_hda_intel v: kernel 
               bus ID: 00:01.1 
               Device-2: Advanced Micro Devices [AMD] FCH Azalia vendor: Holco Enterprise Co /Shuttle driver: snd_hda_intel 
               v: kernel bus ID: 00:14.2 
               Sound Server: ALSA v: k4.9.146-antix.1-amd64-smp 
    Network:   Device-1: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet vendor: Holco Enterprise Co /Shuttle driver: r8169 
               v: 2.3LK-NAPI port: e000 bus ID: 02:00.2 
               IF: eth0 state: down mac: <filter> 
               Device-2: Realtek RTL8723AE PCIe Wireless Network Adapter driver: rtl8723ae v: kernel port: d000 bus ID: 03:00.0 
               IF: wlan0 state: up mac: <filter> 
    Drives:    Local Storage: total: 465.76 GiB used: 10.08 GiB (2.2%) 
               ID-1: /dev/sda vendor: Western Digital model: WD5000LPVX-22V0TT0 size: 465.76 GiB 
    Partition: ID-1: / size: 454.96 GiB used: 10.01 GiB (2.2%) fs: ext4 dev: /dev/dm-0 
               ID-2: /boot size: 487.8 MiB used: 68.5 MiB (14.0%) fs: ext4 dev: /dev/sda1 
               ID-3: swap-1 size: 2.00 GiB used: 488 KiB (0.0%) fs: swap dev: /dev/dm-1 
    Sensors:   System Temperatures: cpu: 56.6 C mobo: N/A gpu: radeon temp: 53 C 
               Fan Speeds (RPM): N/A 
    Info:      Processes: 196 Uptime: 19h 39m Memory: 1.68 GiB used: 1.03 GiB (61.6%) Init: SysVinit runlevel: 5 Compilers: 
               gcc: 8.2.0 Shell: bash v: 5.0.2 inxi: 3.0.29 
    

    Any solution now?

    #19000
    Forum Admin
    anticapitalista
    anticapitalista

    Try what BitJam suggested.

    Philosophers have interpreted the world in many ways; the point is to change it.

    #19002
    Member
    Avatar
    betman

    Yay! Boot-up is now 28 secs, only (compared to earlier 1:48)! Bitjam’s solution made a difference of 80 sec. Thanks a lot, Bitjam! I’m grateful to you!

    Note: I had earlier been lazy and ignored Bitjam’s solution since it involved some work (which took less than 30 sec!).

    Thanks again, Bitjam!

Viewing 7 posts - 1 through 7 (of 7 total)

You must be logged in to reply to this topic.