From owner-freebsd-hackers Thu Jan 29 23:38:09 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id XAA09676 for hackers-outgoing; Thu, 29 Jan 1998 23:38:09 -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 XAA09670 for ; Thu, 29 Jan 1998 23:38:06 -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 HAA07376; Fri, 30 Jan 1998 07:07:16 +0100 From: Luigi Rizzo Message-Id: <199801300607.HAA07376@labinfo.iet.unipi.it> Subject: Re: Fast IDE CDROM problems To: freebsd@timog.prestel.co.uk Date: Fri, 30 Jan 1998 07:07:16 +0100 (MET) Cc: hackers@FreeBSD.ORG In-Reply-To: <19980129091605.15034@timog.prestel.co.uk> from "Timo Geusch" at Jan 29, 98 09:15:46 am X-Mailer: ELM [version 2.4 PL23] Content-Type: text Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG X-To-Unsubscribe: mail to majordomo@FreeBSD.org "unsubscribe hackers" > Folks, > I just treated myself to a 24x IDE CDROM, and since then I'm encountering the > following problem: > > - CD spins down because there are no accesses for some time (like it happens ... > sometimes it even does not start at all. After hitting a time out, FreeBSD > will report "wcd0: tray open". Unfortunately this sometimes seems to cause i think one of the problem is that our ATAPI (wcd) code does not have a watchdog, unlike the IDE (wd) driver. This means that most unexpected things on a CD access will not be handled properly. This was not probably a big issue so far, but the problem you are reporting will hopefully (yes!) hit a lot of people with new hardware to stimulate work on a fix. > - Anybody knows if the ATAPI spec is available for download somewhere so I can > go out and fix it myself? look at the following URLs: ftp://fission.dt.wdc.com/pubs/x3t13 ftp://ftp.symbios.com/pub/standards/io/ and good luck... but it's not a problem with the specs (i think), it's really poor error handling (look at wdtimeout()). 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/ _____________________________|______________________________________