Compilazione Kernel e Sensori
- Cobra78
- Scoppiettante Seguace

- Messaggi: 991
- Iscrizione: giovedì 18 agosto 2005, 11:08
- Località: Ferrara
- Contatti:
Compilazione Kernel e Sensori
Ci risiamo, dopo mesi di oblio ho rimesso mano alla mia fida Ubuntina, e mi sono detto: perchè non riprovare a compilare e buttare su un bel Kernel nuovo fiammante?
Detto fatto, con l'esperienza maturata dai rpecedenti tentativi è andato tutto più o meno liscio tranne.......i maledetti sensori della mobo :dead:
Non c'è verso, per quanto mi sempri di mettere tutto quello che serve, puntualmente col kernel nuovo la sensor-applet non mi legge le temperature e le ventole.
La mobo è una Abit Nf7-S 2.0, chipset ovviamente Nforce2, c'è nessuno che ha compilato il kernel con questa mobo, o chipset analogo, e che abbia fatto funzionare i sensori, che possa dirmi dove devo guardare per capire il problema?
Detto fatto, con l'esperienza maturata dai rpecedenti tentativi è andato tutto più o meno liscio tranne.......i maledetti sensori della mobo :dead:
Non c'è verso, per quanto mi sempri di mettere tutto quello che serve, puntualmente col kernel nuovo la sensor-applet non mi legge le temperature e le ventole.
La mobo è una Abit Nf7-S 2.0, chipset ovviamente Nforce2, c'è nessuno che ha compilato il kernel con questa mobo, o chipset analogo, e che abbia fatto funzionare i sensori, che possa dirmi dove devo guardare per capire il problema?
Dell Inspiron 1720 Ice White Windows 7 Professional/Archlinux x86_64 - 2.6.38.x - Gnome3
Msi Wind U100 Windows Xp/Ubuntu 11.04 - Gnome3
Msi Wind U100 Windows Xp/Ubuntu 11.04 - Gnome3
- Janvitus
- Amministratore

- Messaggi: 18787
- Iscrizione: lunedì 25 aprile 2005, 15:52
- Desktop: GNOME Shell / Xfce
- Sesso: Maschile
- Località: Potenza
- Contatti:
Re: Compilazione Kernel e Sensori
I metodi sono diversi, il primo è andare sul sito di lm_sensors e capire da li quali sono i sensori. Un secondo metodo è avviare ubuntu con un kernel precompilato e capire dai moduli che carica quali sono i driver, ad es.:
@ubuntubox:~$ dmesg | grep i2c*
i2c_adapter i2c-0: nForce2 SMBus adapter at 0x4c00
i2c_adapter i2c-1: nForce2 SMBus adapter at 0x4c40
Vuol dire che i moduli i2c sono caricati, sono moduli indispensabili per i sensori. Poi controlla con lsmod quale modulo carica a sua volta il modulo i2c:
@ubuntubox:~$ lsmod
Module Size Used by
i2c_isa 6080 1 w83627hf
i2c_nforce2 7680 0
Come vedi il mio i2c carica il modulo w83627hf, che è il chip dei sensori della mobo. Se tutto questo non dovesse andare, prova a configurare i sensori consudo sensors-detect, e fai scrivere nel file /etc/modules i moduli da lui consigliati. Una volta fatto apri il file e controlla quali moduli ti ha inserito, cancella quelli superflui, es:
# Generated by sensors-detect on Sat Nov 26 13:07:40 2005
# I2C adapter drivers
i2c-nforce2
#i2c-isa
# I2C chip drivers
# Warning: the required module eeprom 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.
#eeprom
w83627hf
Io ho un nforce4 come chip, per cui ci dovremmo trovare.
@ubuntubox:~$ dmesg | grep i2c*
i2c_adapter i2c-0: nForce2 SMBus adapter at 0x4c00
i2c_adapter i2c-1: nForce2 SMBus adapter at 0x4c40
Vuol dire che i moduli i2c sono caricati, sono moduli indispensabili per i sensori. Poi controlla con lsmod quale modulo carica a sua volta il modulo i2c:
@ubuntubox:~$ lsmod
Module Size Used by
i2c_isa 6080 1 w83627hf
i2c_nforce2 7680 0
Come vedi il mio i2c carica il modulo w83627hf, che è il chip dei sensori della mobo. Se tutto questo non dovesse andare, prova a configurare i sensori consudo sensors-detect, e fai scrivere nel file /etc/modules i moduli da lui consigliati. Una volta fatto apri il file e controlla quali moduli ti ha inserito, cancella quelli superflui, es:
# Generated by sensors-detect on Sat Nov 26 13:07:40 2005
# I2C adapter drivers
i2c-nforce2
#i2c-isa
# I2C chip drivers
# Warning: the required module eeprom 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.
#eeprom
w83627hf
Io ho un nforce4 come chip, per cui ci dovremmo trovare.
- Cobra78
- Scoppiettante Seguace

