Username:

Password:

Remember me

 



Using SuperDoctor without modules loading feature enabled

Introduction


If you use supermicro motherboards, you can use SuperMicro software to watch the following environmental parameters:

  • Fan speed - CPUs and chassis fans' speed )
  • Voltage: +12V, +5V, +3.3V, +1.8V
  • DIMM Voltage
  • Battery Voltage
  • CPU core voltage
  • CPU temperature
  • System Temperature
  • Chassis Intrusion
  • Power Supply Failure

Installing and configuring SuperMicro software and net-SNMP is pretty simple. Just follow the instructions attached with those software.

This article describes procedure installing SuperMicro into servers that have modules loading feature disabled. To prevent hackers to use ptrace and load trojans, administrators usually disable kernels' module loading feature.

But there's a problem coming in this case. Even though if you have all required I2C modules compiled into kernel, SuperMicro software will fail to work because it checks for loaded modules, and if modules are not not loaded, it will try to load and of course will fail.

Installing

Here's a small trick how to tell Supermicro software not to load modules.

Step 1. Telling SuperDoctor software to check fake list of loaded modules. Open /usr/sbin/sd_extension.x86 (sd_extension.x86_64) as binary file, and find string "/proc/modules". Replace this string by "/etc/sds-mods". Make sure you will use editor that allows to edit binary files correctly.

Step 2. Installig fake list of loaded modules. Open /etc/sds-mods as regular text file and put these lines:

i2c_amd8111 5120 - - Live 0xf8811000
i2c_dev 8196 - - Live 0xf880d000
i2c_core 18816 - - Live 0xf8814000

Some supermicro motherboards may have other types of I2C chips. You can find them by enabling modules, running sd_extension, and grabbing list of modules by "lsmod"

Attention: This article shows unregular way of installing SuperDoctor software so we're not responsible for anything that can be caused by this installation procedure.




Rambler's Top100