public inbox for ecos-discuss@sourceware.org
 help / color / mirror / Atom feed
* [ECOS] floppy access in cygwin
@ 2001-06-27  1:31 A Roturier
  2001-06-27  9:51 ` Jonathan Larmour
  0 siblings, 1 reply; 4+ messages in thread
From: A Roturier @ 2001-06-27  1:31 UTC (permalink / raw)
  To: ecos-discuss

hi,

this question was posted and asnwered awhile back. but i can't
seems to have it resolved still.

i try to copy the pre-built image of redboot for pc platform
onto floppy disc in order to boot from drive a:.

in cygwin,

$ mount
C:\cygwin\bin on /usr/bin type user (textmode)
C:\cygwin\lib on /usr/lib type user (textmode)
c:\cygwin\tmp on /tmp type user (binmode)
C:\cygwin on / type user (textmode)
\\.\a: on /dev/fd0 type user (binmode)
c: on /c type user (textmode)

so floppy drive is mounted correctly.

$ dd conv=sync if=redboot.bin of=/dev/fd0
dd: /dev/fd0: No such file or directory

this command takes about 8 seconds to execute before error
message is printed. and the light of floppy drive is on for
a while. i have checked the floppy and media and they work
fine in windows.

any idea? thanks for help.

kc
_________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com .

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [ECOS] floppy access in cygwin
  2001-06-27  1:31 [ECOS] floppy access in cygwin A Roturier
@ 2001-06-27  9:51 ` Jonathan Larmour
  2001-06-27 10:12   ` Lewin A.R.W. Edwards
  0 siblings, 1 reply; 4+ messages in thread
From: Jonathan Larmour @ 2001-06-27  9:51 UTC (permalink / raw)
  To: A Roturier; +Cc: ecos-discuss

A Roturier wrote:
> 
> hi,
> 
> this question was posted and asnwered awhile back. but i can't
> seems to have it resolved still.
> 
> i try to copy the pre-built image of redboot for pc platform
> onto floppy disc in order to boot from drive a:.
> 
> in cygwin,
> 
> $ mount
> C:\cygwin\bin on /usr/bin type user (textmode)
> C:\cygwin\lib on /usr/lib type user (textmode)
> c:\cygwin\tmp on /tmp type user (binmode)
> C:\cygwin on / type user (textmode)
> \\.\a: on /dev/fd0 type user (binmode)
> c: on /c type user (textmode)
> 
> so floppy drive is mounted correctly.
> 
> $ dd conv=sync if=redboot.bin of=/dev/fd0
> dd: /dev/fd0: No such file or directory
> 
> this command takes about 8 seconds to execute before error
> message is printed. and the light of floppy drive is on for
> a while. i have checked the floppy and media and they work
> fine in windows.
> 
> any idea? thanks for help.

I know it seems obvious, but is the floppy write protected? Also you should
probably try to do a low level format of it first from within Windows. If
this works let me know and I'll update the docs. If it doesn't, the next
port of call is probably the cygwin@cygwin.com list.

Jifl
-- 
Red Hat, Rustat House, Clifton Road, Cambridge, UK. Tel: +44 (1223) 271062
Maybe this world is another planet's Hell -Aldous Huxley || Opinions==mine
Come to the Red Hat TechWorld open source conference in Brussels!
Keynotes, techie talks and exhibitions    http://www.redhat-techworld.com/

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [ECOS] floppy access in cygwin
  2001-06-27  9:51 ` Jonathan Larmour
@ 2001-06-27 10:12   ` Lewin A.R.W. Edwards
  0 siblings, 0 replies; 4+ messages in thread
From: Lewin A.R.W. Edwards @ 2001-06-27 10:12 UTC (permalink / raw)
  To: Jonathan Larmour, A Roturier; +Cc: ecos-discuss

> > $ dd conv=sync if=redboot.bin of=/dev/fd0
> > dd: /dev/fd0: No such file or directory
> >
> > this command takes about 8 seconds to execute before error
> > message is printed. and the light of floppy drive is on for
> > a while. i have checked the floppy and media and they work
> > fine in windows.
>
>I know it seems obvious, but is the floppy write protected? Also you should
>probably try to do a low level format of it first from within Windows. If

Also make sure that there isn't an Explorer window open with A:\ and that 
there is no console session that has A:\ as its current directory, 
otherwise you can't get an exclusive lock on the drive.

Sometimes volumes seem to be owned by phantom processes in NT (2000 
especially), and can't be reformatted until you reboot.


-- Lewin A.R.W. Edwards
Embedded Engineer, Digi-Frame Inc.
Work: http://www.digi-frame.com/
Tel (914) 937-4090 9am-6:30pm M-F ET
Personal: http://www.larwe.com/ http://www.zws.com/

"Far better it is to dare mighty things, to win glorious triumphs, even 
though checkered by failure, than to rank with those poor spirits who 
neither enjoy much nor suffer much, because they live in the gray twilight 
that knows not victory nor defeat."
(Theodore Roosevelt)

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [ECOS] floppy access in cygwin
@ 2001-06-27 19:39 A Roturier
  0 siblings, 0 replies; 4+ messages in thread
From: A Roturier @ 2001-06-27 19:39 UTC (permalink / raw)
  To: jlarmour; +Cc: larwe, ecos-discuss

hi,

i had formatted the disc and copied a few files onto it to make
sure the floppy was ok before i issued "dd" command. and i m
certain there's no other process occupying the floppy drive.
btw, i am using windosw me and might it be the origin of the
problem? :p

anyway, i'll try cygwin list. thanx Jonathan and Lewin!

kc

> >
> > $ dd conv=sync if=redboot.bin of=/dev/fd0
> > dd: /dev/fd0: No such file or directory
> >
> > this command takes about 8 seconds to execute before error
> > message is printed. and the light of floppy drive is on for
> > a while. i have checked the floppy and media and they work
> > fine in windows.
> >
> > any idea? thanks for help.
>
>I know it seems obvious, but is the floppy write protected? Also you should
>probably try to do a low level format of it first from within Windows. If
>this works let me know and I'll update the docs. If it doesn't, the next
>port of call is probably the cygwin@cygwin.com list.
>
>Jifl

_________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com .

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2001-06-27 19:39 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-06-27  1:31 [ECOS] floppy access in cygwin A Roturier
2001-06-27  9:51 ` Jonathan Larmour
2001-06-27 10:12   ` Lewin A.R.W. Edwards
2001-06-27 19:39 A Roturier

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