Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230

 

 

 

[SOLVED] SDDM fails at boot - Debian 9.5 KDE

If none of the specific sub-forums seem right for your thread, ask here.
Post Reply
Message
Author
Eyvil
Posts: 10
Joined: 2018-08-28 12:02

[SOLVED] SDDM fails at boot - Debian 9.5 KDE

#1 Post by Eyvil »

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.

L_V
Posts: 1477
Joined: 2007-03-19 09:04
Been thanked: 11 times

Re: SDDM fails at boot - Debian 9.5 KDE

#2 Post by L_V »

Please show:

Code: Select all

systemctl cat sddm | grep '^After'
dpkg -l | egrep 'sddm|haveged'

Eyvil
Posts: 10
Joined: 2018-08-28 12:02

Re: SDDM fails at boot - Debian 9.5 KDE

#3 Post by Eyvil »

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

L_V
Posts: 1477
Joined: 2007-03-19 09:04
Been thanked: 11 times

Re: SDDM fails at boot - Debian 9.5 KDE

#4 Post by L_V »

Probably not a sddm problem, but more globally X server

Code: Select all

lspci -k | egrep -iA2 'vga|3d'

Eyvil
Posts: 10
Joined: 2018-08-28 12:02

Re: SDDM fails at boot - Debian 9.5 KDE

#5 Post by Eyvil »

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

L_V
Posts: 1477
Joined: 2007-03-19 09:04
Been thanked: 11 times

Re: SDDM fails at boot - Debian 9.5 KDE

#6 Post by L_V »

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.

Eyvil
Posts: 10
Joined: 2018-08-28 12:02

Re: SDDM fails at boot - Debian 9.5 KDE

#7 Post by Eyvil »

I've tried it, but It didn't change anything. Should I delete haveged now?

L_V
Posts: 1477
Joined: 2007-03-19 09:04
Been thanked: 11 times

Re: SDDM fails at boot - Debian 9.5 KDE

#8 Post by L_V »

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 ?)

Eyvil
Posts: 10
Joined: 2018-08-28 12:02

Re: SDDM fails at boot - Debian 9.5 KDE

#9 Post by Eyvil »

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.

L_V
Posts: 1477
Joined: 2007-03-19 09:04
Been thanked: 11 times

Re: SDDM fails at boot - Debian 9.5 KDE

#10 Post by L_V »

Can you try linux-image-4.17.0-0.bpo.3-amd64 from backports ?

Eyvil
Posts: 10
Joined: 2018-08-28 12:02

Re: SDDM fails at boot - Debian 9.5 KDE

#11 Post by Eyvil »

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.

L_V
Posts: 1477
Joined: 2007-03-19 09:04
Been thanked: 11 times

Re: SDDM fails at boot - Debian 9.5 KDE

#12 Post by L_V »

Then try to add either noapic or acpi=off as kernel boot option.

Eyvil
Posts: 10
Joined: 2018-08-28 12:02

Re: SDDM fails at boot - Debian 9.5 KDE

#13 Post by Eyvil »

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

L_V
Posts: 1477
Joined: 2007-03-19 09:04
Been thanked: 11 times

Re: SDDM fails at boot - Debian 9.5 KDE

#14 Post by L_V »

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"

Eyvil
Posts: 10
Joined: 2018-08-28 12:02

Re: SDDM fails at boot - Debian 9.5 KDE

#15 Post by Eyvil »

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.

L_V
Posts: 1477
Joined: 2007-03-19 09:04
Been thanked: 11 times

Re: SDDM fails at boot - Debian 9.5 KDE

#16 Post by L_V »

I did not write "modprobe -a nvidia", but...

Code: Select all

modprobe -a

Eyvil
Posts: 10
Joined: 2018-08-28 12:02

Re: SDDM fails at boot - Debian 9.5 KDE

#17 Post by Eyvil »

I know, but then I got this messege:

Code: Select all

modprobe: ERROR: missing parameters. See -h.
So I thought you wanted me to think a little bit about how to using the command and adding the missing parameter by myself. Sorry.

L_V
Posts: 1477
Joined: 2007-03-19 09:04
Been thanked: 11 times

Re: SDDM fails at boot - Debian 9.5 KDE

#18 Post by L_V »

Code: Select all

dpkg -l | grep nvidia
Can you try to purge all related to nvidia, then reinstall ?

Eyvil
Posts: 10
Joined: 2018-08-28 12:02

Re: SDDM fails at boot - Debian 9.5 KDE

#19 Post by Eyvil »

Finally, this was it. Thanks for all your help! The best thing, I've learned some things today.

I'm now using the Kernel from stretch-backports, I hope I didn't regret this decision later. :lol:

L_V
Posts: 1477
Joined: 2007-03-19 09:04
Been thanked: 11 times

Re: [SOLVED] SDDM fails at boot - Debian 9.5 KDE

#20 Post by L_V »

You're welcome man.

Post Reply