From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Steudten Subject: Re: attempt to access beyond end of device Date: Tue, 13 Apr 2004 14:44:12 +0200 Sender: linux-admin-owner@vger.kernel.org Message-ID: <407BE09C.3000302@steudten.com> References: <200404131203.11829.fluca1978@virgilio.it> <200404131308.15569.fluca1978@virgilio.it> <407BCCE7.2050602@steudten.com> <200404131345.54605.fluca1978@virgilio.it> Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <200404131345.54605.fluca1978@virgilio.it> List-Id: Content-Type: text/plain; charset="us-ascii"; format="flowed" To: fluca1978@virgilio.it Cc: linux-admin@vger.kernel.org Humm, is it possible, that the device was a floppy? ls -l /dev/fd0* or cat /proc/devices show you, that the block device 2:0 is the floppy device. Check this first. >>Try fsck.ext2 (or fsck) with -fvn . >>-n tests in read-only mode. >> > > > Ok, here there's the result: > > fsck 1.27 (8-Mar-2002) > e2fsck 1.27 (8-Mar-2002) > Warning! /dev/hda1 is mounted. > Pass 1: Checking inodes, blocks, and sizes > Pass 2: Checking directory structure > Pass 3: Checking directory connectivity > Pass 4: Checking reference counts > Pass 5: Checking group summary information > > 30 inodes used (1%) > 1 non-contiguous inodes (3.3%) > # of inodes with ind/dind/tind blocks: 10/6/0 > 6937 blocks used (86%) > 0 bad blocks > 0 large files > > 18 regular files > 2 directories > 0 character device files > 0 block device files > 0 fifos > 0 links > 1 symbolic links (1 fast symbolic links) > 0 sockets > -------- > 21 files > > it seems correct, isn't it? I've tried also to dd to /dev/null and it worked > well: > 16002+0 records in > 16002+0 records out > 8193024 bytes transferred in 0.454885 seconds (18011202 bytes/sec) > > any idea? > Thanks, > Luca > > > -- Tom LINUX user since kernel 0.99.x 1994. RPM Alpha packages at http://alpha.steudten.com/packages Want to know what S.u.S.E 1995 cdrom-set contains?