X-Recipient: archive-cygwin AT delorie DOT com X-SWARE-Spam-Status: No, hits=1.5 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_ENVFROM_END_DIGIT,FREEMAIL_FROM,RFC_ABUSE_POST,T_RP_MATCHES_RCVD,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: sourceware.org Message-ID: <669347.40317.qm@web161713.mail.bf1.yahoo.com> Date: Tue, 1 Mar 2011 16:41:11 -0800 (PST) From: Tim Coalson Subject: Re: 1.7.8-1 ls -l /proc/sys/Device causes system reset To: cygwin AT cygwin DOT com MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: 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 > On 03/01/2011 04:57 PM, Tim Coalson wrote: > > The problem: > > > > $ /bin/ls >-l /proc/sys/Device > > > > hit enter, and my system instantly reboots, without >shutdown. Without the -l > > option, works fine. Unfortunately, ls with >colors enabled also causes this > > behavior, even without -l, as in: > > > > >$ /bin/ls --color=auto /proc/sys/Device > That's because ls --color=auto enables >stat() to know how to color> names, where omitting it relies on plain readdir() >to just list the > name. So it's obviously the act of stat()ing one of the >devices in that > directory that is making windows upset. Can you narrow it >down to which > object, by trying things like 'ls --color=auto -d > >/proc/sys/Device/[0-9]*' to limit to stat()ing just file names starting > with a >digit, and so forth? I couldn't reproduce your crash on my WinXP > system. > Apologies for formatting, yahoo isn't subscribing to the list, so I'm faking the formatting. I have found two culprits so far, SSHDRV65 and SSHDRV79. They seem to be drivers related to CD copy protection software in windows. -- 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