From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 20212 invoked by alias); 31 May 2013 16:27:14 -0000 Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com Received: (qmail 20200 invoked by uid 89); 31 May 2013 16:27:14 -0000 X-Spam-SWARE-Status: No, score=3.4 required=5.0 tests=AWL,BAYES_50,BOTNET,KHOP_THREADED,RCVD_IN_DNSWL_NONE,RCVD_IN_HOSTKARMA_NO,RCVD_IN_HOSTKARMA_YE,TW_YG autolearn=no version=3.3.1 Received: from vms173021pub.verizon.net (HELO vms173021pub.verizon.net) (206.46.173.21) by sourceware.org (qpsmtpd/0.84/v0.84-167-ge50287c) with ESMTP; Fri, 31 May 2013 16:27:10 +0000 Received: from [192.168.1.231] ([unknown] [108.20.163.251]) by vms173021.mailsrvcs.net (Sun Java(tm) System Messaging Server 7u2-7.02 32bit (built Apr 16 2009)) with ESMTPA id <0MNO006CJ8CHTW20@vms173021.mailsrvcs.net> for cygwin@cygwin.com; Fri, 31 May 2013 11:26:46 -0500 (CDT) Message-id: <51A8CF41.4000104@cygwin.com> Date: Fri, 31 May 2013 18:45:00 -0000 From: "Larry Hall (Cygwin)" Reply-to: cygwin@cygwin.com User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:17.0) Gecko/20130509 Thunderbird/17.0.6 MIME-version: 1.0 To: cygwin@cygwin.com Subject: Re: Postinstall Script Errors With Exit Code 128 References: <51A62CAE.3080504@cygwin.com> <51A65C03.3050107@cygwin.com> In-reply-to: Content-type: text/plain; charset=ISO-8859-1; format=flowed Content-transfer-encoding: 7bit X-SW-Source: 2013-05/txt/msg00470.txt.bz2 On 5/31/2013 2:29 AM, Paul.Nickerson@desknetinc.com wrote: >> From: "Larry Hall (Cygwin)" >> To: cygwin at cygwin dot com, >> Date: 05/29/2013 03:51 PM >> Subject: Re: Postinstall Script Errors With Exit Code 128 >> Sent by: cygwin-owner at cygwin dot com >> >> On 5/29/2013 3:18 PM, Paul.Nickerson at desknetinc dot com wrote: >>> So, I think that one of these functions hangs when >>> cygwin1.dll is present. I'm thinking dump_dodgy_apps. >> >> Possibly. You may have a BLODA problem ( > http://cygwin.com/acronyms/#BLODA), >> whether known or unknown. If so, getting rid of it will certainly help. >> >>> I tried copying cygcheck.exe to other directories and leaving > cygwin1.dll >>> in bin, and cygcheck does not hang when run from other directories. >> >> Interesting. Maybe there's some Windows permission problems in the >> directory you were running from? > > I have fixed it. Thank you for your help. > > I have a few other AWS EC2 instances. One other was having trouble with > Cygwin install, and none of the rest were. I tried comparing installed > applications, but got nowhere. I also tried installing Windows updates on > the troubled system, and copying the cygwin from a healthy system to the > troubled one. Neither attempt worked. I had looked into folder permissions > before, which all looked fine, and tried installing to another folder and > even another drive, but that hadn't helped. > > I then used WinDbg to run C:\cygwin\bin\bash.exe --norc --noprofile > "/etc/postinstall/000-cygwin-post-install.sh", and I think I got this > error: SetContext failed, 0x8007001F. Looking online, it seems that code > is associated with "A device attached to the system is not functioning". I > have already rebooted a bunch of times. I used Belarc Advisor to grab the > virtual hardware version. Belarc Advisor said the System Model / Main > Circuit Board / BIOS on both troubled instances was "Xen HVM domU > 3.1.2-92.1.13.el5.", while on the other working instances it was "Xen HVM > domU 3.4.3-2.6.18 09/01/2012". > > So, I shut down the instance (I use EBS volumes), created an AMI from it, > created an Instance from the AMI, and started up that instance. This has > the effect of applying a new virtual hardware if available (proven by the > fact that I get a new Instance ID), as well as moving to different > physical hardware. After this, Belarc Advisor reported the good virtual > hardware version. And, I was able to successfully install and use Cygwin > normally. :) > > I have attached the output of running that bash.exe command inside WinDbg, > just in case it's useful for anything. > > Again, thank you for you help. You're welcome. Thanks for your efforts in tracking this down and reporting back. I suspect it will help others in the future if they see similar issues. -- Larry _____________________________________________________________________ A: Yes. > Q: Are you sure? >> A: Because it reverses the logical flow of conversation. >>> Q: Why is top posting annoying in email? -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple