Why are ipmi modules being loaded?
Last week I sent this same question to the openipmi-developer list on sourceforge, but did not get any replies.
Does anyone here know the answer?
========
AFAICT my system does not support ipmi, but despite that fact something is loading the ipmi_msghandler module and trying to load the ipmi_si module.
The second fails, but the first stays loaded. From dmesg:
ipmi message handler version 39.1
[...]ipmi_si: Trying PCI-specified kcs state machine at mem address 0x90220000, slave address 0x0, irq 19ipmi_si: There appears to be no BMC at this locationipmi_si: Unable to find any System Interface(s)
This results in powertop showing:
Top causes for wakeups:
[...]
2.1% ( 10.0) <kernel module> : ipmi_init_msghandler (ipmi_timeout)
AFAICT from modules.pcimap, ipmi_si should only be loaded for PCI ID [103c:121a] (which I don't have), or for devices with class c0700 (which I also don't have).
I also cannot find anything in /etc that could be responsible.
So I wonder what _is_ responsible for trying to load the ipmi modules on my system and if that shouldn't be avoided.
My system is Debian testing running 2.6.23.
Cheers,
Frans Pop
00:00.0 Host bridge [0600]: Intel Corporation 82945G/GZ/P/PL Memory Controller Hub [8086:2770] (rev 02) 00:02.0 VGA compatible controller [0300]: Intel Corporation 82945G/GZ Integrated Graphics Controller [8086:2772] (rev 02) 00:1b.0 Audio device [0403]: Intel Corporation 82801G (ICH7 Family) High Definition Audio Controller [8086:27d8] (rev 01) 00:1c.0 PCI bridge [0604]: Intel Corporation 82801G (ICH7 Family) PCI Express Port 1 [8086:27d0] (rev 01) 00:1c.2 PCI bridge [0604]: Intel Corporation 82801G (ICH7 Family) PCI Express Port 3 [8086:27d4] (rev 01) 00:1c.3 PCI bridge [0604]: Intel Corporation 82801G (ICH7 Family) PCI Express Port 4 [8086:27d6] (rev 01) 00:1c.4 PCI bridge [0604]: Intel Corporation 82801GR/GH/GHM (ICH7 Family) PCI Express Port 5 [8086:27e0] (rev 01) 00:1c.5 PCI bridge [0604]: Intel Corporation 82801GR/GH/GHM (ICH7 Family) PCI Express Port 6 [8086:27e2] (rev 01) 00:1d.0 USB Controller [0c03]: Intel Corporation 82801G (ICH7 Family) USB UHCI #1 [8086:27c8] (rev 01) 00:1d.1 USB Controller [0c03]: Intel Corporation 82801G (ICH7 Family) USB UHCI #2 [8086:27c9] (rev 01) 00:1d.2 USB Controller [0c03]: Intel Corporation 82801G (ICH7 Family) USB UHCI #3 [8086:27ca] (rev 01) 00:1d.3 USB Controller [0c03]: Intel Corporation 82801G (ICH7 Family) USB UHCI #4 [8086:27cb] (rev 01) 00:1d.7 USB Controller [0c03]: Intel Corporation 82801G (ICH7 Family) USB2 EHCI Controller [8086:27cc] (rev 01) 00:1e.0 PCI bridge [0604]: Intel Corporation 82801 PCI Bridge [8086:244e] (rev e1)
00:1f.0 ISA bridge [0601]: Intel Corporation 82801GB/GR (ICH7 Family) LPC Interface Bridge [8086:27b8] (rev 01) 00:1f.1 IDE interface [0101]: Intel Corporation 82801G (ICH7 Family) IDE Controller [8086:27df] (rev 01) 00:1f.2 SATA controller [0106]: Intel Corporation 82801GR/GH (ICH7 Family) Serial ATA Storage Controller AHCI [8086:27c1] (rev 01) 00:1f.3 SMBus [0c05]: Intel Corporation 82801G (ICH7 Family) SMBus Controller [8086:27da] (rev 01)
01:00.0 Ethernet controller [0200]: Intel Corporation 82573E Gigabit Ethernet Controller (Copper) [8086:108c] (rev 03) 01:00.3 Serial controller [0700]: Intel Corporation Active Management Technology - SOL [8086:108f] (rev 03) 01:00.4 Serial bus controller [0c07]: Intel Corporation 82573E KCS (Active Management) [8086:108e] (rev 03) 06:05.0 FireWire (IEEE 1394) [0c00]: Texas Instruments TSB43AB23 IEEE-1394a-2000 Controller (PHY/Link) [104c:8024]
Quoted 3 lines · Frans Pop
AFAICT from modules.pcimap,
ipmi_sishould only be loaded for PCI ID [103c:121a] (which I don't have), or for devices with class c0700 (which I also don't have).
Hmm, is lspci truncating the class code?
Quoted 1 line
01:00.4 Serial bus controller [0c07]: Intel Corporation 82573E KCS (Active Management) [8086:108e] (rev 03)
Because this smells like an IPMI-ish device.
Dave
Signature · 1 line
http://www.codemonkey.org.uk
Quoted 9 lines · Dave Jones
Quoted 3 lines · Frans Pop
AFAICT from modules.pcimap,
ipmi_sishould only be loaded for PCI ID [103c:121a] (which I don't have), or for devices with class c0700 (which I also don't have).Hmm, is lspci truncating the class code?
Quoted 2 lines
01:00.4 Serial bus controller [0c07]: Intel Corporation 82573E KCS (Active Management) [8086:108e] (rev 03)
Actually, these three look to be related (see also link below):
01:00.0 Ethernet controller: Intel Corporation 82573E Gigabit Ethernet Controller (Copper) (rev 03)
01:00.3 Serial controller: Intel Corporation Active Management Technology - SOL (rev 03)
01:00.4 Serial bus controller [0c07]: Intel Corporation 82573E KCS (Active Management) (rev 03)
I did check the class files in /sys. For these devices those have:
$ cat /sys/bus/pci/devices/0000\:01\:00.0/class 0x020000 $ cat /sys/bus/pci/devices/0000\:01\:00.3/class 0x070002 $ cat /sys/bus/pci/devices/0000\:01\:00.4/class 0x0c0701
The last is close, but still does not match the 0x0c0700 in modules.pcimap. Is there some fuzzy matching going on there?
Quoted 1 line
Because this smells like an IPMI-ish device.
Hmm. Yes, guess it is -ish. It's documented in:
http://download.intel.com/design/motherbd/cz/D1406801US.pdf (section 1.11.4)
Looks like something that is only useful for remote management though and not for on-system management.
Anyway, I've blacklisted the modules for now, but still feel that should not be necessary and there's an incorrect match happening.
Thanks for the reply Dave.
Hello!
Quoted 5 lines
Hmm, is lspci truncating the class code?
Quoted 1 line
01:00.4 Serial bus controller [0c07]: Intel Corporation 82573E KCS (Active Management) [8086:108e] (rev 03)
Because this smells like an IPMI-ish device.
Yes, it is a IPMI class code, only older versions of lspci know nothing about it, so they at least show the base class (Serial bus controller) and then add the complete class ID in square brackets.
Have a nice fortnight
Signature · 3 lines
Martin `MJ' Mares <[email protected]> http://mj.ucw.cz/ Faculty of Math and Physics, Charles University, Prague, Czech Rep., Earth "How I need a drink, alcoholic in nature, after the tough chapters involving quantum mechanics!" = \pi
Quoted 5 lines · Frans Pop
$ cat /sys/bus/pci/devices/0000\:01\:00.4/class 0x0c0701The last is close, but still does not match the
0x0c0700in modules.pcimap. Is there some fuzzy matching going on there?
The last byte (prog-if) is masked out: 0xffffff00.
Andreas.
Signature · 4 lines
Andreas Schwab, SuSE Labs, [email protected] SuSE Linux Products GmbH, Maxfeldstraße 5, 90409 Nürnberg, Germany PGP key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5 "And now for something completely different."