NetBSD-Bugs archive

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

Re: kern/58128: loaded-module for amdzentemp driver doesn't register with envsys



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

From: Paul Goyette <paul%whooppee.com@localhost>
To: gnats-bugs%netbsd.org@localhost
Cc: 
Subject: Re: kern/58128: loaded-module for amdzentemp driver doesn't register
 with envsys 
Date: Fri, 12 Apr 2024 11:16:00 -0700 (PDT)

 Problem solved, not really a problem!
 
 If the amdsmnn(4) driver is available at boot time it will claim the
 devicce at pci0 dev 0 func 0.  If the driver is not available, the
 device acts like a pci host bridge and configurs as pchb0.  Later,
 if you load the module, the pci bus gets rescanned, but dev 0 func 0
 is already owned by the pchb0 driver so does not get attached as
 amdsmn(4).
 
 Note that if I remove the pchb0 attachment using drvctl(8) and then
 load the amdsmn(4) driver module, it attaches as amdsmn0, and the
 amdzentemp(4) sensor will attached there, and register with envsys.
 
 So, no real error here - working as designed.
 
 +---------------------+--------------------------+----------------------+
 | 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