From owner-freebsd-hackers Fri Jan 30 16:21:20 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id QAA28709 for hackers-outgoing; Fri, 30 Jan 1998 16:21:20 -0800 (PST) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from svr-a-01.core.theplanet.net (svr-a-01.core.theplanet.net [195.92.192.11]) by hub.freebsd.org (8.8.8/8.8.8) with SMTP id QAA28700 for ; Fri, 30 Jan 1998 16:21:15 -0800 (PST) (envelope-from timo@timog.prestel.co.uk) Received: from modem88.bull-winkle.pol.co.uk (timog.prestel.co.uk) [195.92.5.88] by svr-a-01.core.theplanet.net with smtp (Exim 1.82 #1) id 0xyQgK-0002Xk-00; Sat, 31 Jan 1998 00:21:13 +0000 Received: (qmail 343 invoked by uid 1007); 31 Jan 1998 00:14:16 -0000 Message-ID: <19980131001416.12873@timog.prestel.co.uk> Date: Sat, 31 Jan 1998 00:14:16 +0000 From: Timo Geusch To: Luigi Rizzo Cc: hackers@FreeBSD.ORG Subject: Re: Fast IDE CDROM problems References: <19980129091605.15034@timog.prestel.co.uk> <199801300607.HAA07376@labinfo.iet.unipi.it> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.88 In-Reply-To: <199801300607.HAA07376@labinfo.iet.unipi.it>; from Luigi Rizzo on Fri, Jan 30, 1998 at 07:07:16AM +0100 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG X-To-Unsubscribe: mail to majordomo@FreeBSD.org "unsubscribe hackers" On Fri, Jan 30, 1998 at 07:07:16AM +0100, Luigi Rizzo wrote: > 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. Well, it does stimulate me, for starters. I'm trying to work on a fix right now, but it may take some time. Got a day job, you know :-). > > - 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()). It's the error handling, all right. Just assuming a media change when the device does not seem to be ready isn't a REALLY good idea. Nevertheless, I need the specs so I know how to talk to the driver. Thanks for the pointers. Thanks, Timo -- Timo Geusch UNIX/NT System programmer & JAVA wizzard-in-training 'I ask for so little ... and boy, do I get it' Dilbert