Bug 113546 - 4 tpm modules loaded?
Summary: 4 tpm modules loaded?
Status: VERIFIED FIXED
Alias: None
Product: SUSE LINUX 10.0
Classification: openSUSE
Component: Kernel (show other bugs)
Version: Beta 3
Hardware: Other All
: P5 - None : Normal
Target Milestone: ---
Assignee: Christian Zoz
QA Contact: E-mail List
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-08-27 14:31 UTC by Andreas Jaeger
Modified: 2007-06-05 09:37 UTC (History)
1 user (show)

See Also:
Found By: Other
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Andreas Jaeger 2005-08-27 14:31:58 UTC
lsmod |grep tpm shows:
tpm_atmel               5504  0
tpm_infineon            8716  0
tpm_nsc                 6784  0
tpm                     9760  3 tpm_atmel,tpm_infineon,tpm_nsc

do I really need all four of these?  I think the generic one and one of the
specific ones should be enough, shouldn't it?
Comment 1 Hubert Mantel 2005-08-31 15:35:07 UTC
Don't know. The more interesting question is: Who is loading the module and why?
It does not sound like a kernel bug to me, but a user space one. Steffen?
Comment 2 Steffen Winterfeldt 2005-09-01 08:41:24 UTC
module loading -> hotplug  
Comment 3 Christian Zoz 2005-09-01 09:01:54 UTC
On my machine it is 
  0000:00:1f.0 ISA bridge: Intel Corporation 82801DBM (ICH4-M) LPC Interface
Bridge (rev 01)
that has a modalias which matches on all three modules.

Hubert fyi: modprobe `cat /sys/bus/pci/devices/0000:00:1f.0/modalias` loads
these modules.

modalias are generated from kernel source. Why have to fix the pci id tables of
these modules.

All i can do from userspace is blacklisting.
Comment 4 Olaf Kirch 2005-09-01 09:08:36 UTC
The TPM modules are supposed to support the Trusted Platform chip. 
The TPM is connected to the LPC bus, so these modules logically need to 
specify the PCI ID of the LPC interface. 
 
It's probably a reasonable thing to disable automatic loading of these 
modules, given that we're not doing much with them anyway ATM. 
Does the security team have any objections? 
 
In the future we may need a bit of more intelligent scanning of devices 
that are connected to busses such as LPC or I2C. 
 
Christian, I prefer blacklisting them in user space for now. 
Comment 5 Marcus Meissner 2005-09-01 09:11:49 UTC
i agree. please disable them. 
Comment 6 Christian Zoz 2005-09-01 09:29:13 UTC
fixed in svn. Will be submitted today.