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: [url=http://pablo.sh.dug.net.pl/public/20141005_215000.jpg]link do fotki[/url]

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: [url=http://pablo.sh.dug.net.pl/public/20141005_214737.jpg]link do zdjęcia[/url]. Co to jest? Co się dzieje? Później tylko jest emergency mode w którym pisze ze należy wykonać [tt]journalctl -xb[/tt]  z którego mam to: [url=http://wklej.dug.net.pl/4890]journalctl -xb[/url]. 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)


[tt]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 |[/tt]

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)

https://forum.dug.net.pl/viewtopic.php?id=26484

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)


[tt]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 |[/tt]

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[/quote]

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)


[tt]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 |[/tt]

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: [bug]762870[/bug]
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
  [b]* [8ebce59] Require new klibc-utils or busybox, to get 'readlink -f' and
    'mount -o defaults' (Closes: #762870)[/b]

  [ 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[/quote]

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)

[url=http://unix.stackexchange.com/questions/123464/cant-boot-system-with-systemd-version-above-208]Tutaj znalazłem że chodzi o opcje CONFIG_FHANDLE w kernelu.[/url] 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.

[u]Rozumiem, że ten busybox musi pozostać w systemie?[/u] 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...

[b]EDIT[/b]
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)


[tt]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 |[/tt]

Offline

 

Stopka forum

Powered by PunBB
© Copyright 2002–2005 Rickard Andersson
Nas ludzie lubią po prostu, a nie klikając w przyciski ;-)

[ Generated in 0.011 seconds, 11 queries executed ]

Informacje debugowania

Time (s) Query
0.00012 SET CHARSET latin2
0.00007 SET NAMES latin2
0.00106 SELECT u.*, g.*, o.logged FROM punbb_users AS u INNER JOIN punbb_groups AS g ON u.group_id=g.g_id LEFT JOIN punbb_online AS o ON o.ident='3.21.46.78' WHERE u.id=1
0.00086 REPLACE INTO punbb_online (user_id, ident, logged) VALUES(1, '3.21.46.78', 1728249784)
0.00051 SELECT * FROM punbb_online WHERE logged<1728249484
0.00073 SELECT topic_id FROM punbb_posts WHERE id=277044
0.00005 SELECT id FROM punbb_posts WHERE topic_id=26509 ORDER BY posted
0.00073 SELECT t.subject, t.closed, t.num_replies, t.sticky, f.id AS forum_id, f.forum_name, f.moderators, fp.post_replies, 0 FROM punbb_topics AS t INNER JOIN punbb_forums AS f ON f.id=t.forum_id LEFT JOIN punbb_forum_perms AS fp ON (fp.forum_id=f.id AND fp.group_id=3) WHERE (fp.read_forum IS NULL OR fp.read_forum=1) AND t.id=26509 AND t.moved_to IS NULL
0.00008 SELECT search_for, replace_with FROM punbb_censoring
0.00232 SELECT u.email, u.title, u.url, u.location, u.use_avatar, u.signature, u.email_setting, u.num_posts, u.registered, u.admin_note, p.id, p.poster AS username, p.poster_id, p.poster_ip, p.poster_email, p.message, p.hide_smilies, p.posted, p.edited, p.edited_by, g.g_id, g.g_user_title, o.user_id AS is_online FROM punbb_posts AS p INNER JOIN punbb_users AS u ON u.id=p.poster_id INNER JOIN punbb_groups AS g ON g.g_id=u.group_id LEFT JOIN punbb_online AS o ON (o.user_id=u.id AND o.user_id!=1 AND o.idle=0) WHERE p.topic_id=26509 ORDER BY p.id LIMIT 0,25
0.00121 UPDATE punbb_topics SET num_views=num_views+1 WHERE id=26509
Total query time: 0.00774 s