Re: [gentoo-user] Gentoo on a Lenovo X1 Carbon (3rd gen)

2015-08-26 Thread Ralf
Well, I don't know if all of those modules are really necessary, I just
activated them as Arch used to load them.

But you are right, it' probably the ACPI_WMI one.
No, of course I don't use the TPM stuff.

Maybe I'll try to successively deactivate unneeded modules and see at
which point it fails. But I don't have enough time for playing atm - it
works :-)
And then when it's sure I'll write it down on some wiki.

  Ralf

On 08/26/2015 01:22 PM, Jeremi Piotrowski wrote:
 On Wed, Aug 26, 2015 at 10:06 AM, Ralf
 ralf+gen...@ramses-pyramidenbau.de wrote:
 To answer my own question:

 After a lot of diffing and searching, I was able to find out, that these
 were the modules that I was missing:

 CONFIG_TCG_TPM=y
 CONFIG_TCG_TIS=y
 Are you actually using the TPM? This shouldn't have any any effect on resume
 but I don't know enough about crypto (you said you use it) to be certain that
 there isn't any crosstalk.

 CONFIG_HID_LENOVO=y
 This one is not necessary as it only affects _external_ lenovo USB keyboards.

 CONFIG_THINKPAD_ACPI=y
 CONFIG_THINKPAD_ACPI_ALSA_SUPPORT=y
 CONFIG_THINKPAD_ACPI_VIDEO=y
 CONFIG_THINKPAD_ACPI_HOTKEY_POLL=y
 I had assumed you had these active as they are pretty much mandatory
 for thinkpads.

 CONFIG_ACPI_WMI=y
 This one is tricky. It has acpi in the name so it _could_ be the one that 
 really
 made the difference, but I thought it was an extra device.


 In any case, it's great that you got to the bottom of this. Have you thought 
 of
 starting a wiki page for the X1 carbon?





Re: [gentoo-user] Gentoo on a Lenovo X1 Carbon (3rd gen)

2015-08-26 Thread Mick
On Wednesday 26 Aug 2015 22:42:02 Ralf wrote:
 So I was able to figure it out...
 
 Don't ask me why, but it's the TPM module.
 Without enabling
 
 CONFIG_TCG_TPM=y
 CONFIG_TCG_TIS=y
 
 my X1 Carbon won't wake up from standby.
 
 Cheers
   Ralf

It uses TPM to store the encryption key for the fs.
-- 
Regards,
Mick


signature.asc
Description: This is a digitally signed message part.


Re: [gentoo-user] Gentoo on a Lenovo X1 Carbon (3rd gen)

2015-08-26 Thread Ralf
Uhm - why should it do so? And why should it do so if the module is NOT
available?

In deed, I do have full disc encryption, but the key stays inside RAM if
the machine goes to standby.Furthermore, I did not configure TPM (yet).

Maybe the TPM Chip (if enabled by the bios) needs some
Reinitialization (even if the TPM is not configured and used) after a
wakeup and refuses wakind up if this reinitialization does not take place.
For me, this would sound more reasonable why my machine only wakes up
when TCG_TIS is enabled.

  Ralf

On 08/27/2015 12:00 AM, Mick wrote:
 On Wednesday 26 Aug 2015 22:42:02 Ralf wrote:
 So I was able to figure it out...

 Don't ask me why, but it's the TPM module.
 Without enabling

 CONFIG_TCG_TPM=y
 CONFIG_TCG_TIS=y

 my X1 Carbon won't wake up from standby.

 Cheers
   Ralf
 It uses TPM to store the encryption key for the fs.




Re: [gentoo-user] Gentoo on a Lenovo X1 Carbon (3rd gen)

2015-08-26 Thread Ralf
So I was able to figure it out...

Don't ask me why, but it's the TPM module.
Without enabling

CONFIG_TCG_TPM=y
CONFIG_TCG_TIS=y

my X1 Carbon won't wake up from standby.

Cheers
  Ralf



