Rootserver Sponsor

webtropia"

Donations

Please support your operating system's further development:

donate"

Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Author Message
BarlafussOffline
Post subject: [SOLVED]boot stops with systemd, all fine in sysvinit boot  PostPosted: 25.06.2015, 19:24



Joined: 2010-09-14
Posts: 65

Status: Offline
hello to all, i have to choose to boot in sysvinit at grub prompt, otherwise my linuxbox falls in emergency mode console.
I did last update on June, 21st, without any apparent issue.
my aptosid:

      Code:

System:    Host: Obelix Kernel: 3.18.0-4.slh.2-aptosid-amd64 x86_64 (64 bit)
           Desktop: KDE 4.14.3 Distro: aptosid 2011-02 Ἡμέρα - kde-lite - (201107131633)
Machine:   Mobo: ASUSTeK model: P8P67 version: Rev 1.xx Bios: American Megatrends version: 1503 date: 03/10/2011
CPU:       Quad core Intel Core i5-2400 CPU (-MCP-) clocked at 1604.128 MHz
Graphics:  Card: NVIDIA GF108 [GeForce GT 440] X.Org: 1.16.0 driver: nvidia Resolution: 1280x1024@60.02hz
           GLX Renderer: GeForce GT 440/PCIe/SSE2 GLX Version: 4.5.0 NVIDIA 346.35
Network:   Card: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller driver: r8169
Drives:    HDD Total Size: 500.1GB (72.9% used) 1: model: WDC_WD5000AAKX
Info:      Processes: 255 Uptime: 2:52 Memory: 1638.6/7967.4MB Client: Shell (bash)


systemd installed packages
      Code:
ii  libpam-systemd:amd64                       220-7                                 amd64        system and service manager - PAM module                                                                                           
ii  libsystemd-daemon0:amd64                   215-18                                amd64        systemd utility library (deprecated)                                                                                             
ii  libsystemd-id128-0:amd64                   215-18                                amd64        systemd 128 bit ID utility library (deprecated)
ii  libsystemd-id128-0:i386                    215-18                                i386         systemd 128 bit ID utility library (deprecated)
ii  libsystemd-journal0:amd64                  215-18                                amd64        systemd journal utility library (deprecated)
ii  libsystemd-journal0:i386                   215-18                                i386         systemd journal utility library (deprecated)
ii  libsystemd-login0:amd64                    215-18                                amd64        systemd login utility library (deprecated)
ii  libsystemd0:amd64                          220-7                                 amd64        systemd utility library
ii  libsystemd0:i386                           220-7                                 i386         systemd utility library
ii  systemd                                    220-7                                 amd64        system and service manager
ii  systemd-sysv                               220-7                                 amd64        system and service manager - SysV links


Any idea what is wrong ?
thanks


Last edited by Barlafuss on 30.06.2015, 17:06; edited 1 time in total
 
 View user's profile Send private message  
Reply with quote Back to top
bfreeOffline
Post subject: RE: boot stops with systemd, all fine in sysvinit boot  PostPosted: 25.06.2015, 23:12
Team Member


Joined: 2010-08-26
Posts: 267

Status: Offline
3.18 kernel is the first thing which smells funny is that an old kernel or do you not have anything newer? It might have a mismatch between it's initramfs and the current systemd/udev. Rebuilding the initramfs, or saner still just install the latest kernel and get a fresh initramfs with it, might be all that's needed. Of course now I notice you are using the nvidia driver and I've no idea what it's status is with a current mainline kernel.

The second obviously funny thing is the multi-arch mess around systemd. The fact everything isn't on the same version (220-7) could be your problem. Do you need i386 systemd on there (I'd be curious why if you do) because if you don't I'd remove it. Could be enough to get things back to normal.

If that still hasn't got you any further you should try and find some error messages or poke in the logs/journals when it fails to boot and drops you in rescue mode.
 
 View user's profile Send private message  
Reply with quote Back to top
BarlafussOffline
Post subject: RE: boot stops with systemd, all fine in sysvinit boot  PostPosted: 26.06.2015, 18:56



