Nie jesteś zalogowany.
Jeśli nie posiadasz konta, zarejestruj je już teraz! Pozwoli Ci ono w pełni korzystać z naszego serwisu. Spamerom dziękujemy!

Ogłoszenie

Prosimy o pomoc dla małej Julki — przekaż 1% podatku na Fundacji Dzieciom zdazyć z Pomocą.
Więcej informacji na dug.net.pl/pomagamy/.

#1  2014-10-05 23:02:06

  P@blo - Nadworny matematyk

P@blo
Nadworny matematyk
Skąd: Wrocław v Jasło
Zarejestrowany: 2010-11-11

[solved]Problem ze wstaniem systemu (A start job is running for)

Hej,

Jakiś czas temu z moim thinkiem zaczęły się dziać przykre rzeczy. Ogólnie to system nie wstaje na żadnym jajkiem poza jednym 3.14-2-amd64 (dystrybucyjnym). Na 3.16-2-amd64 (chyba najnowsze z sida) nie staje mówiąc, że nie znajduje initrd: link do fotki

Znalazłem, że jak tak się dzieje to trzeba zrobić z livecd fsck, ale - nie pomogło.

Weźmy teraz inne jądro. Moje własne 3.16.3, działało zawsze teraz przestało. Dzieje się jakaś dziwna rzecz której wcześniej nigdy nie widziałem: link do zdjęcia. Co to jest? Co się dzieje? Później tylko jest emergency mode w którym pisze ze należy wykonać journalctl -xb  z którego mam to: journalctl -xb. Pamiętajmy, że na jądrze 3.14-2 wszystko jest ok... Jakby nigdy nic... Jedynie to nie działa wlan0. Jest 'zdounowany' i po jakimś czasie (5-15min) sam zaskakuje i zaczyna net działać... Bo wicd-curses się wywala... No nie ważne. Powiedzmy, że to jest najmniejszy problem.

Wyczytałem, że ten problem z 'A start job is running for' to trzeba podaj dobry uuid w fstabie, ale ja tam nigdy nie miałem uuid tylko /dev/sdXY. No ale podałem, ale i tak nic nie dało. Może grup-legacy nie wyrabia? Coś ze swapem?

Czy ktoś mi wytłumaczy co się dzieje? Bardzo proszę o pomoc.

Pozdrawiam

Ostatnio edytowany przez P@blo (2014-10-06 23:45:51)


ThinkPadX220i
| Procesor: Intel(R) Core(TM) i3-2310M CPU @ 2.10GHz |
|  Debian: sid   |   Arch: amd64   |   Sound: alsa   |
| No DE | WM: DWM  |  DM: .bash_profile  |  BIOS+MBR |

Offline

 

#2  2014-10-05 23:41:32

  yossarian - Szczawiożerca

yossarian
Szczawiożerca
Skąd: Shangri-La
Zarejestrowany: 2011-04-25

Re: [solved]Problem ze wstaniem systemu (A start job is running for)

Offline

 

#3  2014-10-06 22:09:00

  P@blo - Nadworny matematyk

P@blo
Nadworny matematyk
Skąd: Wrocław v Jasło
Zarejestrowany: 2010-11-11

Re: [solved]Problem ze wstaniem systemu (A start job is running for)

No niestety busybox siedzi i dalej to samo.

Kod:

~$ aptitude search busybox~i
i   busybox                                                                     - Niewielkie narzędzia dla małych i wbudowanych systemów

Kod:

$ cat /etc/fstab
# /etc/fstab: static file system information.
#
# Use 'blkid' to print the universally unique identifier for a
# device; this may be used with UUID= as a more robust way to name devices
# that works even if disks are added and removed. See fstab(5).
#
# <file system> <mount point>   <type>  <options>       <dump>  <pass>
proc            /proc           proc    defaults        0       0
UUID=2d9ad6fc-b3cd-45eb-94ae-b64b1322a439    /boot           ext2    defaults        0       1
UUID=a4748b36-e0e6-4335-bcaf-7189eec00d88    /               ext4    errors=remount-ro,commit=60,relatime    0       1

tmpfs        /home/pablo/.cache    tmpfs    noatime,nodev,nosuid,size=1G    0    0
tmpfs        /tmp         tmpfs     defaults,noatime,nosuid,size=1G    0    0
tmpfs        /var/local    tmpfs    defaults,noatime    0    0 
tmpfs        /var/opt    tmpfs    defaults,noatime    0    0 
tmpfs        /var/tmp    tmpfs    defaults,noatime    0    0 

