[SOLVED] SDDM fails at boot - Debian 9.5 KDE

If none of the more specific forums is the right place to ask

[SOLVED] SDDM fails at boot - Debian 9.5 KDE

Postby Eyvil » 2018-08-29 08:03

Hello, in the new Kernel Version 4.9.0-8-amd64 sddm won't start. With the old kernel Version 4.9.0-7-amd64 it is just fine. I am using a GTX 660 ti with the driver Version 384.130. I have invested some time in searching but I can't figure out the Problem.

Output of: cat /etc/X11/default-display-manager
Code: Select all
/usr/bin/sddm


Output of systemctl status sddm.service in rocovery mode of 4.9.0-8-amd64
Code: Select all
● sddm.service - Simple Desktop Display Manager
   Loaded: loaded (/lib/systemd/system/sddm.service; enabled; vendor preset: enabled)
   Active: failed (Result: signal) since Wed 2018-08-29 09:49:28 CEST; 3min 0s ago
     Docs: man:sddm(1)
           man:sddm.conf(5)
  Process: 744 ExecStart=/usr/bin/sddm (code=killed, signal=ABRT)
  Process: 741 ExecStartPre=/bin/sh -c [ "$(cat /etc/X11/default-display-manager 2>/dev/null)" = "/usr/bin/sddm" ] (code=exited, status=0/SUCCESS)
 Main PID: 744 (code=killed, signal=ABRT)

Aug 29 09:49:27 Staubsauger systemd[1]: sddm.service: Failed with result 'signal'.
Aug 29 09:49:28 Staubsauger systemd[1]: sddm.service: Service hold-off time over, scheduling restart.
Aug 29 09:49:28 Staubsauger systemd[1]: Stopped Simple Desktop Display Manager.
Aug 29 09:49:28 Staubsauger systemd[1]: sddm.service: Start request repeated too quickly.
Aug 29 09:49:28 Staubsauger systemd[1]: Failed to start Simple Desktop Display Manager.
Aug 29 09:49:28 Staubsauger systemd[1]: sddm.service: Unit entered failed state.
Aug 29 09:49:28 Staubsauger systemd[1]: sddm.service: Failed with result 'signal'.


I have trief dpkg-reconfigure sddm in recovery mode of 4.9.0-8-amd64, but it didn't worked for me.

I every time get an error when I try to add my journalctl - b output as attachment, so I copied it to pastebin: https://pastebin.com/eje6rv2D
Last edited by Eyvil on 2018-08-29 13:57, edited 1 time in total.
Eyvil
 
Posts: 10
Joined: 2018-08-28 12:02

Re: SDDM fails at boot - Debian 9.5 KDE

Postby L_V » 2018-08-29 08:46

Please show:
Code: Select all
systemctl cat sddm | grep '^After'
dpkg -l | egrep 'sddm|haveged'
L_V
 
Posts: 799
Joined: 2007-03-19 09:04

Re: SDDM fails at boot - Debian 9.5 KDE

Postby Eyvil » 2018-08-29 09:30

systemctl cat sddm | grep '^After'
Code: Select all
After=getty@tty7.service
After=systemd-user-sessions.service


dpkg -l | egrep 'sddm|haveged'
Code: Select all
ii  kde-config-sddm                               4:5.8.4-1                                   amd64        KCM module for SDDM
ii  sddm                                          0.14.0-4                                    amd64        modern display manager for X11
ii  sddm-theme-debian-maui                        0.14.0-4                                    all          'Debian Maui' theme for SDDM X11 display manager
Eyvil
 
Posts: 10
Joined: 2018-08-28 12:02

Re: SDDM fails at boot - Debian 9.5 KDE

Postby L_V » 2018-08-29 09:37

Probably not a sddm problem, but more globally X server
Code: Select all
lspci -k | egrep -iA2 'vga|3d'
L_V
 
Posts: 799
Joined: 2007-03-19 09:04

Re: SDDM fails at boot - Debian 9.5 KDE

Postby Eyvil » 2018-08-29 09:46

lspci -k | egrep -iA2 'vga|3d'
Code: Select all
01:00.0 VGA compatible controller: NVIDIA Corporation GK104 [GeForce GTX 660 Ti] (rev a1)
   Subsystem: ZOTAC International (MCO) Ltd. GK104 [GeForce GTX 660 Ti]
   Kernel modules: nvidia
Eyvil
 
Posts: 10
Joined: 2018-08-28 12:02

Re: SDDM fails at boot - Debian 9.5 KDE

Postby L_V » 2018-08-29 09:55

Could you try something...
Install haveged

In [unit] section of /lib/systemd/system/sddm.service , add this line:
Code: Select all
After=haveged.service

then,
Code: Select all
sudo systemctl enable haveged

... and reboot.
L_V
 
Posts: 799
Joined: 2007-03-19 09:04

Re: SDDM fails at boot - Debian 9.5 KDE

Postby Eyvil » 2018-08-29 10:06

I've tried it, but It didn't change anything. Should I delete haveged now?
Eyvil
 
Posts: 10
Joined: 2018-08-28 12:02

Re: SDDM fails at boot - Debian 9.5 KDE

Postby L_V » 2018-08-29 10:10

May be keep haveged for the moment (it has been added in newest release of SDDM).

Don't you have an other desktop session to use to confirm X is correctly started ?
Or try to see what happen with another session manager ? (lightdm ?)
L_V
 
Posts: 799
Joined: 2007-03-19 09:04

Re: SDDM fails at boot - Debian 9.5 KDE

Postby Eyvil » 2018-08-29 10:24

L_V wrote:Don't you have an other desktop session to use to confirm X is correctly started ?

I'm not 100% if you mean that, but I can boot the Kernel with the Version 4.9.0-7-amd64, just 4.9.0-8-amd64 won't work.

L_V wrote:Or try to see what happen with another session manager ? (lightdm ?)

I tried it at this moment, and lightdm didn't work too on 4.9.0-8-amd64, on 4.9.0-7-amd64 just fine.

Before I wrote this thread, I tried to reinstall the Kernel, but that didn't work.
Eyvil
 
Posts: 10
Joined: 2018-08-28 12:02

Re: SDDM fails at boot - Debian 9.5 KDE

Postby L_V » 2018-08-29 10:33

Can you try linux-image-4.17.0-0.bpo.3-amd64 from backports ?
L_V
 
Posts: 799
Joined: 2007-03-19 09:04

Re: SDDM fails at boot - Debian 9.5 KDE

Postby Eyvil » 2018-08-29 11:03

I've installed linux-image-4.17.0-0.bpo.3-amd64, didn't work. Then I tried to install an older kernel 4.9.0-6-amd64, that kernel works. So it seems that just new kernels won't work.

And I don't know if it is a necressary information but the boot every time stuck for a few seconds with ACPI Errors.
https://i.imgur.com/Nr1Fzrq.jpg
it is just a handy Screen, but at line 756 of the journalctlb.txt file I uploaded in the first post you can read that Errors.
Eyvil
 
Posts: 10
Joined: 2018-08-28 12:02

Re: SDDM fails at boot - Debian 9.5 KDE

Postby L_V » 2018-08-29 11:35

Then try to add either noapic or acpi=off as kernel boot option.
L_V
 
Posts: 799
Joined: 2007-03-19 09:04

Re: SDDM fails at boot - Debian 9.5 KDE

Postby Eyvil » 2018-08-29 12:08

That fixes the ACPI errors on booting. But the newer kernel versions won't run.

I tried again journalctl -b and I have red marked lines on:
732 - 737
Code: Select all
Aug 29 14:36:04 Staubsauger kernel: ata1.00: exception Emask 0x0 SAct 0x20000 SErr 0x400001 action 0x6 frozen
Aug 29 14:36:04 Staubsauger kernel: ata1: SError: { RecovData Handshk }
Aug 29 14:36:04 Staubsauger kernel: ata1.00: failed command: READ FPDMA QUEUED
Aug 29 14:36:04 Staubsauger kernel: ata1.00: cmd 60/00:88:00:8d:20/01:00:1c:00:00/40 tag 17 ncq dma 131072 in
                                             res 40/00:00:00:00:00/00:00:00:00:00/00 Emask 0x4 (timeout)
Aug 29 14:36:04 Staubsauger kernel: ata1.00: status: { DRDY }


769 and 771 and 785
Code: Select all
Aug 29 14:36:04 Staubsauger systemd-modules-load[243]: Error running install command for nvidia_drm
Aug 29 14:36:04 Staubsauger systemd-modules-load[243]: modprobe: FATAL: Module nvidia-current-modeset not found in directory /lib/modules/4.9.0-8-amd64
Aug 29 14:36:04 Staubsauger systemd-modules-load[243]: Failed to insert 'nvidia_drm': Operation not permitted
[...]
Aug 29 14:36:04 Staubsauger systemd-udevd[317]: Error running install command for nvidia


910
Code: Select all
Aug 29 14:36:06 Staubsauger avahi-daemon[498]: chroot.c: open() failed: No such file or directory


1012
Code: Select all
Aug 29 14:36:06 Staubsauger sddm[525]: Display server failed to start. Exiting

this error repeats on 1028, 1043, 1113, and 1126.

And after ROOT LOGIN I get an error like in line 732 - 737.

Here the complete journalctl file: https://pastebin.com/S0FyTDLL
Eyvil
 
Posts: 10
Joined: 2018-08-28 12:02

Re: SDDM fails at boot - Debian 9.5 KDE

Postby L_V » 2018-08-29 12:14

Just hope you don't try to launch X server as "root' user.

+ try
Code: Select all
modprobe -a

It seems to have a nvidia module problem.
" Error running install command for nvidia"
L_V
 
Posts: 799
Joined: 2007-03-19 09:04

Re: SDDM fails at boot - Debian 9.5 KDE

Postby Eyvil » 2018-08-29 12:45

L_V wrote:Just hope you don't try to launch X server as "root' user.

I don't know what exactly you mean. I never tried to launch the X Server manuelly. The systen does it on boot.

L_V wrote:+ try
Code: Select all
modprobe -a

It seems to have a nvidia module problem.
" Error running install command for nvidia"


When I write modprobe -a nvidia, there stands nothing. I tried then modinfo nvidia and get that error:
Code: Select all
modinfo: ERROR: Module nvidia not found.


But when I'm looking at my kmod list there is an entry for nvidia.
Eyvil
 
Posts: 10
Joined: 2018-08-28 12:02

Next

Return to General Questions

Who is online

Users browsing this forum: No registered users and 8 guests

fashionable