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
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 04-13-2024, 08:30 AM   #1
z80
Member
 
Registered: Jul 2019
Location: Europe
Distribution: Slackware64-current
Posts: 136

Rep: Reputation: 99
Bug with elogind-255.4-r2


Resume from suspend and hibernate breaks network connectivity.
More details at https://www.linuxquestions.org/quest...-a-4175735969/

Last edited by z80; 04-16-2024 at 11:51 PM.
 
Old 04-14-2024, 06:28 PM   #2
stormtracknole
Senior Member
 
Registered: Aug 2005
Distribution: Slackware, RHEL
Posts: 1,259

Rep: Reputation: 231Reputation: 231Reputation: 231
Quote:
Originally Posted by z80 View Post
Resume from suspend and hibernate breaks network connectivity.
More details at https://www.linuxquestions.org/quest...-a-4175735969/
I was going to start a thread on this. Also, I notice that my laptop is not really suspending at all. I can still hear the fan running and the laptop light is not turning amber like it usually does in suspend.
 
2 members found this post helpful.
Old 04-15-2024, 04:38 PM   #3
Andersen
Member
 
Registered: Dec 2008
Distribution: Slackware
Posts: 177

Rep: Reputation: 72
Thanks for reporting. I guess that is what messes up my laptop after one of the latest updates to SW64 --current.

If I leave it idle for some time, it goes to sleep, naturally. However, when I want to wake it up, it is nearly impossible.

Pressing or holding the power button doesn't do a thing in such cases. When I finally manage to wake it up (still not sure how, pressing the same buttons sometimes work, sometimes not, and I'm sure the keyboard is ok) the network is broken and I need to restart the machine.
 
Old 04-15-2024, 04:49 PM   #4
marrowsuck
Member
 
Registered: Sep 2006
Posts: 202

Rep: Reputation: 89
Same issue. I reverted to elogind-252.23-x86_64-2.
 
Old 04-16-2024, 01:34 AM   #5
kgha
Senior Member
 
Registered: May 2018
Location: Sweden
Distribution: Slackware 64 -current multilib from AlienBob's LiveSlak MATE
Posts: 1,070

Rep: Reputation: 742Reputation: 742Reputation: 742Reputation: 742Reputation: 742Reputation: 742Reputation: 742
YMMV, but you may have to downgrade both elogind (to v252.23) and polkit (to v123) in order to get full functionality (e.g screen brightness, shutdown menu, power management).
 
1 members found this post helpful.
Old 04-16-2024, 03:54 PM   #6
gegechris99
Senior Member
 
Registered: Oct 2005
Location: France
Distribution: Slackware 15.0 64bit
Posts: 1,161
Blog Entries: 5

Rep: Reputation: 392Reputation: 392Reputation: 392Reputation: 392
This should fix the issue:

Quote:
Tue Apr 16 18:50:13 UTC 2024
a/elogind-255.4_r2-x86_64-1.txz: Upgraded.
Prefer SuspendMode=deep. Thanks to LuckyCyborg.
Make 10-elogind.conf .new (but it will still be forced in this time).
Fix reading login.conf. Thanks to af7567.
This branch is feeling a bit alpha to me, but we'll stick with it for now.
 
Old 04-16-2024, 04:21 PM   #7
marav
LQ Sage
 
Registered: Sep 2018
Location: Gironde
Distribution: Slackware
Posts: 5,366

Rep: Reputation: 4080Reputation: 4080Reputation: 4080Reputation: 4080Reputation: 4080Reputation: 4080Reputation: 4080Reputation: 4080Reputation: 4080Reputation: 4080Reputation: 4080
Quote:
Originally Posted by gegechris99 View Post
This should fix the issue:
Nope

The problem is that we have absolutely nothing in the logs when resuming after hibernation that can help us to find what's wrong with NetworkManager

See:
https://github.com/elogind/elogind/issues/280
 
2 members found this post helpful.
Old 04-16-2024, 11:36 PM   #8
z80
Member
 
Registered: Jul 2019
Location: Europe
Distribution: Slackware64-current
Posts: 136

Original Poster
Rep: Reputation: 99
elogind-255.4_r2-x86_64-1.txz in fact makes it worse

Now resume from sleep doesn't work anymore. Anything power managemnt related is borked.

Pat, please ...
 
Old 04-17-2024, 12:23 AM   #9
LuckyCyborg
Senior Member
 
Registered: Mar 2010
Posts: 3,505

Rep: Reputation: 3320Reputation: 3320Reputation: 3320Reputation: 3320Reputation: 3320Reputation: 3320Reputation: 3320Reputation: 3320Reputation: 3320Reputation: 3320Reputation: 3320
Quote:
Originally Posted by z80 View Post
elogind-255.4_r2-x86_64-1.txz in fact makes it worse

Now resume from sleep doesn't work anymore. Anything power managemnt related is borked.

Pat, please ...
Just comment the last line from /etc/elogind/sleep.conf.d/10-elogind.conf - which contains SuspendMode= and restart the computer. It's a config file, so this change will be preserved when upgrading the elogind package.
 
Old 04-17-2024, 01:04 AM   #10
z80
Member
 
Registered: Jul 2019
Location: Europe
Distribution: Slackware64-current
Posts: 136

Original Poster
Rep: Reputation: 99
That doesn't work - the network is still borked.
 
Old 04-17-2024, 01:27 AM   #11
H1p8r10n
Member
 
Registered: Feb 2016
Location: on the border of milky way
Distribution: Slackware
Posts: 159

Rep: Reputation: Disabled
Confirmed : rollback to 252/123 is still needed not to break network after suspend.

Please downgrade the current repo
 
Old 04-17-2024, 01:43 AM   #12
ZhaoLin1457
Senior Member
 
Registered: Jan 2018
Posts: 1,022

Rep: Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208
Quote:
Originally Posted by z80 View Post
That doesn't work - the network is still borked.
That SuspendMode= is not intended to fix the NetworkManager related issue, because this one is the second and separate issue.
 
2 members found this post helpful.
Old 04-17-2024, 02:46 AM   #13
ill323
Member
 
Registered: Jul 2010
Posts: 43

Rep: Reputation: 11
Just compiled networkmanager 1.46.0 with this:

test$ diff -u NetworkManager.SlackBuild.orig NetworkManager.SlackBuild
--- NetworkManager.SlackBuild.orig 2024-04-17 15:15:21.718644490 +0800
+++ NetworkManager.SlackBuild 2024-04-17 15:15:43.731519025 +0800
@@ -133,7 +133,7 @@
--enable-ovs \
--with-consolekit=no \
--with-session-tracking=elogind \
- --with-suspend-resume=elogind \
+ --with-suspend-resume=upower \
--with-hostname-persist=slackware \
--build=$TARGET || exit 1

And resuming works again.

I think new elogind do not send 'resume' signal to networkmanager.
 
Old 04-17-2024, 02:52 AM   #14
kgha
Senior Member
 
Registered: May 2018
Location: Sweden
Distribution: Slackware 64 -current multilib from AlienBob's LiveSlak MATE
Posts: 1,070

Rep: Reputation: 742Reputation: 742Reputation: 742Reputation: 742Reputation: 742Reputation: 742Reputation: 742
@ill233:
tried this workaround, but unfortunately it doesn't work properly. If you have a mailclient (e.g. thunderbird) running at suspend, it somehow loses connection and needs to be restarted after resuming, see https://www.linuxquestions.org/quest...ml#post6495940. Might be seen as a minor snag, but since there seems to be no drawbacks in downgrading elogind and polkit, that's probably the best option right now.
 
Old 04-17-2024, 03:23 AM   #15
ill323
Member
 
Registered: Jul 2010
Posts: 43

Rep: Reputation: 11
Ok, just saw that thread.
It seems that elogind is broken.
And polkit depends on elogind, maybe polkit-124 compiled with old working elogind has no problem?
 
  


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
Safe to block 255.255.255.255? throes Linux - Networking 3 05-06-2012 02:27 PM
What is this -> SRC=0.0.0.0 DST=255.255.255.255 LEN=328 TOS=0x00 PREC=0x00 TTL=128 ID carves Linux - Networking 5 08-17-2008 09:26 PM
Are Broadcasts to 255.255.255.255 Routed MQMan Linux - Networking 6 11-23-2005 02:16 PM
Logs full of hits to 255.255.255.255; how to stop logging? mac_phil Mandriva 2 02-23-2004 10:25 AM
UDP broadcast 255.255.255.255 java8964 Linux - Networking 0 10-29-2003 02:05 PM

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

All times are GMT -5. The time now is 05:29 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