All of lore.kernel.org
 help / color / mirror / Atom feed
* Re: [Pm-utils] cores offline after pm-suspend?
       [not found] <1275231359-sup-8543@nixos>
@ 2010-05-30 15:23 ` Victor Lowther
       [not found] ` <1275233020.4638.32.camel@localhost.localdomain>
  1 sibling, 0 replies; 6+ messages in thread
From: Victor Lowther @ 2010-05-30 15:23 UTC (permalink / raw)
  To: Marc Weber; +Cc: pm-utils, linux-pm

On Sun, 2010-05-30 at 17:04 +0200, Marc Weber wrote:
> 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.

> 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:
>           ./hog
> 
> hog 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_64 GNU/Linux
> 
> using pm-utils-1.3.0
> 
> Any ideas or hints are appreciated.
> 
> Marc Weber
> _______________________________________________
> Pm-utils mailing list
> Pm-utils@lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/pm-utils

-- 
Victor Lowther
LPIC2 UCP RHCE 

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [Pm-utils] cores offline after pm-suspend?
       [not found] ` <1275233020.4638.32.camel@localhost.localdomain>
@ 2010-05-30 19:48   ` Rafael J. Wysocki
       [not found]   ` <201005302148.48571.rjw@sisk.pl>
  1 sibling, 0 replies; 6+ messages in thread
From: Rafael J. Wysocki @ 2010-05-30 19:48 UTC (permalink / raw)
  To: linux-pm; +Cc: pm-utils

On Sunday 30 May 2010, Victor Lowther wrote:
> On Sun, 2010-05-30 at 17:04 +0200, Marc Weber wrote:
> > 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.

This is a kernel issue.  Marc, what kernel did you use?

Rafael

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [Pm-utils] cores offline after pm-suspend?
       [not found]   ` <201005302148.48571.rjw@sisk.pl>
@ 2010-05-30 21:03     ` Marc Weber
       [not found]     ` <1275253184-sup-2332@nixos>
  1 sibling, 0 replies; 6+ messages in thread
From: Marc Weber @ 2010-05-30 21:03 UTC (permalink / raw)
  To: Rafael J. Wysocki; +Cc: pm-utils, linux-pm

Hi Rafael

> 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	: 0
vendor_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		: yes
fpu_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	: 64
cache_alignment	: 64
address sizes	: 36 bits physical, 48 bits virtual
power management:

processor	: 1
vendor_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		: yes
fpu_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	: 64
cache_alignment	: 64
address sizes	: 36 bits physical, 48 bits virtual
power management:

processor	: 2
vendor_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		: yes
fpu_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	: 64
cache_alignment	: 64
address sizes	: 36 bits physical, 48 bits virtual
power management:

processor	: 3
vendor_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		: yes
fpu_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	: 64
cache_alignment	: 64
address sizes	: 36 bits physical, 48 bits virtual
power management:

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [Pm-utils] cores offline after pm-suspend?
       [not found]     ` <1275253184-sup-2332@nixos>
@ 2010-05-30 23:03       ` Marc Weber
       [not found]       ` <1275260374-sup-281@nixos>
  1 sibling, 0 replies; 6+ messages in thread
From: Marc Weber @ 2010-05-30 23:03 UTC (permalink / raw)
  To: Marc Weber; +Cc: pm-utils, linux-pm

> > 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

^ permalink raw reply	[flat|nested] 6+ messages in thread

* BIOS upgrade (was: cores offline after pm-suspend?)
       [not found]       ` <1275260374-sup-281@nixos>
@ 2010-05-31 12:38         ` Paul Menzel
       [not found]         ` <1275309507.25666.20.camel@mattotaupa>
  1 sibling, 0 replies; 6+ messages in thread
From: Paul Menzel @ 2010-05-31 12:38 UTC (permalink / raw)
  To: pm-utils; +Cc: linux-pm


[-- Attachment #1.1: Type: text/plain, Size: 413 bytes --]

Am Montag, den 31.05.2010, 01:03 +0200 schrieb Marc Weber:
> > > 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


[1] http://flashrom.org/

[-- Attachment #1.2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 198 bytes --]

[-- Attachment #2: Type: text/plain, Size: 0 bytes --]



^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [Pm-utils] BIOS upgrade (was: cores offline after pm-suspend?)
       [not found]         ` <1275309507.25666.20.camel@mattotaupa>
@ 2010-06-01  0:37           ` Marc Weber
  0 siblings, 0 replies; 6+ messages in thread
From: Marc Weber @ 2010-06-01  0:37 UTC (permalink / raw)
  To: pm-utils, linux-pm

Excerpts from Paul Menzel's message of Mon May 31 14:38:27 +0200 2010:
> 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

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2010-06-01  0:37 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <1275231359-sup-8543@nixos>
2010-05-30 15:23 ` [Pm-utils] cores offline after pm-suspend? Victor Lowther
     [not found] ` <1275233020.4638.32.camel@localhost.localdomain>
2010-05-30 19:48   ` Rafael J. Wysocki
     [not found]   ` <201005302148.48571.rjw@sisk.pl>
2010-05-30 21:03     ` Marc Weber
     [not found]     ` <1275253184-sup-2332@nixos>
2010-05-30 23:03       ` Marc Weber
     [not found]       ` <1275260374-sup-281@nixos>
2010-05-31 12:38         ` BIOS upgrade (was: cores offline after pm-suspend?) Paul Menzel
     [not found]         ` <1275309507.25666.20.camel@mattotaupa>
2010-06-01  0:37           ` [Pm-utils] " Marc Weber

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.