View previous topic :: View next topic |
Author |
Message |
scarzo n00b
Joined: 13 May 2005 Posts: 59
|
Posted: Sun May 15, 2005 9:17 am Post subject: [risolto]Aiuto novizio!! problema speed freq |
|
|
Salve,
ho istallato da qualche giorno la gentoo sul mio portatile fujitsu-siemens amilo d7830 (pentium 4 3.06 Ghz HT) (mi sono fatto aiutare da un mio amico!!) mi ha dettto di installare speedfreq e io ho fatto così (da root ovviamente):
# emerge speedfreq
#speedfreqd
ma mi da il seguente errore:
speedfreqd: cannot find cpufreq under /sys
Need sysfs mounted on /sys, and kernel configured with cpufreq driver
cosa posso fare??
Grazie a tutti per l'aiuto!!!!
Last edited by scarzo on Fri May 20, 2005 6:11 pm; edited 2 times in total |
|
Back to top |
|
|
gutter Bodhisattva
Joined: 13 Mar 2004 Posts: 7162 Location: Aarau, Aargau, Switzerland
|
Posted: Sun May 15, 2005 9:22 am Post subject: |
|
|
Controlla di avere questa voce abilitata nel tuo .config.
Code: | # Pseudo filesystems
CONFIG_SYSFS=y |
_________________ Registered as User #281564 and Machines #163761 |
|
Back to top |
|
|
scarzo n00b
Joined: 13 May 2005 Posts: 59
|
Posted: Sun May 15, 2005 9:26 am Post subject: |
|
|
scusami ma nn sono tanto pratico come faccio ad accedere al .config. dove si trova?? (posso editarlo con nano penso o con vim ma nn so dove si trova) grazie mille proverò!! |
|
Back to top |
|
|
silian87 Advocate
Joined: 06 Oct 2003 Posts: 2318 Location: Treviso, Italy
|
Posted: Sun May 15, 2005 9:30 am Post subject: |
|
|
Quote: | scusami ma nn sono tanto pratico come faccio ad accedere al .config. dove si trova?? (posso editarlo con nano penso o con vim ma nn so dove si trova) grazie mille proverò!!scusami ma nn sono tanto pratico come faccio ad accedere al .config. dove si trova?? (posso editarlo con nano penso o con vim ma nn so dove si trova) grazie mille proverò!! |
Il .config e' il file che menuconfig genera quando editi le preferenze del kernel in fase di isntallazione (almeno che tu non abbia usato genkernel).
Cmq si trova in /usr/src/linux
apri il .config con nano magari e cerca la voce. Puoi cambiarla direttamente da li.
Ciao _________________ Musica che ascolto: http://www.last.fm/user/silian87/
Silian87 FAQs: http://marentax.homelinux.org/~silian87/silian87-faq.txt
GTalk: silian87@gmail.com |
|
Back to top |
|
|
neryo Veteran
Joined: 09 Oct 2004 Posts: 1292 Location: Ferrara, Italy, Europe
|
Posted: Sun May 15, 2005 12:31 pm Post subject: |
|
|
silian87 wrote: | Quote: | scusami ma nn sono tanto pratico come faccio ad accedere al .config. dove si trova?? (posso editarlo con nano penso o con vim ma nn so dove si trova) grazie mille proverò!!scusami ma nn sono tanto pratico come faccio ad accedere al .config. dove si trova?? (posso editarlo con nano penso o con vim ma nn so dove si trova) grazie mille proverò!! |
Il .config e' il file che menuconfig genera quando editi le preferenze del kernel in fase di isntallazione (almeno che tu non abbia usato genkernel).
Cmq si trova in /usr/src/linux
apri il .config con nano magari e cerca la voce. Puoi cambiarla direttamente da li.
|
una volta editato poi ricompila il kernel senza fare un clean miraccomando... _________________ cache: a safe place for hiding or storing things..
D-link DWL-G650 AirPlus
Apache Php Mysql |
|
Back to top |
|
|
scarzo n00b
Joined: 13 May 2005 Posts: 59
|
Posted: Mon May 16, 2005 6:41 pm Post subject: |
|
|
ho fatto tutto ciò che mi avete detto ma continua a nn funzionare!! aiuto!!!!! |
|
Back to top |
|
|
lavish Bodhisattva
Joined: 13 Sep 2004 Posts: 4296
|
Posted: Mon May 16, 2005 7:25 pm Post subject: |
|
|
scarzo wrote: | ho fatto tutto ciò che mi avete detto ma continua a nn funzionare!! aiuto!!!!! |
Ci posti esattamente quello che hai fatto? _________________ minimalblue.com | secgroup.github.io/ |
|
Back to top |
|
|
fedeliallalinea Administrator
Joined: 08 Mar 2003 Posts: 30996 Location: here
|
Posted: Mon May 16, 2005 11:50 pm Post subject: |
|
|
[MOD]poi cambiare il titolo con qualcosa che spieghi meglio il problema? grazie[/MOD] _________________ Questions are guaranteed in life; Answers aren't. |
|
Back to top |
|
|
scarzo n00b
Joined: 13 May 2005 Posts: 59
|
Posted: Thu May 19, 2005 2:12 pm Post subject: |
|
|
gutter wrote: | Controlla di avere questa voce abilitata nel tuo .config.
Code: | # Pseudo filesystems
CONFIG_SYSFS=y |
|
ho controllato ed ho questa voce già abilitata ma speedfreq nn va mi da sempre lo stesso errore!!
speedfreqd: cannot find cpufreq under /sys
Need sysfs mounted on /sys, and kernel configured with cpufreq driver |
|
Back to top |
|
|
silian87 Advocate
Joined: 06 Oct 2003 Posts: 2318 Location: Treviso, Italy
|
|
Back to top |
|
|
scarzo n00b
Joined: 13 May 2005 Posts: 59
|
Posted: Thu May 19, 2005 3:53 pm Post subject: |
|
|
silian87 wrote: | fai cosi':
e poi nel tuo fstab metti:
Code: | none sys sysfs default 0 0 |
|
mi da subito l'errore quando faccio mkdir /sys perchè già esiste la direttory sys.
come faccio ad andare nel fstab?? (nel senso dove si trova??) |
|
Back to top |
|
|
silian87 Advocate
Joined: 06 Oct 2003 Posts: 2318 Location: Treviso, Italy
|
|
Back to top |
|
|
scarzo n00b
Joined: 13 May 2005 Posts: 59
|
Posted: Thu May 19, 2005 4:02 pm Post subject: |
|
|
ho appena fatto quello che mi hai detto adesso??? |
|
Back to top |
|
|
silian87 Advocate
Joined: 06 Oct 2003 Posts: 2318 Location: Treviso, Italy
|
|
Back to top |
|
|
scarzo n00b
Joined: 13 May 2005 Posts: 59
|
Posted: Thu May 19, 2005 4:57 pm Post subject: |
|
|
niente da fare sempre lo stesso errore mi da!!!!!
root@ALEX ale # speedfreqd
speedfreqd: cannot find cpufreq under /sys
Need sysfs mounted on /sys, and kernel configured with cpufreq driver
boHHH
Aiuto!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! |
|
Back to top |
|
|
silian87 Advocate
Joined: 06 Oct 2003 Posts: 2318 Location: Treviso, Italy
|
|
Back to top |
|
|
Dr.Dran l33t
Joined: 08 Oct 2004 Posts: 766 Location: Imola - Italy
|
Posted: Thu May 19, 2005 6:45 pm Post subject: |
|
|
Per darti un aiuto migliore, posta il file fstab e le configurazioni per il powermanagement e il filesystem nel kernel sul forum |
|
Back to top |
|
|
scarzo n00b
Joined: 13 May 2005 Posts: 59
|
Posted: Fri May 20, 2005 12:04 pm Post subject: |
|
|
ok
per quanto riguarda il kernel la mia situazione è la seguente (ho un pentium 4 HT):
Code: | [*] CPU Frequency scaling │ │
│ │ [ ] Enable CPUfreq debugging │ │
│ │ <M> CPU frequency translation statistics │ │
│ │ [*] CPU frequency translation statistics details │ │
│ │ Default CPUFreq governor (userspace) ---> │ │
│ │ <*> 'performance' governor │ │
│ │ <*> 'powersave' governor │ │
│ │ --- 'userspace' governor for userspace frequency scaling │ │
│ │ <*> 'ondemand' cpufreq policy governor │ │
│ │ <*> CPU frequency table helpers │ │
│ │ --- CPUFreq processor drivers │ │
│ │ <M> ACPI Processor P-States driver │ │
│ │ < > AMD Mobile K6-2/K6-3 PowerNow! │ │
│ │ < > AMD Mobile Athlon/Duron PowerNow! │ │
│ │ < > AMD Opteron/Athlon64 PowerNow! │ │
│ │ < > Cyrix MediaGX/NatSemi Geode Suspend Modulation │ │
│ │ < > Intel Enhanced SpeedStep │ │
│ │ < > Intel Speedstep on ICH-M chipsets (ioport interface) │ │
│ │ < > Intel SpeedStep on 440BX/ZX/MX chipsets (SMI interface) │ │
│ │ <*> Intel Pentium 4 clock modulation │ │
│ │ < > nVidia nForce2 FSB changing │ │
│ │ < > Transmeta LongRun │ │
│ │ < > VIA Cyrix III Longhaul │ │
│ │ --- shared options │ │
│ │ [ ] /proc/acpi/processor/../performance interface (deprecated) │ │
│ │
|
per quanto riguarda fstab eccolo:
Code: |
# /etc/fstab: static file system information.
# $Header: /home/cvsroot/gentoo-src/rc-scripts/etc/fstab,v 1.14 2003/10/13 20:03:38 azarah Exp $
#
# noatime turns off atimes for increased performance (atimes normally aren't
# needed; notail increases performance of ReiserFS (at the expense of storage
# efficiency). It's safe to drop the noatime options if you want and to
# switch between notail and tail freely.
# <fs> <mountpoint> <type> <opts> <dump/pass>
# NOTE: If your BOOT partition is ReiserFS, add the notail option to opts.
/dev/hda6 /boot ext3 noauto,noatime 1 1
/dev/hda7 / reiserfs noatime 0 0
/dev/hda5 none swap sw 0 0
/dev/cdroms/cdrom0 /mnt/cdrom iso9660 noauto,ro 0 0
/dev/hda8 /mnt/dati vfat user,rw,umask=000 0 0
# NOTE: The next line is critical for boot!
none /proc proc defaults 0 0
# glibc 2.2 and above expects tmpfs to be mounted at /dev/shm for
# POSIX shared memory (shm_open, shm_unlink).
# (tmpfs is a dynamically expandable/shrinkable ramdisk, and will
# use almost no memory if not populated with files)
# Adding the following line to /etc/fstab should take care of this:
none /dev/shm tmpfs defaults 0 0
none sys sysfs default 0 0
|
nn so che altro farvi vedere ditemi voi dove si trova grazie!!! |
|
Back to top |
|
|
eaglematt Tux's lil' helper
Joined: 27 Jan 2004 Posts: 140
|
Posted: Fri May 20, 2005 12:20 pm Post subject: |
|
|
Guarda con queste imopstazioni prova ada ndare a vedere se c'è la dir Code: | /sys/devices/system/cpu/cpu0/cpufreq |
se c'è prova un Code: | echo ondemand > scaling_governor | e vedrai che lo speedstep funziona alla grandissimja e senza demoni a livello kernel
Ho provato proprio ora e va alla grande
Matt |
|
Back to top |
|
|
scarzo n00b
Joined: 13 May 2005 Posts: 59
|
Posted: Fri May 20, 2005 12:25 pm Post subject: |
|
|
eaglematt wrote: | Guarda con queste imopstazioni prova ada ndare a vedere se c'è la dir Code: | /sys/devices/system/cpu/cpu0/cpufreq |
Matt |
purtroppo nn c'è la directory!!! che faccio????!??? c'è solo cpu0 e cpu1 e dentro sono vuote!!!! |
|
Back to top |
|
|
eaglematt Tux's lil' helper
Joined: 27 Jan 2004 Posts: 140
|
Posted: Fri May 20, 2005 12:28 pm Post subject: |
|
|
Quote: | purtroppo nn c'è la directory!!! che faccio????!??? c'è solo cpu0 e cpu1 e dentro sono vuote!!!! |
ma che sistema hai con 2 processori???????
hai controllato sul general setup del kernel se c'è l'architettura corretta?
Ciao Ciao Matt8O |
|
Back to top |
|
|
scarzo n00b
Joined: 13 May 2005 Posts: 59
|
Posted: Fri May 20, 2005 12:34 pm Post subject: |
|
|
eaglematt wrote: | Quote: | purtroppo nn c'è la directory!!! che faccio????!??? c'è solo cpu0 e cpu1 e dentro sono vuote!!!! |
ma che sistema hai con 2 processori???????
Ciao Ciao Matt8O |
ho un pentium 4 HT e quindi credo che mi debba vedere due processori!!! Infatti nel kernel ho la seguente cosa :
Code: |
Subarchitecture Type (PC-compatible) ---> │ │
│ │ Processor family (Pentium-4/Celeron(P4-based)/Pentium-4 M/Xeon) ---> │ │
│ │ [ ] Generic x86 support │ │
│ │ [ ] HPET Timer Support │ │
│ │ [*] Symmetric multi-processing support │ │
│ │ (2) Maximum number of CPUs (2-255) │ │
│ │ [*] SMT (Hyperthreading) scheduler support │ │
│ │ [*] Preemptible Kernel │ │
│ │ [*] Preempt The Big Kernel Lock │ │
│ │ [ ] Machine Check Exception │ │
│ │ < > Toshiba Laptop support │ │
│ │ < > Dell laptop support │ │
│ │ < > /dev/cpu/microcode - Intel IA32 CPU microcode support │ │
│ │ < > /dev/cpu/*/msr - Model-specific register support │ │
│ │ < > /dev/cpu/*/cpuid - CPU information support │ │
│ │ Firmware Drivers ---> │ │
│ │ High Memory Support (off) ---> │ │
│ │ [ ] Math emulation │ │
│ │ [*] MTRR (Memory Type Range Register) support │ │
│ │ [ ] Boot from EFI support (EXPERIMENTAL) │ │
│ │ [*] Enable kernel irq balancing │ │
│ │ [ ] Use register arguments (EXPERIMENTAL)
|
|
|
Back to top |
|
|
eaglematt Tux's lil' helper
Joined: 27 Jan 2004 Posts: 140
|
Posted: Fri May 20, 2005 12:39 pm Post subject: |
|
|
mah io non userei per ora il sistema smp in quanto, smentitemi se sbagli, l'hyperthreading non significa dual core prova a disabilitarlo visto che l'hyperthreading è già attivo
Ciao Matt |
|
Back to top |
|
|
silian87 Advocate
Joined: 06 Oct 2003 Posts: 2318 Location: Treviso, Italy
|
|
Back to top |
|
|
eaglematt Tux's lil' helper
Joined: 27 Jan 2004 Posts: 140
|
Posted: Fri May 20, 2005 12:41 pm Post subject: |
|
|
Da quello che so tutti i p4 supportano lo scaling in freq almeno sul dell dell'ufficio funziona alla grande e non è dotato di processori particolari
MAtt |
|
Back to top |
|
|
|