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

[Xen-users] problem of installing tpm emulator in Xen


  • To: "xen-users" <xen-users@xxxxxxxxxxxxxxxxxxx>
  • From: "mars" <mars208@xxxxxxx>
  • Date: Tue, 31 Oct 2006 09:20:07 +0800
  • Delivery-date: Thu, 02 Nov 2006 13:43:59 -0800
  • List-id: Xen user discussion <xen-users.lists.xensource.com>

I want to install tpm emulator simulating the TPM hardware in Xen platform. But 
compiling tpm emulator brings such error.My kernel is 2.6.16.
#make ; make install
.........
  Building modules, stage 2.
  MODPOST
*** Warning: "__stack_chk_fail" 
[/root/xen-3.0.2/tools/vtpm/tpm_emulator/tpm_emulator.ko] undefined!
  CC      /root/xen-3.0.2/tools/vtpm/tpm_emulator/tpm_emulator.mod.o
  LD [M]  /root/xen-3.0.2/tools/vtpm/tpm_emulator/tpm_emulator.ko

inserting module into linux kernel have following errors:
#modprobe tpm_emulator startup="clear"
FATAL: Error inserting tpm_emulator 
(/lib/modules/2.6.16-xen/extra/tpm_emulator.ko): Unknown symbol in module, or 
unknown parameter (see dmesg)

in file /var/log/message
last error line is :
Oct 30 13:56:36 localhost kernel: tpm_emulator: Unknown symbol __stack_chk_fail

I have tried serveral ways, installing high version tpm emulator, patching the 
16K stack size, adding the compiling flag -fno-stack-protector, but still the 
same result.How can I solve the problem.




_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.