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

RE: [PATCH 1/3] Additional logging for module loading.


  • To: "paul@xxxxxxx" <paul@xxxxxxx>, "win-pv-devel@xxxxxxxxxxxxxxxxxxxx" <win-pv-devel@xxxxxxxxxxxxxxxxxxxx>
  • From: Martin Harvey <martin.harvey@xxxxxxxxxx>
  • Date: Mon, 19 Jul 2021 12:25:05 +0000
  • Accept-language: en-US
  • Arc-authentication-results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=citrix.com; dmarc=pass action=none header.from=citrix.com; dkim=pass header.d=citrix.com; arc=none
  • Arc-message-signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=gHGu7wM9ObDFykbWqoF8HnXiKuRED81kIFPfHksC2GM=; b=mNKjdpnQsnYljngD73Iur9P+cuRXtnxkvNr0Wx6o9EzRAIbWeS1FXo+ktKdsco8fjoZ7kxll4B2Ity1ZO0ajv+seDSbUnvVopwNztHPYEwerf3u1A35x/3y0bJbC6xpbpZ7dndkT6MZWPzwTNqB1UqpbjK5q2fON4U/B2nodwRGwBoMYYBREdQjOeXkEmwtRNejADGYJVHYYT+04mX73dVZ3HyARghoro01EWsje6oXal3IY+E+xJ3odCLZNn5yWryzOO1jgDq6ML5GC0IhKAvMr3xaONt7xxI1SAAbWflfW4p2Vjz4HQtfyPsG4Y8JIzq6Xcert3khX2R7mxYNAUQ==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=XGLynhqZLH86cIM77DL9Kf677UoeqgHwjfIcRuN8CA/SoW02zOu02mjEuH7qfvVY6d5PkbZ8h3IqsxbwOgTcw9iuk1vNY99Nye63NuRCnyJEbGu84eA7i8KGVLtxFm6nCaohLdEhs+m0Lei3xKnKoPYZ3sLIHf/Ut7QC4O2VSdtw5vLY71sfE5xDZxUEScfivlRUGUGhgB8SdUVTU7hrJA8qK4JtLA/t0iSYU2S8MRhD4YP46PEKpSUPg7ORJpBp/0DeZnHMgJ2xSJCrBTtrhzjHGEBAf2oyMIY+kRdwd8ClWwIYJSGbzNZaaRsl/ttEx2/l8XLyBkmIoB9nA9bbsQ==
  • Authentication-results: esa4.hc3370-68.iphmx.com; dkim=pass (signature verified) header.i=@citrix.onmicrosoft.com
  • Delivery-date: Mon, 19 Jul 2021 12:25:19 +0000
  • Ironport-hdrordr: A9a23:gc1pcaizmRGoPjmSqzJIsvkh/3BQX2113DAbv31ZSRFFG/FwyP rBoB1L73DJYWgqNE3IwerwRZVoMkmsiaKdhrNhc4tKPTOW91dASbsC0WKM+UyYJ8STzJ8+6U 4kSdkFNDSSNyk6sS+Z2njBLz9I+rDum8rE5Za8854ud3AQV0gJ1XYjNu/xKDwTeOAyP+teKH Pq3Lshm9PPQwVzUu2LQl0+G8TTrdzCk5zrJTQcAQQ81QWIhTS0rJbnDhmxxH4lInNy6IZn1V KAvx3y562lvf3+4ATbzXXv45Nfn8ak4sdfBfaLltMeJlzX+0WVjcVaKv+/VQIO0aWSAWUR4Z 7xStAbToJOAkbqDySISN3WqlDdOXgVmiffIBSj8ATeSITCNUwH4ox69Nhkm1LimjsdlcA536 RR022DsZ1LSRvGgSTm/tDNEwpnj0yuvBMZ4KUuZlFkIMIjgYVq3MQiFYJuYeI9NTO/7JpiHP hlDcna6voTeVSGb2rBtm0qxNC3RHw8EhqPX0BH46WuonVrtWE8y1FdyN0Un38G+p54Q55Y5/ 7cOqAtkL1VVMcZYa90Ge9ES8qqDW7GRw7KLQupUB7aPbBCP2iIp4/84b0z6u3vcJsUzIEqkJ CES19cvX5aQTOZNSRP5uw9zvnpehTwYd3A8LAs23FJgMyJeFOwC1zydLkHqbrTn8ki
  • Ironport-sdr: j1Lo82NPnAAEnV6Le2zPDkxa2hQ/2YaNXYm+T3AmPreXupOMCT0otOmAmpAOz5s10uF3Dtc2+o 7u0Omku65drUU6LGHfTBUZjEdI6m8+KUJAQsE5Ue6u9LQDw3lSKm9P4oaz3p7kFyEj4ZzlQAuI StyZS2mWZEdba+DUjv9vRKMtllhdetO1o+vZyPdvSCxM1OAd4h9sHtGfa6hr2el46b8M7Yd7Z3 7o620tEyfR73GG2JIefO7yiPNPvv2orKjrtMLzMEnXQcdy1NBRjALaFj3DH+IFYCa74LgmJMJ1 bXMYeC+asn1oDvxw5uKF/UGt
  • List-id: Developer list for the Windows PV Drivers subproject <win-pv-devel.lists.xenproject.org>
  • Thread-index: AQHXeXt+rl5hdj5rGkmU03P8lXlZwqtJ6rYAgABURLA=
  • Thread-topic: [PATCH 1/3] Additional logging for module loading.

I would like to have the logging enabled all the time. Whilst the case I 
mentioned is safe mode boot, I would be a liar if I said that that was the only 
way to break the filtering.

MH.

-----Original Message-----
From: win-pv-devel <win-pv-devel-bounces@xxxxxxxxxxxxxxxxxxxx> On Behalf Of 
Paul Durrant
Sent: 19 July 2021 08:23
To: win-pv-devel@xxxxxxxxxxxxxxxxxxxx
Subject: Re: [PATCH 1/3] Additional logging for module loading.

[CAUTION - EXTERNAL EMAIL] DO NOT reply, click links, or open attachments 
unless you have verified the sender and know the content is safe.

On 15/07/2021 14:15, Martin Harvey wrote:
> Recent releases of Windows (10 and 11 in particular) allow online 
> edition updates which involve a driver migration step, which occurs in 
> SAFEBOOT mode.
> 
> In some rare cases, this step may fail (for a variety of reasons).
> This additional logging added to debug such upgrade cases.

Just to be clear here. Is the intention to have this logging enabled all the 
time or only in safe mode? The comment above suggests the latter but there is 
no such guard on the call to Info() below.

   Paul

> 
> Signed-Off-By: Martin Harvey <martin.harvey@xxxxxxxxxx>
> ---
>   src/xen/module.c | 5 +++++
>   1 file changed, 5 insertions(+)
> 
> diff --git a/src/xen/module.c b/src/xen/module.c index 
> da7f113..1813e3b 100644
> --- a/src/xen/module.c
> +++ b/src/xen/module.c
> @@ -145,6 +145,11 @@ ModuleAdd(
>       BOOLEAN             After;
>       NTSTATUS            status;
>   
> +    Info("%p - %p [%s]\n",
> +         Start,
> +         Start + Size - 1,
> +         Name);
> +
>       New = __ModuleAllocate(sizeof (MODULE));
>   
>       status = STATUS_NO_MEMORY;
> 



 


Rackspace

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