Joined: 2010-09-14
Posts: 65

Status: Offline
Thanks bfree for the support !
I'm used to update kernel NOT at the earlier versions of new revision ( due to proprietary drivers ...).
Anyway, I updated today to 4.1.0, without improving my linubox issue.
I collected dmesg info, in case it could give any hint to understand something more :
boot KO with kernel 3.18 http://pastebin.com/fTbeq801
boot KO with kernel 4.1 http://pastebin.com/PHKtTPsn
OK boot in sysvinit k 3.18 http://pastebin.com/dLLCZgtd

It is not really fully OK in sysvinit boot, I lost "computer standby" functionality, but at the moment is not a major issue (it is a desktop, not a laptop)...

I followed also your suggestion on systemd:i386 and i removed all them (three 32bit packages). I needed multiarch in the past for Skype, but soon or late I remove 32 bit packages, for sure.
Unfortunately no progress up to now.

Again thanks,
Barlafuss
 
 View user's profile Send private message  
Reply with quote Back to top
bfreeOffline
Post subject: RE: boot stops with systemd, all fine in sysvinit boot  PostPosted: 27.06.2015, 10:58
Team Member


Joined: 2010-08-26
Posts: 267

Status: Offline
No sign of anything in dmesg at a quick glance, but I wouldn't really expect anything there. You might see something on screen (i.e. an error) when it drops you to the emergency shell or the output from running journalctl will probably show what the problem is.

Just to be clear, you did just do a full dist-upgrade right?
 
 View user's profile Send private message  
Reply with quote Back to top
BarlafussOffline
Post subject: RE: boot stops with systemd, all fine in sysvinit boot  PostPosted: 27.06.2015, 13:28



Joined: 2010-09-14
Posts: 65

Status: Offline
Yes, I did
      Code:
sudo apt-get dist-upgrade

There are some held packages due to the fact I prefer keep in hold
      Code:
amule amule-common xserver-xorg xserver-xorg-core
for upgrading them only when I want really to do so. All are packages related to Amule and/or xserver-xorg, with the exception of libglib2.0-0, but is seems to me not related to systemd.

I attach a screenshot (by phone, i do not how do to otherwise) of errors displayed when boot falls in console.

After the cleaning suggested by You (i386 and deprecated packages), this is the status of systemd packages in my linuxbox:
      Code:
ii  libpam-systemd:amd64                       220-7
ii  libsystemd0:amd64                          220-7
ii  systemd                                    220-7
ii  systemd-sysv                               220-7


while if I check for all possible systemd packages in database, here is the list :
      Code:
libghc-libsystemd-journal-prof - Haskell bindings to libsystemd-journal; profiling libraries
dh-systemd - debhelper add-on to handle systemd unit files
live-config-systemd - Live System Configuration Components (systemd backend)
libsystemd-daemon-dev - systemd utility library (transitional package)
libsystemd-dev - systemd utility library - development files
libsystemd-id128-dev - systemd 128 bit ID utility library (transitional package)
libsystemd-journal-dev - systemd journal utility library (transitional package)
libsystemd-login-dev - systemd login utility library (transitional package)
python3-systemd - Python 3 bindings for systemd
systemd-dbg - system and service manager (debug symbols)
systemd-cron - systemd units to provide cron daemon & anacron functionality
systemd-shim - shim for systemd
systemd-gui - transitional package for systemd-ui
systemd-ui - graphical frontend for systemd


Anything surely "missing" or strong recommended?

Thanks again



Boot_KO.jpg
 Description:
schreenshot by phone
 Filesize:  150.46 KB
 Viewed:  38266 Time(s)

Boot_KO.jpg


 
 View user's profile Send private message  
Reply with quote Back to top
bfreeOffline
Post subject: RE: boot stops with systemd, all fine in sysvinit boot  PostPosted: 28.06.2015, 20:12
Team Member


Joined: 2010-08-26
Posts: 267

Status: Offline
"Failed to mount /proc/bus/usb" and "local-fs.target has failed" both hint to me you have something "funny" in your fstab? systemd is unforgiving of "bad" fstab data.
 
 View user's profile Send private message  
