From owner-freebsd-current Wed Aug 11 0: 3: 4 1999 Delivered-To: freebsd-current@freebsd.org Received: from freebsd.dk (freebsd.dk [212.242.42.178]) by hub.freebsd.org (Postfix) with ESMTP id D5A9A14FCC for ; Wed, 11 Aug 1999 00:02:55 -0700 (PDT) (envelope-from sos@freebsd.dk) Received: (from sos@localhost) by freebsd.dk (8.9.1/8.9.1) id JAA56801; Wed, 11 Aug 1999 09:02:37 +0200 (CEST) (envelope-from sos) From: Soren Schmidt Message-Id: <199908110702.JAA56801@freebsd.dk> Subject: Re: wd0: interrupt timeout (status 58 error 1) In-Reply-To: <37B0C652.BB7ABE6B@netscape.net> from Francis Jordan at "Aug 11, 1999 1:39:46 am" To: frankrj@netscape.net (Francis Jordan) Date: Wed, 11 Aug 1999 09:02:37 +0200 (CEST) Cc: freebsd-current@FreeBSD.ORG X-Mailer: ELM [version 2.4ME+ PL43 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG It seems Francis Jordan wrote: > Yes, HDD on the primary, CD-ROM on the secondary controller. This is a > notebook I'm talking about, so I haven't tried any other CD-ROM drives. > If it doesn't respond at all, then how do you get all the other > information, such as supported read types, speed, etc? Perhaps there is > some other way of making this particular CD-ROM drive generate an > interrupt? Of course, it's just a minor annoyance (and otherwise I'm > very pleased with the driver's performance - many thanks to SOS), but if > the new ATA driver were to eventually replace the old one, it's not a > bad idea to try and get rid of as many silly error messages as possible. Hmm try the patch below so we can tell what command it is failing on.. > Is there just one standard that all ATAPI CD-ROM drives must comply > with, or can there be variations? I apologize if this is a silly > question. There is several versions of the ATAPI standard, but they are all pretty vague, there is LOTS of room for vendors to "improve" thier devices :( Index: ata-all.c =================================================================== RCS file: /home/ncvs/src/sys/dev/ata/ata-all.c,v retrieving revision 1.16 diff -u -r1.16 ata-all.c --- ata-all.c 1999/08/06 17:39:37 1.16 +++ ata-all.c 1999/08/11 07:00:09 @@ -693,7 +693,8 @@ scp->active = ATA_WAIT_INTR; outb(scp->ioaddr + ATA_CMD, command); if (tsleep((caddr_t)scp, PRIBIO, "atacmd", 500)) { - printf("ata_command: timeout waiting for interrupt\n"); + printf("ata_command: timeout waiting for interrupt (cmd=0x%02x)\n, + command"); scp->active = ATA_IDLE; return -1; } To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message