Skip to contentSkip to conversation

How to use the vTPM backend driver in the pv-ops kernel

DISCUSSION gavin 3 participants 7 messages Dec 22, 2012 – Dec 28, 2012

lore
Share & tools
lore

gavin

author
#0 lore raw

Hi,

I cannot find the vTPM config option CONFIG_XEN_TPMDEV_BACKEND in the config file of pv-ops kernel, such as kernel 2.6.32.50. However, this option exists in the config file of kernel version 2.6.18.8. I also cannot find the vTPM backed driver (such as linux-2.6.18-xen.hg/drivers/xen/tpmback ) in the pv-ops kernel. So, how can I configure and use the vTPM backend driver in kernel 2.6.32?
Thank you for any advice.

Best Regards,
Gavin

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xen.org/xen-devel

#1 lore raw
Quoted 10 lines · gavin
    Hi,

I cannot find the vTPM config option CONFIG_XEN_TPMDEV_BACKEND in the config file of pv-ops kernel, such as kernel 2.6.32.50. However, this option exists in the config file of kernel version 2.6.18.8. I also cannot find the vTPM backed driver (such as linux-2.6.18-xen.hg/drivers/xen/tpmback ) in the pv-ops kernel. So, how can I configure and use the vTPM backend driver in kernel 2.6.32? Thank you for any advice.

I don't think vtpm drivers were ported to 2.6.32 pvops. Recently there has been work on porting the drivers to upstream Linux 3.x, but they aren't merged yet iirc.

If you need to use them with 2.6.32 you need to port them yourself..

-- Pasi

author
#2 lore raw

Hi Pasi,

Thank you very much for your information.

Best Regards,
Gavin

Quoted 12 lines · At 2012-12-23 06:04:08,"Pasi Kärkkäinen" <[email protected]> wrote:
Quoted 10 lines · gavin
    Hi,

I cannot find the vTPM config option CONFIG_XEN_TPMDEV_BACKEND in the config file of pv-ops kernel, such as kernel 2.6.32.50. However, this option exists in the config file of kernel version 2.6.18.8. I also cannot find the vTPM backed driver (such as linux-2.6.18-xen.hg/drivers/xen/tpmback ) in the pv-ops kernel. So, how can I configure and use the vTPM backend driver in kernel 2.6.32? Thank you for any advice.

Quoted 8 lines

I don't think vtpm drivers were ported to 2.6.32 pvops. Recently there has been work on porting the drivers to upstream Linux 3.x, but they aren't merged yet iirc.

If you need to use them with 2.6.32 you need to port them yourself..

-- Pasi

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xen.org/xen-devel

#3 lore raw

The frontend driver is currently being ported to the latest kernel. You can find the patch cross listed here as well as the linux kernel mailing list.

I have no plans to port the backend driver. If you need it you'll have to get it from the 2.6.18 kernel and port it yourself.

________________________________________
From: [email protected] [[email protected]] On Behalf Of gavin [[email protected]]
Sent: Sunday, December 23, 2012 8:04 AM
To: Pasi Kärkkäinen
Cc: [email protected]; [email protected]
Subject: Re: [Xen-devel] How to use the vTPM backend driver in the pv-ops kernel

Hi Pasi,

Thank you very much for your information.

Best Regards,
Gavin

Quoted 20 lines · At 2012-12-23 06:04:08,"Pasi Kärkkäinen" <[email protected]> wrote:
Quoted 10 lines · gavin
    Hi,

I cannot find the vTPM config option CONFIG_XEN_TPMDEV_BACKEND in the config file of pv-ops kernel, such as kernel 2.6.32.50. However, this option exists in the config file of kernel version 2.6.18.8. I also cannot find the vTPM backed driver (such as linux-2.6.18-xen.hg/drivers/xen/tpmback ) in the pv-ops kernel. So, how can I configure and use the vTPM backend driver in kernel 2.6.32? Thank you for any advice.

I don't think vtpm drivers were ported to 2.6.32 pvops. Recently there has been work on porting the drivers to upstream Linux 3.x, but they aren't merged yet iirc.

If you need to use them with 2.6.32 you need to port them yourself..

-- Pasi

#4 lore raw
Quoted 6 lines · Matthew E.

The frontend driver is currently being ported to the latest kernel. You can find the patch cross listed here as well as the linux kernel mailing list.

I have no plans to port the backend driver. If you need it you'll have to get it from the 2.6.18 kernel and port it yourself.

Hmm.. are you still using 2.6.18 kernel in dom0 yourself?

-- Pasi

Quoted 39 lines

________________________________________
From: [email protected] [[email protected]] On Behalf Of gavin [[email protected]]
Sent: Sunday, December 23, 2012 8:04 AM
To: Pasi Kärkkäinen
Cc: [email protected]; [email protected]
Subject: Re: [Xen-devel] How to use the vTPM backend driver in the pv-ops kernel

Hi Pasi,

Thank you very much for your information.

Best Regards,
Gavin

Quoted 20 lines · At 2012-12-23 06:04:08,"Pasi Kärkkäinen" <[email protected]> wrote:
Quoted 10 lines · gavin
    Hi,

