Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at bugzilla.redhat.com.

Bug 1827937

Summary: Cpufreq applet is not running. Missing symbol.
Product: [Fedora] Fedora Reporter: Paweł <pmarciniak>
Component: mate-appletsAssignee: Wolfgang Ulbrich <fedora>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: high Docs Contact:
Priority: unspecified    
Version: 32CC: fedora, stefano
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Unspecified   
Whiteboard:
Fixed In Version: mate-applets-1.24.0-3.fc32 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-04-27 02:45:01 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Paweł 2020-04-25 17:31:11 UTC
Description of problem:
Cpufreq applet is not running.
Run in console shows undefined symbol error

/usr/libexec/mate-applets/mate-cpufreq-applet: symbol lookup error: /usr/libexec/mate-applets/mate-cpufreq-applet: undefined symbol: cpufreq_put_frequencies

Version-Release number of selected component (if applicable):
mate-applets-1.24.0-2.fc32.x86_64
kernel 5.6.6 and 5.6.7

Additional info:
Due to some abi changes in kernel see https://github.com/torvalds/linux/commit/41ddb7e1f79693d904502ae9bea609837973eff8 mate-applet needs rebuild against latest kernel to work.
After rebuild applet works (I test it)

readelf -a -W /usr/lib64/libcpupower.so | grep cpufreq_put_frequencies
readelf: /usr/lib64/libcpupower.so: Warning: Gap in build notes detected from 0x2411 to 0x37c5
readelf: /usr/lib64/libcpupower.so: Warning: Gap in build notes detected from 0x2411 to 0x3c47

readelf -a -W /usr/lib64/libcpupower.so | grep cpufreq_put_available_frequencies
0000000000007f08  0000002400000007 R_X86_64_JUMP_SLOT     00000000000030ab cpufreq_put_available_frequencies + 0
    36: 00000000000030ab    39 FUNC    GLOBAL DEFAULT   13 cpufreq_put_available_frequencies
    89: 00000000000030ab     0 NOTYPE  LOCAL  HIDDEN    13 .annobin_cpufreq_put_available_frequencies.start
    90: 00000000000030d2     0 NOTYPE  LOCAL  HIDDEN    13 .annobin_cpufreq_put_available_frequencies.end
   222: 00000000000030ab    39 FUNC    GLOBAL DEFAULT   13 cpufreq_put_available_frequencies
readelf: /usr/lib64/libcpupower.so: Warning: Gap in build notes detected from 0x2411 to 0x37c5
readelf: /usr/lib64/libcpupower.so: Warning: Gap in build notes detected from 0x2411 to 0x3c47

Comment 1 Wolfgang Ulbrich 2020-04-25 18:14:08 UTC
Damned, i fixed that for f31/30 some weeks ago , (Sun, 08 Mar 2020 18:41:48 UTC) https://koji.fedoraproject.org/koji/buildinfo?buildID=1475358
But i forgot to do it for f32, btw, i thought it was already build against new kernel.(Thu, 26 Mar 2020 18:49:14 UTC) https://koji.fedoraproject.org/koji/buildinfo?buildID=1483340
Weird.....
New build coming soon......

Comment 2 Paweł 2020-04-25 18:36:24 UTC
(In reply to Wolfgang Ulbrich from comment #1)

> But i forgot to do it for f32, btw, i thought it was already build against
> new kernel.(Thu, 26 Mar 2020 18:49:14 UTC)
> https://koji.fedoraproject.org/koji/buildinfo?buildID=1483340

It was, but the kernel was 5.5.x and now it is 5.6.x
https://kojipkgs.fedoraproject.org//packages/mate-applets/1.24.0/2.fc32/data/logs/x86_64/root.log

Comment 3 Fedora Update System 2020-04-25 20:55:40 UTC
FEDORA-2020-57e48e87b3 has been submitted as an update to Fedora 32. https://bodhi.fedoraproject.org/updates/FEDORA-2020-57e48e87b3

Comment 4 Wolfgang Ulbrich 2020-04-25 20:56:47 UTC
Hmm, i hope i don't have to rebuild the package for every kernel update.

Comment 5 Paweł 2020-04-26 04:15:07 UTC
(In reply to Wolfgang Ulbrich from comment #4)
> Hmm, i hope i don't have to rebuild the package for every kernel update.

I hope too. If they don't change ABI again will be fine.
Anyway, now works well.

Comment 6 Fedora Update System 2020-04-26 04:29:17 UTC
FEDORA-2020-57e48e87b3 has been pushed to the Fedora 32 testing repository.
In short time you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --advisory=FEDORA-2020-57e48e87b3`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2020-57e48e87b3

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 7 Fedora Update System 2020-04-27 02:45:01 UTC
FEDORA-2020-57e48e87b3 has been pushed to the Fedora 32 stable repository.
If problem still persists, please make note of it in this bug report.