LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware > Slackware - Installation
User Name
Password
Slackware - Installation This forum is for the discussion of installation issues with Slackware.

Notices


Reply
  Search this Thread
Old 07-22-2022, 01:17 PM   #1
BernieK
LQ Newbie
 
Registered: Mar 2021
Posts: 21

Rep: Reputation: Disabled
[bug] Slackware 15.0 : power-saving transistions cause the Linux kernel to crash


Linux kernel 5.15.38 (x86_64) intermittently crashes during power-saving transitions when Xorg 1.20.14 is running with DPMS. The problem is most pronounced during transitions triggered by the "Offtime" setting in /etc/X11/xorg.conf

Code:
# in the Monitor section
Option  "DPMS"  "true"   # the default

# in the ServerFlags section
BlankTime     3
StandbyTime   5   # only uncommented when the DPMS option is "true"
SuspendTime  10   # only uncommented when the DPMS option is "true"
Offtime      30   # only uncommented when the DPMS option is "true"
There are no inactivity/power-management related kernel crashes when the X server is not running.

Last edited by BernieK; 07-22-2022 at 01:26 PM.
 
Old 07-22-2022, 01:47 PM   #2
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 16,350

Rep: Reputation: 2331Reputation: 2331Reputation: 2331Reputation: 2331Reputation: 2331Reputation: 2331Reputation: 2331Reputation: 2331Reputation: 2331Reputation: 2331Reputation: 2331
Personally, I'd comment out the standby, which leaves 90% of power usage. I'd comment out the off time unless you're on a battery only laptop. There's usually a power manager in the window manager, and I wouldn't leave power management to the X server. So really, all those server flags could go.

Don't have us guessing blind. What window manager? You can leverage opinions of people using a similar setup.

Last edited by business_kid; 07-22-2022 at 01:51 PM.
 
Old 07-22-2022, 02:10 PM   #3
BernieK
LQ Newbie
 
Registered: Mar 2021
Posts: 21

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by business_kid View Post
What window manager?
fvwm
 
Old 07-23-2022, 10:03 AM   #4
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 16,350

Rep: Reputation: 2331Reputation: 2331Reputation: 2331Reputation: 2331Reputation: 2331Reputation: 2331Reputation: 2331Reputation: 2331Reputation: 2331Reputation: 2331Reputation: 2331
Quote:
Originally Posted by BernieK View Post
fvwm
Last time I used that it was pretty dumb. Try working with the suspend.

I have xfce, and it's got everything linked off the menu: Logout, suspend, hibernate,restart & shutdown.
 
Old 08-13-2022, 07:10 PM   #5
BernieK
LQ Newbie
 
Registered: Mar 2021
Posts: 21

Original Poster
Rep: Reputation: Disabled
[ correction per business_kid (thanks!) ]
It appears upowerd is the daemon between the X server (Xorg) and the Linux kernel proper which is causing the kernel to crash during power-saving transitions which occur while the X server is running. Associated extracts from /var/log/messages* follow:

messages.2:May 17 23:51:09 luna kernel: upowerd[7764]: segfault at 28 ip 000055fb7f138a2e sp 00007fff5b96cd20 error 4 in upowerd[55fb7f135000+1d000]
messages.2:May 23 19:05:55 luna kernel: upowerd[4666]: segfault at 28 ip 000055accc47aa2e sp 00007ffc2f26fa40 error 4 in upowerd[55accc477000+1d000]
messages.2:May 24 19:49:09 luna kernel: upowerd[4348]: segfault at 28 ip 00005605e0ec6a2e sp 00007ffe28f483a0 error 4 in upowerd[5605e0ec3000+1d000]
messages.2:May 25 19:53:21 luna kernel: upowerd[2382]: segfault at 28 ip 0000558adb044a2e sp 00007ffcf0c1f300 error 4 in upowerd[558adb041000+1d000]
. . .
. . .
. . .
messages:Aug 21 17:13:43 luna kernel: upowerd[3543]: segfault at 28 ip 000055fbd5002a2e sp 00007ffc2166b3f0 error 4 in upowerd[55fbd4fff000+1d000]
messages:Aug 22 17:48:38 luna kernel: upowerd[8079]: segfault at 28 ip 00005585fe7a5a2e sp 00007ffe6898c9c0 error 4 in upowerd[5585fe7a2000+1d000]
messages:Aug 23 17:55:09 luna kernel: upowerd[3804]: segfault at 28 ip 000055cecae2ba2e sp 00007ffe8836ae50 error 4 in upowerd[55cecae28000+1d000]
messages:Aug 26 19:09:08 luna kernel: upowerd[7630]: segfault at 28 ip 00005643dbde1a2e sp 00007ffd41151f40 error 4 in upowerd[5643dbdde000+1d000]

Last edited by BernieK; 08-27-2022 at 03:29 PM.
 
Old 08-14-2022, 03:55 AM   #6
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 16,350

Rep: Reputation: 2331Reputation: 2331Reputation: 2331Reputation: 2331Reputation: 2331Reputation: 2331Reputation: 2331Reputation: 2331Reputation: 2331Reputation: 2331Reputation: 2331
Things ending in 'd' are usually daemons, or servers. It has it's own man page. Dbus owns & starts it.

Error 4 is an 'interrupted system call.' Upowerd segfaulting sounds like an interruption to me. I'd upgrade or reinstall dbus and see if that helps. Maybe the kernel too.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[bug] Slackware 15.0 : power-saving transistions cause Xorg to crash BernieK Slackware - Installation 3 10-03-2022 03:24 PM
[SOLVED] Root server crash: hunting down the cause of the crash kikinovak Slackware 15 01-29-2014 04:22 PM
crash () { crash|crash& }; crash grob115 Linux - Security 6 05-07-2011 03:06 AM
Power-saving power extension cables? (UK) neocookie General 3 03-28-2007 02:53 PM
Crash, Crash, Crash, Crash and You Guessed it Crash! little_penguin SUSE / openSUSE 8 07-04-2005 09:34 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware > Slackware - Installation

All times are GMT -5. The time now is 06:58 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration