Ask Your Question
1

fedora29 sleeps/suspends every few seconds

asked 2018-12-02 19:31:48 -0600

RK79 gravatar image

updated 2018-12-14 13:56:57 -0600

I have a Dell XPS13 (9360) and upgraded from Fedora27 to 29, but since that - when the systems is on battery (i.e. not plugged in) the system seems to go into hibernation every few seconds. I'm running dnf update to see if updates fix this - any suggestions?

Some logs :

Dec 15 07:45:15 robot1 audit[860]: AVC avc:  denied  { unix_read } for  pid=860 comm="dbus-daemon" key=838861494  scontext=system_u:system_r:system_dbusd_t:s0-s0:c0.c1023 tcontext=system_u:system_r:unconfined_service_t:s0 tclass=shm permissive=1
Dec 15 07:45:15 robot1 audit[860]: AVC avc:  denied  { getattr } for  pid=860 comm="dbus-daemon" key=838861494  scontext=system_u:system_r:system_dbusd_t:s0-s0:c0.c1023 tcontext=system_u:system_r:unconfined_service_t:s0 tclass=shm permissive=1
Dec 15 07:45:15 robot1 audit[860]: AVC avc:  denied  { read } for  pid=860 comm="dbus-daemon" key=838861494  scontext=system_u:system_r:system_dbusd_t:s0-s0:c0.c1023 tcontext=system_u:system_r:unconfined_service_t:s0 tclass=shm permissive=1
Dec 15 07:45:15 robot1 systemd[1]: Started Network Manager Script Dispatcher Service.
Dec 15 07:45:15 robot1 audit[1]: SERVICE_START pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0 msg='unit=NetworkManager-dispatcher comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
Dec 15 07:45:15 robot1 nm-dispatcher[31371]: req:1 'down' [wlp58s0]: new request (3 scripts)
Dec 15 07:45:15 robot1 nm-dispatcher[31371]: req:1 'down' [wlp58s0]: start running ordered scripts...
Dec 15 07:45:15 robot1 nm-dispatcher[31371]: req:2 'connectivity-change': new request (3 scripts)
Dec 15 07:45:15 robot1 kernel: PM: Syncing filesystems ... done.
Dec 15 07:45:20 robot1 kernel: Freezing user space processes ... (elapsed 0.040 seconds) done.
Dec 15 07:45:20 robot1 kernel: OOM killer disabled.
Dec 15 07:45:20 robot1 kernel: Freezing remaining freezable tasks ... (elapsed 0.001 seconds) done.
Dec 15 07:45:20 robot1 kernel: Suspending console(s) (use no_console_suspend to debug)
Dec 15 07:45:20 robot1 kernel: PM: suspend devices took 0.356 seconds
Dec 15 07:45:20 robot1 kernel: ACPI: EC: interrupt blocked
Dec 15 07:45:20 robot1 kernel: ACPI: Preparing to enter system sleep state S3
Dec 15 07:45:20 robot1 kernel: ACPI: EC: event blocked
Dec 15 07:45:20 robot1 kernel: ACPI: EC: EC stopped
Dec 15 07:45:20 robot1 kernel: PM: Saving platform NVS memory
Dec 15 07:45:20 robot1 kernel: Disabling non-boot CPUs ...
Dec 15 07:45:20 robot1 kernel: smpboot: CPU 1 is now offline
Dec 15 07:45:20 robot1 kernel: smpboot: CPU 2 is now offline
Dec 15 07:45:20 robot1 kernel: smpboot: CPU 3 is now offline
Dec 15 07:45:20 robot1 kernel: smpboot: CPU 4 is now offline
Dec 15 07:45:20 robot1 kernel: smpboot: CPU 5 is now offline
Dec 15 07:45:20 robot1 kernel: smpboot: CPU 6 is now offline
Dec 15 07:45:20 robot1 kernel: smpboot: CPU 7 is now offline
Dec 15 07:45 ...
(more)
edit retag flag offensive close merge delete

Comments

Added logs

RK79 gravatar imageRK79 ( 2018-12-14 13:56:31 -0600 )edit

2 Answers

Sort by ยป oldest newest most voted
0

answered 2018-12-14 18:32:13 -0600

ed209 gravatar image

To recap. Your box is not hibernating but just maybe entering sleep mode. As you are asked the password, maybe it's just the display blanking and locking with a password. If not and you are asked BOTH the username and the password, that is you're back to the GDM, it's something wrong perhaps in the video drivers. Which one is the case? And I cannot guess what a dell xps13 is. We need to know the cpu, ram, disk space and moreover the video card, maybe you have both intel and nvidia, who knows.

edit flag offensive delete link more
0

answered 2018-12-04 13:52:30 -0600

ed209 gravatar image

How do you know the computer is actually hibernating? Did you set up a large enough swap space in order to have hibernation? How comes it's blazingly fast, as restores in a few seconds? Or rather it just blanks video? More details are needed. And what hardware do you have?

edit flag offensive delete link more

Comments

How do you know the computer is actually hibernating?

The entire system goes off - it shutdowns but the power button continues to flash (though you're right - it's likely not hibernation but sleep mode).

RK79 gravatar imageRK79 ( 2018-12-14 13:50:51 -0600 )edit

-- Did you set up a large enough swap space in order to have hibernation?

Yes - the system has 8 G RAM, and 8 G on SWAP

RK79 gravatar imageRK79 ( 2018-12-14 13:51:23 -0600 )edit

-- How comes it's blazingly fast, as restores in a few seconds?

I can only tell you the experience not the reasons why. Though as I write this I think you're right, I have made a mistake, I should have said it went to sleep mode, not hibenate.

RK79 gravatar imageRK79 ( 2018-12-14 13:52:16 -0600 )edit

-- Or rather it just blanks video? More details are needed.

No the screen re-requests authentication when I press the power button

RK79 gravatar imageRK79 ( 2018-12-14 13:52:27 -0600 )edit

-- And what hardware do you have?

Dell XPS13 (9360)

RK79 gravatar imageRK79 ( 2018-12-14 13:52:37 -0600 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

Stats

Asked: 2018-12-02 19:31:48 -0600

Seen: 85 times

Last updated: 18 hours ago