cores offline after pm-suspend?
Quoted 7 lines · Marc Weber
Hi,
Some weeks ago I got a new laptop running core -i5 processsor. Everything seems to be working. However after resuming from suspend to ram htop only shows one core having 100% utilization and I can't seem to fix this putting cores off and online again using the sys cpuX/online interface.
Weird. pm-utils does not do anything special with the cpus across suspend/resume -- the kernel handles all that.
I have gone ahead and cc'ed the linux-pm mailing list.
Quoted 36 lines
I've tried putting them offline before suspending as well.
My test case:
Makefile:a4: a1.x a2.x a3.x a4.x
all: a1.x a2.x a3.x a4.x a5.x a6.x a7.x a8.x a9.x a10.x a11.x b1.x b2.x b3.x b4.x %.x:./hoghog is a just a c prog running a dummy loop which lasts about 4 secs.
I made a screenshot of htop:
http://mawercer.de/~marc/htop.jpg
Make started 4 processes, however only one is running on a core.make -j4 doesn't finish faster than make -j1 either.
Do you have any idea how to start debugging this issue?
Of course everything is fine after rebooting.
My kernel:
Linux nixos 2.6.32.14 #1 SMP Sat May 29 22:06:43 UTC 2010
x86_64GNU/Linuxusing pm-utils-1.3.0
Any ideas or hints are appreciated.
Marc Weber
_______________________________________________
Pm-utils mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/pm-utils
Signature · 2 lines
Victor Lowther LPIC2 UCP RHCE
Quoted 9 lines · Victor Lowther
Quoted 7 lines · Marc Weber
Hi,
Some weeks ago I got a new laptop running core -i5 processsor. Everything seems to be working. However after resuming from suspend to ram htop only shows one core having 100% utilization and I can't seem to fix this putting cores off and online again using the sys cpuX/online interface.
Quoted 4 lines
Weird. pm-utils does not do anything special with the cpus across suspend/resume -- the kernel handles all that.
I have gone ahead and cc'ed the linux-pm mailing list.
This is a kernel issue. Marc, what kernel did you use?
Rafael
Hi Rafael
Quoted 1 line
This is a kernel issue. Marc, what kernel did you use?
uname -a says:
Linux nixos 2.6.32.14 #1 SMP Sat May 29 22:06:43 UTC 2010 x86_64 GNU/Linux
Which data should I post?
Official kernel sources, patched by:
kernelPatches.fbcondecor_2_6_31 (framebuffer)
kernelPatches.sec_perm_2_6_24 (one line patch about inode premissions ? )
kernelPatches.aufs2_2_6_32 (Note that this merely the patch needed to build AUFS2 as a standalone package.)
However they seem to be unrelated.
I'll retry without them to be sure.
My kernel config for 2.6.32.14. http://mawercer.de/~marc/config
I'm also using proprietary ati drivers. I don't know whether this is related.
I tried 2.6.34 now. X is not starting for some reason. After resuming screen is black. Logging in using SSH showed everything was fine. After suspending a second time the problem appeared again. So its unrelated to ati drivers and X (?)
NixOS is using gcc44 by default. I can try using a different gcc or running older kernels. Which to try first?
Marc Weber
cat /proc/cpuinfo:
processor : 0vendor_id : GenuineIntel
cpu family : 6
model : 37
model name : Intel(R) Core(TM) i5 CPU M 430 @ 2.27GHz
stepping : 2
cpu MHz : 1199.000
cache size : 3072 KB
physical id : 0
siblings : 4
core id : 0
cpu cores : 2
apicid : 0
initial apicid : 0
fpu : yesfpu_exception : yes
cpuid level : 11
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx rdtscp lm constant_tsc arch_perfmon pebs bts rep_good xtopology nonstop_tsc aperfmperf pni dtes64 monitor ds_cpl vmx est tm2 ssse3 cx16 xtpr pdcm sse4_1 sse4_2 popcnt lahf_lm ida arat tpr_shadow vnmi flexpriority ept vpid
bogomips : 4521.35
clflush size : 64cache_alignment : 64
address sizes : 36 bits physical, 48 bits virtual
power management:
processor : 1vendor_id : GenuineIntel
cpu family : 6
model : 37
model name : Intel(R) Core(TM) i5 CPU M 430 @ 2.27GHz
stepping : 2
cpu MHz : 1199.000
cache size : 3072 KB
physical id : 0
siblings : 4
core id : 2
cpu cores : 2
apicid : 4
initial apicid : 4
fpu : yesfpu_exception : yes
cpuid level : 11
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx rdtscp lm constant_tsc arch_perfmon pebs bts rep_good xtopology nonstop_tsc aperfmperf pni dtes64 monitor ds_cpl vmx est tm2 ssse3 cx16 xtpr pdcm sse4_1 sse4_2 popcnt lahf_lm ida arat tpr_shadow vnmi flexpriority ept vpid
bogomips : 4521.21
clflush size : 64cache_alignment : 64
address sizes : 36 bits physical, 48 bits virtual
power management:
processor : 2vendor_id : GenuineIntel
cpu family : 6
model : 37
model name : Intel(R) Core(TM) i5 CPU M 430 @ 2.27GHz
stepping : 2
cpu MHz : 1199.000
cache size : 3072 KB
physical id : 0
siblings : 4
core id : 0
cpu cores : 2
apicid : 1
initial apicid : 1
fpu : yesfpu_exception : yes
cpuid level : 11
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx rdtscp lm constant_tsc arch_perfmon pebs bts rep_good xtopology nonstop_tsc aperfmperf pni dtes64 monitor ds_cpl vmx est tm2 ssse3 cx16 xtpr pdcm sse4_1 sse4_2 popcnt lahf_lm ida arat tpr_shadow vnmi flexpriority ept vpid
bogomips : 4521.22
clflush size : 64cache_alignment : 64
address sizes : 36 bits physical, 48 bits virtual
power management:
processor : 3vendor_id : GenuineIntel
cpu family : 6
model : 37
model name : Intel(R) Core(TM) i5 CPU M 430 @ 2.27GHz
stepping : 2
cpu MHz : 1199.000
cache size : 3072 KB
physical id : 0
siblings : 4
core id : 2
cpu cores : 2
apicid : 5
initial apicid : 5
fpu : yesfpu_exception : yes
cpuid level : 11
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx rdtscp lm constant_tsc arch_perfmon pebs bts rep_good xtopology nonstop_tsc aperfmperf pni dtes64 monitor ds_cpl vmx est tm2 ssse3 cx16 xtpr pdcm sse4_1 sse4_2 popcnt lahf_lm ida arat tpr_shadow vnmi flexpriority ept vpid
bogomips : 4521.25
clflush size : 64cache_alignment : 64
address sizes : 36 bits physical, 48 bits virtual
power management:
Quoted 1 line
Quoted 1 line
This is a kernel issue. Marc, what kernel did you use?
2.6.32.8 has the same issue. Maybe the bios is broken or such.
In order to upgrade that I have to backup linux and get windows back on
my disk..
This will take at least one day.
Marc Weber
BIOS upgrade (was: cores offline after pm-suspend?)
In reply to a message not in the archiveAm Montag, den 31.05.2010, 01:03 +0200 schrieb Marc Weber:
Quoted 8 lines
Quoted 1 line
Quoted 1 line
This is a kernel issue. Marc, what kernel did you use?
2.6.32.8 has the same issue. Maybe the bios is broken or such.
In order to upgrade that I have to backup linux and get windows back on
my disk..This will take at least one day.
You could try/use flashrom [1].
Thanks,
Paul
Re: [Pm-utils] BIOS upgrade (was: cores offline after pm-suspend?)
In reply to a message not in the archiveExcerpts from Paul Menzel's message of Mon May 31 14:38:27 +0200 2010:
Quoted 1 line
You could try/use flashrom [1].
Summary: no success - I have to get a second drive.
which prints a big fat warning that its a risk to use it on laptops. I've joined irc. My board / chip is not supported yet.
I've tried booting freedos.
Illegal instrunction occured while running EC.bat which should be run before flashing the bios according to the readme.
Installing Win7 from recovery dvds does work, but starting it does not.
Marc Weber