[Bug 256628] Allwinner aw_thermal error
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 256628] Allwinner aw_thermal error"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 15 Jun 2021 19:53:05 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=256628
Bug ID: 256628
Summary: Allwinner aw_thermal error
Product: Base System
Version: CURRENT
Hardware: arm64
OS: Any
Status: New
Severity: Affects Only Me
Priority: ---
Component: arm
Assignee: freebsd-arm@FreeBSD.org
Reporter: freebsd@justmail.de
aw_thermal seems not to attach properly on my NanoPI NEO2:
root@bsd-neopi:~ # dmesg | grep therm
aw_thermal0: <Allwinner Thermal Sensor Controller> mem 0x1c25000-0x1c250ff irq
4 on simplebus0
aw_thermal0: Cannot read THS efuse
device_attach: aw_thermal0 attach returned 6
interface aw_thermal.1 already present in the KLD 'kernel'!
root@bsd-neopi:~ # sysctl -n dev.aw_thermal.0.cpu
sysctl: unknown oid 'dev.aw_thermal.0.cpu'
root@bsd-neopi:~ # uname -UKa
FreeBSD bsd-neopi 14.0-CURRENT FreeBSD 14.0-CURRENT #0
main-n247356-715df83abc0: Mon Jun 14 21:20:51 CEST 2021
root@freebsd-current-vm:/usr/obj/usr/src/arm64.aarch64/sys/GENERIC-NODEBUG
arm64 1400023 1400023
I do only have another productive node running an old 13-CURRENT where the
driver attaches:
root@nanopi-bsd:~ # cat /var/log/messages | grep therm
Feb 15 11:36:30 nanopi-bsd kernel: aw_thermal0: <Allwinner Thermal Sensor
Controller> mem 0x1c25000-0x1c250ff irq 4 on simplebus0
root@nanopi-bsd:~ # uname -aUK
FreeBSD nanopi-bsd 13.0-CURRENT FreeBSD 13.0-CURRENT efa57a39e85(master)
GENERIC-NODEBUG arm64 1300021 1300021
root@nanopi-bsd:~ # sysctl dev.aw_thermal.0
dev.aw_thermal.0.gpu: 42C
dev.aw_thermal.0.cpu: 38C
dev.aw_thermal.0.%parent: simplebus0
dev.aw_thermal.0.%pnpinfo: name=thermal_sensor@1c25000
compat=allwinner,sun50i-h5-ths
dev.aw_thermal.0.%location:
dev.aw_thermal.0.%driver: aw_thermal
dev.aw_thermal.0.%desc: Allwinner Thermal Sensor Controller
--
You are receiving this mail because:
You are the assignee for the bug.