/dev/sr0    /media/cdrom0    udf,iso9660 user,noauto    0    0

Ostatnio edytowany przez P@blo (2014-10-06 22:21:26)


ThinkPadX220i
| Procesor: Intel(R) Core(TM) i3-2310M CPU @ 2.10GHz |
|  Debian: sid   |   Arch: amd64   |   Sound: alsa   |
| No DE | WM: DWM  |  DM: .bash_profile  |  BIOS+MBR |

Offline

 

#4  2014-10-06 22:24:37

  yossarian - Szczawiożerca

yossarian
Szczawiożerca
Skąd: Shangri-La
Zarejestrowany: 2011-04-25

Re: [solved]Problem ze wstaniem systemu (A start job is running for)

Sama obecność busyboxa nie wystarcza.
Musi być jeszcze to:

#
# BUSYBOX: [ y | n ]
#
# Use busybox if available.
#

BUSYBOX=y

Offline

 

#5  2014-10-06 22:29:53

  P@blo - Nadworny matematyk

P@blo
Nadworny matematyk
Skąd: Wrocław v Jasło
Zarejestrowany: 2010-11-11

Re: [solved]Problem ze wstaniem systemu (A start job is running for)

Kod:

grep BUSYBOX /etc/initramfs-tools/initramfs.conf 
# BUSYBOX: [ y | n ]
BUSYBOX=y

?

Kod:

$ cat /etc/initramfs-tools/initramfs.conf 
#
# initramfs.conf
# Configuration file for mkinitramfs(8). See initramfs.conf(5).
#
# Note that configuration options from this file can be overridden
# by config files in the /etc/initramfs-tools/conf.d directory.

#
# MODULES: [ most | netboot | dep | list ]
#
# most - Add most filesystem and all harddrive drivers.
#
# dep - Try and guess which modules to load.
#
# netboot - Add the base modules, network modules, but skip block devices.
#
# list - Only include modules from the 'additional modules' list
#

MODULES=most

#
# BUSYBOX: [ y | n ]
#
# Use busybox if available.
#

BUSYBOX=y

#
# KEYMAP: [ y | n ]
#
# Load a keymap during the initramfs stage.
#

KEYMAP=n

#
# COMPRESS: [ gzip | bzip2 | lzma | lzop | xz ]
#

COMPRESS=gzip

#
# NFS Section of the config.
#

#
# DEVICE: ...
#
# Specify a specific network interface, like eth0
# Overridden by optional ip= bootarg
#

DEVICE=

#
# NFSROOT: [ auto | HOST:MOUNT ]
#

NFSROOT=auto

Ja wymiękam :(

Ostatnio edytowany przez P@blo (2014-10-06 22:32:10)


ThinkPadX220i
| Procesor: Intel(R) Core(TM) i3-2310M CPU @ 2.10GHz |
|  Debian: sid   |   Arch: amd64   |   Sound: alsa   |
| No DE | WM: DWM  |  DM: .bash_profile  |  BIOS+MBR |

Offline

 

#6  2014-10-06 22:37:54

  yossarian - Szczawiożerca

yossarian
Szczawiożerca
Skąd: Shangri-La
Zarejestrowany: 2011-04-25

Re: [solved]Problem ze wstaniem systemu (A start job is running for)

Sam fstab nie ma nic do tego.
Problem polega na tym: #762870
Konkretnie to:
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=762870#37

Niby już poprawione.
Przebuduj po aktualizacji initramfs i zobacz czy coś się zmienia.

initramfs-tools (0.118) unstable; urgency=medium

  [ Ben Hutchings ]
  * [70e371f] manual_add_modules: Set the kernel version when checking module
    firmware deps
  * [fdec1d3] lsinitramfs: Move the decompress | cpio pipeline into a function
  * [d5f4cd6] lsinitramfs: Parse and list files that include early microcode.
    Thanks to Brett Parker and Olivier Berger. (Closes: #717805)
  * [f868c43] lsinitramfs: Include -l option in usage message
  * [f4c512e] Add more sanity checks on root device name in dep_add_modules
  * [d58a65b] Support MODULES=dep usage when root was mounted from hidden
    /dev/root (Closes: #689942)
  * [ebf275a] Check for root device's module dependencies at all levels of
    device hierarchy
  * [52abbfb] init: Decide what the real init is immediately before mounting
    /usr
  * [25aa264] init: Fix validation of the real init program
  * [66a141e] init: Resolve both absolute and relative symlinks in
    validate_init
  * [042d7a3] init: Only mount /usr if the real init is systemd
    (Closes: #763157)
  * [d641934] debian/control: Add Breaks: systemd-sysv (<< 186)
  * [305489e] debian/control: Conflict with linux-initramfs-tool
    (Closes: #729800)
  * [fd83e8b] panic: Do not return if reboot fails
  * [c0579f5] hooks/fsck: Add hwclock, related configuration files and udev
    rules (Closes: #763777)
  * [a7bd088] debian/control: Add versioned Depends on util-linux to avoid
    adjusting clock twice
  * [6ae39eb] debian/control: Fix minimum version of util-linux
  * [67e53ea] init: Set and export PATH before running any external commands
  * [8ebce59] Require new klibc-utils or busybox, to get 'readlink -f' and
    'mount -o defaults' (Closes: #762870)


  [ nandhp ]
  * [782d166] Fix handling of root filesystem with LABEL=/
    (/dev/disk/by-label/\x2f) (Closes: #756457)

— Ben Hutchings <ben@decadent.org.uk>  Sat, 04 Oct 2014 17:19:10 +0100

Offline

 

#7  2014-10-06 23:24:42

  P@blo - Nadworny matematyk

P@blo
Nadworny matematyk
Skąd: Wrocław v Jasło
Zarejestrowany: 2010-11-11

Re: [solved]Problem ze wstaniem systemu (A start job is running for)

Tutaj znalazłem że chodzi o opcje CONFIG_FHANDLE w kernelu. Po w kompilowaniu działa na moim jajku. Więc załatwia mi to sprawę z tym 'A start job is running for...' (cokolwiek to robi... Wie ktoś?)

Powyższe naprawia mi jajka dystrybucyjne, więc to dwie niezależne rzeczy. (Sprawdziłem)

Dzięki wielkie.

Rozumiem, że ten busybox musi pozostać w systemie? Tak dla pewności... Może lepsze to klibc-utils? To tymczasowe czy stałe?

I jeszcze pytanie o wi-fi:

Kod:

Oct  6 22:36:02 lena systemd-rfkill[9685]: Failed to get rfkill device 'rfkill3': No such file or directory
Oct  6 22:36:02 lena systemd-rfkill[9689]: Failed to get rfkill device 'rfkill1': No such file or directory
Oct  6 22:36:02 lena alsactl[9699]: /usr/sbin/alsactl: set_control:1325: failed to obtain info for control #22 (No such file or directory)
Oct  6 22:36:02 lena alsactl[9699]: /usr/sbin/alsactl: set_control:1325: failed to obtain info for control #23 (No such file or directory)
Oct  6 22:36:02 lena systemd[1]: Unit systemd-rfkill@rfkill3.service entered failed state.
Oct  6 22:36:02 lena systemd[1]: Unit systemd-rfkill@rfkill1.service entered failed state.
Oct  6 22:36:23 lena samba[9691]: failed!
Oct  6 22:36:23 lena systemd[1]: Unit samba.service entered failed state.
Oct  6 22:36:56 lena kernel: [    0.200715] acpi PNP0A08:00: _OSC failed (AE_SUPPORT); disabling ASPM
Oct  6 22:40:38 lena kernel: [    0.201502] acpi PNP0A08:00: _OSC failed (AE_SUPPORT); disabling ASPM
Oct  6 22:45:40 lena systemd[1]: Failed to start LSB: ensure Samba daemons are started (nmbd and smbd).
Oct  6 22:45:40 lena systemd[1]: Unit samba.service entered failed state.
Oct  6 22:45:53 lena dhclient: dhclient.c:2331: Failed to send 300 byte long packet over fallback interface.
Oct  6 22:45:54 lena dhclient: dhclient.c:2331: Failed to send 300 byte long packet over fallback interface.
Oct  6 22:45:56 lena kernel: [  330.963627] iwlwifi 0000:03:00.0: Command REPLY_RXON failed: FW Error
Oct  6 22:45:56 lena dhclient: dhclient.c:2331: Failed to send 300 byte long packet over fallback interface.
Oct  6 22:52:48 lena kernel: [    0.339220] acpi PNP0A08:00: _OSC failed (AE_SUPPORT); disabling ASPM
Oct  6 22:52:48 lena kernel: [   10.886968] intel_rapl: RAPL domain dram detection failed

Wifi jest nie wykrywane zaraz po wstaniu systemu. Po jakimś czasie (~5min) samo wszystko zaskakuje i działa...

EDIT
Zaraz po wstaniu systemu nie ma neta:

Kod:

23:31:50 lena:~$ sudo ifconfig 
lo        Link encap:Local Loopback  
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:65536  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)

23:32:07 lena:~$ sudo ifconfig -a
eth0      Link encap:Ethernet  HWaddr f0:de:f1:51:ba:2d  
          BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)
          Interrupt:20 Memory:f1500000-f1520000 

lo        Link encap:Local Loopback  
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:65536  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)

sit0      Link encap:IPv6-in-IPv4  
          NOARP  MTU:1480  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)

wlan0     Link encap:Ethernet  HWaddr a0:88:b4:19:2b:10  
          BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)

23:32:14 lena:~$ wicd-curses 
Nie można połączyć się z usługą, nastąpi próba jej automatycznego uruchomienia...
Traceback (most recent call last):
  File "/usr/share/wicd/curses/wicd-curses.py", line 1043, in <module>
    setup_dbus()
  File "/usr/share/wicd/curses/wicd-curses.py", line 1031, in setup_dbus
    dbus_ifaces = dbusmanager.get_dbus_ifaces()
  File "/usr/lib/python2.7/dist-packages/wicd/dbusmanager.py", line 36, in get_dbus_ifaces
    return DBUS_MANAGER.get_dbus_ifaces()
  File "/usr/lib/python2.7/dist-packages/wicd/dbusmanager.py", line 62, in get_dbus_ifaces
    if not self._dbus_ifaces: connect_to_dbus()
  File "/usr/lib/python2.7/dist-packages/wicd/dbusmanager.py", line 48, in connect_to_dbus
    return DBUS_MANAGER.connect_to_dbus()
  File "/usr/lib/python2.7/dist-packages/wicd/dbusmanager.py", line 79, in connect_to_dbus
    proxy_obj = self._bus.get_object("org.wicd.daemon", '/org/wicd/daemon')
  File "/usr/lib/python2.7/dist-packages/dbus/bus.py", line 241, in get_object
    follow_name_owner_changes=follow_name_owner_changes)
  File "/usr/lib/python2.7/dist-packages/dbus/proxies.py", line 248, in __init__
    self._named_service = conn.activate_name_owner(bus_name)
  File "/usr/lib/python2.7/dist-packages/dbus/bus.py", line 180, in activate_name_owner
    self.start_service_by_name(bus_name)
  File "/usr/lib/python2.7/dist-packages/dbus/bus.py", line 278, in start_service_by_name
    'su', (bus_name, flags)))
  File "/usr/lib/python2.7/dist-packages/dbus/connection.py", line 651, in call_blocking
    message, timeout)
