Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 318959 - sys-power/cpufreqd-2.4.2 version bump (was sys-power/cpufreqd-2.3.4-r2: segfault with two batteries)
Summary: sys-power/cpufreqd-2.4.2 version bump (was sys-power/cpufreqd-2.3.4-r2: segfa...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Mobile Herd (OBSOLETE)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-05-08 10:27 UTC by Rostislav Opocensky
Modified: 2010-05-26 09:51 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
cpufreqd-2.4.2 ebuild patch (cpufreqd-2.4.2.ebuild.patch,471 bytes, text/plain)
2010-05-24 00:13 UTC, Matthew Turnbull
Details
cpufreqd-2.4.2 complete ebuild (cpufreqd-2.4.2.ebuild,1.94 KB, text/plain)
2010-05-24 00:14 UTC, Matthew Turnbull
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Rostislav Opocensky 2010-05-08 10:27:14 UTC
The cpufreqd daemon segfaults when there are two batteries in the laptop. This is a known problem and a fix is available: http://tinyurl.com/2vy7cxr

The patch actually works with cpufreqd-2.3.4-r2 from portage and fully solves this problem.

Reproducible: Always

Steps to Reproduce:
1. /etc/init.d/cpufreqd stop
2. plug a secondary battery to the laptop
3. cpufreqd -V0 -D

Actual Results:  
Segmentation fault


Expected Results:  
(none)

I have created a test ebuild from cpufreqd-2.3.4-r2 in overlay with just the mentioned patch added and cpufreqd works right now.
Comment 1 Juri Chomé 2010-05-08 15:58:28 UTC
I confirm to be having the exact same problem.
Comment 2 Kacper Kowalik (Xarthisius) (RETIRED) gentoo-dev 2010-05-15 16:41:54 UTC
Issue fixed by the upstream, latest version released 3 weeks ago. Please bump.
Best regards,
Kacper Kowalik
Comment 3 Matthew Turnbull 2010-05-24 00:13:19 UTC
Created attachment 232645 [details]
cpufreqd-2.4.2 ebuild patch

Diff for new ebuild.

Looks like the CPU_ALL and lm_sensors patches were included in the release, so this just removes them from the ebuild.
Comment 4 Matthew Turnbull 2010-05-24 00:14:26 UTC
Created attachment 232647 [details]
cpufreqd-2.4.2 complete ebuild
Comment 5 Thilo Bangert (RETIRED) (RETIRED) gentoo-dev 2010-05-26 09:51:36 UTC
in csv. thanks for the ebuild!

kind regards
Thilo