OpenSuse 12.1 boot hangs until I plug in my lan cable

I have a fresh installation of OpenSuse 12.4 and the boot process hangs until I plug in a lan cable. I had my lan connected during the installation, so maybe this somehow related to the boot problem. I have to say live KDE cd boots up fine without any lan.

Here is my boot log fragment. I’ve plugged in the cable after the message in bold, and boot process resumed. Note time difference 23:14:22 - 23:14:55

Nov 18 23:14:22 localhost dbus[969]: [system] Activating service name='fi.w1.wpa_supplicant1' (using servicehelper)
Nov 18 23:14:22 localhost dbus-daemon[969]: dbus[969]: [system] Activating service name='fi.w1.wpa_supplicant1' (using servicehelper)
Nov 18 23:14:22 localhost dbus-daemon[969]: /etc/NetworkManager/dispatcher.d/netcontrol_services: line 37: scripts/ifhostname-services: No such file or directory
Nov 18 23:14:22 localhost kernel:    14.093292] sky2 0000:45:00.0: eth0: enabling interface
Nov 18 23:14:22 localhost kernel:    14.094245] ADDRCONF(NETDEV_UP): eth0: link is not ready
Nov 18 23:14:22 localhost dbus[969]: [system] Successfully activated service 'fi.w1.wpa_supplicant1'
Nov 18 23:14:22 localhost dbus-daemon[969]: dbus[969]: [system] Successfully activated service 'fi.w1.wpa_supplicant1'
**Nov 18 23:14:22 localhost kernel:    14.130142] NET: Registered protocol family 17**
Nov 18 23:14:55 localhost kernel:    46.555363] sky2 0000:45:00.0: eth0: Link is up at 100 Mbps, full duplex, flow control both
Nov 18 23:14:55 localhost kernel:    46.556574] ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
Nov 18 23:14:55 localhost dhclient: Internet Systems Consortium DHCP Client 4.2.2
Nov 18 23:14:55 localhost dhclient: Copyright 2004-2011 Internet Systems Consortium.
Nov 18 23:14:55 localhost dhclient: All rights reserved.
Nov 18 23:14:55 localhost dhclient: For info, please visit https://www.isc.org/software/dhcp/
Nov 18 23:14:55 localhost dhclient: 
Nov 18 23:14:55 localhost dhclient: Listening on LPF/eth0/70:5a:b6:8f:a6:91

Does anyone know how to fix the problem?

I guess I wonder if Network Manager was enabled? I suggest you visit YaST (Enter Root User Password) / Network Devices / Network Settings /Global Options Tab and set the Bullet (top Left) for “User Controlled with NetworkManager” and pick OK on the bottom right. This should provide a working network icon in the bottom right of the KDE desktop icon tray. If this does not allow you to boot without a network, you can disable networking in the network manager before you shut down.

Thank You,

go the exact same problem on laptop running 12.1 … quite annoying

go the exact same problem on laptop running 12.1 … quite annoying

And can you say you have followed my suggestion?

I suggest you visit YaST (Enter Root User Password) / Network Devices / Network Settings /Global Options Tab and set the Bullet (top Left) for “User Controlled with NetworkManager” and pick OK on the bottom right.

Thank You,

yes the laptop runs network manager although I haven’t tried disabling the network at shutdown. I don’t consider this a viable solution… booting should just work! it appears some service waits indefinitely on network to come up

So you need to tell us the hardware in which this is a problem. In Linux, most hardware is detected and activated by the Linux kernel modules. In some cases, there is firmware that may need to be installed. Most hardware is supported by individuals determining how to make the hardware work without help from the company that actually made it. When direct hardware company support is not provided to Linux (as it is with Windows), hardware operation can be very spotty at best. It is not the fault of the Linux kernel developers that this problem should exist. None the less, we all do the very best we can to help and we start off by needing to know the exact wireless lan hardware chipset that is not working.

Thank You,

lspci


00:00.0 Host bridge: Intel Corporation Mobile 945GME Express Memory Controller Hub (rev 03)
00:02.0 VGA compatible controller: Intel Corporation Mobile 945GME Express Integrated Graphics Controller (rev 03)
00:02.1 Display controller: Intel Corporation Mobile 945GM/GMS/GME, 943/940GML Express Integrated Graphics Controller (rev 03)
00:1b.0 Audio device: Intel Corporation N10/ICH 7 Family High Definition Audio Controller (rev 02)
00:1c.0 PCI bridge: Intel Corporation N10/ICH 7 Family PCI Express Port 1 (rev 02)
00:1c.1 PCI bridge: Intel Corporation N10/ICH 7 Family PCI Express Port 2 (rev 02)
00:1d.0 USB Controller: Intel Corporation N10/ICH 7 Family USB UHCI Controller #1 (rev 02)
00:1d.1 USB Controller: Intel Corporation N10/ICH 7 Family USB UHCI Controller #2 (rev 02)
00:1d.2 USB Controller: Intel Corporation N10/ICH 7 Family USB UHCI Controller #3 (rev 02)
00:1d.3 USB Controller: Intel Corporation N10/ICH 7 Family USB UHCI Controller #4 (rev 02)
00:1d.7 USB Controller: Intel Corporation N10/ICH 7 Family USB2 EHCI Controller (rev 02)
00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev e2)
00:1f.0 ISA bridge: Intel Corporation 82801GBM (ICH7-M) LPC Interface Bridge (rev 02)
00:1f.2 IDE interface: Intel Corporation 82801GBM/GHM (ICH7 Family) SATA IDE Controller (rev 02)
00:1f.3 SMBus: Intel Corporation N10/ICH 7 Family SMBus Controller (rev 02)
01:00.0 Network controller: Broadcom Corporation BCM4312 802.11b/g LP-PHY (rev 01)
02:00.0 Ethernet controller: Atheros Communications AR8132 Fast Ethernet (rev c0)