- Messaggi: 991
- Iscrizione: giovedì 18 agosto 2005, 11:08
- Località: Ferrara
- Contatti:
Re: Compilazione Kernel e Sensori
temevo una risposta simile......temevo perchè i moduli e quant'altro sono già correttamente caricati, infatti col kernel standard i sensori funzionano beatamente, ma quando uso il kernel nuovo nada, e i moduli che ho inserito so essere giusti perchè ho fatto diverse prove.....ritento ancora una volta e vediamo se capisco il problema o trovo nuovi dettagli sullo stesso.
Dell Inspiron 1720 Ice White Windows 7 Professional/Archlinux x86_64 - 2.6.38.x - Gnome3
Msi Wind U100 Windows Xp/Ubuntu 11.04 - Gnome3
Msi Wind U100 Windows Xp/Ubuntu 11.04 - Gnome3
- Cobra78
- Scoppiettante Seguace

- Messaggi: 991
- Iscrizione: giovedì 18 agosto 2005, 11:08
- Località: Ferrara
- Contatti:
Re: Compilazione Kernel e Sensori
Bene,il problema dei sensori non l'ho risolto perchè.....se ne è presentato un'altro parecchio più grave: col Kernel ricompilato non mi monta più la partizione home in ext3 O_O
E si che ho usato l'oldconfig per essere sicuro di lasciare com'erano le cose che sapevo funzionare.
Ho anche provato a compilare staticamente il supporto a ext3 e agli altri filesystem ma nulla, mi da sempre fail nel mounting local filesistem.
Onestamente non so nemmeno dove guardare per risolvere il problema, anche perchè si è rpesentato praticamente dal nulla e anche adesso dopo 5 compilazioni provando varie cose non ho capito da dove derivi.
Qualcuno ha suggerimenti?
Edit: ovviamente usando il kernel standard funziona tutto regolarmente O_O
E si che ho usato l'oldconfig per essere sicuro di lasciare com'erano le cose che sapevo funzionare.
Ho anche provato a compilare staticamente il supporto a ext3 e agli altri filesystem ma nulla, mi da sempre fail nel mounting local filesistem.
Onestamente non so nemmeno dove guardare per risolvere il problema, anche perchè si è rpesentato praticamente dal nulla e anche adesso dopo 5 compilazioni provando varie cose non ho capito da dove derivi.
Qualcuno ha suggerimenti?
Edit: ovviamente usando il kernel standard funziona tutto regolarmente O_O
Dell Inspiron 1720 Ice White Windows 7 Professional/Archlinux x86_64 - 2.6.38.x - Gnome3
Msi Wind U100 Windows Xp/Ubuntu 11.04 - Gnome3
Msi Wind U100 Windows Xp/Ubuntu 11.04 - Gnome3
- Janvitus
- Amministratore

