[Bug 153186] Re: powernowd doesn't start with init script

2007-12-03 Thread dAniel hAhler
I'm closing this as invalid, because it seems to be the expected behaviour (at 
least that powernowd is not used).
I'll provide a patch/debdiff for the other issues mentioned here 
(ignore_nice_load and not using the ondemand scheduler if OPTIONS are given for 
powernowd).
Please re-open, if I misunderstood something here.
Thank you.

** Changed in: powernowd (Ubuntu)
   Status: Incomplete => Invalid

-- 
powernowd doesn't start with init script
https://bugs.launchpad.net/bugs/153186
You received this bug notification because you are a member of Ubuntu
Bugs, which is the bug contact for Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 153186] Re: powernowd doesn't start with init script

2007-11-17 Thread dAniel hAhler
I guess that powernowd does not start, because "use_ondemand" in the
init script is successful.

Matthew said in another bug's comment:
"The ondemand governor can react to load changes more quickly than powernowd 
can, so powernowd exits on machines which support ondemand." 
(https://bugs.launchpad.net/ubuntu/+source/powernowd/+bug/74980/comments/1)

However, I just came here myself, because the "ondemand" governor does not 
appear to ignore load caused by niced processes, as powernowd would do.
You can change this by:
echo 1 | sudo tee /sys/devices/system/cpu/cpu0/cpufreq/ondemand/ignore_nice_load

I've prepared a patch for powernowd, which would not use the ondemand
governor, if $OPTIONS are given in /etc/default/powernowd and would also
activate ignore_nice_load when using the ondemand governor.

Please report back, if my guess is right and what you think about this.

Thank you.

** Changed in: powernowd (Ubuntu)
   Importance: Undecided => Medium
 Assignee: (unassigned) => dAniel hAhler (blueyed)
   Status: New => Incomplete

-- 
powernowd doesn't start with init script
https://bugs.launchpad.net/bugs/153186
You received this bug notification because you are a member of Ubuntu
Bugs, which is the bug contact for Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 153186] Re: powernowd doesn't start with init script

2010-10-25 Thread Jamie Kitson
See also bug 637845.

-- 
powernowd doesn't start with init script
https://bugs.launchpad.net/bugs/153186
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 153186] Re: powernowd doesn't start with init script

2010-07-02 Thread Jamie Kitson
I agree with Ilya, I was wondering why the init script would not start
powernowd, and if the kernel is supposed to be stepping my CPU by itself
it is not doing it aggressively enough.

-- 
powernowd doesn't start with init script
https://bugs.launchpad.net/bugs/153186
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 153186] Re: powernowd doesn't start with init script

2010-10-31 Thread Phillip Susi
The powernowd package is obsolete, please do not use it.  CPU frequency
scaling is now handled by the kernel, so if you still have issues on a
modern release, file a bug against the linux package.

** Changed in: powernowd (Ubuntu)
   Status: New => Invalid

-- 
powernowd doesn't start with init script
https://bugs.launchpad.net/bugs/153186
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 153186] Re: powernowd doesn't start with init script

2010-11-01 Thread Steve Langasek
This is not an appropriate way to declare a package "obsolete". If you
think a package should not be used, file a bug to get it removed from
the archive and *then* invalidate the bugs.

** Changed in: powernowd (Ubuntu)
   Status: Invalid => New

-- 
powernowd doesn't start with init script
https://bugs.launchpad.net/bugs/153186
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 153186] Re: powernowd doesn't start with init script

2011-03-01 Thread Phillip Susi
This package is obsolete and has been removed from the archive.  Closing
associated bugs.

** Changed in: powernowd (Ubuntu)
   Status: New => Invalid

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/153186

Title:
  powernowd doesn't start with init script

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 153186] Re: powernowd doesn't start with init script

2010-09-16 Thread rusivi1
Thank you for taking the time to report this bug and helping to make
Ubuntu better. The issue that you reported should be reproducible with
the live environment of the Desktop CD development release - Maverick
Meerkat. It would help us greatly if you could test with it so we can
work on getting it fixed in the next release of Ubuntu. You can find out
more about the development release at http://www.ubuntu.com/testing/.
Thanks again and we appreciate your help.

-- 
powernowd doesn't start with init script
https://bugs.launchpad.net/bugs/153186
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 153186] Re: powernowd doesn't start with init script

2010-06-02 Thread Ilya
** Changed in: powernowd (Ubuntu)
   Status: Invalid => New

-- 
powernowd doesn't start with init script
https://bugs.launchpad.net/bugs/153186
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 153186] Re: powernowd doesn't start with init script

2010-06-02 Thread Ilya
I noticed that powernowd init script is not doing what the documentation
says it will do. I can't see it load the powernowd daemon with the
default configuration. I tried "ps -e|grep powernowd" and was puzzled
why it won't start. Skimmed all logs for errors and found none.

As written the default behavior is to not start powernowd daemon (looks
like ondemand can be set on 99% of PCs). Which is counter-intuitive and
as such it should be spelled out in the docs. It should also print some
notice to the logs if "ondemand" is used so it will be clear why
powernowd is not running. After all, one would expect powernowd daemon
to run if you install powernowd package!

Also, there is a "problem" with this code:
use_ondemand() {
if [ "$OPTIONS" != "-q" ]; then
return 1
fi
...
This logic does not make sense when you first look at it. Using option to be 
quiet as a flag to enable ondemand? Bug?? Same as #3 I thought there is an 
error in the code. I tried something like #3 suggested 
(PREFER_ONDEMAND_IF_SUPPORTED='true'), though I came up with "USE_ONDEMAND" 
name.

Only 5 minutes later I realized that there is probably some reason behind it. 
After following that hidden reasoning I understand the code now and see how it 
"makes sense". It goes as follows:
- If we want the default behavior (-q), then we will try ondemand and if 
successfull, will not start the powernowd. Since if we were to start "powernowd 
-q" it will be quiet anyway, so ondemand will be a "transparent" default 
substitution. If kernel can govern cpu by itself we are better off with it in 
ondemand mode.
- If the default option is changed, then we will not try ondemand and load 
powernowd, giving the user what he wants.

Here's the brush. I found it many times even with my own "smart" code
that I can not understand the logic behind it just few months after I
wrote it. Therefore now I heavily comment all such places. The code
above is such a case and many pople will be looking at it and some will
be not able to deduce the reasoning and think the code is broken. Open
source power is in people reading the code.

It makes more sense to either a). comment on the logic to use the code
above; or b). make more readable code, use another option to
enable/disable, e.g. USE_ONDEMAND, instead of inferring it (and make it
the default):

use_ondemand() {
if [ "x$USE_ONDEMAND" != "xyes" ]; then
return 1
fi
...

Also, to reiterate - ammending the docs and logging that ondemand is
used are good to have too.

-- 
powernowd doesn't start with init script
https://bugs.launchpad.net/bugs/153186
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 153186] Re: powernowd doesn't start with init script

2010-08-14 Thread Jamie Kitson
Try using kernel cpu stepping instead of powernowd:

http://ubuntuforums.org/showthread.php?t=248867

-- 
powernowd doesn't start with init script
https://bugs.launchpad.net/bugs/153186
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 153186] Re: powernowd doesn't start with init script

2009-12-10 Thread Neil Perry
This bug is still marked as Incomplete so we are now going to close this
bug report. Please upgrade to the latest release Karmic 9.10 - If this
bug is still reproducible please reopen the bug by setting the status to
New. Thanks

** Changed in: powernowd (Ubuntu)
   Status: Incomplete => Invalid

** Changed in: powernowd (Ubuntu)
 Assignee: Daniel Hahler (blueyed) => (unassigned)

-- 
powernowd doesn't start with init script
https://bugs.launchpad.net/bugs/153186
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 153186] Re: powernowd doesn't start with init script

2009-01-15 Thread Iuri Diniz
I'm changing it to incomplete because I want to know why only when
variable OPTIONS is equal to '-q' the use_ondemand if verified?

powernowd starts (in intrepid) if OPTIONS='' or OPTIONS='-v', but not when 
OPTIONS='-q'
I think that a better method is to do somenthing like set a new var 
PREFER_ONDEMAND_IF_SUPPORTED='true' (var name is too long, don't use it) and 
verify it.

the manpage of powernowd says:
-q Quiet mode, only emergency output.

on init.d of intrepid:
use_ondemand() {
if [ "$OPTIONS" != "-q" ]; then
return 1
fi
status=1  # return error, if no cpu dirs are found
for x in /sys/devices/system/cpu/cpu[0-9]*/; do
if [ ! -d $x ] || [ ! -f $x"cpufreq/scaling_governor" ]; then
continue
fi
echo -n ondemand > $x"cpufreq/scaling_governor"
status=$?
if [ $status != 0 ]; then
return $status
fi
# The default behaviour of powernowd is to ignore nice load:
if [ -f $x"cpufreq/ondemand/ignore_nice_load" ]; then
echo -n 1 > $x"cpufreq/ondemand/ignore_nice_load"
fi
done
return $status
}


** Changed in: powernowd (Ubuntu)
   Status: Invalid => Incomplete

-- 
powernowd doesn't start with init script
https://bugs.launchpad.net/bugs/153186
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs