Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 81087 - tpm-module-2.0 - 'No such device' on module insertion
Summary: tpm-module-2.0 - 'No such device' on module insertion
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Crypto team [DISABLED]
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-02-07 03:19 UTC by Jan Dusek
Modified: 2005-06-21 05:28 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jan Dusek 2005-02-07 03:19:00 UTC
$ insmod /lib/modules/2.6.10-gentoo-r2/crypto/tpm.ko
insmod: error inserting '/lib/modules/2.6.10-gentoo-r2/crypto/tpm.ko': -1 No such device

Reproducible: Always
Steps to Reproduce:
1. Emerge app-crypt/tpm-module-2.0 and sys-libs/libtpm-2.0.
2. $ insmod /lib/modules/2.6.10-gentoo-r2/crypto/tpm.ko

Actual Results:  
insmod: error inserting '/lib/modules/2.6.10-gentoo-r2/crypto/tpm.ko': -1 No
such device

with this in syslog:
tpm: Atmel TPM version 1.1.0.6
tpm: StartUp failed
tpm: PhysicalPresence failed

Expected Results:  
It should have inserted the module.

I have ThinkPad X31 with TCPA chip enabled in BIOS.

About a month before this I've tried to install whe IBM TCPA utils in windows
and get the chip working but without any success (the windows tool crashed).

The previous tpm version (1.1b) did work for me (it found the chip and I was
able to perform basic operations with it).
Comment 1 Daniel Black (RETIRED) gentoo-dev 2005-02-07 05:45:43 UTC
/bin/mknod /dev/tpm c 10 224
should fix it. I've yet to work out how to portably add device nodes with udev, devfs and no device management schemes.

Note to self: Need to fix 2.4 kernel support too- there is a 2.4 Makefile that needs ntesting.
Comment 2 Jan Dusek 2005-02-07 06:09:41 UTC
No, still the same error. Do I need to change permissions for that device somehow? I'm using udev btw.
Comment 3 Daniel Black (RETIRED) gentoo-dev 2005-02-07 12:55:18 UTC
dos lspci show your tcpa chip?
If so what does it show?

Sorry I'm debugging this without the hardware so please be patient.
Comment 4 Jan Dusek 2005-02-09 02:12:47 UTC
lspci doesn't show the module. that's a bit strange, cuz I've upgraded my bios yesterday and erased all keys from the chip. Also I've managed to get the windows ibm client security tools working, so the chip really is there and works :)
Comment 5 Michael Gaber 2005-03-02 11:46:55 UTC
I have the same Problem, using a ThinkPad R50p.

the TPM-Chip works correctly under windows, but gives the same error-code on insertion.

adding the device-node manually didn't solve the problem
Comment 6 Patrik Karlsson 2005-05-23 02:59:54 UTC
I have the same problems with my IBM T42. I can't get the tpm-module package to
work. However using the tpm driver from 2.6.12-rc4 works.
Comment 7 Daniel Black (RETIRED) gentoo-dev 2005-05-23 03:12:14 UTC
sounds like an easy solution to just wait till 2.6.12 :-) 
Comment 8 Daniel Black (RETIRED) gentoo-dev 2005-06-21 05:28:40 UTC
fixed with trousers-0.1.11.ebuild (bug 95764) and 2.6.12 existing.  
 
I'll remove the exteral module once 2.6.12 goes stable.