On 08/26/2015 01:22 PM, Jeremi Piotrowski wrote:
 On Wed, Aug 26, 2015 at 10:06 AM, Ralf
 ralf+gen...@ramses-pyramidenbau.de wrote:
 To answer my own question:

 After a lot of diffing and searching, I was able to find out, that these
 were the modules that I was missing:

 CONFIG_TCG_TPM=y
 CONFIG_TCG_TIS=y
 Are you actually using the TPM? This shouldn't have any any effect on resume
 but I don't know enough about crypto (you said you use it) to be certain that
 there isn't any crosstalk.

 CONFIG_HID_LENOVO=y
 This one is not necessary as it only affects _external_ lenovo USB keyboards.

 CONFIG_THINKPAD_ACPI=y
 CONFIG_THINKPAD_ACPI_ALSA_SUPPORT=y
 CONFIG_THINKPAD_ACPI_VIDEO=y
 CONFIG_THINKPAD_ACPI_HOTKEY_POLL=y
 I had assumed you had these active as they are pretty much mandatory
 for thinkpads.

 CONFIG_ACPI_WMI=y
 This one is tricky. It has acpi in the name so it _could_ be the one that 
 really
 made the difference, but I thought it was an extra device.


 In any case, it's great that you got to the bottom of this. Have you thought 
 of
 starting a wiki page for the X1 carbon?





Re: [gentoo-user] Gentoo on a Lenovo X1 Carbon (3rd gen)

2015-08-26 Thread Ralf
To answer my own question:

After a lot of diffing and searching, I was able to find out, that these
were the modules that I was missing:

CONFIG_TCG_TPM=y
CONFIG_TCG_TIS=y
CONFIG_HID_LENOVO=y
CONFIG_THINKPAD_ACPI=y
CONFIG_THINKPAD_ACPI_ALSA_SUPPORT=y
CONFIG_THINKPAD_ACPI_VIDEO=y
CONFIG_THINKPAD_ACPI_HOTKEY_POLL=y
CONFIG_ACPI_WMI=y

Without these modules, a X1 Carbon won't wake up from standby

Cheers
  Ralf


On 08/25/2015 02:56 PM, Ralf wrote:
 Hi folks,

 i just got my brand new Lenovo X1 Carbon and trying to get Gentoo
 running on it.

 Beside some really big issues (HiDPI display, 2048x1152 resolution on
 a 14 display really sucks on linux, xrandr scaling is horrible, no
 scaling is damn too small to read, missing touch support in most
 applications, ...) I have a big problem with my kernel:

 It doesn't come back from standby.
 After closing the lid, the standby LED starts breathing, opening the
 lid doesn't change anything, even pressing the power button does not
 wake up the system. The only option is to reset the system by holding
 down the power button. Journalctl doesn't say anything except of
 System reboot after the Standby message:

 ralf@omega:~$ sudo journalctl | grep -i lid closed -A
 10
   
 130
 Aug 23 19:12:20 omega systemd-logind[2075]: Lid closed.
 Aug 23 19:12:20 omega systemd-logind[2075]: Suspending...
 Aug 23 19:12:20 omega systemd[1]: Reached target Sleep.
 Aug 23 19:12:20 omega systemd[1]: Starting Suspend...
 Aug 23 19:12:20 omega systemd-sleep[2175]: Suspending system...
 -- Reboot --
 ..

 So I tried installing Arch linux (same kernel version, 4.1.6). Arch
 wakes up without any problems. As a try and quick fixI copied the Arch
 Kernel+Modules to my Gentoo system and it works fine, which means to
 me that I probably have a misconfigured kernel.
 But that's not the Gentoo way, I'd like to compile the kernel on my own.

 Does anyone know what I might be missing in my kernel config?
 Or does anyone also have a X1 Carbon 3rd generation and would like to
 share the .config with me?


 Anything helps!

 Cheers
   Ral 


Re: [gentoo-user] Gentoo on a Lenovo X1 Carbon (3rd gen)

2015-08-26 Thread Jeremi Piotrowski
On Wed, Aug 26, 2015 at 10:06 AM, Ralf
ralf+gen...@ramses-pyramidenbau.de wrote:
 To answer my own question:

 After a lot of diffing and searching, I was able to find out, that these
 were the modules that I was missing:

 CONFIG_TCG_TPM=y
 CONFIG_TCG_TIS=y

