delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2005/09/23/08:49:22

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
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
Date: Fri, 23 Sep 2005 14:48:56 +0200
From: Corinna Vinschen <corinna-cygwin AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: Anyone know about interaction of 'dd' with memory cards?
Message-ID: <20050923124856.GX12256@calimero.vinschen.de>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
References: <20050923092816 DOT GA4833 AT calimero DOT vinschen DOT de> <SERRANO3XaDFuXCpU6q0000020e AT SERRANO DOT CAM DOT ARTIMI DOT COM>
Mime-Version: 1.0
In-Reply-To: <SERRANO3XaDFuXCpU6q0000020e@SERRANO.CAM.ARTIMI.COM>
User-Agent: Mutt/1.4.2i

On Sep 23 12:55, Dave Korn wrote:
> ----Original Message----
> > From: Corinna Vinschen
> >
> >   $ strace -o dd.out dd if=/dev/hdc of=ms.img bs=1024
> > 
> >   [Time passes, somewhat more than a minute...]
> > 
> >   dd: reading `/dev/sdc': Permission denied
> 
>   Hey, what's with the hdc/sdc thing?

Nothing.  Just a typo.  Should have been `if=/dev/sdc'.

> >   $ net helpmsg 121
> > 
> >   The semaphore timeout period has expired.
> > 
> > Er... am I in the wrong movie or what?  What semaphore, please?
> 
>   Beats me.  If I cat /dev/sdb, once it goes past the end of the card, it
> just starts returning '<' chars forever.

That's... funny, isn't it?  Hmm, no, not really.

> > Dave, you will have to debug this on your machine.  
> 
>   Can do.
> 
> > What does ReadFile
> > in fhandler_dev_raw::read_file() do on your machine?  When it reads
> > beyond the physical EOF, how many bytes does ReadFile return?  What
> > does it actually copy to the buffer?
> 
>   Will get back to you on this.
> 
> > And then the interesting question occurs... why is it different on
> > your machine than it is on mine?  Do differences between card readers
> > influence what happens?  Is that another driver?
> 
>   USB2.0 CF CardReader USB Device
>   USBSTOR\DISK&VEN_USB2.0&PROD_CF__CARDREADER&REV_\1234609_&0
> 
> which I presume is mounted on
> 
>   USB Mass Storage Device
>   USB\VID_07CC&PID_0501\1234609_
> 
> and
> 
>   Generic volume
>   STORAGE\REMOVABLEMEDIA\7&388FF7C9&0&RM
> 
> 
> - all the drivers are standard M$ stuff like usbstor.sys, volsnap.sys,
> disk.sys, partmgr.sys.

Same for me.


Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Project Co-Leader          cygwin AT cygwin DOT com
Red Hat, Inc.

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