Bug 4196

Summary: 2_a3: cpufreq_performance module not found
Product: Mageia Reporter: Bit Twister <bittwister2>
Component: RPM PackagesAssignee: Thomas Backlund <tmb>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: Normal CC: lists.jjorge, mageia
Version: Cauldron   
Target Milestone: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Source RPM: kernel-3.3.0-0.rc6.1.mga2.src.rpm CVE:
Status comment:
Attachments: cpufreq module list

Description Bit Twister 2012-01-19 17:58:48 CET
Description of problem:
/etc/rc.modules is being passed
evdev powernow-k8 cpufreq_performance cpufreq_powersave cpufreq_conservative cpufreq_ondemand

and /sbin/modprobe would indicate 
    WARNING: Module cpufreq_performance not found.
if message was not sent to /dev/null

Version-Release number of selected component (if applicable):


How reproducible: Always


Steps to Reproduce:
1. clean install Mageia-2-alpha3-x86_64-DVD.iso with applied updates
2. modify /etc/rc.moduless to dump failures to a log file
3. reboot
4. check your log file.

I changed /etc/rc.modules
from

     if [ -n "$TOLOAD" ]; then
       logger -t $0 "Loading modules:"$TOLOAD
       /sbin/modprobe -a $TOLOAD 2>/dev/null
     fi
to

     /bin/true # set success if module does not need loading

     if [ -n "$TOLOAD" ]; then
       logger -t $0 "Loading modules:"$TOLOAD
     #  /sbin/modprobe -a $TOLOAD 2>/dev/null
       /sbin/modprobe -a $TOLOAD >/root/modprobe.tmp 2>&1
       if [ $? -ne 0 ] ; then
         _status=$?
         cat /root/modprobe.tmp >> /root/modprobe.log
         echo $TOLOAD status=$_rtn >> /root/modprobe.log
         /bin/rm /root/modprobe.tmp
         exit $_status
       fi
     fi
Comment 1 Manuel Hiebel 2012-01-20 12:26:02 CET
Thomas, something for you ?

Assignee: bugsquad => tmb

Bit Twister 2012-02-03 01:26:51 CET

Source RPM: (none) => kernel-3.2.2-1.mga2.src.rpm

Bit Twister 2012-02-12 05:38:47 CET

Blocks: (none) => 4221

Bit Twister 2012-02-12 19:31:57 CET

Blocks: 4221 => 4490
Source RPM: kernel-3.2.2-1.mga2.src.rpm => kernel-3.2.6-0.rc1.1.mga2.src.rpm

Thomas Backlund 2012-02-14 15:46:53 CET

Blocks: 4490 => (none)

Bit Twister 2012-03-06 15:23:24 CET

Source RPM: kernel-3.2.6-0.rc1.1.mga2.src.rpm => kernel-3.3.0-0.rc6.1.mga2.src.rpm

Comment 2 José Jorge 2012-03-13 22:15:20 CET
(In reply to comment #0)
> Description of problem:
> /etc/rc.modules is being passed
> evdev powernow-k8 cpufreq_performance cpufreq_powersave cpufreq_conservative
> cpufreq_ondemand
> 
You should try "service cpufreq start"?

CC: (none) => lists.jjorge

Comment 3 Bit Twister 2012-03-13 22:40:37 CET
Created attachment 1754 [details]
cpufreq module list

(In reply to comment #2)
> You should try "service cpufreq start"?

That is not going to create the cpufreq_performance module and would be a bit late since module preload happens way before cpufreq would run.
Comment 4 Bit Twister 2012-03-25 14:46:56 CEST
Resolving this bug based on
https://bugs.mageia.org/show_bug.cgi?id=3658#c7

Resolution: (none) => FIXED
Status: NEW => RESOLVED

Comment 5 Colin Guthrie 2012-03-25 16:17:36 CEST
Just for reference:
http://svnweb.mageia.org/soft?view=revision&revision=3778

It'll be in the next version of drakxtools. Of course the list would have to be regenerated or manually edited for upgrades, but either way it seems that latest module-init-tools does not complain about this anymore anyway.

CC: (none) => mageia