From owner-freebsd-hackers Thu Oct 22 16:10:39 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id QAA19079 for freebsd-hackers-outgoing; Thu, 22 Oct 1998 16:10:39 -0700 (PDT) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from panzer.plutotech.com (panzer.plutotech.com [206.168.67.125]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id QAA19074 for ; Thu, 22 Oct 1998 16:10:37 -0700 (PDT) (envelope-from ken@panzer.plutotech.com) Received: (from ken@localhost) by panzer.plutotech.com (8.9.1/8.8.5) id RAA19256; Thu, 22 Oct 1998 17:10:02 -0600 (MDT) From: "Kenneth D. Merry" Message-Id: <199810222310.RAA19256@panzer.plutotech.com> Subject: Re: bad sectors In-Reply-To: <19981022233738.J1126@paert.tse-online.de> from Andreas Braukmann at "Oct 22, 98 11:37:38 pm" To: braukmann@tse-online.de (Andreas Braukmann) Date: Thu, 22 Oct 1998 17:10:02 -0600 (MDT) Cc: freebsd-hackers@FreeBSD.ORG X-Mailer: ELM [version 2.4ME+ PL28s (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Andreas Braukmann wrote... > Hi, > > On Thu, Oct 22, 1998 at 12:57:15PM -0600, Kenneth D. Merry wrote: > > > > If you have SCSI disks and a CAM system, you can do the following: > > camcontrol defects -n da -u 1 -f phys -G > > To see the grown defect list for da1. > > hmmm. just jumping in ... > > paert# uname -a > FreeBSD paert.tse-online.de 3.0-CURRENT FreeBSD 3.0-CURRENT #0: Tue Oct 20 09:17:27 CEST 1998 toor@paert.tse-online.de:/home/src/sys/compile/ABWS-SMP i386 > > paert# camcontrol defects -n da -u 1 -f phys -G > error reading defect list: Input/output error > > from dmesg: > da1 at ncr0 bus 0 target 1 lun 0 > da1: Fixed Direct Access SCSI2 device > da1: 40.0MB/s transfers (20.0MHz, offset 15, 16bit), Tagged Queueing Enabled > da1: 8715MB (17850000 512 byte sectors: 255H 63S/T 1111C) > > any hints? is it my fault? the drive's fault? Try a different format (the other choices are 'bfi' and 'block'). Some drives don't support all of the different formats. If you specify -v on the command line, you'll get sense information that will tell you why the command is failing. Ken -- Kenneth Merry ken@plutotech.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message