Are you actually using the TPM? This shouldn't have any any effect on resume
but I don't know enough about crypto (you said you use it) to be certain that
there isn't any crosstalk.

 CONFIG_HID_LENOVO=y

This one is not necessary as it only affects _external_ lenovo USB keyboards.

 CONFIG_THINKPAD_ACPI=y
 CONFIG_THINKPAD_ACPI_ALSA_SUPPORT=y
 CONFIG_THINKPAD_ACPI_VIDEO=y
 CONFIG_THINKPAD_ACPI_HOTKEY_POLL=y

I had assumed you had these active as they are pretty much mandatory
for thinkpads.

 CONFIG_ACPI_WMI=y

This one is tricky. It has acpi in the name so it _could_ be the one that really
made the difference, but I thought it was an extra device.


In any case, it's great that you got to the bottom of this. Have you thought of
starting a wiki page for the X1 carbon?



Re: [gentoo-user] Gentoo on a Lenovo X1 Carbon (3rd gen)

2015-08-25 Thread Ralf
On 08/25/2015 03:21 PM, Alec Ten Harmsel wrote:
 On Tue, Aug 25, 2015 at 02:56:10PM +0200, Ralf wrote:
 Hi folks,

 i just got my brand new Lenovo X1 Carbon and trying to get Gentoo
 running on it.
 
 I have a big problem with my kernel:

 It doesn't come back from standby.
 After closing the lid, the standby LED starts breathing, opening the lid
 doesn't change anything, even pressing the power button does not wake up
 the system. The only option is to reset the system by holding down the
 power button. Journalctl doesn't say anything except of System reboot
 after the Standby message:

 ralf@omega:~$ sudo journalctl | grep -i lid closed -A
 10   

 130
 Aug 23 19:12:20 omega systemd-logind[2075]: Lid closed.
 Aug 23 19:12:20 omega systemd-logind[2075]: Suspending...
 Aug 23 19:12:20 omega systemd[1]: Reached target Sleep.
 Aug 23 19:12:20 omega systemd[1]: Starting Suspend...
 Aug 23 19:12:20 omega systemd-sleep[2175]: Suspending system...
 -- Reboot --
 ..

 So I tried installing Arch linux (same kernel version, 4.1.6). Arch
 wakes up without any problems. As a try and quick fixI copied the Arch
 Kernel+Modules to my Gentoo system and it works fine, which means to me
 that I probably have a misconfigured kernel.
 But that's not the Gentoo way, I'd like to compile the kernel on my own.
 Cool, at least it is supported. I know someone with that got a brand new
 Lenovo about a year ago and had loads of issues with it, even with the
 bleeding edge kernels in Arch.

 Does anyone know what I might be missing in my kernel config?
 Or does anyone also have a X1 Carbon 3rd generation and would like to
 share the .config with me?
 Do you have SUSPEND=y (just checking)? Other things that I can
 see related to suspend are SUSPEND_FREEZER, ACPI_SLEEP,
 APM_IGNORE_USER_SUSPEND, and a bunch of Thinkpad/Lenovo related options.
 I do not have suspend enabled on my laptop, so take this with a grain of
 salt.
