sslug-teknik team mailing list archive
-
sslug-teknik team
-
Mailing list archive
-
Message #83542
Re: Servernedbrud
Ivar Madsen wrote:
> Ivar Madsen wrote:
>
>> Hmm, den er helt kold at følge på. Jeg må kunne installere noget til at
>> kunne få udlæst temp. og sådan noget fra bundkkortes følere, hvad er det
>> nu den slags soft hedder?
>
> lm_sensors er det.
>
> ,----[ sensors-detect output ]
> | I will now generate the commands needed to load the I2C modules.
> | Sometimes, a chip is available both through the ISA bus and an I2C bus.
> | ISA bus access is faster, but you need to load an additional driver
> module
> | for it. If you have the choice, do you want to use the ISA bus or the
> | I2C/SMBus (ISA/smbus)?
> |
> | 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
> | #----cut here----
>
> Det kan jeg finde udaf, men
>
>
> | To load everything that is needed, add this to some /etc/rc* file:
>
> Hvilken en skal jeg lægge det i?
>
> | #----cut here----
> | # I2C adapter drivers
> | modprobe i2c-piix4
> | modprobe i2c-isa
> | # I2C chip drivers
> | modprobe eeprom
> | modprobe bmcsensors
> | # 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.
> `----
Jeg laver vel en fil i /etc/rc[x].d/
Den har lagt en
/etc/rc.d/init.d/lm_sensors så jeg skal vel lave et link til den
i /etc/rc3.d ?
Hvordan gør jeg det, og skal det være k eller s den skal starte med?
Er 97 et passende tal? det er frit i rc3.d ,,,
Efter en reboot, men uden at have lagt den i rc3.d eller anden,,,
# sensors
Can't access procfs/sysfs file
Unable to find i2c bus information;
For 2.6 kernels, make sure you have mounted sysfs and done
'modprobe i2c_sensor'!
For older kernels, make sure you have done 'modprobe i2c-proc'!
[root@milli init.d]# mc
[root@milli firmware]# modprobe i2c_sensor
[root@milli firmware]# mc
[root@milli firmware]# sensors
No sensors found!
[root@milli firmware]#
--
Med venlig hilsen
Ivar Madsen
Hjælp til med at få overblik over CC's ADSL priser på
http://milli.dk/index.php/CC_ADSL_priser
--------------------------------------------------------------------------------
References