- Messaggi: 18787
- Iscrizione: lunedì 25 aprile 2005, 15:52
- Desktop: GNOME Shell / Xfce
- Sesso: Maschile
- Località: Potenza
- Contatti:
Re: Compilazione Kernel e Sensori
PEr i sensori puoi prendere spunto da qui:
Attenzione che è un kernel 2.6.15, per cui potrebbe esser diversa qualcosa.
Per il fatto che non monta le partizioni, controlla che tu abbia inserito il modulo per il tuo chip ide o sata staticamente, o magari in alternativa crea un immagine initrd.
Codice: Seleziona tutto
#
# I2C support
#
CONFIG_I2C=y
CONFIG_I2C_CHARDEV=m
#
# I2C Algorithms
#
CONFIG_I2C_ALGOBIT=m
CONFIG_I2C_ALGOPCF=m
CONFIG_I2C_ALGOPCA=m
#
# I2C Hardware Bus support
#
# CONFIG_I2C_ALI1535 is not set
# CONFIG_I2C_ALI1563 is not set
# CONFIG_I2C_ALI15X3 is not set
# CONFIG_I2C_AMD756 is not set
# CONFIG_I2C_AMD8111 is not set
# CONFIG_I2C_I801 is not set
# CONFIG_I2C_I810 is not set
# CONFIG_I2C_PIIX4 is not set
CONFIG_I2C_ISA=m
CONFIG_I2C_NFORCE2=m
# CONFIG_I2C_PARPORT is not set
# CONFIG_I2C_PARPORT_LIGHT is not set
# CONFIG_I2C_PROSAVAGE is not set
# CONFIG_I2C_SAVAGE4 is not set
# CONFIG_SCx200_ACB is not set
# CONFIG_I2C_SIS5595 is not set
# CONFIG_I2C_SIS630 is not set
# CONFIG_I2C_SIS96X is not set
# CONFIG_I2C_STUB is not set
# CONFIG_I2C_VIA is not set
# CONFIG_I2C_VIAPRO is not set
# CONFIG_I2C_VOODOO3 is not set
# CONFIG_I2C_PCA_ISA is not set
#
# Miscellaneous I2C Chip support
#
# CONFIG_SENSORS_DS1337 is not set
# CONFIG_SENSORS_DS1374 is not set
# CONFIG_SENSORS_EEPROM is not set
# CONFIG_SENSORS_PCF8574 is not set
# CONFIG_SENSORS_PCA9539 is not set
# CONFIG_SENSORS_PCF8591 is not set
# CONFIG_SENSORS_RTC8564 is not set
# CONFIG_SENSORS_MAX6875 is not set
# CONFIG_RTC_X1205_I2C is not set
# CONFIG_I2C_DEBUG_CORE is not set
# CONFIG_I2C_DEBUG_ALGO is not set
# CONFIG_I2C_DEBUG_BUS is not set
# CONFIG_I2C_DEBUG_CHIP is not set
#
# Dallas's 1-wire bus
#
# CONFIG_W1 is not set
#
# Hardware Monitoring support
#
CONFIG_HWMON=m
CONFIG_HWMON_VID=m
# CONFIG_SENSORS_ADM1021 is not set
# CONFIG_SENSORS_ADM1025 is not set
# CONFIG_SENSORS_ADM1026 is not set
# CONFIG_SENSORS_ADM1031 is not set
# CONFIG_SENSORS_ADM9240 is not set
# CONFIG_SENSORS_ASB100 is not set
# CONFIG_SENSORS_ATXP1 is not set
# CONFIG_SENSORS_DS1621 is not set
# CONFIG_SENSORS_FSCHER is not set
# CONFIG_SENSORS_FSCPOS is not set
# CONFIG_SENSORS_GL518SM is not set
# CONFIG_SENSORS_GL520SM is not set
# CONFIG_SENSORS_IT87 is not set
# CONFIG_SENSORS_LM63 is not set
# CONFIG_SENSORS_LM75 is not set
# CONFIG_SENSORS_LM77 is not set
# CONFIG_SENSORS_LM78 is not set
# CONFIG_SENSORS_LM80 is not set
# CONFIG_SENSORS_LM83 is not set
# CONFIG_SENSORS_LM85 is not set
# CONFIG_SENSORS_LM87 is not set
# CONFIG_SENSORS_LM90 is not set
# CONFIG_SENSORS_LM92 is not set
# CONFIG_SENSORS_MAX1619 is not set
# CONFIG_SENSORS_PC87360 is not set
# CONFIG_SENSORS_SIS5595 is not set
# CONFIG_SENSORS_SMSC47M1 is not set
# CONFIG_SENSORS_SMSC47B397 is not set
# CONFIG_SENSORS_VIA686A is not set
# CONFIG_SENSORS_W83781D is not set
# CONFIG_SENSORS_W83792D is not set
# CONFIG_SENSORS_W83L785TS is not set
CONFIG_SENSORS_W83627HF=m
# CONFIG_SENSORS_W83627EHF is not set
# CONFIG_SENSORS_HDAPS is not set
# CONFIG_HWMON_DEBUG_CHIP is not setPer il fatto che non monta le partizioni, controlla che tu abbia inserito il modulo per il tuo chip ide o sata staticamente, o magari in alternativa crea un immagine initrd.
- Cobra78
- Scoppiettante Seguace

- Messaggi: 991
- Iscrizione: giovedì 18 agosto 2005, 11:08
- Località: Ferrara
- Contatti:
Re: Compilazione Kernel e Sensori
La cosa assurda è la seguente: alle prime 3 o 4 compilazioni col 2.6.15.5 funzionava tutto, tranne i fottutissimi sensori, poi di colpo, senza toccare niente che riguardasse fs o partizioni si è messo a farmi sto bellos hcerzo.
Ho rpovato sia con l'initrd che con la compilazione statica che con entrambi (O_o) ma senza risultati apprezzabili, non è un problema di driver del chipset perchè carica e funzia tutto regolarmente, solo che si rifiuta di montare la home che sta in un altro hdd sullos tesso canale ide di quello con root e swap.
davvero non capisco e nemmeno so dove guardare...
Ho rpovato sia con l'initrd che con la compilazione statica che con entrambi (O_o) ma senza risultati apprezzabili, non è un problema di driver del chipset perchè carica e funzia tutto regolarmente, solo che si rifiuta di montare la home che sta in un altro hdd sullos tesso canale ide di quello con root e swap.
davvero non capisco e nemmeno so dove guardare...
Dell Inspiron 1720 Ice White Windows 7 Professional/Archlinux x86_64 - 2.6.38.x - Gnome3
Msi Wind U100 Windows Xp/Ubuntu 11.04 - Gnome3
Msi Wind U100 Windows Xp/Ubuntu 11.04 - Gnome3
Chi c’è in linea
Visualizzano questa sezione: Google [Bot] e 7 ospiti