no phc files in /sys/devices/system/cpu/cpu0/cpufreq/

If you have trouble with PHC you can ask and hope for help here.
Post Reply
andrewm
Posts: 1
Joined: Tue 17. Apr 2012, 18:09

no phc files in /sys/devices/system/cpu/cpu0/cpufreq/

Post by andrewm » Tue 17. Apr 2012, 18:20

Hi,

I just installed the liquorix kernel today but I can't find the phc files to modify the settings for my cpu.

Is it that my cpu is not supported? It mentions in the README of phc that cpu_family 16 and 17 are supported.

Thanks for any help,
Andrew

Code: Select all

lsmod
Module                  Size  Used by
michael_mic             2028  4 
arc4                    1401  2 
ecb                     1975  2 
af_packet              26123  4 
lib80211_crypt_tkip     8256  0 
wl                   2566836  0 
lib80211                5373  2 lib80211_crypt_tkip,wl
fuse                   70233  2 
ipv6                  324696  26 
rfcomm                 36209  0 
bnep                   11400  2 
bluetooth             174319  10 rfcomm,bnep
parport_pc             31809  0 
ppdev                   5910  0 
ext4                  466955  1 
jbd2                   84742  1 ext4
crc16                   1675  2 bluetooth,ext4
ext2                   63589  1 
mbcache                 7517  2 ext4,ext2
sha256_generic         10351  4 
cryptd                  9272  0 
aes_x86_64              7808  8 
aes_generic            27215  1 aes_x86_64
cbc                     2664  4 
snd_hda_codec_conexant    48836  1 
snd_hda_intel          25213  3 
snd_hda_codec         107252  2 snd_hda_codec_conexant,snd_hda_intel
snd_hwdep               6507  1 snd_hda_codec
joydev                 10757  0 
uvcvideo               67803  0 
videobuf2_core         22344  1 uvcvideo
videodev               94599  1 uvcvideo
media                  13356  2 uvcvideo,videodev
v4l2_compat_ioctl32     8244  1 videodev
snd_pcm_oss            38168  0 
snd_mixer_oss          15662  1 snd_pcm_oss
sp5100_tco              5289  0 
dm_crypt               16302  2 
snd_pcm                83693  3 snd_hda_intel,snd_hda_codec,snd_pcm_oss
battery                11201  0 
ideapad_laptop          8966  0 
dm_mod                 78421  5 dm_crypt
i2c_piix4               8743  0 
edac_core              45753  0 
edac_mce_amd           15254  0 
i2c_core               25797  2 videodev,i2c_piix4
snd_seq_dummy           1710  0 
snd_seq_oss            28948  0 
rtc_cmos                8969  0 
fglrx                3256032  54 
videobuf2_vmalloc       2372  1 uvcvideo
videobuf2_memops        2806  1 videobuf2_vmalloc
shpchp                 27156  0 
pci_hotplug            28552  1 shpchp
snd_seq_midi            5548  0 
lp                     10130  0 
snd_rawmidi            22377  1 snd_seq_midi
snd_seq_midi_event      6907  2 snd_seq_oss,snd_seq_midi
snd_seq                53456  6 snd_seq_dummy,snd_seq_oss,snd_seq_midi,snd_seq_midi_event
snd_timer              21556  2 snd_pcm,snd_seq
snd_seq_device          6329  5 snd_seq_dummy,snd_seq_oss,snd_seq_midi,snd_rawmidi,snd_seq
snd                    70477  18 snd_hda_codec_conexant,snd_hda_intel,snd_hda_codec,snd_hwdep,snd_pcm_oss,snd_mixer_oss,snd_pcm,snd_seq_oss,snd_rawmidi,snd_seq,snd_timer,snd_seq_device
psmouse                74313  0 
serio_raw               4811  0 
soundcore               7943  1 snd
snd_page_alloc          8332  2 snd_hda_intel,snd_pcm
sparse_keymap           4138  1 ideapad_laptop
evdev                   9633  17 
rfkill                 17883  4 bluetooth,ideapad_laptop
k10temp                 3311  0 
ac                      3368  0 
parport                37474  3 parport_pc,ppdev,lp
loop                   19460  0 
btrfs                 665411  1 
zlib_deflate           21562  1 btrfs
crc32c                  2815  1 
libcrc32c               1268  1 btrfs
sr_mod                 15679  0 
sd_mod                 36409  5 
cdrom                  39439  1 sr_mod
ahci                   20648  4 
libahci                22867  1 ahci
libata                198765  2 ahci,libahci
scsi_mod              204830  3 sr_mod,sd_mod,libata
atl1c                  32572  0 
ehci_hcd               45086  0 
ohci_hcd               21529  0 
video                  12153  0 
thermal                 8358  0 
button                  5121  1 fglrx