dbus.exceptions.DBusException: org.freedesktop.DBus.Error.ServiceUnknown: The name org.wicd.daemon was not provided by any .service files
23:32:22 lena:~$ lsmod |grep iwlwi
iwlwifi                86501  1 iwldvm
cfg80211              413879  3 iwlwifi,mac80211,iwldvm
23:32:34 lena:~$ sudo iwconfig 
eth0      no wireless extensions.

wlan0     IEEE 802.11abgn  ESSID:off/any  
          Mode:Managed  Access Point: Not-Associated   Tx-Power=0 dBm   
          Retry short limit:7   RTS thr:off   Fragment thr:off
          Encryption key:off
          Power Management:off
          
sit0      no wireless extensions.

lo        no wireless extensions.

23:32:51 lena:~$ sudo ifconfig 
lo        Link encap:Local Loopback  
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:65536  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)

23:32:57 lena:~$ sudo ifconfig wlan0 up
23:35:28 lena:~$ sudo ifconfig 
lo        Link encap:Local Loopback  
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:65536  Metric:1
          RX packets:4 errors:0 dropped:0 overruns:0 frame:0
          TX packets:4 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:240 (240.0 B)  TX bytes:240 (240.0 B)

wlan0     Link encap:Ethernet  HWaddr a0:88:b4:19:2b:10  
          UP BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)

I net jest. ??

Ostatnio edytowany przez P@blo (2014-10-06 23:41:26)


ThinkPadX220i
| Procesor: Intel(R) Core(TM) i3-2310M CPU @ 2.10GHz |
|  Debian: sid   |   Arch: amd64   |   Sound: alsa   |
| No DE | WM: DWM  |  DM: .bash_profile  |  BIOS+MBR |

Offline

 

Stopka forum

Powered by PunBB
© Copyright 2002–2005 Rickard Andersson
To nie jest tylko forum, to nasza mała ojczyzna ;-)