NetBSD-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
kern/57088: The owtemp driver isn't available as a kernel module
>Number: 57088
>Category: kern
>Synopsis: The owtemp driver isn't available as a kernel module
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: kern-bug-people
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Sun Nov 20 03:25:00 +0000 2022
>Originator: Lloyd Parkes
>Release: 9.99.106
>Organization:
Must Have Coffee
>Environment:
NetBSD biorhythm.must-have-coffee.gen.nz 9.99.106 NetBSD 9.99.106 (RPI2) #3: Sun Nov 20 14:16:08 NZDT 2022 lloyd%riftsweeper.must-have-coffee.gen.nz@localhost:/home/lloyd/NetBSD/current/objdir.evbarm/sys/arch/evbarm/compile/RPI2 evbarm
>Description:
The owtemp driver cannot be loaded as a module at runtime.
To make matters worse, in order to compile owtemp into the kernel, you also have to compile "onewire" and "gpioow" drivers into the kernel even though these latter two drivers are available as modules.
>How-To-Repeat:
>Fix:
I put a patch at https://gist.github.com/lparkes/bea894126a860562fecebd3c645b51cb
I just copied the code from onewire and adjusted it so that it looked like it was going to work.
I have tested that modload works, but I haven't tested modunload.
Home |
Main Index |
Thread Index |
Old Index