This has been a real headache for me:
s2ram was broken for me with newer versions and I spent hours to find out the reason.
Today I found that CONFIG_FB_UVESA must not be set in the kernel to make it work
So I think it would be very helpful to have something like this in the ebuild
if linux_config_exists; then
linux_chkconfig_present FB_UVESA && die "FB_UVESA must not be set in the kernel"
I'll be trying to find more config options that are still a problem and add checks where possible.
Marking as duplicate to keep in one place, that one had issue with uvesa as well.
*** This bug has been marked as a duplicate of bug 589030 ***