dmesg


   15.179205] udevd[414]: renamed network interface eth0 to rename2
   15.436937] udevd[414]: renamed network interface rename2 to eth1
   15.437794] udevd[418]: renamed network interface eth1 to eth0
   15.521595] input: HDA Digital PCBeep as /devices/pci0000:00/0000:00:1b.0/input/input11
   15.725808] ifup[644]: Service network not started and mode 'auto' -> skipping
   15.729212] ifup[646]: Service network not started and mode 'auto' -> skipping
   15.768920] Adding 2095100k swap on /dev/sda1.  Priority:0 extents:1 across:2095100k 
   16.080039] input: HP WMI hotkeys as /devices/virtual/input/input12
   17.031551] device-mapper: uevent: version 1.0.3
   17.032647] device-mapper: ioctl: 4.21.0-ioctl (2011-07-06) initialised: dm-devel@redhat.com
   17.622304] microcode: CPU0 sig=0x106c2, pf=0x4, revision=0x20a
   17.752392] microcode: Microcode Update Driver: v2.00 <tigran@aivazian.fsnet.co.uk>, Peter Oruba
   18.079582] microcode: CPU0 updated to revision 0x218, date = 2009-04-10
   18.193106] atl1c 0000:02:00.0: irq 43 for MSI/MSI-X
   18.263278] ADDRCONF(NETDEV_UP): eth0: link is not ready
   18.327918] NET: Registered protocol family 17
   28.327461] eth1: no IPv6 routers present

(hung until cable plugged...)

  230.455728] atl1c 0000:02:00.0: atl1c: eth0 NIC Link is Up<100 Mbps Full Duplex>
  230.456632] ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
  237.198400] RPC: Registered named UNIX socket transport module.
  237.198567] RPC: Registered udp transport module.
  237.198670] RPC: Registered tcp transport module.
  237.198774] RPC: Registered tcp NFSv4.1 backchannel transport module.
  237.211092] FS-Cache: Loaded
  237.250195] FS-Cache: Netfs 'nfs' registered for caching
  238.973544] vboxguest: VirtualBox Guest PCI device not found.
  241.028805] eth0: no IPv6 routers present

is there a way to get more verbose logging from the network service starting up? dmesg obviously doesn’t tell what’s waiting on what…

I have had similar troubles recently just as the original poster described. I am using NetworkManager on my laptop (not the traditional ifup method)

I’ve resolved it but I don’t know much about it… :slight_smile: Here are the steps (I’m not sure which one actually did the trick or maybe its a series of steps combined that did the trick):

  1. yast2 lan - delete all configurations (yes, you’ll need to temporarily change from NetworkManager to Traditional method), switch back to NetworkManager and click OK to save the changes

  2. On boot, at grub screen, hit F5 to change from default to SystemV

  3. yast2 runlevel - go to expert mode, unchecked 3 and 5 from network and network-remotefs

Today, I tried to boot up with the default systemd and it worked! Therefore, Step (2) above may be optional.

Good luck and let me know if this works for you too. :slight_smile:

I think that Step (3) did the difference.

Having the same problem I found that disabling network-remotefs from startup was enough to allow my laptop to boot and not wait until I plugged a network cable in.

confirmed, this works and it appears to solves other performance issues related to samba

Thanks for this great finding. I have confirmed normal activity of booting up after disabling “network-remotefs”.

Here is the command line to disable that module: Just open terminal as root, then enter “chkconfig network-remotefs off”.

Regards,
Bao Nguyen

Are you automating this terminal command and if so, how do you do it?

Thank You,

Hi, in fact no automation is needed here. To disable network-remotefs, you can use either ‘yast2 runlevel’ or chkconfig network-remotefs off.

One interesting thing I’ve just found out: to solve this issue (opensuse wait for network cable plugged to continue boots up), I have disabled and RE-enabled these services:

  1. network
  2. network-remotefs
  3. random
    4.SuSEfirewall2_init
    5.SuSEfirewall2_setup

To disable, use ‘yast2 runlevel’, Expert Mode, and uncheck all checked numbers in each service (write down the value for each service). Once finished, do a reboot with network cable UNPLUGGED. Opensuse should boots up fine.
Then again, use ‘yast2 runlevel’, Expert Mode, and check the corresponding runlevel checkboxes for all these services. Then do a reboot with network cable UNPLUGGED. OpenSUSE should still boots up FINE.

I have tried on 2 different laptops, and they are working properly. So I guess this is stable workaround.

Regards,
Bao

On 2011-11-21 02:46, vanista wrote:
> is there a way to get more verbose logging from the network service
> starting up? dmesg obviously doesn’t tell what’s waiting on what…

Add “systemd.log_level=debug systemd.log_target=kmsg” when booting.


Cheers / Saludos,

Carlos E. R.
(from 11.4 x86_64 “Celadon” at Telcontar)

On 2011-12-16 08:56, nttranbao wrote:
> I have tried on 2 different laptops, and they are working properly. So
> I guess this is stable workaround.

Has any of you reported this problem on Bugzilla? Else, the problem will
not be repaired.


Cheers / Saludos,

Carlos E. R.
(from 11.4 x86_64 “Celadon” at Telcontar)

Hi ,

i have it reported with my bad english :wink:

https://bugzilla.novell.com/show_bug.cgi?id=753585

I have the same issue, but that workaround works not for me.
Only that, my system frezzt not more when the cable plugged out.