Subject: Re: port-sparc/13228: copying files to a disk with a (presumably) bad sector causes a panic
To: None <elliot@rightnowtech.com>
From: Manuel Bouyer <bouyer@antioche.lip6.fr>
List: netbsd-bugs
Date: 06/18/2001 20:10:17
On Sat, Jun 16, 2001 at 09:40:51PM -0700, elliot@rightnowtech.com wrote:
>
> >Number: 13228
> >Category: port-sparc
> >Synopsis: copying files to a disk with a (presumably) bad sector causes a panic
> >Confidential: no
> >Severity: non-critical
> >Priority: low
> >Responsible: port-sparc-maintainer
> >State: open
> >Class: sw-bug
> >Submitter-Id: net
> >Arrival-Date: Sat Jun 16 21:39:01 PDT 2001
> >Closed-Date:
> >Last-Modified:
> >Originator: elliot schlegelmilch
> >Release: NetBSD 1.5
> >Organization:
> n/a
> >Environment:
> NetBSD mr-sun.internal.schlegelmilch.org 1.5 NetBSD 1.5 (GENERIC) #1: Wed Nov 29 00:29:52 MET 2000 root@flambard:/usr/src/sys/arch/sparc/compile/GENERIC sparc
>
> >Description:
> two similar problems, probably same bug:
>
> first:
> i installed netbsd 1.5-sparc onto a hp scsi disk , 1003 MB,
> seemed to work ok, i added a user, and 'cd /home' and caused a panic. upon rebooting, filesystems were completely hosed. fsck -y took several minutes to run, fixing numerous (100's) of unlinked files, etc. following that, fsck would core dump every time.
>
> second: dd'ing the good disk to the bad disk, despite different sizes, gets me
>
> sd0(esp0:3:0): Check Condition on CDB: 0x08 0c de 14 01 00
> SENSE KEY: Illegal Request
> INFO FIELD: 843235
> ASC/ASCQ: Logical Block Address Out of Range
> SKSV: Error in CDB, Offset 1
This doesn't looks like a bad sector, just that you're trying to write
beyond the end of the disk.
In this command it's trying to write to block 843284, which is a bit more
than 400M.
--
Manuel Bouyer <bouyer@antioche.eu.org>
--