From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: <bastiaf@gmx.de> X-Spam-Checker-Version: SpamAssassin 4.0.0 (2022-12-14) on finch.gentoo.org X-Spam-Level: X-Spam-Status: No, score=0.2 required=5.0 tests=DMARC_QUAR,FREEMAIL_FROM, MAILING_LIST_MULTI autolearn=no autolearn_force=no version=4.0.0 Received: from mail.gmx.net (mail.gmx.net [213.165.64.20]) by chiba.3jane.net (Postfix) with SMTP id A07D0AC3FC for <gentoo-dev@gentoo.org>; Thu, 31 Oct 2002 11:17:57 -0600 (CST) Received: (qmail 4604 invoked by uid 0); 31 Oct 2002 17:17:56 -0000 Received: from p50886e3b.dip.t-dialin.net (HELO vulpec.wg.j.th.de) (80.136.110.59) by mail.gmx.net (mp001-rz3) with SMTP; 31 Oct 2002 17:17:56 -0000 From: Bastian Fuchs <bastiaf@gmx.de> To: gentoo-dev@gentoo.org Date: Thu, 31 Oct 2002 18:17:13 +0100 User-Agent: KMail/1.4.7 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Message-Id: <200210311817.14188.bastiaf@gmx.de> Subject: [gentoo-dev] dd: reading `/dev/hda7': Input/output error (not a hardware problem) - kernel problem? Sender: gentoo-dev-admin@gentoo.org Errors-To: gentoo-dev-admin@gentoo.org X-BeenThere: gentoo-dev@gentoo.org X-Mailman-Version: 2.0.6 Precedence: bulk List-Help: <mailto:gentoo-dev-request@gentoo.org?subject=help> List-Post: <mailto:gentoo-dev@gentoo.org> List-Subscribe: <http://lists.gentoo.org/mailman/listinfo/gentoo-dev>, <mailto:gentoo-dev-request@gentoo.org?subject=subscribe> List-Id: Gentoo Linux developer list <gentoo-dev.gentoo.org> List-Unsubscribe: <http://lists.gentoo.org/mailman/listinfo/gentoo-dev>, <mailto:gentoo-dev-request@gentoo.org?subject=unsubscribe> List-Archive: <http://lists.gentoo.org/pipermail/gentoo-dev/> X-Archives-Salt: 428a29de-321a-410f-b95c-ec035f07e3f7 X-Archives-Hash: d1f05e263190d763a9dbb1f9cd5fe067 Hi! I have some problem to read partitions with dd, but I think it's not a=20 hardware problem. (No badblocks or something else.) I have two disks hda and hdb. Its possible to read hda1 and hdb1 with dd=20 without an error. But on all other partitions I get an "Input/output" error. =2D------------------------------------------------------------------------= =2D------- vulpec ~ # fdisk -s /dev/hda1 88326 vulpec ~ # dd if=3D/dev/hda1 of=3D/dev/null bs=3D1k skip=3D88000 326+0 records in 326+0 records out hda1 has 88326 blocks and dd reads 88326. OK. =2D------------------------------------------------------------------------= =2D------- =2D------------------------------------------------------------------------= =2D------- vulpec ~ # fdisk -s /dev/hda7 4200966 vulpec ~ # dd if=3D/dev/hda7 of=3D/dev/null skip=3D4200000 bs=3D1k dd: reading `/dev/hda7': Input/output error 964+0 records in 964+0 records out vulpec ~ # dmesg | tail =2E.. attempt to access beyond end of device 03:07: rw=3D0, want=3D4200968, limit=3D4200966 hda7 has 4002966 blocks, but only 4002964 blocks a read. Why to blocks are= =20 missing? And dmesg says, that dd wants to access 2 blocks beyond the end of= =20 device? =2D------------------------------------------------------------------------= =2D------- Again: This problem only occures with all partitions (ext2, ext3, ReiserFS) except= =20 the first. The partition table is ok and there are no bad blocks. I find so= me=20 postings with google, which reports the same problem, but mostly with cdrom= s,=20 but harddiscs too. Some people think, this is an kernel problem, but the=20 mails/postings are from 2000 oder 2001. It seems that nobody really knows, whats wrong. I hope you can help me. May= be=20 it's an bug ... =2D Bastian Fuchs PS: vulpec ~ # uname -a Linux vulpec.wg.j.th.de 2.4.19 #1 Mon Oct 28 02:30:04 CET 2002 i686 AMD=20 Duron(tm) processor AuthenticAMD GNU/Linux vulpec ~ # dd --version dd (fileutils) 4.1.11