From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Thu, 23 May 2002 20:24:02 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Thu, 23 May 2002 20:23:59 -0400 Received: from APuteaux-101-2-1-180.abo.wanadoo.fr ([193.251.40.180]:21253 "EHLO inet6.dyn.dhs.org") by vger.kernel.org with ESMTP id ; Thu, 23 May 2002 20:23:52 -0400 Date: Fri, 24 May 2002 02:23:51 +0200 From: Lionel Bouton To: Vojtech Pavlik Cc: Linux Kernel Subject: Re: [reiserfs-dev] Re: IDE problem: linux-2.5.17 Message-ID: <20020524022351.A8230@bouton.inet6-interne.fr> Mail-Followup-To: Vojtech Pavlik , Linux Kernel In-Reply-To: <3CECF59B.D471F505@namesys.botik.ru> <3CECFC5B.3030701@evision-ventures.com> <20020523193959.A2613@namesys.com> <3CED004A.6000109@evision-ventures.com> <20020523234720.A7495@bouton.inet6-interne.fr> <20020524005525.H27005@ucw.cz> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit User-Agent: Mutt/1.2.5.1i Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org On Fri, May 24, 2002 at 12:55:25AM +0200, Vojtech Pavlik wrote: > > If you rewrite the whole drive with zeros (or the original data) sector > by sector, the uncorrectable errors will go away. I've done this to my > 307030 and it works fine again. (Fortunately for me the errors were only > in my swap partition). > Don't know for the whole drive yet (currently running) but when I did a mkraid on a raid5 array using 4 partitions on the same drive the sync thread ended and left the array in degraded mode after a bunch of : May 24 02:05:06 twins kernel: hdd: dma_intr: status=0x51 { DriveReady SeekComplete Error } May 24 02:05:06 twins kernel: hdd: dma_intr: error=0x40 { UncorrectableError }, LBA sect=2097375, sector=2097298 May 24 02:05:06 twins kernel: end_request: I/O error, dev 16:41 (hdd), sector 2097298 Then I tried to zero the offending sectors with a slight margin : [root@twins root]# dd if=/dev/zero of=/dev/hdd1 count=200 bs=512 seek=2097200 dd: writing /dev/hdd1': Erreur d'entrée/sortie 113+0 enregistrements lus. 112+0 enregistrements écrits. Same error each time, seems sector 2097312 is not my friend. dd if=/dev/zero of=/dev/hdd bs= running. Too bad lsof doesn't show offsets... I can't tell if dd passed the offending sector :-| LB.