From owner-freebsd-multimedia Tue Jun 9 07:57:35 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id HAA11405 for freebsd-multimedia-outgoing; Tue, 9 Jun 1998 07:57:35 -0700 (PDT) (envelope-from owner-freebsd-multimedia@FreeBSD.ORG) Received: from foobar.franken.de (logix@foobar.franken.de [194.94.249.81]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id HAA11326 for ; Tue, 9 Jun 1998 07:57:15 -0700 (PDT) (envelope-from logix@foobar.franken.de) Received: (from logix@localhost) by foobar.franken.de (8.8.8/8.8.5) id QAA19945; Tue, 9 Jun 1998 16:56:44 +0200 (CEST) Message-ID: <19980609165644.23419@foobar.franken.de> Date: Tue, 9 Jun 1998 16:56:44 +0200 From: Harold Gutch To: Scott Mitchell Cc: multimedia@FreeBSD.ORG Subject: Re: audio from atapi cd -- patches for 2.2.6 References: <199806081025.LAA14853@hotpoint.dcs.qmw.ac.uk> <199806080856.KAA15688@labinfo.iet.unipi.it> <199806091014.LAA24933@hotpoint.dcs.qmw.ac.uk> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.89i In-Reply-To: <199806091014.LAA24933@hotpoint.dcs.qmw.ac.uk>; from Scott Mitchell on Tue, Jun 09, 1998 at 11:14:04AM +0100 X-Organisation: BatmanSystemDistribution X-Mission: To free the world from the Penguin Sender: owner-freebsd-multimedia@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On Tue, Jun 09, 1998 at 11:14:04AM +0100, Scott Mitchell wrote: > on the console. Note that I set the timeout in the call to tsleep() in > atapi.c back to zero, as I wasn't sure exactly what value of HZ it was > expecting. The output from ps indicates that it's waiting on 'atareq', so > I dont know if this may help, but HZ is defined as 100 in /usr/src/sys/conf/param.c, whereas a value of 0 in tsleep() will not let tsleep() timeout at all - so just replace HZ in /usr/src/sys/i386/isa/atapi.c for 100 (or replace 10*HZ for 1000) and recompile. Good luck, i hope that fixes it. -- bye, logix Sleep is an abstinence syndrome wich occurs due to lack of caffein. Wed Mar 4 04:53:33 CET 1998 #unix, ircnet To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-multimedia" in the body of the message