Welcome, Guest. Please login or register.
Did you miss your activation email?

Author Topic:  Gelöst: System hängt beim booten  (Read 4583 times)

Offline pit

  • User
  • Posts: 237
Gelöst: System hängt beim booten
« on: 2014/05/03, 23:28:22 »

Nachdem ich meinen Laptop abgeschossen (und mit eurer Hilfe reaktiviert) habe, stecke ich erneut in Schwierigkeiten - diesmal aber mit meinem Desktop-Rechner (auf systemd umgestellt u. zunächst keine Probleme damit gehabt.). Dist-upgrade ohne Fehler, aber dann (reproduzierbar) Hänger beim Booten mit folgenden Meldungen für gut 2 Minuten:


Code: [Select]
systemd-fsck[690]: /dev/sdb8: sauber, 1520/9969664 Dateien, 6264458/39847216 Blöcke
systemd-fsck[703]: /dev/sdb5: sauber, 440/5238560 Dateien, 15441384/20972849 Blöcke
systemd-fsck[690]: linuxdata: sauber, 713/5242880 Dateien, 8659835/20971519 Blöcke
systemd-fsck[710]: linuxhome: sauber, 69386/1310720 Dateien, 2499914/5242880 Blöcke


Mit Live-CD gebootet u. fsck - alles in Ordnung.


/var/log/dmesg => http://paste.siduction.org/20140503211621


Der Rechner:


