Bugzilla – Bug 113546
4 tpm modules loaded?
Last modified: 2007-06-05 09:37:32 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?
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?
module loading -> hotplug
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.
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.
i agree. please disable them.
fixed in svn. Will be submitted today.