From owner-freebsd-hackers Sat Feb 24 16:47:18 1996 Return-Path: owner-hackers Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id QAA29997 for hackers-outgoing; Sat, 24 Feb 1996 16:47:18 -0800 (PST) Received: from genesis.atrad.adelaide.edu.au (genesis.atrad.adelaide.edu.au [129.127.96.120]) by freefall.freebsd.org (8.7.3/8.7.3) with ESMTP id QAA29991 Sat, 24 Feb 1996 16:47:13 -0800 (PST) Received: from msmith@localhost by genesis.atrad.adelaide.edu.au (8.6.12/8.6.9) id LAA28298; Sun, 25 Feb 1996 11:16:49 +1030 From: Michael Smith Message-Id: <199602250046.LAA28298@genesis.atrad.adelaide.edu.au> Subject: Re: wierd scsi error message To: hsu@freefall.freebsd.org (Jeffrey Hsu) Date: Sun, 25 Feb 1996 11:16:49 +1030 (CST) Cc: hackers@freefall.freebsd.org In-Reply-To: <199602242300.PAA25652@freefall.freebsd.org> from "Jeffrey Hsu" at Feb 24, 96 03:00:17 pm MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-hackers@FreeBSD.ORG Precedence: bulk Jeffrey Hsu stands accused of saying: > > Okay, now that I know what the message means, the $24,000 question is how > do I identify the file for which this write failed? > > Feb 24 02:24:15 armour /kernel: sd0(uha0:0:0): Deferred Error: HARDWARE FAILURE > info:327900 asc:3,0 Peripheral device write fault field replaceable unit: 11 sks:80,19 The general procedure looks like this : - obtain the SCSI-2 spec. (gatekeeper.dec.com has a copy somewhere) - Find out what the 'deferred error' message looks like - look at, and maybe modify the code to emit the block number (if one is part of the message) - use some magic tool (fsdb?) to identify which file inhabits that block. I'm not sure how many of these steps could be short-circuited by someone more familiar with the SCSI spec than me. I'm assuming that you set AWRE and ARRE to 1 using scsi(8) already, and the error message is still appearing? -- ]] Mike Smith, Software Engineer msmith@atrad.adelaide.edu.au [[ ]] Genesis Software genesis@atrad.adelaide.edu.au [[ ]] High-speed data acquisition and (GSM mobile) 0411-222-496 [[ ]] realtime instrument control (ph/fax) +61-8-267-3039 [[ ]] Collector of old Unix hardware. "Where are your PEZ?" The Tick [[