I cannot find the vTPM config option CONFIG_XEN_TPMDEV_BACKEND in the config file of pv-ops kernel, such as kernel 2.6.32.50. However, this option exists in the config file of kernel version 2.6.18.8. I also cannot find the vTPM backed driver (such as linux-2.6.18-xen.hg/drivers/xen/tpmback ) in the pv-ops kernel. So, how can I configure and use the vTPM backend driver in kernel 2.6.32? Thank you for any advice.

I don't think vtpm drivers were ported to 2.6.32 pvops. Recently there has been work on porting the drivers to upstream Linux 3.x, but they aren't merged yet iirc.

If you need to use them with 2.6.32 you need to port them yourself..

-- Pasi

#5 lore raw

No, the vtpm manager is implemented in mini-os and mini-os not has a driver for direct access to the physical tpm. dom0 no longer takes any part of the vtpm communication paths.
________________________________________
From: Pasi Kärkkäinen [[email protected]]
Sent: Thursday, December 27, 2012 12:03 PM
To: Fioravante, Matthew E.
Cc: gavin; [email protected]; [email protected]
Subject: Re: [Xen-devel] How to use the vTPM backend driver in the pv-ops kernel

Quoted 6 lines · Matthew E.

The frontend driver is currently being ported to the latest kernel. You can find the patch cross listed here as well as the linux kernel mailing list.

I have no plans to port the backend driver. If you need it you'll have to get it from the 2.6.18 kernel and port it yourself.

Hmm.. are you still using 2.6.18 kernel in dom0 yourself?

-- Pasi

Quoted 39 lines

________________________________________
From: [email protected] [[email protected]] On Behalf Of gavin [[email protected]]
Sent: Sunday, December 23, 2012 8:04 AM
To: Pasi Kärkkäinen
Cc: [email protected]; [email protected]
Subject: Re: [Xen-devel] How to use the vTPM backend driver in the pv-ops kernel

Hi Pasi,

Thank you very much for your information.

Best Regards,
Gavin

Quoted 20 lines · At 2012-12-23 06:04:08,"Pasi Kärkkäinen" <[email protected]> wrote:
Quoted 10 lines · gavin
    Hi,

I cannot find the vTPM config option CONFIG_XEN_TPMDEV_BACKEND in the config file of pv-ops kernel, such as kernel 2.6.32.50. However, this option exists in the config file of kernel version 2.6.18.8. I also cannot find the vTPM backed driver (such as linux-2.6.18-xen.hg/drivers/xen/tpmback ) in the pv-ops kernel. So, how can I configure and use the vTPM backend driver in kernel 2.6.32? Thank you for any advice.

I don't think vtpm drivers were ported to 2.6.32 pvops. Recently there has been work on porting the drivers to upstream Linux 3.x, but they aren't merged yet iirc.

If you need to use them with 2.6.32 you need to port them yourself..

-- Pasi

#6 lore raw
Quoted 3 lines · Matthew E.

No, the vtpm manager is implemented in mini-os and mini-os not has a driver for direct access to the physical tpm. dom0 no longer takes any part of the vtpm communication paths.

Ok. that's nice. Thanks for the info :)

-- Pasi

Quoted 58 lines

________________________________________
From: Pasi Kärkkäinen [[email protected]]
Sent: Thursday, December 27, 2012 12:03 PM
To: Fioravante, Matthew E.
Cc: gavin; [email protected]; [email protected]
Subject: Re: [Xen-devel] How to use the vTPM backend driver in the pv-ops kernel

Quoted 6 lines · Matthew E.

The frontend driver is currently being ported to the latest kernel. You can find the patch cross listed here as well as the linux kernel mailing list.

I have no plans to port the backend driver. If you need it you'll have to get it from the 2.6.18 kernel and port it yourself.

Hmm.. are you still using 2.6.18 kernel in dom0 yourself?

-- Pasi

Quoted 39 lines

________________________________________
From: [email protected] [[email protected]] On Behalf Of gavin [[email protected]]
Sent: Sunday, December 23, 2012 8:04 AM
To: Pasi Kärkkäinen
Cc: [email protected]; [email protected]
Subject: Re: [Xen-devel] How to use the vTPM backend driver in the pv-ops kernel

Hi Pasi,

Thank you very much for your information.

Best Regards,
Gavin

Quoted 20 lines · At 2012-12-23 06:04:08,"Pasi Kärkkäinen" <[email protected]> wrote:
Quoted 10 lines · gavin
    Hi,

I cannot find the vTPM config option CONFIG_XEN_TPMDEV_BACKEND in the config file of pv-ops kernel, such as kernel 2.6.32.50. However, this option exists in the config file of kernel version 2.6.18.8. I also cannot find the vTPM backed driver (such as linux-2.6.18-xen.hg/drivers/xen/tpmback ) in the pv-ops kernel. So, how can I configure and use the vTPM backend driver in kernel 2.6.32? Thank you for any advice.

I don't think vtpm drivers were ported to 2.6.32 pvops. Recently there has been work on porting the drivers to upstream Linux 3.x, but they aren't merged yet iirc.

If you need to use them with 2.6.32 you need to port them yourself..

-- Pasi