1. Linux Mac Mini - Temperature Monitoring With Lm-Sensors

    Mon 09 November 2009

    This post is about getting temperature monitoring to work with a Mac Mini running Linux.

    Using Debian Lenny, out of the box, lm-sensors is not working. No sensors can be found. This is how temperature monitoring and fan speed monitoring can be made to work:

    modprobe applesmc

    If you run "sensors-detect" after this, and do a:

    modprobe coretemp

    Then "sensors" will give you ouput like this:

    Mini:/sys/devices/platform# sensors

    applesmc-isa-0300

    Adapter: ISA adapter

    Master : 2151 RPM (min = 1500 RPM)

    temp1: +83.2°C

    temp2: +68.0°C

    Some software to control the fan speed:

    http://stargate.solsys.org/mod.php?mod=faq&op=extlist&topicid=27&expand=yes#1 18

    d=yes#118

    Tagged as : Uncategorized
  2. Visual Representation of Hard Drives and Their Temperature

    Sat 12 September 2009

    If you build a NAS with many drives, it may be of interest to you which drives get hot and where they are located in the chassis. My Norco 4020 case has twenty drives in RAID 6, plus two operating system drives in RAID 1. I wrote a script that shows me the temperature of each drive, positioned in such a way that it represents the actual physical location of the drive in the chassis:

     -- 30 -- | -- 27 --
     | 26 | 27 | 28 | 25 |
     | 30 | 32 | 30 | 29 |
     | 31 | 33 | 33 | 29 |
     | 33 | 32 | 35 | 30 |
     | 32 | 34 | 35 | 31 |
    

    In this example, you can determine that the top drives seem to stay the coolest. The center and lower drives get hotter.

    If you want to use this script, you will have to change it for your own specific setup. You can get it here.

    This visual representation would also be nice to identify which drive has failed and where it is located in the chassis.

    Tagged as : Uncategorized
  3. 'Lm-Sensors: Hardware Monitoring With the W83627ehf Module'

    Sun 30 August 2009

    I have two systems that use the w83627ehf driver for hardware monitoring. However, if this driver is installed with a regular modprobe like:

    modprobe w83627ehf
    

    The result will be:

    FATAL: Error inserting w83627ehf
    (/lib/modules/2.6.28-1-amd64/kernel/drivers/hwmon/w83627ehf.ko): No such
    device
    

    I had this issue with the following mainboards:

    Asus P5Q-EM DO (Core 2 duo) Asus: P6T deluxe (Core 7i)

    The solution is simple, as I found after googling for some time:

    modprobe w83627ehf force_id=0x8860
    

    The result:

    w83627ehf-isa-0290
    Adapter: ISA adapter
    VCore: +0.88 V (min = +0.00 V, max = +1.74 V)
    in1: +11.67 V (min = +0.00 V, max = +5.49 V) ALARM
    AVCC: +3.34 V (min = +0.40 V, max = +0.03 V) ALARM
    3VCC: +3.31 V (min = +1.15 V, max = +0.58 V) ALARM
    in4: +1.65 V (min = +0.54 V, max = +0.22 V) ALARM
    in5: +2.04 V (min = +0.71 V, max = +0.11 V) ALARM
    in6: +3.79 V (min = +0.10 V, max = +2.30 V) ALARM
    VSB: +3.38 V (min = +0.45 V, max = +2.43 V) ALARM
    VBAT: +3.30 V (min = +0.67 V, max = +0.77 V) ALARM
    in9: +0.00 V (min = +1.10 V, max = +0.57 V) ALARM
    Case Fan: 0 RPM (min = 104 RPM, div = 128) ALARM
    CPU Fan: 0 RPM (min = 42187 RPM, div = 32) ALARM
    Aux Fan: 0 RPM (min = 162 RPM, div = 128) ALARM
    fan4: 0 RPM (min = 42187 RPM, div = 32) ALARM
    fan5: 0 RPM (min = 42187 RPM, div = 32) ALARM
    Sys Temp: +40.0°C (high = +4.0°C, hyst = +0.0°C) ALARM sensor = thermistor
    CPU Temp: +42.0°C (high = +80.0°C, hyst = +75.0°C) sensor = diode
    AUX Temp: +30.5°C (high = +80.0°C, hyst = +75.0°C) sensor = thermistor
    cpu0_vid: +0.000 V
    
    Tagged as : Uncategorized

Page 13 / 23