Re: TPM on IBM thinkcenter S51

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Torsten,

thanks, here is my strace related to tpm:

open("/dev/tpm", O_RDWR)                = -1 ENODEV
(No such device)
write(2, "Can\'t open TPM Driver\n", 22Can't open TPM
Driver
) = 22

I also inserted some printk in tpm.c and tpm_nsc.c
(tpm_atmel.c as well). I only saw "init_tpm" be
called.  "tpm_open" was not even called!

This machine (IBM thinkcenter S51) has a TPM
(confirmed by IBM support and its own specs). So, the
only possible problem is the driver. Any idea?

thanks a lot,

Gang



--- Torsten Landschoff
<[email protected]> wrote:

> On Fri, 2005-05-27 at 13:42 -0700, trusted linux
> wrote:
>  
> > I can't make TPM work on an IBM thinkcenter S51
> > running 2.6.12-rc5 kernel. Here is what I did:
> >  
> > 1. build the drivers tpm.ko and tpm_nsc.ko and
> > modprobe tpm
> > 2. create /dev/tpm
> > 3. build tpm libtcpa (version 1.1)
> > 4. run tcpa_demo 
> >  
> > then I got an error "Can't open TPM driver". 
> 
> I'd check with strace first what's going on there.
> In my case I
> had /dev/tpm0 created by udev with libtcpa accessing
> /dev/tpm. So -
> what's the output of 
> 
> 	strace ./tcpa_demo
> 
> ??
> 
> Greetings
> 
> 	Torsten
> 
> 



		
__________________________________ 
Discover Yahoo! 
Find restaurants, movies, travel and more fun for the weekend. Check it out! 
http://discover.yahoo.com/weekend.html 

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux