Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 30 Jan 1998 07:07:16 +0100 (MET)
From:      Luigi Rizzo <luigi@labinfo.iet.unipi.it>
To:        freebsd@timog.prestel.co.uk
Cc:        hackers@FreeBSD.ORG
Subject:   Re: Fast IDE CDROM problems
Message-ID:  <199801300607.HAA07376@labinfo.iet.unipi.it>
In-Reply-To: <19980129091605.15034@timog.prestel.co.uk> from "Timo Geusch" at Jan 29, 98 09:15:46 am

next in thread | previous in thread | raw e-mail | index | archive | help
> 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/
_____________________________|______________________________________



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199801300607.HAA07376>