From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mout.kundenserver.de (mout.kundenserver.de [212.227.126.130]) by sourceware.org (Postfix) with ESMTPS id 298413858D32 for ; Mon, 16 Jan 2023 10:19:34 +0000 (GMT) Authentication-Results: sourceware.org; dmarc=permerror header.from=cygwin.com Authentication-Results: sourceware.org; spf=fail smtp.mailfrom=cygwin.com Received: from calimero.vinschen.de ([24.134.7.25]) by mrelayeu.kundenserver.de (mreue012 [212.227.15.167]) with ESMTPSA (Nemesis) id 1M4KFF-1pH5bU0atV-000PYZ; Mon, 16 Jan 2023 11:19:29 +0100 Received: by calimero.vinschen.de (Postfix, from userid 500) id 2A32BA8088F; Mon, 16 Jan 2023 11:19:28 +0100 (CET) Date: Mon, 16 Jan 2023 11:19:28 +0100 From: Corinna Vinschen To: cygwin@cygwin.com Cc: Achim Gratz Subject: Re: vmstat yields error 'Unable to create system stat structure' on W11x64 Message-ID: Reply-To: cygwin@cygwin.com Mail-Followup-To: cygwin@cygwin.com, Achim Gratz References: <38D69F25-39D2-4A62-B2BD-94055EB2994B@prs.de> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <38D69F25-39D2-4A62-B2BD-94055EB2994B@prs.de> X-Provags-ID: V03:K1:l/QpEhwZE0NreRIUzbkCk9PLj3lYMFQffwy9nrRDXuI2CjohuDZ EYucNl7kAaYUMVbQym2f58cCf2WPYAoh+BuakeLJwUc1oL2u5v25+krWVx8feuHqwaGBNuE XC54P9bZQdVkL4Dqae2XMXsGMPH9MmBe6u0C+hKYLP3fpXXk5hFAdbopPg6WRYcXLoAPwEm uRssIJo43vq11+8AtyBvQ== UI-OutboundReport: notjunk:1;M01:P0:W+3oE2PqJnA=;F9q1vIWAAtKecqfxa4okPCu2fVQ zoxoMMy3DWLdYVjYxKuU8QuVm5ENf4YT0t2oqI+lQUnzoZ6qz8Ujya2JhUqLjUquT7vf9DRkN PxXk8bdtoRtFDLJRAAcGcldBdaGno/zVYUDeKuDNjUnuX3QYwSR+pHycqkV+nqpH2kUtZDqu5 abDWrepg0SS4SvJdLZGpMpyuifYi86Ea4NHrowvgCIZLg+x/VIFNmeXGnZ/1LNDVtX176Ya6w 6JnqqryB3bNYuAohW9LuO+VoIqKTShevQBA+zxNzpZhFY3Xrvd/RxRS2LzS0LuAk/z04Vr7S/ GxurEeYo+ZVl0mZCMqowiO7LvFfBl2WpXFgZF9xef6nc0HU3/9Ffn1loU4noLVsGmXyKgPhnr xh1XGHGFpEt5R6v7EDhkiORai6DEcArQaZFwYVZR6ItvcXFMhD4DfrDqXFU7miTWyQ0wU6I1w xUjSLZuMN08sfMAS1ImeWS3QecUtRIJnWIv2Cn3BV4lEndaL2DEnALT0bVr7x+I6atKPaltY1 NpEq+H5lWXadXpM9wJ/s/w1o8tQpGI+vqpd0UNce/fDrUejMfucNAEgKiQ4kcVQdc+1b8UqM8 DIjjcz0GTISwfJFlnmeG2xxbnlZGXHyDhvV7ljPI461VE5En5bFL8oGJ5qbofHxekQms0GZ/b SfJGKG1nFysqa0oCJM4lngLTPW8M9dT1O+/WPs6eiA== X-Spam-Status: No, score=-96.6 required=5.0 tests=BAYES_00,GOOD_FROM_CORINNA_CYGWIN,KAM_DMARC_STATUS,KAM_NUMSUBJECT,RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H2,SPF_FAIL,SPF_HELO_NONE,TXREP autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org List-Id: On Jan 15 22:04, System Administrator via Cygwin wrote: > Hello, > > I am trying to migrate my framework to Windows 11 running Cygwin. > When executing vmstat it returns the following error: > > "Unable to create system stat structure” > > Using the very same packages (install files) on Windows 10, produces the proper vmstat results (i.e. no error). > I’ve tried W11 pro and Enterprise - same difference (none.) Windows 11 is running in a VMware VM. W11 is the December version wit the latest updates (as of today). > The working W10 is running on the same physical hardware, using the same version of VMware, also in a VM. > Cygwin is the latest version 3.4.3, with the latest props-ng package (4.0.2-1) > > Any help (or at least hint) is greatly appreciated. I don't think this has anything to do with Windows10 or 11, but with the version of procps-ng you're running. I tried vmstat from procps-ng-4.0.2-1 on both, W10 and W11, and I got the above error in both cases. I switched back to procps-ng-3.3.17-1 and vmstat worked fine on both, W10 and W11. I ran vmstat from procps-ng-4.0.2-1 under GDB and found that this vmstat tries to dynamically load libnuma.so or libnuma.1.so, both of which are naturally not available on Cygwin. So I guess vmstat from procps-ng-4.x still needs another patch. Achim? Corinna