LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 02-07-2018, 08:04 PM   #1
upnort
Senior Member
 
Registered: Oct 2014
Distribution: Slackware
Posts: 1,893

Rep: Reputation: 1162Reputation: 1162Reputation: 1162Reputation: 1162Reputation: 1162Reputation: 1162Reputation: 1162Reputation: 1162Reputation: 1162
Regression: Suspend fails with 4.4.115 kernel in 14.2?


I updated Slackware 14.2 64-bit on my Thinkpad T400. I no longer can suspend the system.

Looking into the logs indicates the regression is at line 301 in /usr/lib64/pm-utils/pm-functions:

Code:
echo mem > /sys/power/state
Trying to execute that same command in a terminal results in:

Code:
echo: write error: Resource temporarily unavailable
Permissions of /sys/power/state are 644 with the contents of freeze mem disk.

Suspend works fine when booting with 4.4.111, but that has a regression with the e1000e kernel module.

Anybody else seeing this regression?

Edit: Rebuilding acpid and pm-utils against the new kernel and gcc did not help. Compiling acpid 2.0.28 did not help.

Edit: Suspend works with the 4.4.113 and 4.4.114 kernels. Looks like the regression appeared in 4.4.115. I compiled the 113 and 114 kernels with the new gcc.

Edit: The bug affects all three of my Intel systems: 1) Quad core Intel Core i5-6400, 2) Intel Celeron 1037U, 3) T400 Dual core Intel Core2 Duo P8400

Last edited by upnort; 02-08-2018 at 05:47 PM.
 
Old 02-08-2018, 09:16 AM   #2
magicm
Member
 
Registered: May 2003
Distribution: Slackware
Posts: 237

Rep: Reputation: 152Reputation: 152
I am not seeing this regression. Suspend/Resume seems to work fine for me:

System: Host: igloo.magicm.net Kernel: 4.4.115 x86_64 bits: 64 Desktop: Xfce 4.12.3 Distro: Slackware 14.2
Machine: Device: laptop System: LENOVO product: 4170CTO v: ThinkPad T420s serial: xxxxxx
Mobo: LENOVO model: 4170CTO serial: xxxxxxx
UEFI [Legacy]: LENOVO v: 8CET57WW (1.37 ) date: 04/11/2013

Did no custom rebuilding (unless you count regenerating initrd)
 
1 members found this post helpful.
Old 02-08-2018, 04:23 PM   #3
Lysander666
Senior Member
 
Registered: Apr 2017
Location: The Underearth
Distribution: Ubuntu, Debian, Slackware
Posts: 2,178
Blog Entries: 6

Rep: Reputation: 2470Reputation: 2470Reputation: 2470Reputation: 2470Reputation: 2470Reputation: 2470Reputation: 2470Reputation: 2470Reputation: 2470Reputation: 2470Reputation: 2470
Suspend/resume work OK for me as well on 32bit Slack.

Code:
System:    Host: lysurfer_viii.netstark Kernel: 4.4.115-smp i686 bits: 32
           Desktop: LXDE (Openbox 3.6.1) Distro: Slackware 14.2
Machine:   Device: laptop System: SAMSUNG product: NC10/N110 serial: N/A
           Mobo: SAMSUNG model: NC10/N110 serial: N/A
           BIOS: Phoenix v: 07D0.M012.20090908.RHU date: 09/08/2009
CPU:       Single core Intel Atom N270 (-MT-) cache: 512 KB
           clock speeds: max: 1600 MHz 1: 1600 MHz 2: 1067 MHz
Info:      Processes: 162 Uptime: 1:38 Memory: 506.9/2006.3MB
           Client: Shell (bash) inxi: 2.3.53

Last edited by Lysander666; 02-08-2018 at 04:34 PM.
 
Old 02-08-2018, 05:22 PM   #4
upnort
Senior Member
 
Registered: Oct 2014
Distribution: Slackware
Posts: 1,893

Original Poster
Rep: Reputation: 1162Reputation: 1162Reputation: 1162Reputation: 1162Reputation: 1162Reputation: 1162Reputation: 1162Reputation: 1162Reputation: 1162
I updated my original post with CPU information. Circumstantially seems like I have configured something in common with all three Intel systems that 4.4.115 does not like. Still looking.

Open to any ideas!

Last edited by upnort; 02-08-2018 at 05:24 PM.
 
Old 02-08-2018, 09:41 PM   #5
upnort
Senior Member
 
Registered: Oct 2014
Distribution: Slackware
Posts: 1,893

Original Poster
Rep: Reputation: 1162Reputation: 1162Reputation: 1162Reputation: 1162Reputation: 1162Reputation: 1162Reputation: 1162Reputation: 1162Reputation: 1162
Root cause found

Well! This is a good one!

The culprit is /etc/rc.d/rc.alsa-oss.

I had the file chmod +x. Been that way, oh, years.

After disabling the script and rebooting, suspend again works just like previously.

I can suspend multiple times, manually execute rc.alsa-oss, and boom that blocks the suspend.

Can anybody else confirm this odd behavior?

I believe the problem child is the snd_seq_oss module. I can manually rmmod the other two modules loaded by rc.alsa-oss. I am unable to remove the snd_seq_oss module. I suspect that is why the suspend times out and fails.

Before I tag this thread as solved, I will leave open for a few days with the hope that somebody has an explanation.
 
3 members found this post helpful.
  


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
Another power-saving regression in 3.9.5 kernel ? torimus Slackware 5 06-17-2013 03:28 PM
LXer: Linux 3.1 Kernel Draws More Power With Another Regression LXer Syndicated Linux News 0 08-22-2011 11:20 AM
unreliable suspend with i915 due to regression in 2.6.35 kernel Bourdieu Slackware 1 01-20-2011 03:54 AM
V4L2 kernel API changes leads to regression Gilbert Brisset Linux - Kernel 1 01-19-2011 02:33 PM
Missing dependencies: kernel-i686-2.6.23.14-115.fc8 LinuxNewbie999 Fedora 4 03-13-2008 11:03 PM

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

All times are GMT -5. The time now is 07:28 AM.

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