Mailing-List: contact cygwin-developers-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-developers-owner AT cygwin DOT com Delivered-To: mailing list cygwin-developers AT cygwin DOT com X-WM-Posted-At: avacado.atomice.net; Thu, 4 Jul 02 13:52:59 +0100 Message-ID: <00be01c22359$b9e7c170$0100a8c0@advent02> From: "Chris January" To: "Pavel Tsekov" Cc: "Pavel Tsekov" , References: <00b901c21df9$1c9e3df0$0100a8c0 AT advent02> <20020627163750 DOT GA27819 AT redhat DOT com> <010901c21dfa$de6d74e0$0100a8c0 AT advent02> <3D1B5A59 DOT 7090609 AT ece DOT gatech DOT edu> <3D1B92A6 DOT 4020707 AT ece DOT gatech <024101c22216$d81624f0$0100a8c0 AT advent02> <103929877 DOT 20020704121327 AT syntrex DOT com> Subject: Re: Re[2]: vmstat Date: Thu, 4 Jul 2002 13:52:59 +0100 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 > Hello Chris, > > Wednesday, July 03, 2002, 12:21:42 AM, you wrote: > > CJ> Will this package actually appear on the mirrors in future or are there > CJ> issues I am not aware of preventing this from happening? > > Have you tried running the procps tools on current stock dll > (1.3.12-1) ? For me most of them seem to just hang - top, procps, > uptime, vmstat, w... havent tried the others. > > Maybe this problem corelates with the fact that some of the /proc > files no longer contain information - see below: > Perhaps it has to do something with your last patch. I don't have time > to look at this right now though. I can send strace if you want. > > The procps tools I'm using were downloaded from your site following > their anouncement on cygwin-apps. This is caused by the default alignment changing from 4 bytes to 8 bytes, as far as i can tell. Basically the size of structure passed to the NT system calls is not the size of structure the call expects, so it fails and the program (top, uptime, etc.) gets stuck in a loop trying to read data. I did add macros to ntdll.h to make sure the structures were aligned correctly, but then Chris changed the alignment back so I removed them. I shall let Chris comment on this. Chris