problema con lm sensors

Se avete problemi con l'installazione e la configurazione di Slackware postate qui. Non usate questo forum per argomenti generali... per quelli usate Gnu/Linux in genere.

Moderatore: Staff

Regole del forum
1) Citare sempre la versione di Slackware usata, la versione del Kernel e magari anche la versione della libreria coinvolta. Questi dati aiutano le persone che possono rispondere.
2) Per evitare confusione prego inserire in questo forum solo topic che riguardano appunto Slackware, se l'argomento è generale usate il forum Gnu/Linux in genere.
3) Leggere attentamente le risposte ricevute.
4) Scrivere i messaggi con il colore di default, evitare altri colori.
5) Scrivere in Italiano o in Inglese, se possibile grammaticalmente corretto, evitate stili di scrittura poco chiari, quindi nessuna abbreviazione tipo telegramma o scrittura stile SMS o CHAT.
6) Appena registrati è consigliato presentarsi nel forum dedicato.

La non osservanza delle regole porta a provvedimenti di vari tipo da parte dello staff, in particolare la non osservanza della regola 5 porta alla cancellazione del post e alla segnalazione dell'utente. In caso di recidività l'utente rischia il ban temporaneo.
Rispondi
Avatar utente
nicop
Linux 2.x
Linux 2.x
Messaggi: 232
Iscritto il: mer 18 gen 2006, 11:21
Nome Cognome: Nicola Palmieri
Slackware: 12.0
Kernel: 2.6.21.5
Desktop: Gnome Slacky
Località: San Martino In P. (Cb)
Contatta:

problema con lm sensors

Messaggio da nicop »

Salve a tutti....
come premessa voglio dirvi che ho letto tutti i post sul forum riguardanti il seguente argomento ma nn sono riuscito a risolvere il mio problema!!!
Il problema :
ho configurato il kernel come dice la guida presente sul sito di lm sensors ovvero in questo modo :
Recommended Kernel Configuration

* Code maturity level options
o [*] Prompt for development and/or incomplete code/drivers
* Bus options (PCI, PCMCIA, EISA, MCA, ISA)
o [*] PCI support
o [*] ISA support (not needed anymore since 2.6.2-rc1)
* Device Drivers
o I2C support
+ <*> I2C support
+ <M> I2C device interface
+ I2C Algorithms
# <M> (configure all of them as modules)
+ I2C Hardware Bus support
# <M> (configure all of them as modules)
+ I2C Hardware Sensors Chip support (up to 2.6.13-rc2)
# <M> (configure all of them as modules)
o Hardware Monitoring support (since 2.6.13-rc3)
+ <M> (configure all of them as modules)
quando vado a fare un lsmod l'unico modulo caricato è i2c_i801....vabbè ci passo sopra leggendo qua e la capisco che i moduli "indispensabili" sono i2c_dev e i2c_stub oltre a quello caricato...allora provvedo a caricare i suddetti moduli e lancio da root il comando sensors-detect dopo le varie domande arriva alla fine e mi da il seguente output :
To make the sensors modules behave correctly, add these lines to
/etc/modules.conf:

#----cut here----
# I2C module options
alias char-major-89 i2c-dev
options to-be-written ignore=0,0x1b,0,0x1f
options lm92 ignore=0,0x48,0,0x48,0,0x49,0,0x49,0,0x4a,0,0x4a,0,0x4b,0,0x4b,0,0x 4c,0,0x4d,0,0x4e,0,0x4f
options ds1621 ignore=0,0x48,0,0x4b
#----cut here----

To load everything that is needed, add this to some /etc/rc* file:

#----cut here----
# I2C adapter drivers
# modprobe unknown adapter SMBus stub driver
modprobe i2c-i801
# I2C chip drivers
# no driver for Smart Battery Charger yet
# Warning: the required module smartbatt is not currently installed on your syst em.
# For status of 2.6 kernel ports see http://secure.netroedge.com/~lm78/supported .html
# If driver is built-in to the kernel, or unavailable, comment out the following line.
modprobe smartbatt
# Warning: the required module max6650 is not currently installed on your system .
# For status of 2.6 kernel ports see http://secure.netroedge.com/~lm78/supported .html
# If driver is built-in to the kernel, or unavailable, comment out the following line.
modprobe max6650
# Warning: the required module saa1064 is not currently installed on your system .
# For status of 2.6 kernel ports see http://secure.netroedge.com/~lm78/supported .html
# If driver is built-in to the kernel, or unavailable, comment out the following line.
modprobe saa1064
modprobe lm92
modprobe ds1621
modprobe eeprom
# Warning: the required module smbus-arp is not currently installed on your syst em.
# For status of 2.6 kernel ports see http://secure.netroedge.com/~lm78/supported .html
# If driver is built-in to the kernel, or unavailable, comment out the following line.
modprobe smbus-arp
# Warning: the required module pca9540 is not currently installed on your system .
# For status of 2.6 kernel ports see http://secure.netroedge.com/~lm78/supported .html
# If driver is built-in to the kernel, or unavailable, comment out the following line.

modprobe pca9540
# sleep 2 # optional
/usr/local/bin/sensors -s # recommended
#----cut here----

WARNING! If you have some things built into your kernel, the list above
will contain too many modules. Skip the appropriate ones! You really should
try these commands right now to make sure everything is working properly.
Monitoring programs won't work until it's done.

Do you want to generate /etc/sysconfig/lm_sensors? (YES/no): yes
Copy prog/init/lm_sensors.init to /etc/rc.d/init.d/lm_sensors
for initialization at boot time.
posso capire che ci mancano alcuni moduli allora provvedo a caricarli ma nonostante la mia configurazione del kernel mi dice che i seguenti moduli :
smartbatt
max6550
saa1064
smbus-arp
pca9540
non può caricarli perchè non ci sono !!!
allora carico solo quelli che riesco a caricare e lancio prima il comando sensors -s e poi il comando sensors ecco il risultato :
root@shuttle:/# sensors
ds1621-i2c-1-4f
Adapter: SMBus stub driver
temp: +0.00°C (low = +0.0°C, high = +0.0°C)

ds1621-i2c-1-4e
Adapter: SMBus stub driver
temp: +0.00°C (low = +0.0°C, high = +0.0°C)

ds1621-i2c-1-4d
Adapter: SMBus stub driver
temp: +0.00°C (low = +0.0°C, high = +0.0°C)

ds1621-i2c-1-4c
Adapter: SMBus stub driver
temp: +0.00°C (low = +0.0°C, high = +0.0°C)

lm92-i2c-1-4b
Adapter: SMBus stub driver
CPU Temp: +0.0000°C (high = +0.0000°C, low = +0.0000°C, crit = +0.0000°C, hyst = +0.0000°C)

lm92-i2c-1-4a
Adapter: SMBus stub driver
CPU Temp: +0.0000°C (high = +0.0000°C, low = +0.0000°C, crit = +0.0000°C, hyst = +0.0000°C)

lm92-i2c-1-49
Adapter: SMBus stub driver
CPU Temp: +0.0000°C (high = +0.0000°C, low = +0.0000°C, crit = +0.0000°C, hyst = +0.0000°C)

lm92-i2c-1-48
Adapter: SMBus stub driver
CPU Temp: +0.0000°C (high = +0.0000°C, low = +0.0000°C, crit = +0.0000°C, hyst = +0.0000°C)
che vuol dire che ho un cadavere al posto del pc???
qualcuno sa darmi una mano???

grazie...ciaoooo

P.S. il mio kernel è un 2.6.15.3 la mia motherboard invece è una QDI P4I865

Avatar utente
nicop
Linux 2.x
Linux 2.x
Messaggi: 232
Iscritto il: mer 18 gen 2006, 11:21
Nome Cognome: Nicola Palmieri
Slackware: 12.0
Kernel: 2.6.21.5
Desktop: Gnome Slacky
Località: San Martino In P. (Cb)
Contatta:

Messaggio da nicop »

help...nessuno sa come poter risolvere questo problema??
grazieee...

Avatar utente
albatros
Iper Master
Iper Master
Messaggi: 2098
Iscritto il: sab 4 feb 2006, 13:59
Kernel: 6.18.0
Desktop: gnome and lxqt
Distribuzione: Ubuntu 24.04 & FC 41
Località: Darmstadt - Germania

Messaggio da albatros »

Guarda, ho visto il tuo post solo perché sto facendo anch'io gli ultimi ritocchi a sensors e ai moduli del kernel...
E' stata una faticaccia pazzesca!
Purtroppo non ti posso aiutare perché ho una via k8m800 e la configurazione dipende moltissimo dall'hardware che si ha...
Immagino che abbia compilato anche tu le sysfsutils e i2c dando solo make users e make users_installl, quindi per la parte preliminare suppongo tu sia a posto...
Io ho preferito compilare staticamente, poi ho dovuto mettere mano al sensors.conf perché non mi leggeva le ventole, seguendo le indicazioni nella sottodirectory doc dei sorgenti...
Però è fondamentale capire quali moduli del kernel ti servano, ovvero qual è sono il chipset e i sensori in uso...
A me l'lm80 è risultato poi un falso positivo, ho fatto funzionare alla fine Winbond W83627HF, ma ho dovuto pasticciare e provare un po' con il sensors.conf, che è molto commentato, ma alla fine anch'esso non molto chiaro...
Alla fine ce l'ho fatta, ma è dalle 17:00 di stasera che, tolte un paio di ore, ci sto dietro (ho preso come riferimento per controllare i risultati quello che mi dice il bios all'avvio)...
Lo so, non ti sono stato di nessun aiuto, ma almeno comprenderai perché nessuno ti ha risposto e ti consolerai pensando che non sei stato il solo ad aver problemi...

Rispondi