mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Andries.Brouwer@cwi.nl
To: dalecki@evision-ventures.com, linux-kernel@vger.kernel.org,
	tomita@cinet.co.jp
Cc: torvalds@transmeta.com
Subject: Re: [PATCH] 2.5.13 IDE PIO mode Fix
Date: Sat, 4 May 2002 12:15:18 +0200 (MEST)	[thread overview]
Message-ID: <UTC200205041015.g44AFIV16086.aeb@smtp.cwi.nl> (raw)

    I found this bug in 2.5.10 first. And caused ext2 FS corruption.
    We are porting Linux to PC-9801 architecture (made by NEC Japan).
    It has PIO ONLY IDE I/F. So please check PIO mode too.
    # Our porting status - 2.2.x/2.4.x done and updating. 2.5.x partial.

    diff -urN linux-2.5.10/drivers/ide/ide-taskfile.c linux/drivers/ide/ide-taskfile.c
    --- linux-2.5.10/drivers/ide/ide-taskfile.c    Wed Apr 24 16:15:19 2002
    +++ linux/drivers/ide/ide-taskfile.c  Fri Apr 26 15:44:42 2002
    @@ -202,7 +202,7 @@
                            ata_write_slow(drive, buffer, wcount);
                    else
     #endif
    -                       ata_write_16(drive, buffer, wcount<<1);
    +                       ata_write_16(drive, buffer, wcount);
            }
     }

Excellent!
It was introduced in 2.5.9 and still exists in 2.5.13,
and caused superblock corruption for me. This fixes it.

Andries

             reply	other threads:[~2002-05-04 10:15 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-05-04 10:15 Andries.Brouwer [this message]
2002-05-05  0:10 ` Martin Dalecki
  -- strict thread matches above, loose matches on Subject: below --
2002-05-03 23:08 Osamu Tomita
2002-05-05  0:06 ` Martin Dalecki

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=UTC200205041015.g44AFIV16086.aeb@smtp.cwi.nl \
    --to=andries.brouwer@cwi.nl \
    --cc=dalecki@evision-ventures.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=tomita@cinet.co.jp \
    --cc=torvalds@transmeta.com \
    /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®