Reply with quote Back to top
BarlafussOffline
Post subject: RE: boot stops with systemd, all fine in sysvinit boot  PostPosted: 29.06.2015, 16:30



Joined: 2010-09-14
Posts: 65

Status: Offline
mmh, nothing so strange I believe :
      Code:
cat /etc/fstab
UUID=11cc9526-7413-4bc8-8f22-bfc73c972845     /media/disk1part1    ext4         auto,users,rw,exec,relatime                   0    0   
UUID=6131d4f9-dafb-4623-bf0b-7a17e4fec6aa     /                    ext4         defaults,relatime,errors=remount-ro           0    1   
UUID=ab5baef3-6928-401a-adde-09c922378c2a     /media/disk1part4    ext4         auto,users,rw,exec,relatime                   0    0   
UUID=ffef2f37-e929-48f0-a998-a28b09cad360     none                 swap         sw                                            0    0   
# added for virtualbox
usbfs /proc/bus/usb usbfs defaults,devmode=666 0 0


Anyway, I could try to comment usbfs entry.

Concerning systemd packages, do You have in your linuxbox further ones compared to my 4 installed ones?

Thanks
 
 View user's profile Send private message  
Reply with quote Back to top
finottiOffline
Post subject: RE: boot stops with systemd, all fine in sysvinit boot  PostPosted: 29.06.2015, 16:34



Joined: 2010-09-12
Posts: 484

Status: Offline
Just to make sure: did you compare the fstab entries with
      Code:

$ ls -l /dev/disk/by-uuid/
 
 View user's profile Send private message  
Reply with quote Back to top
BarlafussOffline
Post subject: RE: boot stops with systemd, all fine in sysvinit boot  PostPosted: 29.06.2015, 17:10



Joined: 2010-09-14
Posts: 65

Status: Offline
not yet, so I did: all OK
      Code:

ls -l /dev/disk/by-uuid/
total 0
lrwxrwxrwx 1 root root 10 Jun 27 12:24 11cc9526-7413-4bc8-8f22-bfc73c972845 -> ../../sda1
lrwxrwxrwx 1 root root 10 Jun 27 12:24 6131d4f9-dafb-4623-bf0b-7a17e4fec6aa -> ../../sda3
lrwxrwxrwx 1 root root 10 Jun 27 12:24 ab5baef3-6928-401a-adde-09c922378c2a -> ../../sda4
lrwxrwxrwx 1 root root 10 Jun 27 12:24 ffef2f37-e929-48f0-a998-a28b09cad360 -> ../../sda5
 
 View user's profile Send private message  
Reply with quote Back to top
slhOffline
Post subject: RE: boot stops with systemd, all fine in sysvinit boot  PostPosted: 29.06.2015, 17:43



Joined: 2010-08-25
Posts: 957

Status: Offline
Remove "usbfs /proc/bus/usb usbfs defaults,devmode=666 0 0", at least for testing (see #779057).
 
 View user's profile Send private message  
Reply with quote Back to top
BarlafussOffline
Post subject: RE: boot stops with systemd, all fine in sysvinit boot  PostPosted: 29.06.2015, 19:26



Joined: 2010-09-14
Posts: 65

Status: Offline
Bingo ! Smile

Removing usbfs from fstab did the trick.
In addition,now I still have back the "hibernation" functionality.

Next step I'll check the behavior with Kernel 4.1 (in these days I have been working with 3.18 where the situation was better).

Thanks for supporting me to slh, finotti and, special mention, bfree Very Happy

[After next check with kernel, I'll close the post]
 
 View user's profile Send private message  
Reply with quote Back to top
BarlafussOffline
Post subject: RE: boot stops with systemd, all fine in sysvinit boot  PostPosted: 30.06.2015, 17:07



Joined: 2010-09-14
Posts: 65

Status: Offline
all fine !
Regards
 
 View user's profile Send private message  
Reply with quote Back to top
Display posts from previous:     
Jump to:  
All times are GMT - 12 Hours
Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Powered by Zafenio