NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: kern/57088: The owtemp driver isn't available as a kernel module



The following reply was made to PR kern/57088; it has been noted by GNATS.

From: Lloyd Parkes <lloyd%must-have-coffee.gen.nz@localhost>
To: gnats-bugs%netbsd.org@localhost, kardel%netbsd.org@localhost
Cc: 
Subject: Re: kern/57088: The owtemp driver isn't available as a kernel module
Date: Wed, 11 Oct 2023 07:59:43 +1300

 Frank has pretty much resolved this PR with his recent changes to 
 owtemp. He did make the same mistake I did though, and owtemp doesn't 
 list "onewire" as a linker dependency. This means that if the "onewire" 
 module isn't already loaded into the kernel, then "modload owtemp" will 
 fail with undefined symbol errors instead of automatically loading the 
 onewire module.
 
 This fix is to change line 321 of owtemp.c v1.20 to read 
 'MODULE(MODULE_CLASS_DRIVER, owtemp, "onewire");'.
 
 Once that's fixed, this PR can be closed.
 
 Thanks for making owtemp a module Frank.
 
 Cheers,
 Lloyd
 


Home | Main Index | Thread Index | Old Index