Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Machine wakes up immediately after suspend
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
anydoby
n00b
n00b


Joined: 25 Dec 2014
Posts: 47

PostPosted: Sat Feb 07, 2015 12:28 am    Post subject: Machine wakes up immediately after suspend Reply with quote

Hi guys. I have a problem (again). My PC wakes up immediately after I send it to sleep (using Gnome3 pause button or using a fancy command like "echo -n 'mem' > /sys/power/state")
It goes to sleep and a second later wakes up again. Sometimes it suspends ok. But most of the time it fails.
There are some logs on the screen when it goes down and up, but I can't catch them. Where could I search for them?
Tried journalctl but found some rubbish:

Code:

Jan 17 21:19:01 localhost systemd-journal[4061]: Runtime journal is using 8.0M (max allowed 803.9M, trying to leave 1.1G free of 7.8G available → current limit 803.9M).
Jan 17 21:19:01 localhost systemd-journal[4061]: Runtime journal is using 8.0M (max allowed 803.9M, trying to leave 1.1G free of 7.8G available → current limit 803.9M).
Jan 17 21:19:01 localhost kernel: Initializing cgroup subsys cpuset
Jan 17 21:19:01 localhost kernel: Initializing cgroup subsys cpu
Jan 17 21:19:01 localhost kernel: Initializing cgroup subsys cpuacct
Jan 17 21:19:01 localhost kernel: Linux version 3.17.7-gentoo (root@livecd) (gcc version 4.8.3 (Gentoo 4.8.3 p1.1, pie-0.5.9) ) #6 SMP Sat Jan 17 19:44:16 CET 2015
Jan 17 21:19:01 localhost kernel: Command line: BOOT_IMAGE=/kernel-genkernel-x86_64-3.17.7-gentoo root=UUID=a085e589-8814-4638-8355-63d1ce254276 ro rootfstype=ext4 real_root=/dev/mapper/sil_bgbhajacbddh4 real_in
Jan 17 21:19:01 localhost kernel: e820: BIOS-provided physical RAM map:
Jan 17 21:19:01 localhost kernel: BIOS-e820: [mem 0x0000000000000000-0x000000000009cfff] usable
Jan 17 21:19:01 localhost kernel: BIOS-e820: [mem 0x000000000009d000-0x000000000009ffff] reserved
Jan 17 21:19:01 localhost kernel: BIOS-e820: [mem 0x00000000000e4000-0x00000000000fffff] reserved
Jan 17 21:19:01 localhost kernel: BIOS-e820: [mem 0x0000000000100000-0x00000000dfd6ffff] usable
Jan 17 21:19:01 localhost kernel: BIOS-e820: [mem 0x00000000dfd70000-0x00000000dfd87fff] ACPI data
Jan 17 21:19:01 localhost kernel: BIOS-e820: [mem 0x00000000dfd88000-0x00000000dfddbfff] ACPI NVS
Jan 17 21:19:01 localhost kernel: BIOS-e820: [mem 0x00000000dfddc000-0x00000000dfdfffff] reserved
Jan 17 21:19:01 localhost kernel: BIOS-e820: [mem 0x00000000dff00000-0x00000000dfffffff] reserved
Jan 17 21:19:01 localhost kernel: BIOS-e820: [mem 0x00000000fee00000-0x00000000fee00fff] reserved
Jan 17 21:19:01 localhost kernel: BIOS-e820: [mem 0x00000000ffe00000-0x00000000ffffffff] reserved
Jan 17 21:19:01 localhost kernel: BIOS-e820: [mem 0x0000000100000000-0x000000041fffffff] usable
Jan 17 21:19:01 localhost kernel: NX (Execute Disable) protection: active
Jan 17 21:19:01 localhost kernel: SMBIOS 2.6 present.
Jan 17 21:19:01 localhost kernel: DMI: System manufacturer System Product Name/P7P55D DELUXE, BIOS 1702    05/21/2010
Jan 17 21:19:01 localhost kernel: e820: update [mem 0x00000000-0x00000fff] usable ==> reserved
Jan 17 21:19:01 localhost kernel: e820: remove [mem 0x000a0000-0x000fffff] usable
Jan 17 21:19:01 localhost kernel: AGP: No AGP bridge found
Jan 17 21:19:01 localhost kernel: e820: last_pfn = 0x420000 max_arch_pfn = 0x400000000
Jan 17 21:19:01 localhost kernel: MTRR default type: uncachable
Jan 17 21:19:01 localhost kernel: MTRR fixed ranges enabled:
Jan 17 21:19:01 localhost kernel:   00000-9FFFF write-back
Jan 17 21:19:01 localhost kernel:   A0000-BFFFF uncachable
Jan 17 21:19:01 localhost kernel:   C0000-CFFFF write-protect
Jan 17 21:19:01 localhost kernel:   D0000-DFFFF uncachable
Jan 17 21:19:01 localhost kernel:   E0000-E7FFF write-through
Jan 17 21:19:01 localhost kernel:   E8000-FFFFF write-protect
Jan 17 21:19:01 localhost kernel: MTRR variable ranges enabled:
Jan 17 21:19:01 localhost kernel:   0 base 000000000 mask C00000000 write-back
Jan 17 21:19:01 localhost kernel:   1 base 400000000 mask FE0000000 write-back
Jan 17 21:19:01 localhost kernel:   2 base 0E0000000 mask FE0000000 uncachable
Jan 17 21:19:01 localhost kernel:   3 base 0DFF00000 mask FFFF00000 uncachable
Jan 17 21:19:01 localhost kernel:   4 disabled
Jan 17 21:19:01 localhost kernel:   5 disabled
Jan 17 21:19:01 localhost kernel:   6 disabled
Jan 17 21:19:01 localhost kernel:   7 disabled
Jan 17 21:19:01 localhost kernel: x86 PAT enabled: cpu 0, old 0x7040600070406, new 0x7010600070106
Jan 17 21:19:01 localhost kernel: e820: update [mem 0xdff00000-0xffffffff] usable ==> reserved
Jan 17 21:19:01 localhost kernel: e820: last_pfn = 0xdfd70 max_arch_pfn = 0x400000000
Jan 17 21:19:01 localhost kernel: found SMP MP-table at [mem 0x000ff780-0x000ff78f] mapped at [ffff8800000ff780]
Jan 17 21:19:01 localhost kernel: Base memory trampoline at [ffff880000097000] 97000 size 24576
Jan 17 21:19:01 localhost kernel: init_memory_mapping: [mem 0x00000000-0x000fffff]
Jan 17 21:19:01 localhost kernel:  [mem 0x00000000-0x000fffff] page 4k
Jan 17 21:19:01 localhost kernel: BRK [0x01bc8000, 0x01bc8fff] PGTABLE
Jan 17 21:19:01 localhost kernel: BRK [0x01bc9000, 0x01bc9fff] PGTABLE
...skipping...
Feb 07 01:21:15 localhost gdm-Xorg-:0[4438]: >                   Using new definition
Feb 07 01:21:15 localhost gdm-Xorg-:0[4438]: > Warning:          Compat map for group 3 redefined
Feb 07 01:21:15 localhost gdm-Xorg-:0[4438]: >                   Using new definition
Feb 07 01:21:15 localhost gdm-Xorg-:0[4438]: > Warning:          Compat map for group 4 redefined
Feb 07 01:21:15 localhost gdm-Xorg-:0[4438]: >                   Using new definition
Feb 07 01:21:15 localhost gdm-Xorg-:0[4438]: Errors from xkbcomp are not fatal to the X server
Feb 07 01:21:15 localhost gdm-Xorg-:0[4438]: The XKEYBOARD keymap compiler (xkbcomp) reports:
Feb 07 01:21:15 localhost gdm-Xorg-:0[4438]: > Warning:          Compat map for group 2 redefined
Feb 07 01:21:15 localhost gdm-Xorg-:0[4438]: >                   Using new definition
Feb 07 01:21:15 localhost gdm-Xorg-:0[4438]: > Warning:          Compat map for group 3 redefined
Feb 07 01:21:15 localhost gdm-Xorg-:0[4438]: >                   Using new definition
Feb 07 01:21:15 localhost gdm-Xorg-:0[4438]: > Warning:          Compat map for group 4 redefined
Feb 07 01:21:15 localhost gdm-Xorg-:0[4438]: >                   Using new definition
Feb 07 01:21:15 localhost gdm-Xorg-:0[4438]: Errors from xkbcomp are not fatal to the X server
Feb 07 01:21:15 localhost gdm-Xorg-:0[4438]: The XKEYBOARD keymap compiler (xkbcomp) reports:
Feb 07 01:21:15 localhost gdm-Xorg-:0[4438]: > Warning:          Compat map for group 2 redefined
Feb 07 01:21:15 localhost gdm-Xorg-:0[4438]: >                   Using new definition
Feb 07 01:21:15 localhost gdm-Xorg-:0[4438]: > Warning:          Compat map for group 3 redefined
Feb 07 01:21:15 localhost gdm-Xorg-:0[4438]: >                   Using new definition
Feb 07 01:21:15 localhost gdm-Xorg-:0[4438]: > Warning:          Compat map for group 4 redefined
Feb 07 01:21:15 localhost gdm-Xorg-:0[4438]: >                   Using new definition
Feb 07 01:21:15 localhost gdm-Xorg-:0[4438]: Errors from xkbcomp are not fatal to the X server
Feb 07 01:21:17 localhost gdm-Xorg-:0[4438]: The XKEYBOARD keymap compiler (xkbcomp) reports:
Feb 07 01:21:17 localhost gdm-Xorg-:0[4438]: > Warning:          Compat map for group 2 redefined
Feb 07 01:21:17 localhost gdm-Xorg-:0[4438]: >                   Using new definition
Feb 07 01:21:17 localhost gdm-Xorg-:0[4438]: > Warning:          Compat map for group 3 redefined
Feb 07 01:21:17 localhost gdm-Xorg-:0[4438]: >                   Using new definition
Feb 07 01:21:17 localhost gdm-Xorg-:0[4438]: > Warning:          Compat map for group 4 redefined
Feb 07 01:21:17 localhost gdm-Xorg-:0[4438]: >                   Using new definition
Feb 07 01:21:17 localhost gdm-Xorg-:0[4438]: Errors from xkbcomp are not fatal to the X server
Feb 07 01:21:17 localhost dhcpcd[4376]: enp8s4: carrier acquired
Feb 07 01:21:17 localhost kernel: r8169 0000:08:04.0 enp8s4: link up
Feb 07 01:21:17 localhost dhcpcd[4376]: enp8s4: IAID ba:11:e2:4e
Feb 07 01:21:18 localhost dhcpcd[4376]: enp8s4: rebinding lease of 192.168.1.61
Feb 07 01:21:18 localhost dhcpcd[4376]: enp8s4: soliciting an IPv6 router
Feb 07 01:21:19 localhost kernel: ata9.00: link is slow to respond, please be patient (ready=0)
Feb 07 01:21:19 localhost kernel: ata9.00: SATA link up 3.0 Gbps (SStatus 123 SControl 300)
Feb 07 01:21:19 localhost kernel: ata9.01: SATA link up 3.0 Gbps (SStatus 123 SControl 300)
Feb 07 01:21:19 localhost kernel: ata9.01: ACPI cmd ef/03:45:00:00:00:b0 (SET FEATURES) filtered out
Feb 07 01:21:19 localhost kernel: ata9.01: ACPI cmd ef/03:0c:00:00:00:b0 (SET FEATURES) filtered out
Feb 07 01:21:19 localhost kernel: ata9.01: ACPI cmd c6/00:10:00:00:00:b0 (SET MULTIPLE MODE) succeeded
Feb 07 01:21:19 localhost kernel: ata9.01: ACPI cmd f5/00:00:00:00:00:00 (SECURITY FREEZE LOCK) filtered out
Feb 07 01:21:19 localhost kernel: ata9.01: supports DRM functions and may not be fully accessible
Feb 07 01:21:19 localhost kernel: ata9.00: ACPI cmd ef/03:45:00:00:00:a0 (SET FEATURES) filtered out
Feb 07 01:21:19 localhost kernel: ata9.00: ACPI cmd ef/03:0c:00:00:00:a0 (SET FEATURES) filtered out
Feb 07 01:21:19 localhost kernel: ata9.00: ACPI cmd c6/00:10:00:00:00:a0 (SET MULTIPLE MODE) succeeded
Feb 07 01:21:19 localhost kernel: ata9.00: ACPI cmd f5/00:00:00:00:00:00 (SECURITY FREEZE LOCK) filtered out
Feb 07 01:21:19 localhost kernel: ata9.00: configured for UDMA/133
Feb 07 01:21:19 localhost kernel: ata9.01: supports DRM functions and may not be fully accessible
Feb 07 01:21:19 localhost kernel: ata9.01: configured for UDMA/133
Feb 07 01:21:24 localhost systemd-timesyncd[4364]: Timed out waiting for reply from 5.39.184.5:123 (3.gentoo.pool.ntp.org).
Feb 07 01:21:24 localhost systemd-timesyncd[4364]: Using NTP server 213.109.127.195:123 (3.gentoo.pool.ntp.org).
Feb 07 01:21:24 localhost systemd-timesyncd[4364]: Using NTP server 87.195.109.220:123 (3.gentoo.pool.ntp.org).


