public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
From: Robert Pendell <shinji+gmane@elite-systems.org>
To: cygwin@cygwin.com
Subject: Re: 1.6e format.com hangs through ssh
Date: Mon, 03 Dec 2007 23:04:00 -0000	[thread overview]
Message-ID: <fj2218$2jn$1@ger.gmane.org> (raw)
In-Reply-To: <475484D4.50807@cygwin.com>

Larry Hall (Cygwin) wrote:
> srp010 wrote:
>> On Cygwin 1.6e on Windows 2003 Server EE format.com hangs formatting a
> 
> 
> There is no "Cygwin 1.6e".  The current Cygwin DLL package version is
> 1.5.24.  This package's version is typically the one reported if there's
> reason to suspect that the issue may be part of the POSIX emulation layer.
> 
> 
>> Veritas Volume when performed through ssh connection. Format can be 
>> interrupted
>> without issue but no progress is made after format asks "Proceed with 
>> Format
>> (Y/N)?". strace of the pid  also hangs.
> 
>> Here is output of the cmd:
>>   ./format Z:   The type of file system is NTFS
>>
>>   WARNING, ALL DATA ON NON-REMOVABLE DSIK DRIVE Z: WILL BE LOST!
>>   Proceed with Format (Y/N)? y
>>   --Hang--
>>
>> Problem scenario:
>>   ssh to Cygwin 1.6e on Windows box
>>   Create disk group
>>   Create Volume
>>   Assign drive letter
>>   format <hang>
>>
>> This scenario succeeds when performed on the system via DOS or Cygwin 
>> window. 
>> Once the volume has been formatted successfully format via ssh connection
>> no longer hangs.
>>
>> Windows and Cygwin are not my usual haunts. Google has offered little
>> help. I would be interested in any assistance in debugging and solving 
>> this
>> problem.
> 
> 
> My WAG is that you're not experiencing a hang at all.  You just don't see
> the output of format.com when it ends.  This is a known issue with
> DOS/Windows apps.  They don't understand ptys, which is what you're using
> when you connect via 'ssh' to the machine.  If you wait long enough, I'll
> bet you'll find the format completes, even though you get no feedback
> indicating that.  Just a WAG though.  I don't have a disk here that I feel
> like I want to format as a test. ;-)
> 
> 

I'll check this when I get home but the TTY bit definately sounds like 
what it is.  I just installed openssh and set it up as a service.


--
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/

      parent reply	other threads:[~2007-12-03 23:04 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-12-03 22:11 srp010
2007-12-03 22:17 ` sean pierce
2007-12-03 22:36 ` Larry Hall (Cygwin)
2007-12-03 22:55   ` 1.5.24 " srp
2007-12-04  4:28     ` Robert Pendell
2007-12-04 16:36       ` srp
2007-12-04 17:49         ` Robert Pendell
2007-12-05 18:17           ` srp
2007-12-05 18:29             ` Dave Korn
2007-12-05 18:40               ` srp
2007-12-03 23:04   ` Robert Pendell [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='fj2218$2jn$1@ger.gmane.org' \
    --to=shinji+gmane@elite-systems.org \
    --cc=cygwin@cygwin.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).