From: Jean Chorin Subject: Questions about envytools: reading card VBIOS Date: Wed, 20 Mar 2019 16:49:34 +0100 Message-ID: <3e7d4b6d-cd35-8c98-7a7c-372cec359cd3@cloudandheat.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1894625767==" Return-path: Content-Language: en-US List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: nouveau-bounces-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org Sender: "Nouveau" To: nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org List-Id: nouveau.vger.kernel.org This is a multi-part message in MIME format. --===============1894625767== Content-Type: multipart/alternative; boundary="------------FF8756F676AE5FE6AA7FE5EF" Content-Language: en-US This is a multi-part message in MIME format. --------------FF8756F676AE5FE6AA7FE5EF Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable To whom it may concern I hope here is the right place to ask about envytools. I am working on securing our GPUs in the case of an OpenStack infrastructure, where GPUs can be bound and unbound to VMs from different clients. I wanted to use envytools to retrieve the VBIOS our cards, then check after each VM deletion if somebody changed the VBIOS (potentially a threat). The VBIOS would be read again and compared to the previously stored one. So we would like to know: * is the card harmed in any way by reading the BIOS (I guess not, as we simply read**); * the utility also suggests that the cards have a second VBIOS. Is this second VBIOS also read at the same time? If not, how to read it?= * the VBIOS file read is larger than the one that could be read using the NVFlash utility (1 Mo for envytools, against 230 ko for NVFlash). I guess it is not an issue, but could you explain why this difference occurs? Thanks for your help. Best regards, Jean Chorin --------------FF8756F676AE5FE6AA7FE5EF Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: 8bit

To whom it may concern

I hope here is the right place to ask about envytools.

I am working on securing our GPUs in the case of an OpenStack infrastructure, where GPUs can be bound and unbound to VMs from different clients.

I wanted to use envytools to retrieve the VBIOS our cards, then check after each VM deletion if somebody changed the VBIOS (potentially a threat). The VBIOS would be read again and compared to the previously stored one.

So we would like to know:

  • is the card harmed in any way by reading the BIOS (I guess not, as we simply read);
  • the utility also suggests that the cards have a second VBIOS. Is this second VBIOS also read at the same time? If not, how to read it?
  • the VBIOS file read is larger than the one that could be read using the NVFlash utility (1 Mo for envytools, against 230 ko for NVFlash). I guess it is not an issue, but could you explain why this difference occurs?

Thanks for your help.

Best regards,

Jean Chorin

--------------FF8756F676AE5FE6AA7FE5EF-- --===============1894625767== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KTm91dmVhdSBt YWlsaW5nIGxpc3QKTm91dmVhdUBsaXN0cy5mcmVlZGVza3RvcC5vcmcKaHR0cHM6Ly9saXN0cy5m cmVlZGVza3RvcC5vcmcvbWFpbG1hbi9saXN0aW5mby9ub3V2ZWF1 --===============1894625767==--