Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[risolto]Aiuto novizio!! problema speed freq
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

Goto page 1, 2  Next  
Reply to topic    Gentoo Forums Forum Index Forum italiano (Italian)
View previous topic :: View next topic  
Author Message
scarzo
n00b
n00b


Joined: 13 May 2005
Posts: 59

PostPosted: Sun May 15, 2005 9:17 am    Post subject: [risolto]Aiuto novizio!! problema speed freq Reply with quote

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
View user's profile Send private message
gutter
Bodhisattva
Bodhisattva


Joined: 13 Mar 2004
Posts: 7162
Location: Aarau, Aargau, Switzerland

PostPosted: Sun May 15, 2005 9:22 am    Post subject: Reply with quote

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
View user's profile Send private message
scarzo
n00b
n00b


Joined: 13 May 2005
Posts: 59

PostPosted: Sun May 15, 2005 9:26 am    Post subject: Reply with 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ò!!
Back to top
View user's profile Send private message
silian87
Advocate
Advocate


Joined: 06 Oct 2003
Posts: 2318
Location: Treviso, Italy

PostPosted: Sun May 15, 2005 9:30 am    Post subject: Reply with quote

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 :wink:
_________________
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
View user's profile Send private message
neryo
Veteran
Veteran


Joined: 09 Oct 2004
Posts: 1292
Location: Ferrara, Italy, Europe

PostPosted: Sun May 15, 2005 12:31 pm    Post subject: Reply with quote

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... :wink:
_________________
cache: a safe place for hiding or storing things..

D-link DWL-G650 AirPlus
Apache Php Mysql
Back to top
View user's profile Send private message
scarzo
n00b
n00b


Joined: 13 May 2005
Posts: 59

PostPosted: Mon May 16, 2005 6:41 pm    Post subject: Reply with quote

ho fatto tutto ciò che mi avete detto ma continua a nn funzionare!! aiuto!!!!!
Back to top
View user's profile Send private message
lavish
Bodhisattva
Bodhisattva


Joined: 13 Sep 2004
Posts: 4296

PostPosted: Mon May 16, 2005 7:25 pm    Post subject: Reply with quote

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
View user's profile Send private message
fedeliallalinea
Administrator
Administrator


Joined: 08 Mar 2003
Posts: 30996
Location: here

PostPosted: Mon May 16, 2005 11:50 pm    Post subject: Reply with quote

[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
View user's profile Send private message
scarzo
n00b
n00b


Joined: 13 May 2005
Posts: 59

PostPosted: Thu May 19, 2005 2:12 pm    Post subject: Reply with quote

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
View user's profile Send private message
silian87
Advocate
Advocate


Joined: 06 Oct 2003
Posts: 2318
Location: Treviso, Italy

PostPosted: Thu May 19, 2005 3:25 pm    Post subject: Reply with quote

fai cosi':

Code:

mkdir /sys


e poi nel tuo fstab metti:

Code:
none sys sysfs default 0 0

_________________
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
View user's profile Send private message
scarzo
n00b
n00b


Joined: 13 May 2005
Posts: 59

PostPosted: Thu May 19, 2005 3:53 pm    Post subject: Reply with quote

silian87 wrote:
fai cosi':

Code:

mkdir /sys


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
View user's profile Send private message
silian87
Advocate
Advocate


Joined: 06 Oct 2003
Posts: 2318
Location: Treviso, Italy

PostPosted: Thu May 19, 2005 3:56 pm    Post subject: Reply with quote

ok per l'mkdir.

l'fstab l'ahi visto se hai installato gentoo... cmq da root:
Code:
nano -w /etc/fstab


aggiungi la riga alla fine
_________________
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
View user's profile Send private message
scarzo
n00b
n00b


Joined: 13 May 2005
Posts: 59

PostPosted: Thu May 19, 2005 4:02 pm    Post subject: Reply with quote

ho appena fatto quello che mi hai detto adesso???
Back to top
View user's profile Send private message
silian87
Advocate
Advocate


Joined: 06 Oct 2003
Posts: 2318
Location: Treviso, Italy

PostPosted: Thu May 19, 2005 4:29 pm    Post subject: Reply with quote

Quote:
ho appena fatto quello che mi hai detto adesso???


ora devi riavviare... :)
_________________
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
View user's profile Send private message
scarzo
n00b
n00b


Joined: 13 May 2005
Posts: 59

PostPosted: Thu May 19, 2005 4:57 pm    Post subject: Reply with quote

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
View user's profile Send private message
silian87
Advocate
Advocate


Joined: 06 Oct 2003
Posts: 2318
Location: Treviso, Italy

PostPosted: Thu May 19, 2005 4:58 pm    Post subject: Reply with quote

Nel kernel sotto la voce "CPU..." controlla di aver messo "cpu scaling support"... se no non funge niente.
_________________
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
View user's profile Send private message
Dr.Dran
l33t
l33t


Joined: 08 Oct 2004
Posts: 766
Location: Imola - Italy

PostPosted: Thu May 19, 2005 6:45 pm    Post subject: Reply with quote

Per darti un aiuto migliore, posta il file fstab e le configurazioni per il powermanagement e il filesystem nel kernel sul forum :wink:
Back to top
View user's profile Send private message
scarzo
n00b
n00b


Joined: 13 May 2005
Posts: 59

PostPosted: Fri May 20, 2005 12:04 pm    Post subject: Reply with quote

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
View user's profile Send private message
eaglematt
Tux's lil' helper
Tux's lil' helper


Joined: 27 Jan 2004
Posts: 140

PostPosted: Fri May 20, 2005 12:20 pm    Post subject: Reply with quote

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
View user's profile Send private message
scarzo
n00b
n00b


Joined: 13 May 2005
Posts: 59

PostPosted: Fri May 20, 2005 12:25 pm    Post subject: Reply with quote

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
View user's profile Send private message
eaglematt
Tux's lil' helper
Tux's lil' helper


Joined: 27 Jan 2004
Posts: 140

PostPosted: Fri May 20, 2005 12:28 pm    Post subject: Reply with quote

Quote:
purtroppo nn c'è la directory!!! che faccio????!??? c'è solo cpu0 e cpu1 e dentro sono vuote!!!!

ma che sistema hai con 2 processori???????8O
hai controllato sul general setup del kernel se c'è l'architettura corretta?
Ciao Ciao Matt8O
Back to top
View user's profile Send private message
scarzo
n00b
n00b


Joined: 13 May 2005
Posts: 59

PostPosted: Fri May 20, 2005 12:34 pm    Post subject: Reply with quote

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???????8O

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
View user's profile Send private message
eaglematt
Tux's lil' helper
Tux's lil' helper


Joined: 27 Jan 2004
Posts: 140

PostPosted: Fri May 20, 2005 12:39 pm    Post subject: Reply with quote

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
View user's profile Send private message
silian87
Advocate
Advocate


Joined: 06 Oct 2003
Posts: 2318
Location: Treviso, Italy

PostPosted: Fri May 20, 2005 12:39 pm    Post subject: Reply with quote

Scusa se te lo chiedo... ma sei sicuro che supporti lo scaling della frequenza?
_________________
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
View user's profile Send private message
eaglematt
Tux's lil' helper
Tux's lil' helper


Joined: 27 Jan 2004
Posts: 140

PostPosted: Fri May 20, 2005 12:41 pm    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Forum italiano (Italian) All times are GMT
Goto page 1, 2  Next
Page 1 of 2

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum