[SOLVED] Ubuntu 10.10 PPA on Lenovo x100e - no sysfs files

If you have trouble with PHC you can ask and hope for help here.
Post Reply
ct00
Posts: 1
Joined: Mon 18. Oct 2010, 18:39

[SOLVED] Ubuntu 10.10 PPA on Lenovo x100e - no sysfs files

Post by ct00 » Mon 18. Oct 2010, 18:50

I'm running Ubuntu Maverick 10.10 on a Lenovo x100e (AMD Neo 1.6), and using the latest linux-generic-phc kernel (2.6.35-22-generic-phc). I see in the forums that others have had success with the same hardware.

Everything looks good to me:

lsmod | grep k8:

Code: Select all

powernow_k8            15009  1 
mperf                   1515  1 powernow_k8
k8temp                  4064  0
grep k8 /var/log/syslog:

Code: Select all

Oct 18 12:30:43 fantastica kernel: [   20.974605] k8temp 0000:00:18.3: Temperature readouts might be wrong - check erratum #141
Oct 18 12:30:44 fantastica kernel: [   25.103932] powernow-k8: Found 1 AMD Athlon(tm) Neo X2 Dual Core Processor L335 (2 cpu cores) (version 2.20.00)
Oct 18 12:30:44 fantastica kernel: [   25.106107] powernow-k8:    0 : fid 0x8 (1600 MHz), vid 0x19
Oct 18 12:30:44 fantastica kernel: [   25.106112] powernow-k8:    1 : fid 0x0 (800 MHz), vid 0x1e
but I don't see any of the phc interfaces in my sysfs.
ls /sys/devices/system/cpu/cpu0/cpufreq:

Code: Select all

affected_cpus  cpuinfo_cur_freq  cpuinfo_transition_latency  scaling_available_frequencies  scaling_driver    scaling_min_freq
bios_limit     cpuinfo_max_freq  ondemand                    scaling_available_governors    scaling_governor  scaling_setspeed
cpb            cpuinfo_min_freq  related_cpus                scaling_cur_freq               scaling_max_freq  stats
Suggestions?

[EDIT: SOLVED]
Thanks for the help!
I needed to build the separate phc-k8 module. I had mislead myself into thinking that the powernow-k8 module was sufficient for phc now with the PPA kernel.
After grabbing the sources, installing dkms, and resolving the Maverick utsrelease.h issue by editing the Makefile, the module has built and is working. http://www.linux-phc.org/forum/viewtopic.php?f=13&t=2

lsmod | grep k8:

Code: Select all

phc_k8                 18544  1 
k8temp                  4064  0
ls /sys/devices/system/cpu/cpu0/cpufreq:

Code: Select all

affected_cpus     cpuinfo_min_freq            phc_available_fids    phc_default_fids  phc_version   scaling_available_frequencies  scaling_driver    scaling_min_freq
cpuinfo_cur_freq  cpuinfo_transition_latency  phc_controls          phc_default_vids  phc_vids      scaling_available_governors    scaling_governor  scaling_setspeed
cpuinfo_max_freq  ondemand                    phc_default_controls  phc_fids          related_cpus  scaling_cur_freq               scaling_max_freq  stats

Post Reply