Don't know if it rings the bell to someone :oops:
Back to top
View user's profile Send private message
Roman_Gruber
Advocate
Advocate


Joined: 03 Oct 2006
Posts: 3806
Location: Austro Bavaria

PostPosted: Sat Feb 07, 2015 8:57 pm    Post subject: Reply with quote

Does this happens without a desctop environment too? If yes than it is systemd related => init 3 => not init 5

if no than it is gnome 3 related.

youshould test that first and report back.
Back to top
View user's profile Send private message
anydoby
n00b
n00b


Joined: 25 Dec 2014
Posts: 47

PostPosted: Sun Feb 08, 2015 6:05 pm    Post subject: Reply with quote

tw04l124 wrote:
Does this happens without a desctop environment too? If yes than it is systemd related => init 3 => not init 5

if no than it is gnome 3 related.

youshould test that first and report back.


How do I test it without a desktop environment?
Back to top
View user's profile Send private message
Roman_Gruber
Advocate
Advocate


Joined: 03 Oct 2006
Posts: 3806
Location: Austro Bavaria

PostPosted: Mon Feb 09, 2015 8:11 am    Post subject: Reply with quote

Quote:
init 3 => not init 5


Quote:
or using a fancy command like "echo -n 'mem' > /sys/power/state")
Back to top
View user's profile Send private message
anydoby
n00b
n00b


Joined: 25 Dec 2014
Posts: 47

PostPosted: Mon Feb 09, 2015 8:47 am    Post subject: Reply with quote

Sorry guys, I'm not a linux developer, what is init 3 and init 5?
Back to top
View user's profile Send private message
Roman_Gruber
Advocate
Advocate


Joined: 03 Oct 2006
Posts: 3806
Location: Austro Bavaria

PostPosted: Mon Feb 09, 2015 8:58 am    Post subject: Reply with quote

first google result http://en.wikipedia.org/wiki/Runlevel

you need to use the command line interface. type init 3 as user root and hit enter

you may read a bit about the general linux architecture. runlevels are a basic thing covered in the first page of any linux book afaik i have read. I have read several years ago.


High suggested to read the handbook https://wiki.gentoo.org/wiki/Handbook:X86/Working/Initscripts
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum