mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: trusted linux <tcimpl2005@yahoo.com>
To: Torsten Landschoff <tla@comsys.informatik.uni-kiel.de>
Cc: linux-kernel@vger.kernel.org
Subject: Re: TPM on IBM thinkcenter S51
Date: Thu, 2 Jun 2005 15:00:27 -0700 (PDT)	[thread overview]
Message-ID: <20050602220028.3572.qmail@web61014.mail.yahoo.com> (raw)
In-Reply-To: <1117459071.6058.6.camel@localhost.localdomain>

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
<tla@comsys.informatik.uni-kiel.de> 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 


  reply	other threads:[~2005-06-02 22:02 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-05-27 20:42 trusted linux
2005-05-30 13:17 ` Torsten Landschoff
2005-06-02 22:00   ` trusted linux [this message]
2005-06-03  9:23     ` Torsten Landschoff
2005-06-03 15:02       ` Kylene Jo Hall
2005-06-03 16:23         ` Kylene Jo Hall
2005-06-10  1:37           ` trusted linux
2005-06-03 16:24         ` Kylene Jo Hall
2005-06-06  8:53         ` Torsten Landschoff

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20050602220028.3572.qmail@web61014.mail.yahoo.com \
    --to=tcimpl2005@yahoo.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=tla@comsys.informatik.uni-kiel.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

Powered by JetHome