From owner-freebsd-multimedia Tue Jun 9 05:34:04 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id FAA05118 for freebsd-multimedia-outgoing; Tue, 9 Jun 1998 05:34:04 -0700 (PDT) (envelope-from owner-freebsd-multimedia@FreeBSD.ORG) Received: from gamma.qmw.ac.uk (gamma.qmw.ac.uk [138.37.6.8]) by hub.freebsd.org (8.8.8/8.8.8) with SMTP id FAA05042 for ; Tue, 9 Jun 1998 05:33:54 -0700 (PDT) (envelope-from scott@dcs.qmw.ac.uk) Received: from hotpoint.dcs.qmw.ac.uk by gamma.qmw.ac.uk with SMTP-QMW with ESMTP; Tue, 9 Jun 1998 12:01:11 +0100 Received: from brunos-sun.dcs.qmw.ac.uk [138.37.88.185]; by hotpoint.dcs.qmw.ac.uk (8.8.7/8.8.5/S-4.0) with SMTP; id MAA04401; Tue, 9 Jun 1998 12:01:10 +0100 (BST) Date: Tue, 9 Jun 1998 12:01:10 +0100 (BST) Message-Id: <199806091101.MAA04401@hotpoint.dcs.qmw.ac.uk> Received: locally by brunos-sun (SMI-8.6/QMW-client-3.2b); poster "scott"; id LAA17068; Tue, 9 Jun 1998 11:56:05 +0100 From: Scott Mitchell MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: Luigi Rizzo Cc: multimedia@FreeBSD.ORG Subject: Re: audio from atapi cd -- patches for 2.2.6 In-Reply-To: <199806090842.KAA17652@labinfo.iet.unipi.it> References: <199806091014.LAA24933@hotpoint.dcs.qmw.ac.uk> <199806090842.KAA17652@labinfo.iet.unipi.it> X-Mailer: VM 6.22 under 19.15 XEmacs Lucid Sender: owner-freebsd-multimedia@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Luigi Rizzo said: >> I had a play around to see if I could figure anything out -- but as I know >> basically nothing about how ATAPI works I don't know how much I achieved :) >> >> Anyway, with DEBUG turned on in atapi.c (plus a few extra printfs) I get >> the following from dmesg for my two IDE controllers: >> >> [...] >> wdc0 at 0x1f0-0x1f7 irq 14 flags 0x80ff80ff on isa >> wdc0: unit 0 (wd0): , multi-block-16 >> wd0: 520MB (1065456 sectors), 1057 cyls, 16 heads, 63 S/T, 512 B/S >> atapi0.1 at 0x1f0: attach called >> wdc0: unit 1 (atapi): , removable, cmd12, slow, iordy > >i cannot parse the debugging stuff either, but at this point the >code tries to read the capability page of the drive and apparently >fails (or it would produce something more on the capability of the >drive). I agree. It whines about "unknown phase" without your patches, but works anyway. I guess your code is exercising some weirdness of the drive. Will post the patched and unpatched dmesg output ASAP. >(btw. i'll be in london at ucl next monday!) Cool. Maybe we could get together -- any other FreeBSDers in town? Scott. -- =========================================================================== Scott Mitchell | PGP Key ID |"If I can't have my coffee, I'm just | 0x54B171B9 | like a dried up piece of roast goat" QMW College, London, UK | 0xAA775B8B | -- J. S. Bach. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-multimedia" in the body of the message