mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: "Richard B. Johnson" <root@chaos.analogic.com>
To: Pavel Machek <pavel@suse.cz>
Cc: Linux kernel <linux-kernel@vger.kernel.org>
Subject: Re: Some read-errors on floppys not reported on 2.4.22
Date: Mon, 8 Sep 2003 14:48:10 -0400 (EDT)	[thread overview]
Message-ID: <Pine.LNX.4.53.0309081442580.194@chaos> (raw)
In-Reply-To: <20030904171758.GR1358@openzaurus.ucw.cz>

On Thu, 4 Sep 2003, Pavel Machek wrote:

> Hi!
>
> > Success, even where there are lots of CRC errors that
> > prematurely terminate the read:
>
> Can you find out if it works in 2.4.21?
> --
> 				Pavel

Okay. It works on 2.4.21, the code is identical to 2.4.20 which also
works. On 2.4.22, bad CRC errors which terminate the read, don't
always result in a bad return code. Some just return 0, which
is treated like EOF in user-mode code. Application software
has to add a call to fstat() to see if the bytes read were equal
to the file size as a work-around. This step should not be required.

Cheers,
Dick Johnson
Penguin : Linux version 2.4.22 on an i686 machine (794.73 BogoMips).
            Note 96.31% of all statistics are fiction.



      parent reply	other threads:[~2003-09-08 18:48 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-08-29 16:13 Richard B. Johnson
2003-09-04 17:17 ` Pavel Machek
2003-09-08 17:48   ` Richard B. Johnson
2003-09-08 18:48   ` Richard B. Johnson [this message]

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.53.0309081442580.194@chaos \
    --to=root@chaos.analogic.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=pavel@suse.cz \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®