Yeah, everything is set, even THINKPAD_ACPI. Still does not wake up :-(

 If you want to search various kernel options, you can run `make
 menuconfig` in the source directory and use '/' (forward slash) to
 search just like you're in `less'.

 Alec





Re: [gentoo-user] Gentoo on a Lenovo X1 Carbon (3rd gen)

2015-08-25 Thread Ralf
On 08/25/2015 03:35 PM, Alan McKinnon wrote:
 On 25/08/2015 14:56, Ralf wrote:
 Hi folks,

 i just got my brand new Lenovo X1 Carbon and trying to get Gentoo
 running on it.

 Beside some really big issues (HiDPI display, 2048x1152 resolution on a
 14 display really sucks on linux, xrandr scaling is horrible, no
 scaling is damn too small to read, missing touch support in most
 applications, ...) I have a big problem with my kernel:

 It doesn't come back from standby.
 After closing the lid, the standby LED starts breathing, opening the lid
 doesn't change anything, even pressing the power button does not wake up
 the system. The only option is to reset the system by holding down the
 power button. Journalctl doesn't say anything except of System reboot
 after the Standby message:

 ralf@omega:~$ sudo journalctl | grep -i lid closed -A
 10   

 130
 Aug 23 19:12:20 omega systemd-logind[2075]: Lid closed.
 Aug 23 19:12:20 omega systemd-logind[2075]: Suspending...
 Aug 23 19:12:20 omega systemd[1]: Reached target Sleep.
 Aug 23 19:12:20 omega systemd[1]: Starting Suspend...
 Aug 23 19:12:20 omega systemd-sleep[2175]: Suspending system...
 -- Reboot --
 ..

 So I tried installing Arch linux (same kernel version, 4.1.6). Arch
 wakes up without any problems. As a try and quick fixI copied the Arch
 Kernel+Modules to my Gentoo system and it works fine, which means to me
 that I probably have a misconfigured kernel.
 But that's not the Gentoo way, I'd like to compile the kernel on my own.

 Does anyone know what I might be missing in my kernel config?
 Or does anyone also have a X1 Carbon 3rd generation and would like to
 share the .config with me?


 Grab the .config files from both running systems and diff them. Expect
 the output to be long but with care you can narrow down the important
 differences.
I also had that idea. The problem is, that Arch uses almost _everything_
as module. So it's hard to figure out the critical module...



Re: [gentoo-user] Gentoo on a Lenovo X1 Carbon (3rd gen)

2015-08-25 Thread Alec Ten Harmsel
On Tue, Aug 25, 2015 at 06:38:16PM +0200, Ralf wrote:
 On 08/25/2015 03:21 PM, Alec Ten Harmsel wrote:
  Do you have SUSPEND=y (just checking)? Other things that I can
  see related to suspend are SUSPEND_FREEZER, ACPI_SLEEP,
  APM_IGNORE_USER_SUSPEND, and a bunch of Thinkpad/Lenovo related options.
  I do not have suspend enabled on my laptop, so take this with a grain of
  salt.
 Yeah, everything is set, even THINKPAD_ACPI. Still does not wake up :-(

If you still have the Arch kernel, could you run `lsmod' when that
kernel is booted and diff it against an `lsmod' when your Gentoo kernel
is booted?

If that doesn't help, could you attach your config to a reply?

Alec



Re: [gentoo-user] Gentoo on a Lenovo X1 Carbon (3rd gen)

2015-08-25 Thread Ralf
Hi,

On 08/25/2015 03:45 PM, Jeremi Piotrowski wrote:
 I have a T440s and would expect the two to be quite similar from an ACPI
 point of view, so let's see if I can help.

 On Tue, 25 Aug 2015, Ralf wrote:

 It doesn't come back from standby.
 After closing the lid, the standby LED starts breathing, opening the lid
 doesn't change anything, even pressing the power button does not wake up
 the system. The only option is to reset the system by holding down the
 power button. 
 This might be a long-shot but could you check

 cat /proc/acpi/wakeup

 The lid-wakeup action can be toggled there. I also have a SLPB device in
 that file, which could map to the power button in some cases?
I compared the /proc/acpi/wakup of both kernels - they equal. So that's
not the problem


 As a try and quick fixI copied the Arch Kernel+Modules to my Gentoo
 system and it works fine, which means to me that I probably have a
 misconfigured kernel.  But that's not the Gentoo way, I'd like to
 compile the kernel on my own.
 You could try diffing your config with the arch kernel config. Should be
 present in /boot. Then look for suspicious differences, it's not as hard
 as it seems, I've done it with the fedora kernel to solve problems.
The problem is, that Arch uses almost everything as modules. I have a
full-disc encrypted gentoo and I need a lot of stuff to be statically
compiled, as I don't want to have modules inside my initrd.

Anyway, I'll try it out.


 Does anyone know what I might be missing in my kernel config?
 Try my config (attached), I don't know how it compares to the arch one but
 suspend/resume works correctly here. It may be easier to pinpoint the cause
 with it. You'll have to enable systemd.
Thanks for your config! I tried it - just made a few adjustements
(statically compiled dm-crypt and crypto modules). Still the same problem..


  Ralf




Re: [gentoo-user] Gentoo on a Lenovo X1 Carbon (3rd gen)

2015-08-25 Thread wabenbau
Ralf ralf+gen...@ramses-pyramidenbau.de wrote:

 Hi folks,
 
 i just got my brand new Lenovo X1 Carbon and trying to get Gentoo
 running on it.
 
 Beside some really big issues (HiDPI display, 2048x1152 resolution on
 a 14 display really sucks on linux, xrandr scaling is horrible, no
 scaling is damn too small to read, missing touch support in most

I also have some HiDPI display (140 DPI) but text and icon rendering is
perfect with XFCE. It's even much better than with my windows 7 machine.
Your display has a higher resolution (168 DPI) but I don't think that 
this makes a big difference. Maybe there is a way to tweak your Desktop
settings for a better rendering/scaling?

--
Regards
wabe



Re: [gentoo-user] Gentoo on a Lenovo X1 Carbon (3rd gen)

2015-08-25 Thread Hinnerk van Bruinehsen
On Tue, Aug 25, 2015 at 06:39:12PM +0200, Ralf wrote:
 On 08/25/2015 03:35 PM, Alan McKinnon wrote:
 
 
  Grab the .config files from both running systems and diff them. Expect
  the output to be long but with care you can narrow down the important
  differences.
 I also had that idea. The problem is, that Arch uses almost _everything_
 as module. So it's hard to figure out the critical module...

Hello,

you can try lsmod to see which modules actually get loaded (possibly even
before and after successful suspend - just in case there is a difference).

On the other hand you could check the kernel versions of the working kernel and
the new one and try to downgrade your kernel if necessary: my t510 doesn't wake
up from suspend to ram (I never tried hiberation) since at least 4.1.3
(possibly 4.1.y) right now either - without any config changes.
I had to time to bisect/investigate, but it worked fine with 4.0.y.

WKR
Hinnerk




Re: [gentoo-user] Gentoo on a Lenovo X1 Carbon (3rd gen)

2015-08-25 Thread Alec Ten Harmsel
On Tue, Aug 25, 2015 at 02:56:10PM +0200, Ralf wrote:
 Hi folks,
 
 i just got my brand new Lenovo X1 Carbon and trying to get Gentoo
 running on it.
 
 I have a big problem with my kernel:
 
 It doesn't come back from standby.
 After closing the lid, the standby LED starts breathing, opening the lid
 doesn't change anything, even pressing the power button does not wake up
 the system. The only option is to reset the system by holding down the
 power button. Journalctl doesn't say anything except of System reboot
 after the Standby message:
 
 ralf@omega:~$ sudo journalctl | grep -i lid closed -A
 10
   
 130
 Aug 23 19:12:20 omega systemd-logind[2075]: Lid closed.
 Aug 23 19:12:20 omega systemd-logind[2075]: Suspending...
 Aug 23 19:12:20 omega systemd[1]: Reached target Sleep.
 Aug 23 19:12:20 omega systemd[1]: Starting Suspend...
 Aug 23 19:12:20 omega systemd-sleep[2175]: Suspending system...
 -- Reboot --
 ..
 
 So I tried installing Arch linux (same kernel version, 4.1.6). Arch
 wakes up without any problems. As a try and quick fixI copied the Arch
 Kernel+Modules to my Gentoo system and it works fine, which means to me
 that I probably have a misconfigured kernel.
 But that's not the Gentoo way, I'd like to compile the kernel on my own.

Cool, at least it is supported. I know someone with that got a brand new
Lenovo about a year ago and had loads of issues with it, even with the
bleeding edge kernels in Arch.

 Does anyone know what I might be missing in my kernel config?
 Or does anyone also have a X1 Carbon 3rd generation and would like to
 share the .config with me?

Do you have SUSPEND=y (just checking)? Other things that I can
see related to suspend are SUSPEND_FREEZER, ACPI_SLEEP,
APM_IGNORE_USER_SUSPEND, and a bunch of Thinkpad/Lenovo related options.
I do not have suspend enabled on my laptop, so take this with a grain of
salt.

If you want to search various kernel options, you can run `make
menuconfig` in the source directory and use '/' (forward slash) to
search just like you're in `less'.

Alec



[gentoo-user] Gentoo on a Lenovo X1 Carbon (3rd gen)

2015-08-25 Thread Ralf
Hi folks,

i just got my brand new Lenovo X1 Carbon and trying to get Gentoo
running on it.

Beside some really big issues (HiDPI display, 2048x1152 resolution on a
14 display really sucks on linux, xrandr scaling is horrible, no
scaling is damn too small to read, missing touch support in most
applications, ...) I have a big problem with my kernel:

It doesn't come back from standby.
After closing the lid, the standby LED starts breathing, opening the lid
doesn't change anything, even pressing the power button does not wake up
the system. The only option is to reset the system by holding down the
power button. Journalctl doesn't say anything except of System reboot
after the Standby message:

ralf@omega:~$ sudo journalctl | grep -i lid closed -A
10  

130
Aug 23 19:12:20 omega systemd-logind[2075]: Lid closed.
Aug 23 19:12:20 omega systemd-logind[2075]: Suspending...
Aug 23 19:12:20 omega systemd[1]: Reached target Sleep.
Aug 23 19:12:20 omega systemd[1]: Starting Suspend...
Aug 23 19:12:20 omega systemd-sleep[2175]: Suspending system...
-- Reboot --
..

So I tried installing Arch linux (same kernel version, 4.1.6). Arch
wakes up without any problems. As a try and quick fixI copied the Arch
Kernel+Modules to my Gentoo system and it works fine, which means to me
that I probably have a misconfigured kernel.
But that's not the Gentoo way, I'd like to compile the kernel on my own.

Does anyone know what I might be missing in my kernel config?
Or does anyone also have a X1 Carbon 3rd generation and would like to
share the .config with me?


Anything helps!

Cheers
  Ralf


Re: [gentoo-user] Gentoo on a Lenovo X1 Carbon (3rd gen)

2015-08-25 Thread Alan McKinnon
On 25/08/2015 14:56, Ralf wrote:
 Hi folks,
 
 i just got my brand new Lenovo X1 Carbon and trying to get Gentoo
 running on it.
 
 Beside some really big issues (HiDPI display, 2048x1152 resolution on a
 14 display really sucks on linux, xrandr scaling is horrible, no
 scaling is damn too small to read, missing touch support in most
 applications, ...) I have a big problem with my kernel:
 
 It doesn't come back from standby.
 After closing the lid, the standby LED starts breathing, opening the lid
 doesn't change anything, even pressing the power button does not wake up
 the system. The only option is to reset the system by holding down the
 power button. Journalctl doesn't say anything except of System reboot
 after the Standby message:
 
 ralf@omega:~$ sudo journalctl | grep -i lid closed -A
 10
   
 130
 Aug 23 19:12:20 omega systemd-logind[2075]: Lid closed.
 Aug 23 19:12:20 omega systemd-logind[2075]: Suspending...
 Aug 23 19:12:20 omega systemd[1]: Reached target Sleep.
 Aug 23 19:12:20 omega systemd[1]: Starting Suspend...
 Aug 23 19:12:20 omega systemd-sleep[2175]: Suspending system...
 -- Reboot --
 ..
 
 So I tried installing Arch linux (same kernel version, 4.1.6). Arch
 wakes up without any problems. As a try and quick fixI copied the Arch
 Kernel+Modules to my Gentoo system and it works fine, which means to me
 that I probably have a misconfigured kernel.
 But that's not the Gentoo way, I'd like to compile the kernel on my own.
 
 Does anyone know what I might be missing in my kernel config?
 Or does anyone also have a X1 Carbon 3rd generation and would like to
 share the .config with me?



Grab the .config files from both running systems and diff them. Expect
the output to be long but with care you can narrow down the important
differences.



-- 
Alan McKinnon
alan.mckin...@gmail.com




Re: [gentoo-user] Gentoo on a Lenovo X1 Carbon (3rd gen)

2015-08-25 Thread Jeremi Piotrowski
I have a T440s and would expect the two to be quite similar from an ACPI
point of view, so let's see if I can help.

On Tue, 25 Aug 2015, Ralf wrote:

 It doesn't come back from standby.
 After closing the lid, the standby LED starts breathing, opening the lid
 doesn't change anything, even pressing the power button does not wake up
 the system. The only option is to reset the system by holding down the
 power button. 

This might be a long-shot but could you check

cat /proc/acpi/wakeup

The lid-wakeup action can be toggled there. I also have a SLPB device in
that file, which could map to the power button in some cases?


 As a try and quick fixI copied the Arch Kernel+Modules to my Gentoo
 system and it works fine, which means to me that I probably have a
 misconfigured kernel.  But that's not the Gentoo way, I'd like to
 compile the kernel on my own.

You could try diffing your config with the arch kernel config. Should be
present in /boot. Then look for suspicious differences, it's not as hard
as it seems, I've done it with the fedora kernel to solve problems.


 Does anyone know what I might be missing in my kernel config?

Try my config (attached), I don't know how it compares to the arch one but
suspend/resume works correctly here. It may be easier to pinpoint the cause
with it. You'll have to enable systemd.#
# Automatically generated file; DO NOT EDIT.
# Linux/x86 4.1.5-gentoo Kernel Configuration
#

#
# Gentoo Linux
#
CONFIG_GENTOO_LINUX=y
CONFIG_GENTOO_LINUX_UDEV=y

#
# Support for init systems, system and service managers
#
CONFIG_GENTOO_LINUX_INIT_SCRIPT=y
# CONFIG_GENTOO_LINUX_INIT_SYSTEMD is not set
CONFIG_64BIT=y
CONFIG_X86_64=y
CONFIG_X86=y
CONFIG_INSTRUCTION_DECODER=y
CONFIG_PERF_EVENTS_INTEL_UNCORE=y
CONFIG_OUTPUT_FORMAT=elf64-x86-64
CONFIG_ARCH_DEFCONFIG=arch/x86/configs/x86_64_defconfig
CONFIG_LOCKDEP_SUPPORT=y
CONFIG_STACKTRACE_SUPPORT=y
CONFIG_HAVE_LATENCYTOP_SUPPORT=y
CONFIG_MMU=y
CONFIG_NEED_DMA_MAP_STATE=y
CONFIG_NEED_SG_DMA_LENGTH=y
CONFIG_GENERIC_ISA_DMA=y
CONFIG_GENERIC_BUG=y
CONFIG_GENERIC_BUG_RELATIVE_POINTERS=y
CONFIG_GENERIC_HWEIGHT=y
CONFIG_ARCH_MAY_HAVE_PC_FDC=y
CONFIG_RWSEM_XCHGADD_ALGORITHM=y
CONFIG_GENERIC_CALIBRATE_DELAY=y
CONFIG_ARCH_HAS_CPU_RELAX=y
CONFIG_ARCH_HAS_CACHE_LINE_SIZE=y
CONFIG_HAVE_SETUP_PER_CPU_AREA=y
CONFIG_NEED_PER_CPU_EMBED_FIRST_CHUNK=y
CONFIG_NEED_PER_CPU_PAGE_FIRST_CHUNK=y
CONFIG_ARCH_HIBERNATION_POSSIBLE=y
CONFIG_ARCH_SUSPEND_POSSIBLE=y
CONFIG_ARCH_WANT_HUGE_PMD_SHARE=y
CONFIG_ARCH_WANT_GENERAL_HUGETLB=y
CONFIG_ZONE_DMA32=y
CONFIG_AUDIT_ARCH=y
CONFIG_ARCH_SUPPORTS_OPTIMIZED_INLINING=y
CONFIG_ARCH_SUPPORTS_DEBUG_PAGEALLOC=y
CONFIG_HAVE_INTEL_TXT=y
CONFIG_X86_64_SMP=y
CONFIG_X86_HT=y
CONFIG_ARCH_HWEIGHT_CFLAGS=-fcall-saved-rdi -fcall-saved-rsi -fcall-saved-rdx 
-fcall-saved-rcx -fcall-saved-r8 -fcall-saved-r9 -fcall-saved-r10 
-fcall-saved-r11
CONFIG_ARCH_SUPPORTS_UPROBES=y
CONFIG_FIX_EARLYCON_MEM=y
CONFIG_PGTABLE_LEVELS=4
CONFIG_DEFCONFIG_LIST=/lib/modules/$UNAME_RELEASE/.config
CONFIG_IRQ_WORK=y
CONFIG_BUILDTIME_EXTABLE_SORT=y

#
# General setup
#
CONFIG_INIT_ENV_ARG_LIMIT=32
CONFIG_CROSS_COMPILE=
# CONFIG_COMPILE_TEST is not set
CONFIG_LOCALVERSION=
# CONFIG_LOCALVERSION_AUTO is not set
CONFIG_HAVE_KERNEL_GZIP=y
CONFIG_HAVE_KERNEL_BZIP2=y
CONFIG_HAVE_KERNEL_LZMA=y
CONFIG_HAVE_KERNEL_XZ=y
CONFIG_HAVE_KERNEL_LZO=y
CONFIG_HAVE_KERNEL_LZ4=y
CONFIG_KERNEL_GZIP=y
# CONFIG_KERNEL_BZIP2 is not set
# CONFIG_KERNEL_LZMA is not set
# CONFIG_KERNEL_XZ is not set
# CONFIG_KERNEL_LZO is not set
# CONFIG_KERNEL_LZ4 is not set
CONFIG_DEFAULT_HOSTNAME=(none)
CONFIG_SWAP=y
CONFIG_SYSVIPC=y
CONFIG_SYSVIPC_SYSCTL=y
CONFIG_POSIX_MQUEUE=y
CONFIG_POSIX_MQUEUE_SYSCTL=y
CONFIG_CROSS_MEMORY_ATTACH=y
# CONFIG_FHANDLE is not set
CONFIG_USELIB=y
CONFIG_AUDIT=y
CONFIG_HAVE_ARCH_AUDITSYSCALL=y
CONFIG_AUDITSYSCALL=y
CONFIG_AUDIT_WATCH=y
CONFIG_AUDIT_TREE=y

#
# IRQ subsystem
#
CONFIG_GENERIC_IRQ_PROBE=y
CONFIG_GENERIC_IRQ_SHOW=y
CONFIG_GENERIC_IRQ_LEGACY_ALLOC_HWIRQ=y
CONFIG_GENERIC_PENDING_IRQ=y
CONFIG_IRQ_DOMAIN=y
CONFIG_GENERIC_MSI_IRQ=y
# CONFIG_IRQ_DOMAIN_DEBUG is not set
CONFIG_IRQ_FORCED_THREADING=y
CONFIG_SPARSE_IRQ=y
CONFIG_CLOCKSOURCE_WATCHDOG=y
CONFIG_ARCH_CLOCKSOURCE_DATA=y
CONFIG_CLOCKSOURCE_VALIDATE_LAST_CYCLE=y
CONFIG_GENERIC_TIME_VSYSCALL=y
CONFIG_GENERIC_CLOCKEVENTS=y
CONFIG_GENERIC_CLOCKEVENTS_BROADCAST=y
CONFIG_GENERIC_CLOCKEVENTS_MIN_ADJUST=y
CONFIG_GENERIC_CMOS_UPDATE=y

#
# Timers subsystem
#
CONFIG_TICK_ONESHOT=y
CONFIG_NO_HZ_COMMON=y
# CONFIG_HZ_PERIODIC is not set
CONFIG_NO_HZ_IDLE=y
# CONFIG_NO_HZ_FULL is not set
CONFIG_NO_HZ=y
CONFIG_HIGH_RES_TIMERS=y

#
# CPU/Task time and stats accounting
#
CONFIG_TICK_CPU_ACCOUNTING=y
# CONFIG_VIRT_CPU_ACCOUNTING_GEN is not set
# CONFIG_IRQ_TIME_ACCOUNTING is not set
CONFIG_BSD_PROCESS_ACCT=y
# CONFIG_BSD_PROCESS_ACCT_V3 is not set
CONFIG_TASKSTATS=y
CONFIG_TASK_DELAY_ACCT=y
CONFIG_TASK_XACCT=y
CONFIG_TASK_IO_ACCOUNTING=y

#
# RCU Subsystem
#
CONFIG_TREE_RCU=y
CONFIG_SRCU=y
# CONFIG_TASKS_RCU is not set