delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2006/06/20/10:14:34

X-Spam-Check-By: sourceware.org
Date: Tue, 20 Jun 2006 10:14:17 -0400
From: Christopher Faylor <cgf-no-personal-reply-please AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: bash and CSRSS consuming 100% of CPU
Message-ID: <20060620141417.GF19534@trixie.casa.cgf.cx>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
References: <003b01c69406$749c41f0$0a3b6080 AT joehome> <00c801c69460$c3fd0c70$a501a8c0 AT CAM DOT ARTIMI DOT COM>
Mime-Version: 1.0
In-Reply-To: <00c801c69460$c3fd0c70$a501a8c0@CAM.ARTIMI.COM>
User-Agent: Mutt/1.5.11
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

On Tue, Jun 20, 2006 at 12:57:54PM +0100, Dave Korn wrote:
>On 20 June 2006 02:11, Science Guy wrote:
>
>> I got cygwin working once again on my problem machine.  (Hooray!)
>> 
>> The problem was that the snapshot tar file, cygwin-inst-20060614.tar.bz2,
>> had cygwin1.dll in /usr/bin but failed to replace the old cygwin1.dll in
>> /bin.  I copied over the new cygwin1.dll into /bin, and things are working
>> nicely once again.
>
>  Yes, tar can't replace the cygwin dll, because tar relies on having the
>cygwin dll loaded in order to run!  You have to extract it separately and use
>a dos prompt to copy it across.  You obviously read the FAQ entry, because you
>knew to use the "--exclude=usr/bin/cygwin1.dll" option; read the bit just
>after that again.  I guess it's only implied rather than explicit, that you
>could have installed the dll first and the rest later; maybe we could make it
>clearer.

Dave, I think you missed this:

>sciguy wrote:
>>I am networked to a Linux machine, so I moved the tar file
>>cygwin-inst-20060614.tar.bz2 over to the Linux machine, created a dummy
>>cygwin directory to hold the file, and un-tarred it there using this
>>command:
>>
>>% /bin/tar -jxvf cygwin-inst-20060614.tar.bz2
>>
>>Then I ftp'd the entire un-tarred file and directory structure over the
>>cygwin directory of the affected Windows PC.

This is why I kept mentioning that the snapshot cygwin DLL wasn't
installed in the right location.  I correctly assumed that this step did
not put the cygwin DLL (or any of the cygwin programs) in c:\cygwin\bin.
The cygcheck output made this pretty clear.

cgf

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019