Re: [tboot-devel] parse_err produces the wrong result for a TPM error

2012-10-17 Thread Wei, Gang
Below issue got fixed w/ the latest c/s in souceforge upstream tree. Jimmy Frédéric Guihéry wrote on 2012-05-25: > Hi, > > Indeed, I have the same problem : > > TBOOT: TXT.ERRORCODE: 0xc0041d01 > TBOOT: AC module error : acm_type=0x1, progress=0x10, error=0x7 > TBOOT: LCP2 error: minor error =

Re: [tboot-devel] parse_err produces the wrong result for a TPM error

2012-05-25 Thread Frédéric Guihéry
Hi, Indeed, I have the same problem : TBOOT: TXT.ERRORCODE: 0xc0041d01 TBOOT: AC module error : acm_type=0x1, progress=0x10, error=0x7 TBOOT: LCP2 error: minor error = 0x3f, index = 399 The related structure is in ./tboot/include/txt/errorcode.h : 80 union { 81 u

[tboot-devel] parse_err produces the wrong result for a TPM error

2012-05-23 Thread Andrew Goodbody
The use of bit fields in parse_err is not working correctly. ./parse_err 0xc01128d1 ERRORCODE: 0xc01128d1 AC module error : acm_type=0x1, progress=0x0d, error=0xa TPM error code = 0x0 Whereas the correct response should be 0x11. Bit fields are a minefield, they should not be used. Andrew -