From owner-freebsd-current Wed Aug 11 7:22:53 1999 Delivered-To: freebsd-current@freebsd.org Received: from maildns2.fsbdial.co.uk (s24.athenenet.co.uk [195.89.137.30]) by hub.freebsd.org (Postfix) with ESMTP id CAEDB14D1A for ; Wed, 11 Aug 1999 07:22:46 -0700 (PDT) (envelope-from frankrj@netscape.net) Received: from [212.1.146.19] by maildns2.freenet.co.uk (NTMail 4.30.0012/NT0619.00.9914eb79) with ESMTP id jslomaaa for ; Wed, 11 Aug 1999 15:21:51 +0100 Message-ID: <37B187D2.8312B4E0@netscape.net> Date: Wed, 11 Aug 1999 15:25:22 +0100 From: Francis Jordan X-Mailer: Mozilla 4.5 [en] (Win98; U) X-Accept-Language: en MIME-Version: 1.0 To: Soren Schmidt Cc: freebsd-current@FreeBSD.ORG Subject: Re: wd0: interrupt timeout (status 58 error 1) References: <199908110702.JAA56801@freebsd.dk> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Soren Schmidt wrote: > > Hmm try the patch below so we can tell what command it is failing on.. > > Index: 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; > } After removing the quotation mark after the word command in the above patch (smile), it prints: ata_command: timeout waiting for interrupt (cmd=0xa1) What is command 0xa1? Frank To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message