2007-10-21 13:34:23

by Frans Pop

[permalink] [raw]
Subject: Why are ipmi modules being loaded?

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]


Attachments:
(No filename) (1.14 kB)
lspci.txt (2.34 kB)
Download all attachments

2007-10-21 20:09:49

by Dave Jones

[permalink] [raw]
Subject: Re: Why are ipmi modules being loaded?

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

2007-10-21 21:04:17

by Frans Pop

[permalink] [raw]
Subject: Re: Why are ipmi modules being loaded?

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.

2007-10-21 21:58:33

by Martin Mares

[permalink] [raw]
Subject: Re: Why are ipmi modules being loaded?

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 <[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

2007-10-21 23:39:49

by Andreas Schwab

[permalink] [raw]
Subject: Re: Why are ipmi modules being loaded?

Frans Pop <[email protected]> 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, [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."