From owner-freebsd-hackers Wed Jan 21 09:30:07 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id JAA13803 for hackers-outgoing; Wed, 21 Jan 1998 09:30:07 -0800 (PST) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from labinfo.iet.unipi.it (labinfo.iet.unipi.it [131.114.9.5]) by hub.freebsd.org (8.8.8/8.8.8) with SMTP id JAA13736 for ; Wed, 21 Jan 1998 09:29:47 -0800 (PST) (envelope-from luigi@labinfo.iet.unipi.it) Received: from localhost (luigi@localhost) by labinfo.iet.unipi.it (8.6.5/8.6.5) id RAA29399; Wed, 21 Jan 1998 17:04:49 +0100 From: Luigi Rizzo Message-Id: <199801211604.RAA29399@labinfo.iet.unipi.it> Subject: Re: wfd/zip ATAPI To: mike@smith.net.au (Mike Smith) Date: Wed, 21 Jan 1998 17:04:49 +0100 (MET) Cc: vazquez@IQM.Unicamp.BR, hackers@FreeBSD.ORG In-Reply-To: <199801211703.DAA00982@word.smith.net.au> from "Mike Smith" at Jan 22, 98 03:33:17 am X-Mailer: ELM [version 2.4 PL23] Content-Type: text Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk > > atapi0.1: start > > atapi0.1: intr ireason=0x1, len=64000, status=58, error=0 ... > > atapi0.1: intr ireason=0x1, len=4096, status=58, error=0 > > > > I've no logs after this point but on the console it goes to > > a series of req cb with size 64 and then stops. > > This is very similar to what I see. I found I got better error > messages by turning off multi-sector etc. modes. > > The drive appears to wedge up; I get one error register value with a > sense code of 0xd (which is undefined), and then it stops taking > commands. wouldn't this be a good opportunity to look at our atapi implementation(*) and see if someone can add at least a watchdog functionality such as the one (wdtimeout() in wd.c) which is present for the ordinary IDE drives ? When I worked on reading audio etc. from CDs, I was hitting this problem very frequently: the CD drive would hang at some point, locking the bus and there was no cure but reset. I am afraid I don't have sufficient knowledge to _design_ this in a proper way. Maybe I could hack something but it is not straightforward since I am not sure how to get a reference from the atapi unit back to the associated controller. > The SFF-8020i document implies that READ-10 is obsolete and that > READ-12 should be used... given that a lot of hardware is also obsolete it does not sound so bad to use matching commands :) cheers luigi -----------------------------+-------------------------------------- Luigi Rizzo | Dip. di Ingegneria dell'Informazione email: luigi@iet.unipi.it | Universita' di Pisa tel: +39-50-568533 | via Diotisalvi 2, 56126 PISA (Italy) fax: +39-50-568522 | http://www.iet.unipi.it/~luigi/ _____________________________|______________________________________