From owner-freebsd-questions Sun May 17 23:05:51 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id XAA12955 for freebsd-questions-outgoing; Sun, 17 May 1998 23:05:51 -0700 (PDT) (envelope-from owner-freebsd-questions@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 XAA12884; Sun, 17 May 1998 23:05:39 -0700 (PDT) (envelope-from luigi@labinfo.iet.unipi.it) Received: from localhost (luigi@localhost) by labinfo.iet.unipi.it (8.6.5/8.6.5) id GAA06530; Mon, 18 May 1998 06:21:52 +0200 From: Luigi Rizzo Message-Id: <199805180421.GAA06530@labinfo.iet.unipi.it> Subject: Re: ATAPI CDDA Extraction under FreeBSD To: kkennawa@physics.adelaide.edu.au (Kris Kennaway) Date: Mon, 18 May 1998 06:21:51 +0200 (MET DST) Cc: sos@FreeBSD.ORG, rmooney@iss.net, multimedia@FreeBSD.ORG, questions@FreeBSD.ORG, current@FreeBSD.ORG In-Reply-To: from "Kris Kennaway" at May 18, 98 02:48:36 pm X-Mailer: ELM [version 2.4 PL23] Content-Type: text Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > > Have you looked at the patches Luigi made back in january ?? > > Interesting this should come up now - I picked up Luigi's patches ouch, there's too much interest on this stuff! let me repeat, there are two problems with it: 1) our atapi code does not handle timeouts, and some atapi drives i have tried tend to cause timeouts when reading audio tracks or have non-compliant behaviour of the audio-read function. As a consequence, you risk deadlocks by running this code 2) some atapi drives i have tried have the "jitter" problem (the drive does not return the exact block when doing sequential reads), so any useful problem should, from time to time, go back and restart reading. I don't have a precise algorithm to do this, but tosha does not implement it. Probably Charles Herrich's "cdd" program does a good job on this. 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/ _____________________________|______________________________________ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message