Bug 91321

Summary: Suspend not working with second core, disabling and re-enabling second core crashes system
Product: Power Management Reporter: jan0michael
Component: Hibernation/SuspendAssignee: Rafael J. Wysocki (rjw)
Status: CLOSED CODE_FIX    
Severity: normal CC: aaron.lu
Priority: P1    
Hardware: x86-64   
OS: Linux   
Kernel Version: 3.2.65-1 Subsystem:
Regression: No Bisected commit-id:

Description jan0michael 2015-01-15 02:34:27 UTC
For the last days hibernate was broken (reboot after about three seconds after clicking the button, Debian Wheezy 7.8 with Gnome).

Hibernate works, if I call

echo 0 > /sys/devices/system/cpu/cpu1/online


If I then call

echo 1 > /sys/devices/system/cpu/cpu1/online

the system crashes (immediate reboot), no matter if the system was hibernated after the "echo 0..." or not.

Because hibernate is broken for a few days now, I suppose the update from kernel package 3.2.63-2+deb7u2 to 3.2.65-1 broke the hibernate function.


More system info:

cat /proc/cpuinfo 
processor	: 0
vendor_id	: AuthenticAMD
cpu family	: 15
model		: 35
model name	: AMD Athlon(tm) 64 X2 Dual Core Processor 3800+
stepping	: 2
microcode	: 0x4d
cpu MHz		: 1000.000
cache size	: 512 KB
physical id	: 0
siblings	: 2
core id		: 0
cpu cores	: 2
apicid		: 0
initial apicid	: 0
fpu		: yes
fpu_exception	: yes
cpuid level	: 1
wp		: yes
flags		: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ht syscall nx mmxext fxsr_opt lm 3dnowext 3dnow rep_good nopl pni lahf_lm cmp_legacy
bogomips	: 2010.31
TLB size	: 1024 4K pages
clflush size	: 64
cache_alignment	: 64
address sizes	: 40 bits physical, 48 bits virtual
power management: ts fid vid ttp

processor	: 1
vendor_id	: AuthenticAMD
cpu family	: 15
model		: 35
model name	: AMD Athlon(tm) 64 X2 Dual Core Processor 3800+
stepping	: 2
microcode	: 0x4d
cpu MHz		: 1000.000
cache size	: 512 KB
physical id	: 0
siblings	: 2
core id		: 1
cpu cores	: 2
apicid		: 1
initial apicid	: 1
fpu		: yes
fpu_exception	: yes
cpuid level	: 1
wp		: yes
flags		: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ht syscall nx mmxext fxsr_opt lm 3dnowext 3dnow rep_good nopl pni lahf_lm cmp_legacy
bogomips	: 2010.31
TLB size	: 1024 4K pages
clflush size	: 64
cache_alignment	: 64
address sizes	: 40 bits physical, 48 bits virtual
power management: ts fid vid ttp


Mainboard: GA-K8N Pro-SLI, Firmware F6
Comment 1 jan0michael 2015-01-15 03:05:53 UTC
I just see that Debian maintainer benh fixed this problem:

https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=774526
Comment 2 Aaron Lu 2015-01-29 06:04:50 UTC
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=774526#38
Good to know this, bug closed.