X-Spam-Check-By: sourceware.org Message-ID: <451B361B.5080903@cygwin.com> Date: Wed, 27 Sep 2006 22:40:27 -0400 From: "Larry Hall (Cygwin)" Reply-To: cygwin AT cygwin DOT com User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.0.5) Gecko/20060727 Fedora/1.5.0.5-1.fc4.remi Thunderbird/1.5.0.5 Mnenhy/0.7.4.0 MIME-Version: 1.0 To: cygwin AT cygwin DOT com Subject: Re: Install hangs References: <001f01c6e194$e3e56970$a501a8c0 AT CAM DOT ARTIMI DOT COM> <451AD645 DOT 9060601 AT cygwin DOT com> In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Eric Mader wrote: > Larry Hall (Cygwin) wrote: >> Eric Mader wrote: >>> I found a bunch of stalled processes running "ash", "bash" and "sh". >>> I killed them all and rebooted for good measure. :-) When I ran >>> setup.exe again, it gets as far as running /etc/postinstall/gnugo.sh >>> and then stalls. The environment seems to be more-or-less working. >>> I've enclosed the output of cygcheck -c , cygcheck -s and >>> /var/log/setup.log.full. >>> >>> Am I good to go at this point, or is there still something that's a >>> little off? >>> >> >> >> 'hicolor-icon-theme' reports itself as incomplete but otherwise the >> packages themselves are there. Postinstall scripts have a purpose >> so to the extent that you haven't run them, you may see some issues >> with your environment. I'd recommend trying two things that might >> help: >> >> 1. Remove '/', '/usr/lib', and '/usr/bin' as binary and rerun >> 'setup.exe'. See 'man mount' and the '-f' and '-b' flags >> for more details. >> >> 2. With or without the above, go to the '/etc/postinstall' directory >> and run any scripts there that don't have the 'done' suffix. >> Once they have all run successfully, move them to the script >> name plus the 'done' suffix. >> >> Hopefully one of these two procedures will get all your postinstall >> scripts to run. If that's true, you're good to go. > > > I remounted '/', '/usr/lib' and '/usr/bin' as binary (I assume you meant > "remount" rather than "remove"?) and reran setup.exe. It ran all the way > to completion w/o any complaints, so I think I'm in pretty good shape. Yes, remount. Sorry about that. My proofreading wasn't too good this afternoon. Cygcheck looks OK to me. It's not immediately obvious to me why the text mounts got in the way here but I'm glad it fixed it. And I fear other similar reports! > I'm enclosing the output of 'cygcheck -svr > cygcheck.out'. > > In the process of messing around w/ the scripts in /etc/postinstall I > ran into a problem w/ find. In an attempt to find scripts where both the > '.sh' and the '.sh.done' versions existed I typed the command: > > find . -name "*.sh" -exec ls \{\}.done \; > > This caused some strange error messages, and left some stalled processes > running 'find' behind. (I can't run this command now because the > successful run of setup.exe cleaned them all up, but here's the output > of a similar use of '-exec' in find: > > $ find . -name "*.sh.done" -exec ls \{\} \; > 197 [main] find 16764 fhandler_dev_zero::fixup_mmap_after_fork: > requested 0x > 430000 != 0x0 mem alloc base 0x430000, state 0x2000, size 1040384, Win32 > error 4 > 87 > 543 [main] find 16764 c:\cygwin\bin\find.exe: *** fatal error - > c:\cygwin\bi > n\find.exe: *** recreate_mmaps_after_fork_failed > > It takes quite a long time to get a command prompt back after these > error messages, and it leaves behing a stalled process. > > Is this releated somehow to my many failed attempts to run setup.exe, or > is it a know problem w/ find? > Could be a rebase issue. Try installing the package, read the README, and follow the instructions for rebasing your system. -- Larry Hall http://www.rfk.com RFK Partners, Inc. (508) 893-9779 - RFK Office 216 Dalton Rd. (508) 893-9889 - FAX Holliston, MA 01746 -- 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/