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 Message-ID: <20050705064712.56688.qmail@web30107.mail.mud.yahoo.com> Date: Tue, 5 Jul 2005 02:47:12 -0400 (EDT) From: Question NS Subject: Re: Qestion about Bash Fork Resource Temporily Unavailable for NS2.28 and NS2.27 To: Cygwin List , ns-users AT isi DOT edu In-Reply-To: <6.2.1.2.0.20050704132441.08c3ca58@pop.prospeed.net> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Hi, Larry, I reinstall NS2.28 again, it stopped at a different place this time, that is, not at TK installation but at TCLCL installation, ============================================================ * Build Tclcl-1.16 ============================================================ No .configure file found in current directory Continuing with default options... checking build system type... i686-pc-cygwin checking host system type... i686-pc-cygwin checking target system type... i686-pc-cygwin checking for gcc... gcc checking for C compiler default output... a.exe checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... .exe checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ANSI C... none needed checking for g++... g++ checking whether we are using the GNU C++ compiler... yes checking whether g++ accepts -g... ./configure: line 2538: /usr/bin/sed: Resourc e temporarily unavailable ./configure: line 2542: /usr/bin/rm: Resource temporarily unavailable no ./configure: line 2570: /usr/bin/cat: Resource temporarily unavailable ./configure: fork: Resource temporarily unavailable ./configure: fork: Resource temporarily unavailable ./configure: line 2574: /usr/bin/cat: Resource temporarily unavailable ./configure: fork: Resource temporarily unavailable ./configure: fork: Resource temporarily unavailable tclcl-1.16 configuration failed! Exiting ... Please check http://www.isi.edu/nsnam/ns/ns-problems.html for common problems and bug fixes. -------------------------------------------------- Then, I run strace.exe again, got the following line, You help is appreciated! 152 39317 [main] install 980 normalize_win32_path: c:\WINDOWS = normalize_wi n32_path (c:\WINDOWS) 155 39472 [main] install 980 mount_info::conv_to_posix_path: /cygdrive/c/WIN DOWS = conv_to_posix_path (c:\WINDOWS) 152 39624 [main] install 980 mount_info::conv_to_posix_path: conv_to_posix_p ath (c:\WINDOWS\System32\Wbem, keep-rel, no-add-slash) 156 39780 [main] install 980 normalize_win32_path: c:\WINDOWS\System32\Wbem = normalize_win32_path (c:\WINDOWS\System32\Wbem) 155 39935 [main] install 980 mount_info::conv_to_posix_path: /cygdrive/c/WIN DOWS/System32/Wbem = conv_to_posix_path (c:\WINDOWS\System32\Wbem) 161 40096 [main] install 980 mount_info::conv_to_posix_path: conv_to_posix_p ath (c:\Program Files\ATI Technologies\ATI Control Panel, keep-rel, no-add-slash ) 189 40285 [main] install 980 normalize_win32_path: c:\Program Files\ATI Tech nologies\ATI Control Panel = normalize_win32_path (c:\Program Files\ATI Technolo gies\ATI Control Panel) 390 40675 [main] install 980 mount_info::conv_to_posix_path: /cygdrive/c/Pro gram Files/ATI Technologies/ATI Control Panel = conv_to_posix_path (c:\Program F iles\ATI Technologies\ATI Control Panel) 202 40877 [main] install 980 mount_info::conv_to_posix_path: conv_to_posix_p ath (c:\Program Files\PC-Doctor for Windows\services, keep-rel, no-add-slash) 162 41039 [main] install 980 normalize_win32_path: c:\Program Files\PC-Docto r for Windows\services = normalize_win32_path (c:\Program Files\PC-Doctor for Wi ndows\services) 192 41231 [main] install 980 mount_info::conv_to_posix_path: /cygdrive/c/Pro gram Files/PC-Doctor for Windows/services = conv_to_posix_path (c:\Program Files \PC-Doctor for Windows\services) 204 41435 [main] install 980 mount_info::conv_to_posix_path: conv_to_posix_p ath (c:\matlab\bin\win32, keep-rel, no-add-slash) 153 41588 [main] install 980 normalize_win32_path: c:\matlab\bin\win32 = nor malize_win32_path (c:\matlab\bin\win32) 154 41742 [main] install 980 mount_info::conv_to_posix_path: /cygdrive/c/mat lab/bin/win32 = conv_to_posix_path (c:\matlab\bin\win32) 158 41900 [main] install 980 mount_info::conv_to_posix_path: conv_to_posix_p ath (c:\Program Files\SSH Communications Security\SSH Secure Shell, keep-rel, no -add-slash) 189 42089 [main] install 980 normalize_win32_path: c:\Program Files\SSH Comm unications Security\SSH Secure Shell = normalize_win32_path (c:\Program Files\SS H Communications Security\SSH Secure Shell) 199 42288 [main] install 980 mount_info::conv_to_posix_path: /cygdrive/c/Pro gram Files/SSH Communications Security/SSH Secure Shell = conv_to_posix_path (c: \Program Files\SSH Communications Security\SSH Secure Shell) 505 42793 [main] install 980 win_env::add_cache: posix /usr/local/bin:/usr/b in:/usr/bin:/usr/X11R6/bin:/cygdrive/c/PROGRAM FILES/THINKPAD/UTILITIES:/cygdriv e/c/WINDOWS/system32:/cygdrive/c/WINDOWS:/cygdrive/c/WINDOWS/System32/Wbem:/cygd rive/c/Program Files/ATI Technologies/ATI Control Panel:/cygdrive/c/Program File s/PC-Doctor for Windows/services:/cygdrive/c/matlab/bin/win32:/cygdrive/c/Progra m Files/SSH Communications Security/SSH Secure Shell 336 43129 [main] install 980 win_env::add_cache: native PATH=C:\CYGWIN\usr\l ocal\bin;C:\CYGWIN\bin;C:\CYGWIN\bin;C:\CYGWIN\usr\X11R6\bin;c:\PROGRAM FILES\TH INKPAD\UTILITIES;c:\WINDOWS\system32;c:\WINDOWS;c:\WINDOWS\System32\Wbem;c:\Prog ram Files\ATI Technologies\ATI Control Panel;c:\Program Files\PC-Doctor for Wind ows\services;c:\matlab\bin\win32;c:\Program Files\SSH Communications Security\SS H Secure Shell 508 43637 [main] install 980 posify: env var converted to PATH=/usr/local/bi n:/usr/bin:/usr/bin:/usr/X11R6/bin:/cygdrive/c/PROGRAM FILES/THINKPAD/UTILITIES: /cygdrive/c/WINDOWS/system32:/cygdrive/c/WINDOWS:/cygdrive/c/WINDOWS/System32/Wb em:/cygdrive/c/Program Files/ATI Technologies/ATI Control Panel:/cygdrive/c/Prog ram Files/PC-Doctor for Windows/services:/cygdrive/c/matlab/bin/win32:/cygdrive/ c/Program Files/SSH Communications Security/SSH Secure Shell 542 44179 [main] install 980 environ_init: 0x10010800: PATH=/usr/local/bin:/ usr/bin:/usr/bin:/usr/X11R6/bin:/cygdrive/c/PROGRAM FILES/THINKPAD/UTILITIES:/cy gdrive/c/WINDOWS/system32:/cygdrive/c/WINDOWS:/cygdrive/c/WINDOWS/System32/Wbem: /cygdrive/c/Program Files/ATI Technologies/ATI Control Panel:/cygdrive/c/Program Files/PC-Doctor for Windows/services:/cygdrive/c/matlab/bin/win32:/cygdrive/c/P rogram Files/SSH Communications Security/SSH Secure Shell 385 44564 [main] install 980 environ_init: 0x10010698: PATHEXT=.COM;.EXE;.BA T;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH 194 44758 [main] install 980 environ_init: 0x100106D8: PKG_CONFIG_PATH=/usr/ X11R6/lib/pkgconfig 189 44947 [main] install 980 environ_init: 0x10010708: PRINTER=Acrobat Disti ller 183 45130 [main] install 980 environ_init: 0x10010728: PROCESSOR_ARCHITECTUR E=x86 185 45315 [main] install 980 environ_init: 0x10010748: PROCESSOR_IDENTIFIER= x86 Family 6 Model 9 Stepping 5, GenuineIntel 201 45516 [main] install 980 environ_init: 0x10010790: PROCESSOR_LEVEL=6 154 45670 [main] install 980 environ_init: 0x100107A8: PROCESSOR_REVISION=09 05 184 45854 [main] install 980 environ_init: 0x100107C8: PROGRAMFILES=C:\Progr am Files 184 46038 [main] install 980 environ_init: 0x100107F0: PROMPT=$P$G 152 46190 [main] install 980 environ_init: 0x10010F30: PS1=\[\e]0;\w\a\]\n\[ \e[32m\]\u@\h \[\e[33m\]\w\[\e[0m\]\n\$ 355 46545 [main] install 980 environ_init: 0x10010F78: PWD=/home/PengFei/ns- allinone-2.28 187 46732 [main] install 980 environ_init: 0x10010FA0: SESSIONNAME=Console 154 46886 [main] install 980 environ_init: 0x10010FB8: SHLVL=1 149 47035 [main] install 980 environ_init: 0x10010FC8: SYSTEMDRIVE=C: 158 47193 [main] install 980 environ_init: 0x10010FE0: SYSTEMROOT=C:\WINDOWS 208 47401 [main] install 980 getwinenv: can't set native for TEMP= since no environ yet 188 47589 [main] install 980 mount_info::conv_to_posix_path: conv_to_posix_p ath (C:\DOCUME~1\PengFei\LOCALS~1\Temp, no-keep-rel, no-add-slash) 157 47746 [main] install 980 normalize_win32_path: C:\DOCUME~1\PengFei\LOCAL S~1\Temp = normalize_win32_path (C:\DOCUME~1\PengFei\LOCALS~1\Temp) 160 47906 [main] install 980 mount_info::conv_to_posix_path: /cygdrive/c/DOC UME~1/PengFei/LOCALS~1/Temp = conv_to_posix_path (C:\DOCUME~1\PengFei\LOCALS~1\T emp) 270 48176 [main] install 980 win_env::add_cache: posix /cygdrive/c/DOCUME~1/ PengFei/LOCALS~1/Temp 142 48318 [main] install 980 win_env::add_cache: native TEMP=C:\DOCUME~1\Pen gFei\LOCALS~1\Temp 150 48468 [main] install 980 posify: env var converted to TEMP=/cygdrive/c/D OCUME~1/PengFei/LOCALS~1/Temp 187 48655 [main] install 980 environ_init: 0x10011030: TEMP=/cygdrive/c/DOCU ME~1/PengFei/LOCALS~1/Temp 189 48844 [main] install 980 environ_init: 0x100111A0: TERM=cygwin 152 48996 [main] install 980 getwinenv: can't set native for TMP= since no e nviron yet 433 49429 [main] install 980 mount_info::conv_to_posix_path: conv_to_posix_p ath (C:\DOCUME~1\PengFei\LOCALS~1\Temp, no-keep-rel, no-add-slash) 157 49586 [main] install 980 normalize_win32_path: C:\DOCUME~1\PengFei\LOCAL S~1\Temp = normalize_win32_path (C:\DOCUME~1\PengFei\LOCALS~1\Temp) 159 49745 [main] install 980 mount_info::conv_to_posix_path: /cygdrive/c/DOC UME~1/PengFei/LOCALS~1/Temp = conv_to_posix_path (C:\DOCUME~1\PengFei\LOCALS~1\T emp) 270 50015 [main] install 980 win_env::add_cache: posix /cygdrive/c/DOCUME~1/ PengFei/LOCALS~1/Temp 142 50157 [main] install 980 win_env::add_cache: native TMP=C:\DOCUME~1\Peng Fei\LOCALS~1\Temp 142 50299 [main] install 980 posify: env var converted to TMP=/cygdrive/c/DO CUME~1/PengFei/LOCALS~1/Temp 213 50512 [main] install 980 environ_init: 0x100111B0: TMP=/cygdrive/c/DOCUM E~1/PengFei/LOCALS~1/Temp 188 50700 [main] install 980 environ_init: 0x10011320: USER=PengFei 150 50850 [main] install 980 environ_init: 0x10011338: USERDOMAIN=IBM-F625B2 2F2D9 181 51031 [main] install 980 environ_init: 0x10011358: USERNAME=PengFei 152 51183 [main] install 980 environ_init: 0x10011370: USERPROFILE=C:\Docume nts and Settings\PengFei 192 51375 [main] install 980 environ_init: 0x100113A8: WINDIR=C:\WINDOWS 151 51526 [main] install 980 environ_init: 0x100113C0: _=/usr/bin/strace.exe 143 51669 [main] install 980 pinfo_init: Set nice to 0 106 51775 [main] install 980 pinfo_init: pid 980, pgid 980 826 52601 [main] install 980 set_privilege: 0 = set_privilege ((token 758) S eRestorePrivilege, 1) 212 52813 [main] install 980 set_privilege: 1 = set_privilege ((token 758) S eChangeNotifyPrivilege, 1) 198 53011 [main] install 980 dtable::extend: size 32, fds 0x61820DF0 134 53145 [main] install 980 normalize_posix_path: src /etc/passwd 111 53256 [main] install 980 normalize_posix_path: /etc/passwd = normalize_p osix_path (/etc/passwd) 153 53409 [main] install 980 mount_info::conv_to_win32_path: conv_to_win32_p ath (/etc/passwd) 20869 74278 [main] install 980 set_flags: flags: binary (0x2) 121 74399 [main] install 980 mount_info::conv_to_win32_path: src_path /etc/p asswd, dst C:\CYGWIN\etc\passwd, flags 0xA, rc 0 214 74613 [main] install 980 symlink_info::check: not a symlink 112 74725 [main] install 980 symlink_info::check: 0 = symlink.check (C:\CYGW IN\etc\passwd, 0x22E8C0) (0xA) 152 74877 [main] install 980 path_conv::check: this->path(C:\CYGWIN\etc\pass wd), has_acls(1) 274 75151 [main] install 980 etc::test_file_change: FindFirstFile succeeded 709 75860 [main] install 980 pwdgrp::load: /etc/passwd curr_lines 7 116 75976 [main] install 980 pwdgrp::load: /etc/passwd load succeeded 164 76140 [main] install 980 normalize_posix_path: src /etc/group 111 76251 [main] install 980 normalize_posix_path: /etc/group = normalize_po six_path (/etc/group) 144 76395 [main] install 980 mount_info::conv_to_win32_path: conv_to_win32_p ath (/etc/group) 157 76552 [main] install 980 set_flags: flags: binary (0x2) 108 76660 [main] install 980 mount_info::conv_to_win32_path: src_path /etc/g roup, dst C:\CYGWIN\etc\group, flags 0xA, rc 0 193 76853 [main] install 980 symlink_info::check: not a symlink 111 76964 [main] install 980 symlink_info::check: 0 = symlink.check (C:\CYGW IN\etc\group, 0x22E880) (0xA) 151 77115 [main] install 980 path_conv::check: this->path(C:\CYGWIN\etc\grou p), has_acls(1) 243 77358 [main] install 980 etc::test_file_change: FindFirstFile succeeded 531 77889 [main] install 980 pwdgrp::load: /etc/group curr_lines 12 112 78001 [main] install 980 pwdgrp::load: /etc/group load succeeded 123 78124 [main] install 980 cygheap_user::ontherange: what 2, pw 0x10011808 139 78263 [main] install 980 cygheap_user::ontherange: HOME is already in th e environment /home/PengFei 356 78619 [main] install 980 sigproc_init: process/signal handling enabled(1 ) 342 78961 [main] install 980 build_argv: argv[0] = 'install' 108 79069 [main] install 980 build_argv: argc 1 303 79372 [sig] install 980 wait_sig: myself->dwProcessId 980 135 79507 [sig] install 980 wait_sig: entering ReadFile loop, readsig 0x720, myself->sendsig 0x714 220 79727 [main] install 980 build_fh_pc: fh 0x61820F58 150 79877 [main] install 980 open_shared: name (null), shared 0x60020000 (wa nted 0x60020000), h 0x70C 168 80045 [main] install 980 _pinfo::set_ctty: checking if /dev/tty-1 change d 143 80188 [main] install 980 _pinfo::set_ctty: attached tty1073741824 sid 98 0, pid 980, tty->pgid 980, tty->sid 980 17068 97256 [main] install 980 fhandler_base::set_flags: flags 0x10002, suppli ed_bin 0x0 219 97475 [main] install 980 fhandler_base::set_flags: O_TEXT/O_BINARY set i n flags 0x10000 164 97639 [main] install 980 fhandler_base::set_flags: filemode set to binar y 267 97906 [main] install 980 fhandler_console::open: incremented open_fhs, n ow 1 150 98056 [main] install 980 fhandler_console::open: opened conin$ 0x2B, con out$ 0x2F 172 98228 [main] install 980 fhandler_console::output_tcsetattr: 0 = tcsetat tr (,60020018) (ENABLE FLAGS 3) (lflag 107 oflag 9) 242 98470 [main] install 980 build_fh_pc: fh 0x61821160 119 98589 [main] install 980 fhandler_base::set_flags: flags 0x10002, suppli ed_bin 0x0 143 98732 [main] install 980 fhandler_base::set_flags: O_TEXT/O_BINARY set i n flags 0x10000 144 98876 [main] install 980 fhandler_base::set_flags: filemode set to binar y 204 99080 [main] install 980 fhandler_console::open: incremented open_fhs, n ow 2 144 99224 [main] install 980 fhandler_console::open: opened conin$ 0xB, cono ut$ 0x33 164 99388 [main] install 980 fhandler_console::output_tcsetattr: 0 = tcsetat tr (,60020018) (ENABLE FLAGS 3) (lflag 107 oflag 9) 247 99635 [main] install 980 build_fh_pc: fh 0x61821368 108 99743 [main] install 980 fhandler_base::set_flags: flags 0x10002, suppli ed_bin 0x0 143 99886 [main] install 980 fhandler_base::set_flags: O_TEXT/O_BINARY set i n flags 0x10000 143 100029 [main] install 980 fhandler_base::set_flags: filemode set to binar y 202 100231 [main] install 980 fhandler_console::open: incremented open_fhs, n ow 3 142 100373 [main] install 980 fhandler_console::open: opened conin$ 0x13, con out$ 0x37 193 100566 [main] install 980 fhandler_console::output_tcsetattr: 0 = tcsetat tr (,60020018) (ENABLE FLAGS 3) (lflag 107 oflag 9) 594 101160 [main] install 980 mount_info::conv_to_posix_path: conv_to_posix_p ath (C:\CYGWIN\bin\cygiconv-2.dll, keep-rel, no-add-slash) 164 101324 [main] install 980 normalize_win32_path: C:\CYGWIN\bin\cygiconv-2. dll = normalize_win32_path (C:\CYGWIN\bin\cygiconv-2.dll) 159 101483 [main] install 980 mount_info::conv_to_posix_path: /usr/bin/cygico nv-2.dll = conv_to_posix_path (C:\CYGWIN\bin\cygiconv-2.dll) 248 101731 [main] install 980 mount_info::conv_to_posix_path: conv_to_posix_p ath (C:\CYGWIN\bin\cygintl-3.dll, keep-rel, no-add-slash) 156 101887 [main] install 980 normalize_win32_path: C:\CYGWIN\bin\cygintl-3.d ll = normalize_win32_path (C:\CYGWIN\bin\cygintl-3.dll) 154 102041 [main] install 980 mount_info::conv_to_posix_path: /usr/bin/cygint l-3.dll = conv_to_posix_path (C:\CYGWIN\bin\cygintl-3.dll) 199 102240 [main] install 980 dll_crt0_1: user_data->main 0x401530 108 102348 [main] install 980 __set_errno: void dll_crt0_1(char*):878 val 0 112 102460 [main] install 980 wait_for_sigthread: wait_sig_inited 0x71C 1411 103871 [main] install 980 fhandler_console::write: 22D210, 9 118 103989 [main] install 980 fhandler_console::write: at 105(i) state is 0 install: 502 104491 [main] install 980 fhandler_console::write: 9 = write_con sole (,..9) 501 104992 [main] install 980 fhandler_console::write: 22CE00, 20 111 105103 [main] install 980 fhandler_console::write: at 109(m) state is 0 missing file operand 189 105292 [main] install 980 fhandler_console::write: 20 = write_console (,..20) 366 105658 [main] install 980 fhandler_console::write: 6110AFF7, 1 110 105768 [main] install 980 fhandler_console::write: at 10(0x20) state is 0 254 106022 [main] install 980 fhandler_console::write: 1 = write_console (,.. 1) 561 106583 [main] install 980 fhandler_console::write: 22D200, 43 108 106691 [main] install 980 fhandler_console::write: at 84(T) state is 0 Try `install --help' for more information. 235 106926 [main] install 980 fhandler_console::write: 43 = write_console (,. .43) 417 107343 [main] install 980 close: close (1) 130 107473 [main] install 980 fhandler_console::close: decremented open_fhs, now 2 155 107628 [main] install 980 close: 0 = close (1) 363 107991 [main] install 980 close: close (0) 128 108119 [main] install 980 fhandler_console::close: decremented open_fhs, now 1 143 108262 [main] install 980 close: 0 = close (0) 414 108676 [main] install 980 close: close (2) 244 108920 [main] install 980 fhandler_console::close: decremented open_fhs, now 0 149 109069 [main] install 980 close: 0 = close (2) 258 109327 [main] install 980 do_exit: do_exit (256), exit_state 0 111 109438 [main] install 980 void: 0x0 = signal (20, 0x1) 108 109546 [main] install 980 void: 0x0 = signal (1, 0x1) 114 109660 [main] install 980 void: 0x0 = signal (2, 0x1) 106 109766 [main] install 980 void: 0x0 = signal (3, 0x1) 138 109904 [main] install 980 sigproc_terminate: entering 157 110061 [sig] install 980 wait_sig: done 146 110207 [sig] install 980 _cygtls::remove: wait 0x0 187 110394 [main] install 980 proc_terminate: nprocs 0 110 110504 [main] install 980 proc_terminate: leaving 207 110711 [main] install 980 sigproc_terminate: sigproc handling not active 114 110825 [main] install 980 proc_terminate: nprocs 0 200 111025 [main] install 980 proc_terminate: leaving 117 111142 [main] install 980 __to_clock_t: dwHighDateTime 0, dwLowDateTime 3 00432 143 111285 [main] install 980 __to_clock_t: total 00000000 0000001E 110 111395 [main] install 980 __to_clock_t: dwHighDateTime 0, dwLowDateTime 2 00288 140 111535 [main] install 980 __to_clock_t: total 00000000 00000014 1171 112706 [main] install 980 pinfo::maybe_set_exit_code_from_windows: pid 98 0, exit value - old 0x80000100, windows 0xDEADBEEF, cygwin 0x80000100 end here. I look forward to your reply! --- Larry Hall wrote: > At 11:15 PM 7/3/2005, you wrote: > >Hi, Larry, > > > >So, you suggest I use cygwin 2.05b-17 that I am > using > >now. I don't have other memory cosuming process > runing > >while I use Cygwin, but since I use correct Cygwin > >version, how can I solve the problem. I still need > >your help. > > > Well so far, everything that you've described and > provided as info sounds > fine. You'll need to provide a short simple example > that allows others > to try what you're doing so we can see if anyone can > reproduce the problem > you're having. You could also try running the > command that causes the > problem you report under 'strace.exe' and see if the > output from it helps > localize the area where you're having the problem. > The "Resource temporarily > unavailable" message coincides with EAGAIN (error # > 11) so you could check > the resulting trace to see if this error code > appears and where and when. > > -- > Larry Hall > http://www.rfk.com > RFK Partners, Inc. (508) > 893-9779 - RFK Office > 838 Washington Street (508) > 893-9889 - FAX > Holliston, MA 01746 > > __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com -- 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/