| Summary: | sys-power/cpufreqd-2.3.4-r2: false error message claiming no CONFIG_CPU_FREQ is available | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | Martin Mokrejš <mmokrejs> |
| Component: | Current packages | Assignee: | Mobile Herd (OBSOLETE) <mobile+disabled> |
| Status: | RESOLVED TEST-REQUEST | ||
| Severity: | normal | ||
| Priority: | High | ||
| Version: | unspecified | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
| Attachments: | config.gz | ||
|
Description
Martin Mokrejš
2010-01-26 20:37:47 UTC
Created attachment 217496 [details]
config.gz
(In reply to comment #0) > What I am reporting here is that the init.d script bundled with cpufreqd prints > a false error message: > "cpufreqd requires the kernel to be configured with CONFIG_CPU_FREQ ...". I > have /preoc/config.gz provided through my kernel. It looks the init.d script > did not really bother to look into the file at all. Does your full error output look like this? * Caching service dependencies ... [ ok ] /lib64/rc/sh/runscript.sh: 252: [[: not found /lib64/rc/sh/runscript.sh: 252: [[: not found * cpufreqd requires the kernel to be configured with CONFIG_CPU_FREQ * Make sure that the appropiate kernel drivers for your CPU are * built-in or loaded. * ERROR: cpufreqd failed to start If so, you probably have /bin/sh linked to dash. The init script for cpufreqd relies on /bin/sh being a symlink to bash, because it contains a bashism: if [[ ! -f ${CONFIGFILE} ]]; then ... fi I've no idea why the script uses this syntax. It's not required and works fine with single bracket conditionals. Ciao, Sheldon. please retry with 2.4.2-r1 |