Current-Users archive

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

Re: amdtemp module does not find any sensors on 5.99.55



Jared McNeill pointed out in a private Email:

        That's because pchb already claimed the device. You need to
        drvctl -d pchb<N> for the 'AMD64 Family XX Misc' device before
        loading the module.

This is indeed the problem.

Unfortunately, these machines seem to have lots of pchb<n> devices. (The machine with dual Opteron-6172 has 21 pchb's, my other machines all have 6.)

It seems that modularizing the amdtemp driver might not be such a good idea unless the driver itself can identify and detach the conflicting lower-priority pchb<n> attachment.

As a secondary but related question, would it not make sense for the amdtemp driver's modcmd(CMD_INIT) routine to fail if there were no devices attached?


On Sat, 30 Jul 2011, Paul Goyette wrote:

As an added datapoint, amdtemp still attaches and is functional if the driver is built into the kernel, as is the case in the amd64/GENERIC kernel. It seems to fail only when loaded after autoconfig is done.

I will try to look into it in the next few days...


On Sat, 30 Jul 2011, Paul Goyette wrote:

On Sat, 30 Jul 2011, Martin Husemann wrote:

On Sat, Jul 30, 2011 at 01:12:34PM -0700, Paul Goyette wrote:
Nothing in dmesg, nothing in /var/log/messages, and nothing on the
console.

So it does not even attach?

Correct


-------------------------------------------------------------------------
| Paul Goyette     | PGP Key fingerprint:     | E-mail addresses:       |
| Customer Service | FA29 0E3B 35AF E8AE 6651 | paul at whooppee.com    |
| Network Engineer | 0786 F758 55DE 53BA 7731 | pgoyette at juniper.net |
| Kernel Developer |                          | pgoyette at netbsd.org  |
-------------------------------------------------------------------------


-------------------------------------------------------------------------
| Paul Goyette     | PGP Key fingerprint:     | E-mail addresses:       |
| Customer Service | FA29 0E3B 35AF E8AE 6651 | paul at whooppee.com    |
| Network Engineer | 0786 F758 55DE 53BA 7731 | pgoyette at juniper.net |
| Kernel Developer |                          | pgoyette at netbsd.org  |
-------------------------------------------------------------------------


-------------------------------------------------------------------------
| Paul Goyette     | PGP Key fingerprint:     | E-mail addresses:       |
| Customer Service | FA29 0E3B 35AF E8AE 6651 | paul at whooppee.com    |
| Network Engineer | 0786 F758 55DE 53BA 7731 | pgoyette at juniper.net |
| Kernel Developer |                          | pgoyette at netbsd.org  |
-------------------------------------------------------------------------


Home | Main Index | Thread Index | Old Index