May 29, 20224 yr Hi, I have an Intel X550-T2 PCIE card and I'm trying to acces the onboard temperature sensor. I can see from the ixgbe driver that this is supported: https://github.com/majek/ixgbe/blob/master/src/ixgbe_sysfs.c /** * ixgbe_add_hwmon_attr - Create hwmon attr table for a hwmon sysfs file. * @adapter: pointer to the adapter structure * @offset: offset in the eeprom sensor data table * @type: type of sensor data to display * * For each file we want in hwmon's sysfs interface we need a device_attribute * This is included in our hwmon_attr struct that contains the references to * the data structures we need to get the data to display. */ static int ixgbe_add_hwmon_attr(struct ixgbe_adapter *adapter, unsigned int offset, int type) { ... ... However, I've read in this post that the ixgbe drivers aren't included in 6.10 because they were causing problems. Instead, only the in-tree driver is included. Quote @limetech what are the chances that I can access the temperature sensors with the in-tree driver? If I run sensors-detect I don't find any hwmon that is related to the network card. Is there a way for me to test the ixgbe driver on unraid 6.10? Thanks Andrea
June 20, 20224 yr Author Actually, I was checking the in-tree Intel drivers that are included in the Linux kernel 5.15.46 and the logic to export the die temperature via hwmon is already there: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/tree/drivers/net/ethernet/intel/ixgbe/ixgbe_sysfs.c?h=v5.15.46 I can see that it is enabled at compile time via the CONFIG_IXGBE_HWMON parameter (whose default value is TRUE) #ifdef CONFIG_IXGBE_HWMON if (ixgbe_sysfs_init(adapter)) e_err(probe, "failed to allocate sysfs resources\n"); #endif /* CONFIG_IXGBE_HWMON */ Is it kept at its default value when the unraid kernel is compiled or it is disabled? @limetech do you have any suggestion on how to debug the fact that I can't access the temperature sensor of my Intel X550 card? Thanks Andrea Edited June 27, 20224 yr by Andrea3000
August 9, 20232 yr Author On 8/7/2023 at 5:25 PM, mikeyosm said: Any update on this? Can sensors show the temperature of X550-T2 cards? I have found out that even the official Intel drivers don’t expose the temperature sensor for X540 and X550 cards. I raised a feature request last year but nothing has been done. I was told by an Intel developer that the temperature sensor in those cards isn’t accurate and has never been calibrated. It is there just to detect major over temp events. Long story short, there still isn’t a solution I know of to access the temperature sensor
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.