armada_thermal fails during device_attach
SG-3100 is unable to read the temperature from sysctl, as the oid doesn't exist, because the driver fails to attach during initialization.
[2.5.0-DEVELOPMENT][root@pfSense.home.lan]/: /sbin/sysctl -aq | grep temperature *<No results returned> [2.5.0-DEVELOPMENT][root@pfSense.home.lan]/: dmesg | grep therm armada_thermal0: <Armada380 Thermal Control> mem 0xe4078-0xe407b,0xe4070-0xe4077 on simplebus1 device_attach: armada_thermal0 attach returned 6 [2.5.0-DEVELOPMENT][root@pfSense.home.lan]/: uname -a FreeBSD pfSense.home 12.1-STABLE FreeBSD 12.1-STABLE de58b5f9808(factory-devel-12) pfSense-SG-3100 arm
#5 Updated by Luiz Souza 4 months ago
Daniel Gordon wrote:
Unfortunately, I've since needed that device and reverted it to 2.4.5. I will be unable to test the change. I'm really curious to see how you fixed it though.
I just had to adjust the register offset to cope with a DTS address range change.
Thanks for the report.
#10 Updated by Jim Pingle 4 months ago
- Status changed from Assigned to Resolved
That would be a separate issue. This was about the hardware error which is OK now.
The temperature is shown in the main system information widget so I'm not sure the separate thermal sensors widget is a concern. Either way that should be its own separate issue.