From owner-freebsd-hackers Sun Nov 9 05:57:26 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id FAA12010 for hackers-outgoing; Sun, 9 Nov 1997 05:57:26 -0800 (PST) (envelope-from owner-freebsd-hackers) Received: from labinfo.iet.unipi.it (labinfo.iet.unipi.it [131.114.9.5]) by hub.freebsd.org (8.8.7/8.8.7) with SMTP id FAA12005 for ; Sun, 9 Nov 1997 05:57:22 -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 NAA00156; Sun, 9 Nov 1997 13:47:39 +0100 From: Luigi Rizzo Message-Id: <199711091247.NAA00156@labinfo.iet.unipi.it> Subject: atapi cd problems reading last audio track To: hackers@freebsd.org Date: Sun, 9 Nov 1997 13:47:39 +0100 (MET) X-Mailer: ELM [version 2.4 PL23] Content-Type: text Sender: owner-freebsd-hackers@freebsd.org X-Loop: FreeBSD.org Precedence: bulk I am not sure if others are having this problem... with IDE CD driver, I have always had problems playing the last track of an audio CD. I use cdcontrol, and when I specify "Play" without parameters (or specify a range which includes the last track on a disk) it complains sayin cdcontrol: Input/output error Quickly looking at the cdcontrol source, it seems that the arguments are directly passed to the driver, so the problem might be in the kernel, not in cdcontrol. BTW I can manage to play parts of the last track if I specify times instead of track numbers, and do not request for the complete track (e.g. leaving the last block or second out). Sounds like a bug in the kernel, where the boundary check is off by one... this is on 2.2.1 at least, I cannot check if it has been fixed. 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/ _____________________________|______________________________________