XWin Multiwindow fails to start
I'm using the latest version of Cygwin, and Xwin 6.8.99.901-4. Whenever I try to run X with `startx` or startx scripts, it fails. If I run it directly with `X :0` it works fine (so it appears), but when I run it with `X :0 -multiwindow` it fails with the following log: $ startx Welcome to the XWin X Server Vendor: The Cygwin/X Project Release: 6.8.99.901-4 Contact: cygwin-xfree@cygwin.com XWin was started with the following command line: X :0 -multiwindow (WW) /tmp mounted int textmode _XSERVTransmkdir: Owner of /tmp/.X11-unix should be set to root winValidateArgs - g_iNumScreens: 1 iMaxConsecutiveScreen: 1 (II) XF86Config is not supported (II) See http://x.cygwin.com/docs/faq/cygwin-x-faq.html for more information winDetectSupportedEngines - Windows NT/2000/XP winDetectSupportedEngines - DirectDraw installed winDetectSupportedEngines - DirectDraw4 installed winDetectSupportedEngines - Returning, supported engines 0007 winSetEngine - Multi Window or Rootless = ShadowGDI winAdjustVideoModeShadowGDI - Using Windows display depth of 32 bits per pixel winAllocateFBShadowGDI - Creating DIB with width: 1280 height: 1024 depth: 32 winFinishScreenInitFB - Masks: 00ff ff00 00ff winInitVisualsShadowGDI - Masks 00ff ff00 00ff BPRGB 8 d 24 bpp 32 null screen fn ReparentWindow null screen fn RestackWindow InitQueue - Calling pthread_mutex_init InitQueue - pthread_mutex_init returned InitQueue - Calling pthread_cond_init InitQueue - pthread_cond_init returned winInitMultiWindowWM - Hello winMultiWindowXMsgProc - Hello winInitMultiWindowWM - Calling pthread_mutex_lock () winMultiWindowXMsgProc - Calling pthread_mutex_lock () MIT-SHM extension disabled due to lack of kernel support XFree86-Bigfont extension local-client optimization disabled due to lack of shared memory support in the kernel (--) Setting autorepeat to delay=500, rate=31 (--) winConfigKeyboard - Layout: 00020409 (00020409) (--) Using preset keyboard for English (USA, International) (20409), type 4 Rules = xorg Model = pc105 Layout = us_intl Variant = (null) Options = (null) The XKEYBOARD keymap compiler (xkbcomp) reports: Error:Can't find file pc/us_intl for symbols include Exiting Abandoning symbols file default Errors from xkbcomp are not fatal to the X server (--) 3 mouse buttons found Could not init font path element /usr/X11R6/lib/X11/fonts/CID/, removing from list! winPointerWarpCursor - Discarding first warp: 640 512 winInitMultiWindowWM - pthread_mutex_lock () returned. winProcEstablishConnection - Hello winProcEstablishConnection - Clipboard is not enabled, returning. winInitMultiWindowWM - pthread_mutex_unlock () returned. winMultiWindowXMsgProc - pthread_mutex_lock () returned. winInitMultiWindowWM - DISPLAY=127.0.0.1:0.0 winMultiWindowXMsgProc - pthread_mutex_unlock () returned. winMultiWindowXMsgProc - DISPLAY=127.0.0.1:0.0 cat: /cygdrive/x/.Xauthority: No such file or directory winMultiWindowXMsgProcIOErrorHandler! 11 [unknown (0xB88)] X 1864 _cygtls::handle_exceptions: Error while dumping state (probably corrupted stack) xinit: connection to X server lost. Also, when I run it with the `X :0` command, the DISPLAY var is not set, and xterm does not start up automatically. -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://x.cygwin.com/docs/ FAQ: http://x.cygwin.com/docs/faq/
Perforance problems under GNOME
I'm running Xwin in query Xdmcp mode in particular the line is as follows %RUN% XWin -query %REMOTE_HOST% -nodecoration -clipboard -rootless -unixkill -notrayicon Where remote host is either Solaris or Linux machine. If the Session/Windown manager employed is Gnome then I suffer significant performance problems. If I use CDE (Solaris) or KDE (Linux) I don't get the problem, even it I use gnome applications from the other window managers. This loss of performance is not immediate. But the closest I've got to identifying when the performance takes a nose-drive is as soon as I start typing. I can start application from the menu, etc. but a soon as I type 1 character response from every aspect of the window manage is very poor. I've recently upgraded changed machine (to a more powerful one) and consequently have upgraded to the current release of Cygwin rather than a version that was two years old, and this wasn't a problem on the old machine. Some that should means the fall is with current release/installation/machine, and not at the remote end. Also, if the GNOME session is set to display a logout confirmation this window is not clickable, or rather when I log out the confirmation window is presented, the rest of the desktop is greyed out but clicking on OK or Cancel has no effect. The X Server must either be killed or wait for the session to time out after ~2mins. This also appears to dependant on whether I've typed anything during the session so might be related to these performance problems. Any idea on how to solve or even diagnose this problem would be appreciated. Thanks, AMP. -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://x.cygwin.com/docs/ FAQ: http://x.cygwin.com/docs/faq/
RE: Best AVS to use with cygwin
On 16 October 2007 03:46, Yaakov (Cygwin Ports) wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Christopher Faylor wrote: working != dodgy !dodgy == working ??? enum { dodgy, working, unknown, FILE_NOT_FOUND }; cheers, DaveK -- Can't think of a witty .sigline today -- 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/
Unable to recirsively delete a directory
Hi, I am running XP SP2. I have a drive mapped (z:). See mount output. It is a NAS drive that supports smb. sh-3.2$ mount D:\cygwin\bin on /usr/bin type system (binmode) D:\cygwin\lib on /usr/lib type system (binmode) D:\cygwin on / type system (binmode) c: on /cygdrive/c type system (binmode,noumount) d: on /cygdrive/d type system (binmode,noumount) f: on /cygdrive/f type system (binmode,noumount) y: on /cygdrive/y type system (binmode,noumount) z: on /cygdrive/z type system (binmode,noumount) I can read and write to the /z drive and I can delete individual files but I can't delete folders (rm -rf anypath) from the cygwin command line. I get the followning error. $ rm -rf /s/test/ rm: cannot remove directory `/s/test/': Directory not empty I can delete folders if I use windows explorer, or in a Unix xterm. The files belong to the user and are not locked. Does anyone have any ideas? Thanks, Mike -- 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/
Re: Unable to recirsively delete a directory
[EMAIL PROTECTED] wrote: Hi, I am running XP SP2. I have a drive mapped (z:). See mount output. It is a NAS drive that supports smb. sh-3.2$ mount D:\cygwin\bin on /usr/bin type system (binmode) D:\cygwin\lib on /usr/lib type system (binmode) D:\cygwin on / type system (binmode) c: on /cygdrive/c type system (binmode,noumount) d: on /cygdrive/d type system (binmode,noumount) f: on /cygdrive/f type system (binmode,noumount) y: on /cygdrive/y type system (binmode,noumount) z: on /cygdrive/z type system (binmode,noumount) I can read and write to the /z drive and I can delete individual files but I can't delete folders (rm -rf anypath) from the cygwin command line. I get the followning error. $ rm -rf /s/test/ rm: cannot remove directory `/s/test/': Directory not empty I can delete folders if I use windows explorer, or in a Unix xterm. The files belong to the user and are not locked. Does anyone have any ideas? Let's start here: Problem reports: http://cygwin.com/problems.html Include in your report a onsistent example and 'cygcheck rm' prior to your example showing the problem. Also, we need to know what kind of network drive this is and where it's coming from. My WAG right now is that 'rm' isn't Cygwin's version outside of 'xterm'. -- Larry Hall http://www.rfk.com RFK Partners, Inc. (508) 893-9779 - RFK Office 216 Dalton Rd. (508) 893-9889 - FAX Holliston, MA 01746 _ A: Yes. Q: Are you sure? A: Because it reverses the logical flow of conversation. Q: Why is top posting annoying in email? -- 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/
RE: Best AVS to use with cygwin
As a long-time Cygwin user, I can say that I would very much appreciate as much information as possible about known good and known bad antivirus, firewall, and anti-spyware tools or combinations thereof, including what Windows version was used, what special steps needed to be taken, etc. The problem with the BLODA is that any tool that periodically updates itself can become dodgy, and similarly can fix itself in the future. And even if it's still dodgy, I'd want to know what to look out for. For example, I don't necessarily care that McAfee was known to be dodgy at one point. We used it at work (so I didn't have a choice anyway), although I haven't noticed problems with Cygwin because of it. Or at least if I have had any problems, I didn't know enough to know whether McAfee was the culprit. For home use, I have been able to find most of the popular all-in-one packages for free with various rebates: CA, Norton, McAfee, Kaspersky, Panda, etc. And I have boxes of them just waiting to be tried out. :-) But you know what? I don't really want to be spending my time doing this. I'll gladly try one or two out, but not all. And given the choice, I'd rather use something that's pay-once-and-your-done (or better yet free-as-in-free) than something that's free-for-a-limited-time. One of the reasons I use Cygwin is because I don't want to put up with that type of Windows nonsense. Stuff should just work, right? So from my POV, the more information, the better. It's less that I have to discover on my own. - Taking my own advice, here are my experiences: (For anti-spyware, I run Spybot and Ad-Aware, in addition to whatever is in the suite I happen to be using. I'll also run clam periodically, though not nearly as often as I should.) I used a corporate McAfee Antivirus subscription for years, with good success. That's not to say that I've never had any problems with Cygwin programs (e.g., I have at times seen an out of resources type error), although I haven't had any particular reason to blame McAfee for it. We've switched to Symantec AntiVirus in the last year or two, and so far I haven't had any problems with it, either. We have a hardware firewall that our IT folks like to rely upon. I've also used ZoneAlarm with good success. At home, I've used both ZoneAlarm and Sygate (which I believe was now acquired by Symantec). The latter seems easier for a novice to install/maintain (and is what I'm currently using), although both have worked well for me. With ZoneAlarm, I had to spend more time approving Cygwin applications to run, from what I remember. I've used multiple versions of McAfee's all-in-one product. The 60-day to 1-year subscriptions that came prepackaged with my new PCs seemed more sluggish and CPU-intensive than the boxed versions I tried. I'm not sure why. Currently I have one system using only McAfee Antivirus along with Sygate (and Spybot/Ad-Aware/etc.) and this has been pretty stable, though it's now one of my less-used systems. One product I would recommend against is CA Internet Security Suite. My laptop came with a free all-in-one trial (I think it was Norton Internet Security), and although I never noticed any problems with Cygwin, for some reason I didn't feel very happy with the product. I installed a free-with-rebate version of CA Internet Security, and while I haven't noticed any Cygwin problems, it seems to interfere everywhere else. It's privacy feature will even cause the PC to blue screen if you open up a particular web page (in any browser)--and I'm not talking about one of *those* web pages: this one's on a Boy Scout site! Its firewall also is way to intrusive with web surfing, messing up many legitimate sites. All of my experiences are currently with Windows XP, although all but one of the systems started with Windows 2000. I just bought two new computers with Vista (one of which may actually remain a Vista machine), so I'm in the market for a new set of internet security solutions. -Jerry -- 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/
rsh
I've noticed rsh doesn't seem to work on cygwin. It gives the following error: $ rsh -l thefinn 10.0.0.1 ls 5 [main] rsh 12 C:\cygwin\bin\rsh.exe: *** fatal error - couldn't dynamically determine load address for 'rcmd' (handle 0x73A8), Win32 error 127 After much testing I get the same basic error any time a normal rsh command should be run. I've looked around (google) and while there are some mentions of the same kind of thing, there's no real fix been posted anywhere I can see. Can someone tell me a good fix for this or point me in the right direction of one? Thanks TF. -- 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/
Re: rsh
The most likely answer you're going to get is to switch to using ssh. There's certainly a lot more people using that these days, so any bugs or problems with it will be ironed out very quickly. On 10/16/07, thefinn [EMAIL PROTECTED] wrote: I've noticed rsh doesn't seem to work on cygwin. It gives the following error: $ rsh -l thefinn 10.0.0.1 ls 5 [main] rsh 12 C:\cygwin\bin\rsh.exe: *** fatal error - couldn't dynamically determine load address for 'rcmd' (handle 0x73A8), Win32 error 127 After much testing I get the same basic error any time a normal rsh command should be run. I've looked around (google) and while there are some mentions of the same kind of thing, there's no real fix been posted anywhere I can see. Can someone tell me a good fix for this or point me in the right direction of one? Thanks TF. -- 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/ -- 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/
Re: Problem with -i ignore-file option in version 6.9 ptx in cygwin environment
Eric - In that original email your were replying to John Cowan, so I thought you were talking about coding approaches. From your message posted to the Cygwin list, I take it you were offering me, the end user, a way to solve the problem. I know about d2u and could use that now that I know what the problem is, but I'm not familiar with binary vs text mounts on a Windows system. I'm referencing the ignore file with the command line option of --ignore-file=ptx_ignore.txt. How do I involve a text mount with that? Another aspect of this problem from the end user point of view is the different behavior in the handling of the ignore file vs the main data input file. I constructed both files in the same way (using vim on Windows). ptx reads and processes the standard input just fine, but from the user's point of view, just ignores the content of the ignore file. :-) If nothing else, it would help if the man page for ptx had something about this issue. Thanks for listening, Graig - Original Message From: Eric Blake [EMAIL PROTECTED] To: cygwin@cygwin.com; Graig McHendrie [EMAIL PROTECTED] Sent: Sunday, October 14, 2007 7:18:19 AM Subject: Re: Problem with -i ignore-file option in version 6.9 ptx in cygwin environment -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 According to Graig on 10/14/2007 7:51 AM: The message below generated an email thread amongst the gnu folks, to which, I reiterate what I said in that thread: I maintain the cygwin port of coreutils. Cygwin's philosophy is a bit different from some of the other ports to windows: when using binary mounts, cygwin's goal is to behave like Linux. Since ptx on Linux has the same behavior in treating \r literally, that is why I have made no effort for cygwin to behave any differently when you are using a cygwin binary mount. Put another way, the fact that you use a binary mount on cygwin is an agreement on your part to use files that are binary-compatible with Linux (ie no \r line endings), and tools like d2u should be used to convert problem files on a cygwin binary mount. On the other hand, you can use a cygwin text mount, which will ignore the \r with no recompilation required. - -- Don't work too hard, make some time for fun as well! Eric Blake [EMAIL PROTECTED] -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.5 (Cygwin) Comment: Public key at home.comcast.net/~ericblake/eblake.gpg Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFHEiUr84KuGfSFAYARArL0AJ9rl3IaBfKaPeiyo3MPnkAmyw5ZggCgw8ha hkKSvZ/vLHlcWKwQumXjTsU= =Xxwb -END PGP SIGNATURE- -- 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/ -- 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/
/ in filename confuses handling of spec. chars on non-managed mount
Hi, I'm running CYGWIN_NT-5.1 1.5.24(0.156/4/2) 2007-01-31 10:57. If I try to create a regular file with a colon (:) in its name, cygwin refuses it with ENOENT (rightly so): $ echo test a:b -bash: a:b: No such file or directory However, if I put, in addition, a slash in the name: ( set -e -C -x mkdir test df -m test dd if=/dev/zero bs=4096 count=1024 'test/a:b' df -m test ls -lsn 'test/a:b' ls -lsn test ) Standard output and error: + mkdir test + df -m test Filesystem 1M-blocks Used Available Use% Mounted on C:\cygwin57232 9100 48132 16% / (Redirection not shown below) + dd if=/dev/zero bs=4096 count=1024 1024+0 records in 1024+0 records out 4194304 bytes (4.2 MB) copied, 0.08 s, 52.4 MB/s + df -m test Filesystem 1M-blocks Used Available Use% Mounted on C:\cygwin57232 9104 48128 16% / + ls -lsn test/a:b 4096 -rw--- 1 1003 513 4194304 Oct 16 16:14 test/a:b No problem until this point, but: + ls -lsn test total 0 0 -rw--- 1 1003 513 0 Oct 16 16:14 a Shouldn't the redirection used with the dd command fail with ENOENT? The file system containing the directory test is mounted without the managed mount option. This doesn't depend on the shell, I can reproduce it with a simple C program. Thank you lacos -- 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/
Re: rsh
On Oct 16 23:37, thefinn wrote: I've noticed rsh doesn't seem to work on cygwin. It gives the following error: $ rsh -l thefinn 10.0.0.1 ls 5 [main] rsh 12 C:\cygwin\bin\rsh.exe: *** fatal error - couldn't dynamically determine load address for 'rcmd' (handle 0x73A8), Win32 error 127 You're running Windows Vista, I assume. I wouldn't have to assume that if you would have added the necessary information by yourself: http://cygwin.com/problems.html Anyway, Microsoft removed the obsolete and always undocumented rcmd/rexec and rresvport interfaces from WinSock beginning with Windows Vista. Can someone tell me a good fix for this or point me in the right direction of one? Use ssh instead of the unsecure rsh protocol. Corinna -- Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Project Co-Leader cygwin AT cygwin DOT com Red Hat -- 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/
Re: / in filename confuses handling of spec. chars on non-managed mount
On Oct 16 16:25, ?rsek L?szl? wrote: Hi, I'm running CYGWIN_NT-5.1 1.5.24(0.156/4/2) 2007-01-31 10:57. If I try to create a regular file with a colon (:) in its name, cygwin refuses it with ENOENT (rightly so): $ echo test a:b -bash: a:b: No such file or directory a:b is win32 speak for file b in the current working directory of drive a: However, if I put, in addition, a slash in the name: ( set -e -C -x mkdir test df -m test dd if=/dev/zero bs=4096 count=1024 'test/a:b' df -m test ls -lsn 'test/a:b' ls -lsn test ) test/a:b is win32 speak for a stream b of file a in the directory test. http://www.flexhex.com/docs/articles/alternate-streams.phtml Corinna -- Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Project Co-Leader cygwin AT cygwin DOT com Red Hat -- 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/
Re: Problem with -i ignore-file option in version 6.9 ptx in cygwin environment
Graig wrote: Eric - In that original email your were replying to John Cowan, so I thought you were talking about coding approaches. From your message posted to the Cygwin list, I take it you were offering me, the end user, a way to solve the problem. I know about d2u and could use that now that I know what the problem is, but I'm not familiar with binary vs text mounts on a Windows system. I'm referencing the ignore file with the command line option of --ignore-file=ptx_ignore.txt. How do I involve a text mount with that? text/binary modes are controlled through the Cygwin mount points. See the Users Guide sections below to get more detail: http://cygwin.com/cygwin-ug-net/using-textbinary.html http://cygwin.com/cygwin-ug-net/using-utils.html#mount Another aspect of this problem from the end user point of view is the different behavior in the handling of the ignore file vs the main data input file. I constructed both files in the same way (using vim on Windows). ptx reads and processes the standard input just fine, but from the user's point of view, just ignores the content of the ignore file. :-) If you're using Cygwin's vim, then this won't write text format files by default. So see your ~/.vimrc or global vimrc file for settings that make it use text mode. If you're talking about the Windows port of vim, then that's likely your problem. Set fileformat=unix in your ~/.vimrc file to avoid this pitfall. If nothing else, it would help if the man page for ptx had something about this issue. This is a general Windows issue, not a ptx problem. If you feel this needs to be done, you can champion the cause but it's better if you take it upstream. -- Larry Hall http://www.rfk.com RFK Partners, Inc. (508) 893-9779 - RFK Office 216 Dalton Rd. (508) 893-9889 - FAX Holliston, MA 01746 _ A: Yes. Q: Are you sure? A: Because it reverses the logical flow of conversation. Q: Why is top posting annoying in email? -- 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/
Putty crashes trying to establish SSH session with Cygwin
Hi Friends, I am trying to set up SSH using CYGWIN on a windows standard 2003 server. I have done all the steps like generatig keys,placing them in appropriate location etc and now when i try to connect to the server using PuTTy, it prompts me for this: Using Username Authenticatating with public key rsa-key-xxx Passphrase for keyrsa-key-xx And then when I enter the keyphrase,it throws this exception: Putty Fatal Error: Server sent disconnect message type2 ( protocol error ) : fork failed: Resource temporarily unavailable I checked the server logs, and see this: cygwin drive/var/log/sshd.log: 7 [main] sshd 2164 E:\cygwin\usr\sbin\sshd.exe: *** fatal error - could not load ws2_32, Win32 error 126 33 [main] sshd 2076 fork: child 2164 - died waiting for dll loading, errno 11 The Event logs get corrupted and show this - Event logs are corrupted I researched a lot,and only thread I could find that experienced the exact same problem was this: www.cygwin.com/ml/cygwin/2006-05/msg00405.html [Sorry for that URL, I guess my email is boucing back for mime/type due to that URL] But unfortunately, no solution has been mentioned for the problem. I have administrative controls over that server,so access should not be a problem...i even tried to change the permissions to 777 for that dll file and also tried to ran ssh-host-config ... but nothing helped. I would appreciate if someone can help me or give me any pointers or give me any alternatives as to how to setup SSH on windows 2003 server. Thanks Mick -- 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/
Re: Unable to recirsively delete a directory
I've been seeing this same problem since B20! It usually involves deleting a large directory tree with a few thousand files. I just switch to MS-Dos mode and use their rm command without any problem. So yes, looks like more than one person has seen this problem. - Paul Larry Hall (Cygwin) wrote: [EMAIL PROTECTED] wrote: Hi, I am running XP SP2. I have a drive mapped (z:). See mount output. It is a NAS drive that supports smb. sh-3.2$ mount D:\cygwin\bin on /usr/bin type system (binmode) D:\cygwin\lib on /usr/lib type system (binmode) D:\cygwin on / type system (binmode) c: on /cygdrive/c type system (binmode,noumount) d: on /cygdrive/d type system (binmode,noumount) f: on /cygdrive/f type system (binmode,noumount) y: on /cygdrive/y type system (binmode,noumount) z: on /cygdrive/z type system (binmode,noumount) I can read and write to the /z drive and I can delete individual files but I can't delete folders (rm -rf anypath) from the cygwin command line. I get the followning error. $ rm -rf /s/test/ rm: cannot remove directory `/s/test/': Directory not empty I can delete folders if I use windows explorer, or in a Unix xterm. The files belong to the user and are not locked. Does anyone have any ideas? Let's start here: Problem reports: http://cygwin.com/problems.html Include in your report a onsistent example and 'cygcheck rm' prior to your example showing the problem. Also, we need to know what kind of network drive this is and where it's coming from. My WAG right now is that 'rm' isn't Cygwin's version outside of 'xterm'. -- 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/
Re: Putty crashes trying to establish SSH session with Cygwin
Hi Friends, I just would like to add one more thing that looks to be linked to the original issue is that,when i give the following command: $ssh-user-config setfacl: illegal acl entries /home/my_username/.ssh couldn't be given the correct permissions Please try to solve this problem first Can someone tell me how to resolve this Thanks -- 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/
Re: [gdb] Data watchpoints in Windows weirdness. Call for testers.
René Berber wrote: Pedro Alves wrote: Corinna Vinschen wrote: Gdb 6.6 (installed with Insight 6.6) doesn't seem to have the problem: Unfortunatelly it does. :( If you are seing a different output, it may be because you built the test app with different -O setting. -O0 is better for watchpoint support, as at higher optimization levels, the variables may be loaded in registers, and so you won't see some writes. 8 { (gdb) c Continuing. Program received signal SIGTRAP, Trace/breakpoint trap. main () at test.c:11 11printf (count %d\n, count); (gdb) Continuing. Here gdb could't determine which watchpoint triggered, so it didn't evaluate the watched expressions, and didn't show the old/new values. It should have shown: Old value = 0 New value = 999 due to the 'count = 999;' Hardware watchpoint 1: count Old value = 0 New value = 1000 Here you should have seen: Old value = 999 New value = 1000 The problem is shown in your log file: gdb: kernel event for pid=1444 tid=2104 code=EXCEPTION_DEBUG_EVENT) gdb: Target exception EXCEPTION_SINGLE_STEP at 0x00401099 infrun: infwait_normal_state infrun: TARGET_WAITKIND_STOPPED infrun: stop_pc = 0x401099 stopped_data_addr: CONTROL (DR7): 000d0101 STATUS (DR6): DR6 should have been != 0. DR0: addr=0x00403010, ref.count=1 DR1: addr=0x, ref.count=0 DR2: addr=0x, ref.count=0 DR3: addr=0x, ref.count=0 infrun: random signal 5 ^^^ Hence, gdb assumed it was random. Program received signal SIGTRAP, Trace/breakpoint trap. infrun: stop_stepping remove_watchpoint (addr=403010, len=4, type=data-write): CONTROL (DR7): 000d0100 STATUS (DR6): DR0: addr=0x, ref.count=0 DR1: addr=0x, ref.count=0 DR2: addr=0x, ref.count=0 DR3: addr=0x, ref.count=0 main () at test.c:11 11printf (count %d\n, count); (gdb) c I've reproduced it in a MinGW gdb. So I'm now 100% sure it is not a Cygwin problem. I'm still thinking that it is a gdb bug, in the sense that there must be something different with the debug registers handling that I didn't quite understand yet. I'll try to build a small native win32 minimal debugger that reproduces it, and if that doesn't make the problem obvious, post a query in some Windows discussion group. Thanks again! Cheers, Pedro Alves -- 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/
Re: Unable to recirsively delete a directory
Paul McFerrin wrote: Larry Hall (Cygwin) wrote: Michael.MacAllister wrote: snip I can read and write to the /z drive and I can delete individual files but I can't delete folders (rm -rf anypath) from the cygwin command line. I get the followning error. $ rm -rf /s/test/ rm: cannot remove directory `/s/test/': Directory not empty I can delete folders if I use windows explorer, or in a Unix xterm. The files belong to the user and are not locked. Does anyone have any ideas? Let's start here: Problem reports: http://cygwin.com/problems.html Include in your report a onsistent example and 'cygcheck rm' prior to your example showing the problem. Also, we need to know what kind of network drive this is and where it's coming from. My WAG right now is that 'rm' isn't Cygwin's version outside of 'xterm'. I've been seeing this same problem since B20! It usually involves deleting a large directory tree with a few thousand files. I just switch to MS-Dos mode and use their rm command without any problem. So yes, looks like more than one person has seen this problem. I'll extend the same invitation to you as well then. If you can provide a reproducible problem report, that would be helpful. Please use don't provide it in the context of B20 though. ;-) -- Larry Hall http://www.rfk.com RFK Partners, Inc. (508) 893-9779 - RFK Office 216 Dalton Rd. (508) 893-9889 - FAX Holliston, MA 01746 _ A: Yes. Q: Are you sure? A: Because it reverses the logical flow of conversation. Q: Why is top posting annoying in email? -- 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/
RE: Unable to recirsively delete a directory
On 16 October 2007 18:18, Paul McFerrin wrote: I've been seeing this same problem Specifically on a NAS over SMB? Or are you talking about something you've seen happen on your local hard drive, which would very likely be a completely different problem? since B20! Say, you /could/ have mentioned it a little sooner ... you've had nearly ten years now to write a bug report, y'know! The only time I've ever seen anything like this is when I've messed up, and the directory hasn't actually been empty, and I only thought it was because I forgot the -a flag to ls, or I've mistyped something or forgotten some perms. Pilot error every time. That's not to say it's impossible, and my first line of attack would be Is this one of those versioning NASs and is it perhaps treating the directory as not-really-empty-because-you-might-want-to-roll-it-back-I-wonder?. cheers, DaveK -- Can't think of a witty .sigline today -- 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/
running ssh from windows desktop
Ok, this is a rather frivolous question, but just something I want to get right so it doesn't become an itch I can't scratch ;) When I access ssh from windows dos mode, I don't seem to be able to background the process and thus make the windows dos box go away after I double-click a program to open off a remote unix box. Anyone know how to make the dos box go away? :) Thanks TF. (yes I moved on from my previous rsh question) -- 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/
Re: Unable to recirsively delete a directory
Larry Hall (Cygwin) wrote: Paul McFerrin wrote: Larry Hall (Cygwin) wrote: Michael.MacAllister wrote: snip I can read and write to the /z drive and I can delete individual files but I can't delete folders (rm -rf anypath) from the cygwin command line. I get the followning error. $ rm -rf /s/test/ rm: cannot remove directory `/s/test/': Directory not empty I can delete folders if I use windows explorer, or in a Unix xterm. The files belong to the user and are not locked. Does anyone have any ideas? Let's start here: Problem reports: http://cygwin.com/problems.html Include in your report a onsistent example and 'cygcheck rm' prior to your example showing the problem. Also, we need to know what kind of network drive this is and where it's coming from. My WAG right now is that 'rm' isn't Cygwin's version outside of 'xterm'. I've been seeing this same problem since B20! It usually involves deleting a large directory tree with a few thousand files. I just switch to MS-Dos mode and use their rm command without any problem. So yes, looks like more than one person has seen this problem. I'll extend the same invitation to you as well then. If you can provide a reproducible problem report, that would be helpful. Please use don't provide it in the context of B20 though. ;-) Hey, I'm trying to forget the B20 days but someone keeps reminding me of found memories of those days. I've keep closing the book on B20 but some how it just pops open. :-( -- 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/
RE: Unable to recirsively delete a directory
On Tue, 16 Oct 2007, Dave Korn wrote: On 16 October 2007 18:18, Paul McFerrin wrote: I've been seeing this same problem Specifically on a NAS over SMB? Or are you talking about something you've seen happen on your local hard drive, which would very likely be a completely different problem? since B20! Say, you /could/ have mentioned it a little sooner ... you've had nearly ten years now to write a bug report, y'know! The only time I've ever seen anything like this is when I've messed up, and the directory hasn't actually been empty, and I only thought it was because I forgot the -a flag to ls, or I've mistyped something or forgotten some perms. Pilot error every time. That's not to say it's impossible, and my first line of attack would be Is this one of those versioning NASs and is it perhaps treating the directory as not-really-empty-because-you-might-want-to-roll-it-back-I-wonder?. FWIW, you can also get this message if some program has an open handle to either the directory itself or some file in that directory. Usually either a service or another shell... Check the cwd of all shells, etc. Igor -- http://cs.nyu.edu/~pechtcha/ |\ _,,,---,,_[EMAIL PROTECTED] | [EMAIL PROTECTED] ZZZzz /,`.-'`'-. ;-;;,_Igor Peshansky, Ph.D. (name changed!) |,4- ) )-,_. ,\ ( `'-' old name: Igor Pechtchanski '---''(_/--' `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-. Meow! Belief can be manipulated. Only knowledge is dangerous. -- Frank Herbert -- 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/