[lkml]   [2003]   [Sep]   [8]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    SubjectRe: Some read-errors on floppys not reported on 2.4.22
    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.

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

    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to
    More majordomo info at
    Please read the FAQ at

     \ /
      Last update: 2005-03-22 13:48    [W:0.019 / U:2.432 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site