This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Anyone know about interaction of 'dd' with memory cards?


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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]