Tushar, But if 'management mode' means that IPMI LAN is enabled or in use, then this indication is yielding a false result, because IPMI LAN is disabled. Those bits are always set regardless of the state of the IPMI LAN configuration.
So what drives those bits? Does the IPMI firmware drive them, or do they depend on the NIC firmware, or ...? Andy -----Original Message----- From: Dave, Tushar N [mailto:[email protected]] Sent: Friday, August 12, 2011 4:58 PM To: Andy Cress; [email protected] Subject: RE: e1000e check_mng_mode issue Andy, The define constant name (i.e. E1000_MNG_IAMT_MODE) is little confusing. The objective of e1000_check_mng_mode_generic() is to check if Management is enabled or not. It doesn't care about what MNG mode is enabled(e.g AMT or IPMI). If Management is enabled then FMSW (bit 3:1) should have value 0x3 (This value is loaded from EEPROM word 13h). So all e1000_check_mng_mode_generic() does is check if the FMSW's bit 3:1 is equivalent to value 0x3. Let me know if you have any more queries. -Tushar -----Original Message----- From: Andy Cress [mailto:[email protected]] Sent: Friday, August 12, 2011 1:23 PM To: Dave, Tushar N; [email protected] Subject: RE: e1000e check_mng_mode issue Tushar, Right, my eth0 is 80003ES2LAN. Attached is the 'ethtool -e eth0' output (eth0.e). Andy -----Original Message----- From: Dave, Tushar N [mailto:[email protected]] Sent: Friday, August 12, 2011 12:48 PM To: Andy Cress; [email protected] Subject: RE: e1000e check_mng_mode issue Andy, Thanks for your patience. I am looking into this. (assuming your eth0 device is 80003ES2LAN) Can you provide 'ethtool -e eth0' output? -Tushar -----Original Message----- From: Andy Cress [mailto:[email protected]] Sent: Tuesday, August 09, 2011 2:21 PM To: [email protected] Subject: [E1000-devel] e1000e check_mng_mode issue This may apply to other NICs with an IPMI BMC instead of AMT, but here's my configuration: Baseboard: Intel S5000PAL Onboard NICs (2): 80003ES2LAN And this has an IPMI BMC on the baseboard with sideband connections to the onboard NICs. # ethtool -I eth0 driver: e1000e version: 1.0.2.5-NAPI firmware-version: 1.0-0 bus-info: 0000:07:00.0 For the e1000e driver, the 80003ES2LAN uses the e1000_check_mng_mode_generic() routine in manage.c. It seems to always return 0x18006 from the firmware semaphore register, regardless of whether or not the firmware has any IPMI LAN channels enabled or not. This routine is the same in the latest stable e1000e-1.4.4.tar.gz. The code indicates that it is checking for E1000_MNG_IAMT_MODE (3 << 1), and the 0x06 part is always set. Does this mean that the firmware semaphore register bits that are checked apply to Intel AMT, but not to IPMI? Should there be a different routine for IPMI (non-AMT) management systems? Andy ------------------------------------------------------------------------ ------ uberSVN's rich system and user administration capabilities and model configuration take the hassle out of deploying and managing Subversion and the tools developers use with it. Learn more about uberSVN and get a free download at: http://p.sf.net/sfu/wandisco-dev2dev _______________________________________________ E1000-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/e1000-devel To learn more about Intel® Ethernet, visit http://communities.intel.com/community/wired ------------------------------------------------------------------------------ FREE DOWNLOAD - uberSVN with Social Coding for Subversion. Subversion made easy with a complete admin console. Easy to use, easy to manage, easy to install, easy to extend. Get a Free download of the new open ALM Subversion platform now. http://p.sf.net/sfu/wandisco-dev2dev _______________________________________________ E1000-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/e1000-devel To learn more about Intel® Ethernet, visit http://communities.intel.com/community/wired