Code: [Select]
# inxi -v5
System:    Host p2000 Kernel 3.14-2.towo-siduction-amd64 x86_64 (64 bit) Distro Debian GNU/Linux jessie/sid
CPU:       Quad core Intel Core i7-3770 (-HT-MCP-) cache 8192 KB flags (lm nx sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx)
           Clock Speeds: (1) 3805.875 MHz (2) 3805.875 MHz (3) 3062.125 MHz (4) 1627.750 MHz (5) 1627.750 MHz (6) 1627.750 MHz (7) 1627.750 MHz ( 3805.875 MHz
Graphics:  Card: Intel Xeon E3-1200 v2/3rd Gen Core processor Graphics Controller X.org 1.15.1 Res: 196x33 Gfx Data: N/A for root
Audio:     Card-1 UA-25 driver USB-Audio
           Card-2 Roland EDIROL UA-25 driver snd-usb-audio
           Sound: Advanced Linux Sound Architecture Version k3.14-2.towo-siduction-amd64
Network:   Card Broadcom NetLink BCM57781 Gigabit Ethernet PCIe driver tg3
Disks:     HDD Total Size: 584.1GB (29.0% used) 1: /dev/sda Samsung_SSD_840 256.1GB
           2: /dev/sdb SAMSUNG_HD321KJ 320.1GB 3: USB /dev/sdg Mass 7.9GB
Partition: ID:/ size: 20G used: 11G (59%) fs: ext4 ID:/home size: 20G used: 9.2G (50%) fs: ext4
           ID:swap-1 size: 16.38GB used: 0.00GB (0%) fs: swap
Sensors:   System Temperatures: cpu: 30.5C mobo: 32.0C
           Fan Speeds (in rpm): cpu: N/A fan-1: 1183 fan-2: 290 fan-3: 1063 fan-4: 832 fan-5: 0
Info:      Processes 274 Uptime 18 min Memory 1326.1/15751.5MB Client Shell inxi 1.4.95


Ich hatte zunächst ntp im Verdacht. Hatte folglich in der /etc/ntp.conf N.debian.pool.ntp.org gegen ptbtimeN.ptb.de getauscht, Fehler blieben:


Code: [Select]
Mai 03 22:21:38 p2000 systemd-udevd[548]: failed to execute '/lib/udev/kmod' 'kmod sg': No such file or directory
Mai 03 22:23:11 p2000 ntpd_intres[1316]: host name not found: ptbtime1.ptb.de
Mai 03 22:23:11 p2000 ntpd_intres[1316]: host name not found: ptbtime2.ptb.de
Mai 03 22:23:11 p2000 ntpd_intres[1316]: host name not found: ptbtime3.ptb.de
Mai 03 22:23:30 p2000 sudo[2211]: pam_unix(sudo:auth): conversation failed


Ntpdate war nicht installiert. Wenn ich ntp purge und neu installiere, heißt es:
update-rc.d: warning: start and stop actions are no longer supported; falling back to defaults


Habe jetzt mal probehalber ntp komplett eliminiert.


Fehlanzeige: Beim nächsten Test sind zwar die npt-Fehlermeldungen weg, es gibt aber noch diese hier:


Code: [Select]
# journalctl -b -p err
Mai 03 23:08:18 p2000 kernel: tsc: Fast TSC calibration failed
Mai 03 23:08:18 p2000 systemd-udevd[421]: failed to execute '/lib/udev/kmod' 'kmod sg': No such file or directory
Mai 03 23:08:18 p2000 systemd-udevd[424]: failed to execute '/lib/udev/kmod' 'kmod sg': No such file or directory
Mai 03 23:08:18 p2000 systemd-udevd[435]: failed to execute '/lib/udev/kmod' 'kmod sg': No such file or directory
Mai 03 23:08:18 p2000 systemd-udevd[537]: failed to execute '/lib/udev/kmod' 'kmod sg': No such file or directory
Mai 03 23:08:18 p2000 systemd-udevd[540]: failed to execute '/lib/udev/kmod' 'kmod sg': No such file or directory
Mai 03 23:08:18 p2000 systemd-udevd[539]: failed to execute '/lib/udev/kmod' 'kmod sg': No such file or directory
Mai 03 23:08:18 p2000 systemd-udevd[538]: failed to execute '/lib/udev/kmod' 'kmod sg': No such file or directory


Vielleicht wartet (was auch immer) etwas darauf, dass die Internet-Verbindung steht? Ich hatte network-manager installiert. Mit der Folge, dass die Verbindung erst nach dem KDE-Login steht. Also wieder weg damit:
purge: network-manager* network-manager-openvpn* network-manager-pptp* network-manager-vpnc* plasma-nm* plasma-widget-networkmanagement*


Mit ceni Netzwerk neu konfiguriert. Reboot. Keine Veränderung.


Hier noch einige Logs. Vielleicht fällt jemandem was auf?


Code: [Select]
# systemd-analyze blame
          3.128s systemd-udev-settle.service
          1.030s acpi-fakekey.service
           337ms acpi-support.service
           329ms systemd-fsck@dev-disk-by\x2duuid-6d0971d7\x2de467\x2d4254\x2d9fba\x2d46c46d39bf47.service
           328ms ModemManager.service
           303ms dirmngr.service
           258ms systemd-fsck@dev-disk-by\x2duuid-3a0c2dec\x2de3d2\x2d4672\x2daba1\x2d292333668013.service
           164ms keyboard-setup.service
           160ms console-setup.service
           154ms systemd-fsck-root.service
           142ms loadcpufreq.service
           120ms nfs-kernel-server.service
           103ms teamviewerd.service
           100ms udisks2.service
            94ms virtualbox.service
            94ms media-win\x2dc.mount
            90ms mdadm-raid.service
            83ms networking.service
            82ms gpm.service
            82ms systemd-logind.service
            82ms bootlogs.service
            68ms systemd-fsck@dev-disk-by\x2duuid-14f17913\x2d5850\x2d440c\x2d8590\x2d2836dcf47bc4.service
            66ms systemd-fsck@dev-disk-by\x2duuid-a8f2e75d\x2d36c2\x2d4578\x2db318\x2db8549ab65d05.service
            64ms cron.service
            58ms nfs-common.service
            49ms rpcbind.service
            49ms kdm.service
            48ms lvm2-activation-early.service
            44ms systemd-modules-load.service
            43ms lm-sensors.service
            40ms systemd-udev-trigger.service
            40ms resolvconf.service
            35ms siguibui.service
            35ms media-win\x2dd.mount
            28ms hdparm.service
            27ms polkitd.service
            27ms irqbalance.service                                                                                                                                               
            26ms lvm2-activation.service                                                                                                                                           
            25ms console-kit-log-system-start.service                                                                                                                             
            25ms alsa-restore.service                                                                                                                                             
            25ms openvpn.service
            22ms mdadm.service
            21ms hddtemp.service
            20ms media-video.mount
            20ms console-kit-daemon.service
            19ms motd.service
            18ms dev-hugepages.mount
            18ms saned.service
            18ms kbd.service
            18ms ifplugd.service
            16ms sys-kernel-debug.mount
            15ms upower.service
            14ms dev-mqueue.mount
            14ms systemd-tmpfiles-setup-dev.service
            11ms rc-local.service
            11ms data.mount
            10ms systemd-sysctl.service
            10ms keymap.service
             9ms systemd-tmpfiles-setup.service
             8ms dns-clean.service
             8ms systemd-remount-fs.service
             8ms media-linuxalt\x2droot.mount
             8ms cpufrequtils.service
             8ms pppd-dns.service
             7ms systemd-user-sessions.service
             5ms sidu-boot.service
             5ms run-user.mount
             4ms dev-disk-by\x2duuid-6383399e\x2d45c3\x2d459e\x2da010\x2dd808dbf97481.swap
             4ms home.mount
             4ms systemd-update-utmp-runlevel.service
             4ms sys-fs-fuse-connections.mount
             4ms systemd-udevd.service
             4ms udisks.service
             4ms run-lock.mount
             3ms systemd-journal-flush.service
             3ms udev-finish.service
             2ms systemd-random-seed-load.service


Code: [Select]
# systemd-analyze time
Startup finished in 4.179s (kernel) + 1min 34.738s (userspace) = 1min 38.918s


Code: [Select]
# systemd-analyze time
Startup finished in 4.179s (kernel) + 1min 34.738s (userspace) = 1min 38.918s
root@p2000:/home/pit# systemd-analyze critical-chain
The time after the unit is active or started is printed after the "@" character.
The time the unit takes to start is printed after the "+" character.


graphical.target @1min 34.733s
└─multi-user.target @1min 34.733s
  └─acpi-fakekey.service @1min 33.702s +1.030s
    └─basic.target @1min 33.685s
      └─sockets.target @1min 33.685s
        └─dbus.socket @1min 33.685s
          └─sysinit.target @1min 33.682s
            └─console-setup.service @1min 33.522s +160ms
              └─kbd.service @1min 33.503s +18ms
                └─remote-fs.target @1min 33.502s
                  └─local-fs.target @3.363s
                    └─proc-fs-nfsd.mount @1min 33.735s
                      └─local-fs-pre.target @308ms
                        └─systemd-remount-fs.service @299ms +8ms
                          └─keyboard-setup.service @134ms +164ms
                            └─systemd-udevd.service @128ms +4ms
                              └─systemd-tmpfiles-setup-dev.service @113ms +14ms
                                └─systemd-journald.socket @105ms
                                  └─-.mount @104ms


Code: [Select]
ai 03 23:08:18 p2000 kernel: tsc: Fast TSC calibration failed
Mai 03 23:08:18 p2000 systemd-udevd[421]: failed to execute '/lib/udev/kmod' 'kmod sg': No such file or directory
Mai 03 23:08:18 p2000 systemd-udevd[424]: failed to execute '/lib/udev/kmod' 'kmod sg': No such file or directory
Mai 03 23:08:18 p2000 systemd-udevd[435]: failed to execute '/lib/udev/kmod' 'kmod sg': No such file or directory
Mai 03 23:08:18 p2000 systemd-udevd[537]: failed to execute '/lib/udev/kmod' 'kmod sg': No such file or directory
Mai 03 23:08:18 p2000 systemd-udevd[540]: failed to execute '/lib/udev/kmod' 'kmod sg': No such file or directory
Mai 03 23:08:18 p2000 systemd-udevd[539]: failed to execute '/lib/udev/kmod' 'kmod sg': No such file or directory
Mai 03 23:08:18 p2000 systemd-udevd[538]: failed to execute '/lib/udev/kmod' 'kmod sg': No such file or directory


Code: [Select]
# systemctl status dbus.service
dbus.service - D-Bus System Message Bus
   Loaded: loaded (/lib/systemd/system/dbus.service; static)
   Active: active (running) since Sa 2014-05-03 22:13:21 CEST; 4min 27s ago
     Docs: man:dbus-daemon(1)
 Main PID: 1046 (dbus-daemon)
   CGroup: name=systemd:/system/dbus.service
           └─1046 /usr/bin/dbus-daemon --system --address=systemd: --nofork --nopidfile --systemd-activation


Mai 03 22:13:29 p2000 dbus[1046]: [system] Successfully activated service 'org.freedesktop.ConsoleKit'
Mai 03 22:13:30 p2000 dbus[1046]: [system] Activating via systemd: service name='org.freedesktop.nm_dispatcher' unit='dbus-...ervice'
Mai 03 22:13:30 p2000 dbus[1046]: [system] Successfully activated service 'org.freedesktop.nm_dispatcher'
Mai 03 22:13:31 p2000 dbus[1046]: [system] Activating via systemd: service name='org.freedesktop.UPower' unit='upower.service'
Mai 03 22:13:31 p2000 dbus[1046]: [system] Successfully activated service 'org.freedesktop.UPower'
Mai 03 22:13:31 p2000 dbus[1046]: [system] Activating via systemd: service name='org.freedesktop.UDisks' unit='udisks.service'
Mai 03 22:13:31 p2000 dbus[1046]: [system] Successfully activated service 'org.freedesktop.UDisks'
Mai 03 22:13:31 p2000 dbus[1046]: [system] Activating service name='org.kde.powerdevil.backlighthelper' (using servicehelper)
Mai 03 22:13:31 p2000 org.kde.powerdevil.backlighthelper[2031]: QDBusConnection: system D-Bus connection created before QCoreA...ave.
Mai 03 22:13:31 p2000 dbus[1046]: [system] Successfully activated service 'org.kde.powerdevil.backlighthelper'


Jetzt fällt mir nix mehr ein. Euch?
« Last Edit: 2014/05/04, 00:55:46 by pit »

Offline pit

  • User
  • Posts: 237
Re: System hängt beim booten
« Reply #1 on: 2014/05/04, 00:55:15 »
Schuld waren fehlerhafte Einträge in der /etc/fstab. Nach dem Umstieg auf systemd haben sich die Optionen für nfs Shares geändert. Danke an @agaida und @devil.


Und so müssen nfs Einträge in der /etc/fstab jetzt aussehen:



Code: [Select]
xxx:/share    /media/mountpoint  nfs  noauto, x-systemd.automount,x-systemd.device-timeout=10,defaults 0 0