All the mail mirrored from lore.kernel.org
 help / color / mirror / Atom feed
From: Pozsar Balazs <pozsy@uhulinux.hu>
To: linux-kernel <linux-kernel@vger.kernel.org>
Subject: [BUG] floopy driver bug in 2.4.20
Date: Tue, 7 Jan 2003 22:10:16 +0100 (CET)	[thread overview]
Message-ID: <Pine.LNX.4.44.0301072158490.620-100000@unicorn.sch.bme.hu> (raw)


Hi all,

I found wierd bug in the floppy driver. When I have _no_ floppy inserted
in the drive, I get the expected ENXIO every _other_ (second) time, but I
get success (!) the other times:

root@brefatox:~# dd if=/dev/zero of=/dev/fd0u1440 bs=1440k count=1; echo
$?
dd: opening `/dev/fd0u1440': No such device or address
1
root@brefatox:~# dd if=/dev/zero of=/dev/fd0u1440 bs=1440k count=1; echo
$?
1+0 records in
1+0 records out
0
root@brefatox:~# dd if=/dev/zero of=/dev/fd0u1440 bs=1440k count=1; echo
$?
dd: opening `/dev/fd0u1440': No such device or address
1
root@brefatox:~# dd if=/dev/zero of=/dev/fd0u1440 bs=1440k count=1; echo
$?
1+0 records in
1+0 records out
0
root@brefatox:~# dd if=/dev/zero of=/dev/fd0u1440 bs=1440k count=1; echo
$?
dd: opening `/dev/fd0u1440': No such device or address
1
root@brefatox:~# dd if=/dev/zero of=/dev/fd0u1440 bs=1440k count=1; echo
$?
1+0 records in
1+0 records out
0
root@brefatox:~#

...and so on...

Why is this?


root@brefatox:~# dd --version
dd (coreutils) 4.5.4
...

-- 
pozsy


                 reply	other threads:[~2003-01-07 21:01 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=Pine.LNX.4.44.0301072158490.620-100000@unicorn.sch.bme.hu \
    --to=pozsy@uhulinux.hu \
    --cc=linux-kernel@vger.kernel.org \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.