delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2007/12/03/17:36:45

X-Recipient: archive-cygwin AT delorie DOT com
X-Spam-Check-By: sourceware.org
Message-ID: <475484D4.50807@cygwin.com>
Date: Mon, 03 Dec 2007 17:36:04 -0500
From: "Larry Hall (Cygwin)" <reply-to-list-only-lh AT cygwin DOT com>
Reply-To: cygwin AT cygwin DOT com
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1.3) Gecko/20070505 Remi/2.0.0.0-3.fc4.remi Thunderbird/2.0.0.0 Mnenhy/0.7.5.0
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Re: 1.6e format.com hangs through ssh
References: <120320072211 DOT 2441 DOT 47547F1A000B21E0000009892216566276CFCECF9F9D9C AT comcast DOT net>
In-Reply-To: <120320072211.2441.47547F1A000B21E0000009892216566276CFCECF9F9D9C@comcast.net>
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

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. ;-)


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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019