Code: Select all

ls /sys/devices/system/cpu/cpu0/cpufreq/
affected_cpus     cpuinfo_transition_latency     scaling_governor
bios_limit        related_cpus                   scaling_max_freq
cpb               scaling_available_frequencies  scaling_min_freq
cpuinfo_cur_freq  scaling_available_governors    scaling_setspeed
cpuinfo_max_freq  scaling_cur_freq               stats
cpuinfo_min_freq  scaling_driver

Code: Select all

cat /proc/cpuinfo 
processor	: 0
vendor_id	: AuthenticAMD
cpu family	: 16
model		: 6
model name	: AMD Athlon(tm) II Dual-Core M320
stepping	: 2
microcode	: 0x1000098
cpu MHz		: 800.000
cache size	: 512 KB
physical id	: 0
siblings	: 2
core id		: 0
cpu cores	: 2
apicid		: 0
initial apicid	: 0
fpu		: yes
fpu_exception	: yes
cpuid level	: 5
wp		: yes
flags		: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ht syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm 3dnowext 3dnow constant_tsc rep_good nopl nonstop_tsc extd_apicid pni monitor cx16 popcnt lahf_lm cmp_legacy svm extapic cr8_legacy abm sse4a 3dnowprefetch osvw ibs skinit wdt npt lbrv svm_lock nrip_save
bogomips	: 4189.50
TLB size	: 1024 4K pages
clflush size	: 64
cache_alignment	: 64
address sizes	: 48 bits physical, 48 bits virtual
power management: ts ttp tm stc 100mhzsteps hwpstate

processor	: 1
vendor_id	: AuthenticAMD
cpu family	: 16
model		: 6
model name	: AMD Athlon(tm) II Dual-Core M320
stepping	: 2
microcode	: 0x1000098
cpu MHz		: 2100.000
cache size	: 512 KB
physical id	: 0
siblings	: 2
core id		: 1
cpu cores	: 2
apicid		: 1
initial apicid	: 1
fpu		: yes
fpu_exception	: yes
cpuid level	: 5
wp		: yes
flags		: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ht syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm 3dnowext 3dnow constant_tsc rep_good nopl nonstop_tsc extd_apicid pni monitor cx16 popcnt lahf_lm cmp_legacy svm extapic cr8_legacy abm sse4a 3dnowprefetch osvw ibs skinit wdt npt lbrv svm_lock nrip_save
bogomips	: 4189.50
TLB size	: 1024 4K pages
clflush size	: 64
cache_alignment	: 64
address sizes	: 48 bits physical, 48 bits virtual
power management: ts ttp tm stc 100mhzsteps hwpstate

User avatar
DavidG
Posts: 180
Joined: Fri 18. Jul 2008, 11:25
Contact:

Re: no phc files in /sys/devices/system/cpu/cpu0/cpufreq/

Post by DavidG » Mon 23. Apr 2012, 13:29

I had to look up what you mean by the "liquorix kernel" but as far as I can tell, it does not include the phc-k8 driver, lsmod doesn't list it either (nor does it list powernow-k8, so there seems to be no cpufreq driver at all).
You'll have to install the phc-k8 driver separately, there's a phc-k8 package for Arch that you can use.
A bank is a place where they lend you an umbrella in fair weather and ask for it back when it begins to rain -- R. Frost

Post Reply