From owner-freebsd-multimedia Tue Jun 9 05:36:51 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id FAA06633 for freebsd-multimedia-outgoing; Tue, 9 Jun 1998 05:36:51 -0700 (PDT) (envelope-from owner-freebsd-multimedia@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 FAA06558 for ; Tue, 9 Jun 1998 05:36:40 -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 KAA17652; Tue, 9 Jun 1998 10:42:25 +0200 From: Luigi Rizzo Message-Id: <199806090842.KAA17652@labinfo.iet.unipi.it> Subject: Re: audio from atapi cd -- patches for 2.2.6 To: scott@dcs.qmw.ac.uk (Scott Mitchell) Date: Tue, 9 Jun 1998 10:42:25 +0200 (MET DST) Cc: multimedia@FreeBSD.ORG In-Reply-To: <199806091014.LAA24933@hotpoint.dcs.qmw.ac.uk> from "Scott Mitchell" at Jun 9, 98 11:13:45 am X-Mailer: ELM [version 2.4 PL23] Content-Type: text Sender: owner-freebsd-multimedia@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org > 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). > My off-the-cuff diagnosis: The drive is crap, and I should just replace > it :) It looks to me like something is off with the timing, since it > almost works when all the debug output is there to slow everything down (it > gets logged to a drive on the same controller). If you think it's fixable I'd like to see the output of /var/run/dmesg.boot with and without my patches. thanks for the feedback luigi (btw. i'll be in london at ucl next monday!) -----------------------------+-------------------------------------- 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-multimedia" in the body of the message