From owner-freebsd-scsi Wed Jul 21 17:50: 7 1999 Delivered-To: freebsd-scsi@freebsd.org Received: from dingo.cdrom.com (dingo.cdrom.com [204.216.28.145]) by hub.freebsd.org (Postfix) with ESMTP id 5F6AD14F52 for ; Wed, 21 Jul 1999 17:50:04 -0700 (PDT) (envelope-from mike@dingo.cdrom.com) Received: from dingo.cdrom.com (localhost.cdrom.com [127.0.0.1]) by dingo.cdrom.com (8.9.3/8.8.8) with ESMTP id RAA02949; Wed, 21 Jul 1999 17:43:46 -0700 (PDT) (envelope-from mike@dingo.cdrom.com) Message-Id: <199907220043.RAA02949@dingo.cdrom.com> X-Mailer: exmh version 2.0.2 2/24/98 To: "Kenneth D. Merry" Cc: mike@smith.net.au (Mike Smith), asami@cs.berkeley.edu (Satoshi Asami), scsi@FreeBSD.ORG Subject: Re: error logs In-reply-to: Your message of "Wed, 21 Jul 1999 12:07:28 MDT." <199907211807.MAA83601@panzer.kdm.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Wed, 21 Jul 1999 17:43:46 -0700 From: Mike Smith Sender: owner-freebsd-scsi@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org > Mike Smith wrote... > > > Hi, > > > > > > I have a question. I just saw some errors on the package building > > > machine. Part of it looks like this: > > > > > > === > > > : > > > Jul 21 02:25:39 bento /kernel: (da7:ahc1:0:4:0): READ(10). CDB: 28 0 0 3c f8 16 0 0 2 0 > > > Jul 21 02:25:39 bento /kernel: (da7:ahc1:0:4:0): MEDIUM ERROR info:3cf816 asc:11,0 > > > Jul 21 02:25:39 bento /kernel: (da7:ahc1:0:4:0): Unrecovered read error sks:80,9 > > > > This is a fatal read error. The kernel will retry it. > > If it gets retried, it gets retried above the CAM layer. When CAM prints > out an error message, it almost always is after all retries have been > completed. Read and write commands from the da driver have a retry count > of 4. I'm aware of this. > > > Jul 21 02:25:40 bento /kernel: (da7:ahc1:0:4:0): READ(10). CDB: 28 0 0 3c f8 16 0 0 2 0 > > > Jul 21 02:25:41 bento /kernel: (da7:ahc1:0:4:0): RECOVERED ERROR info:3cf817 asc:17,2 > > > Jul 21 02:25:41 bento /kernel: (da7:ahc1:0:4:0): Recovered data with positive head offset sks:80,2 > > > : > > > > This is the kernel-instigated retry, note that the read10 command is > > the same. The drive reports that it was able to recover the data but > > needed to adjust the head position in order to do so. > > The read command is the same, but the block referred to in this error > message is different than the one above. See the info field. The read > cdb above is two blocks in length. Correct. The command failed the first time around, but not the second. Block 0x3cf816 was read successfully the second time, and 0x3cf817 was read after futzing around a bit. > > It at least means that it's grown some defects. What I'm not seeing > > are any additions to the grown defects list, despite ARRE being set. 8( > > Read reallocation only works if the disk managed to salvage the data. If > it can't salvage the data, it can't reallocate it. Write reallocation, > IMO, should be successful much more often, because the kernel has the good > data already. I would have expected to see a grown defect for 0x3cf817 somewhere in the grown defect list, however there isn't one before 0x5dd84b. I don't know where the threshold for reallocating a block is set on this disk (Quantum XP34301). -- \\ The mind's the standard \\ Mike Smith \\ of the man. \\ msmith@freebsd.org \\ -- Joseph Merrick \\ msmith@cdrom.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-scsi" in the body of the message