* Why are ipmi modules being loaded?
@ 2007-10-21 13:34 Frans Pop
2007-10-21 20:09 ` Dave Jones
0 siblings, 1 reply; 5+ messages in thread
From: Frans Pop @ 2007-10-21 13:34 UTC (permalink / raw)
To: linux-kernel
[-- Attachment #1: Type: text/plain, Size: 1166 bytes --]
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 19
ipmi_si: There appears to be no BMC at this location
ipmi_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
[-- Attachment #2: lspci.txt --]
[-- Type: text/plain, Size: 2398 bytes --]
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]
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Why are ipmi modules being loaded?
2007-10-21 13:34 Why are ipmi modules being loaded? Frans Pop
@ 2007-10-21 20:09 ` Dave Jones
2007-10-21 21:04 ` Frans Pop
2007-10-21 21:58 ` Martin Mares
0 siblings, 2 replies; 5+ messages in thread
From: Dave Jones @ 2007-10-21 20:09 UTC (permalink / raw)
To: Frans Pop; +Cc: linux-kernel
On Sun, Oct 21, 2007 at 03:34:11PM +0200, Frans Pop wrote:
> 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).
Hmm, is lspci truncating the class code?
> 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
--
http://www.codemonkey.org.uk
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Why are ipmi modules being loaded?
2007-10-21 20:09 ` Dave Jones
@ 2007-10-21 21:04 ` Frans Pop
2007-10-21 23:39 ` Andreas Schwab
2007-10-21 21:58 ` Martin Mares
1 sibling, 1 reply; 5+ messages in thread
From: Frans Pop @ 2007-10-21 21:04 UTC (permalink / raw)
To: Dave Jones, linux-kernel
On Sunday 21 October 2007, Dave Jones wrote:
> On Sun, Oct 21, 2007 at 03:34:11PM +0200, Frans Pop wrote:
> > 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).
>
> Hmm, is lspci truncating the class code?
>
> > 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?
> 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.
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Why are ipmi modules being loaded?
2007-10-21 20:09 ` Dave Jones
2007-10-21 21:04 ` Frans Pop
@ 2007-10-21 21:58 ` Martin Mares
1 sibling, 0 replies; 5+ messages in thread
From: Martin Mares @ 2007-10-21 21:58 UTC (permalink / raw)
To: Dave Jones, Frans Pop, linux-kernel
Hello!
> Hmm, is lspci truncating the class code?
>
> > 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
--
Martin `MJ' Mares <mj@ucw.cz> 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
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Why are ipmi modules being loaded?
2007-10-21 21:04 ` Frans Pop
@ 2007-10-21 23:39 ` Andreas Schwab
0 siblings, 0 replies; 5+ messages in thread
From: Andreas Schwab @ 2007-10-21 23:39 UTC (permalink / raw)
To: Frans Pop; +Cc: Dave Jones, linux-kernel
Frans Pop <elendil@planet.nl> writes:
> $ 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?
The last byte (prog-if) is masked out: 0xffffff00.
Andreas.
--
Andreas Schwab, SuSE Labs, schwab@suse.de
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."
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2007-10-21 23:39 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-10-21 13:34 Why are ipmi modules being loaded? Frans Pop
2007-10-21 20:09 ` Dave Jones
2007-10-21 21:04 ` Frans Pop
2007-10-21 23:39 ` Andreas Schwab
2007-10-21 21:58 ` Martin Mares
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox