NetBSD-Bugs archive

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

Re: kern/59253: amdzentemp fails to register with sysmon



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

From: Paul Goyette <paul%whooppee.com@localhost>
To: gnats-bugs%netbsd.org@localhost
Cc: 
Subject: Re: kern/59253: amdzentemp fails to register with sysmon
Date: Sun, 6 Apr 2025 10:50:02 -0700 (PDT)

 On Sun, 6 Apr 2025, Paul Goyette via gnats wrote:
 
 > Some debug printf()s show that the real problem is with the amdsmn
 > module.  It calls config_init_component() with a return value of 0,
 > but it does not attach an instance of amdsmn.  Therefore the
 > amdzentemp module has no place to attach itself, and thus no sensor
 > gets registered.
 >
 > When the module is built-in, the config data is already linked and
 > config_init_component isn't even called.
 
 Slight correction.  The problem is that config_init_component() _is_
 called, but it never calls amdsmn_attach().
 
 
 +---------------------+--------------------------+----------------------+
 | Paul Goyette (.sig) | PGP Key fingerprint:     | E-mail addresses:    |
 | (Retired)           | 1B11 1849 721C 56C8 F63A | paul%whooppee.com@localhost    |
 | Software Developer  | 6E2E 05FD 15CE 9F2D 5102 | pgoyette%netbsd.org@localhost  |
 | & Network Engineer  |                          | pgoyette99%gmail.com@localhost |
 +---------------------+--------------------------+----------------------+
 


Home | Main Index | Thread Index | Old Index