Monday, September 27, 2021

Re: sysctl hw.sensors.lm1 shows only one fan

Mon, 27 Sep 2021 17:15:28 +0200 Jan Stary <hans@stare.cz>
> On Sep 26 15:35:25, a23s4a2008@yandex.ru wrote:
> > This works for me, now I see all of my fans.
> > Some of them look funny, because they are really not connected and
> > show -2560RPM, Status Critical.
>
> That means the fan is rotating in the opposite direction
> (and sending highly critical statuses to twitter)
>

Hello Jan Stary,

The sensors framework can benefit from some reviews and attention at any chance.

sensor_attach(9) — sensors framework
https://man.openbsd.org/sensor_attach.9

https://man.openbsd.org/?apropos=1&query=sensor
https://man.openbsd.org/?apropos=1&query=i2c

iic(4) - Inter IC (I2C) bus
https://man.openbsd.org/iic.4

acpi(4) — Advanced Configuration and Power Interface
https://man.openbsd.org/acpi.4

ipmi(4) — Intelligent Platform Management Interface driver
https://man.openbsd.org/ipmi.4

lm(4) — National Semiconductor LM78/79/81 temperature, voltage, and fan sensor
https://man.openbsd.org/lm.4

Casual example, this driver used to work fine. A trivial change introduced bugs
"recently" broke several at once. Later fixes do not work correctly ever since:

aibs(4) — ASUSTeK AI Booster ACPI ATK0110 temperature, voltage, and fan sensor
https://man.openbsd.org/aibs.4

Hello Maksim Rodin,

You have to be extra careful where the fan header is and the pin layout on these
headers can be "non-standard" on some server boards. For example SuperMicro has
the serial ports wired across instead of along the pin rows unlike other boards.

Check your motherboard user manual (also in PDF on the vendor site) then you can
disable/ignore in the BIOS/IPMI firmware the respective fans that are not wired.

It can also be a completely wrong reading due to a bug in the sensor driver too.

--
Kind regards,
Anton Lazarov
MScEng EECSIT

No comments:

Post a Comment