Skip to contentSkip to conversation

New: cpu frequency gets lowered by kernel when cord is pulled(init=bin/sh)

Bug 6331 [email protected] 1 participant 1 message Apr 4, 2006

lore
Share & tools
lore
#0 lore raw

http://bugzilla.kernel.org/show_bug.cgi?id=6331

Summary: cpu frequency gets lowered by kernel when cord is
pulled(init=bin/sh)
Kernel Version: 2.6.16 from kernel.org
Status: NEW
Severity: low
Owner: [email protected]
Submitter: [email protected]

Most recent kernel where this bug did not occur: unknown
Distribution: ubuntu dapper
Hardware Environment: Dell inspiron 9300 Inetl Pentium M 1.73 using centrino-speedstep
Software Environment: ubuntu dapper gcc 4.0.3
Problem Description:

when ac cord is pulled (even in single user mode, or with init=/bin/sh) /sys/devices/system/cpu/cpu0/cpufreq/scaling_cur_freq /sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq
get's set to the scaling_min_freq automatically
any scripts that run and try to set scaling_max_freq to something else end up instead making sure that this gets reverted back to min freq
this is using the performance governor.

Steps to reproduce:
boot kernel with flag init=/bin/sh and ac plugged in (to make sure no other scripts of anything could possibly be changing this)

# mount /sys
pull plug
# cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_cur_freq
repeat last step until it eventually goes back to the full frequency and stays
there.  

a workaround for scrits that normally control these things is to have them sleep for a while after an AC event has occured.

------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee.