Re: OFW patches and V210/V240 fix
Julian Coleman <[email protected]> Tue, 10 Feb 2026 13:12:43 +0100
| Newsgroups | gmane.os.netbsd.ports.sparc64 |
|---|---|
| Message-ID | <aYsgu31yjrJO1ZtB@morava> |
--UWOX2iXBcXXubxoJ
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Hi,
> I also added a property so that the V240 shows 7 fans instead of 8 and I'm
> working on adding limits to the adm1026 driver, so that we get a warning
> when something is outside the limits, e.g.:
>
> [ 34.1201588] adm1026hm0: warning under limit on 'Vbatt'
>
> because I needed to replace the battery. By default, however, OFW
> doesn't set useful limits for most functions, but we can set them via
> /etc/envsys.conf (thanks to mlelstv for the hint).
I've just added the limits checking code, so that will show up in the next
autobuild kernel. My V240 now shows (with the attached envsys.conf):
# envstat
Current CritMax WarnMax WarnMin CritMin Unit
[adm1026hm0]
F0.RS: 6887 2647 RPM
F1.RS: 7031 2647 RPM
F2.RS: 7258 2647 RPM
MB.P0.F1.RS: 16875 2647 RPM
MB.P1.F0.RS: 17307 2647 RPM
MB.P0.F0.RS: 15697 2647 RPM
MB.P1.F1.RS: 16875 2647 RPM
internal: 36.000 80.000 55.000 -128.000 degC
MB.P0.T_CORE: 64.000 100.000 80.000 -128.000 degC
MB.P1.T_CORE: 56.000 100.000 80.000 -128.000 degC
MB.BAT.V_BAT: 0.533 4.000 2.000 V
V3.3 standby: 3.361 4.440 V
V3.3 main: 3.343 4.440 V
V5.0: 5.020 6.667 V
MB.P0.V_CORE: 1.494 3.000 V
V+12: 11.859 16.001 V
V-12: -12.098 2.500 -15.928 V
MB.V_+1V5: 1.517 3.000 V
MB.V_+2V5: 2.506 3.000 V
MB.V_VCCTM: 2.553 3.000 V
MB.V_GBE_CORE: 1.212 3.000 V
MB.V_GBE_+2V5: 2.517 3.000 V
V3.0 5: 0.000 3.000 V
MB.V_VTT: 1.255 2.500 V
MB.P1.V_CORE: 1.500 2.500 V
V2.5 2: 0.000 V
[lmtemp0]
MB.T_ENC: 25.500 80.000 degC
Regards,
Julian
--
--UWOX2iXBcXXubxoJ
Content-Type: text/plain; charset=us-ascii
Content-Disposition: attachment; filename="v240-envsys.conf"
# Sun V240
adm1026hm0 {
sensor0 { description = "F0.RS"; }
sensor1 { description = "F1.RS"; }
sensor2 { description = "F2.RS"; }
sensor3 { description = "MB.P0.F1.RS"; }
sensor4 { description = "MB.P1.F0.RS"; }
sensor5 { description = "MB.P0.F0.RS"; }
sensor6 { description = "MB.P1.F1.RS"; }
# sensor7
sensor8 { description = "MB.P0.T_CORE"; }
sensor9 { description = "MB.P1.T_CORE"; }
sensor10 { description = "MB.BAT.V_BAT"; warning-min = 2.0; }
sensor11 { description = "V3.3 standby"; }
sensor12 { description = "V3.3 main"; }
# sensor13
sensor14 { description = "MB.P0.V_CORE"; }
# sensor15
# sensor16
sensor17 { description = "MB.V_+1V5"; }
sensor18 { description = "MB.V_+2V5"; }
sensor19 { description = "MB.V_VCCTM"; }
sensor20 { description = "MB.V_GBE_CORE"; }
sensor21 { description = "MB.V_GBE_+2V5"; }
# sensor22
sensor23 { description = "MB.V_VTT"; }
sensor24 { description = "MB.P1.V_CORE"; }
}
lmtemp0 {
sensor0 { description = "MB.T_ENC"; }
}
--UWOX2iXBcXXubxoJ--