Date: Wed, 11 Aug 1999 15:25:22 +0100 From: Francis Jordan <frankrj@netscape.net> To: Soren Schmidt <sos@freebsd.dk> Cc: freebsd-current@FreeBSD.ORG Subject: Re: wd0: interrupt timeout (status 58<rdy,seekdone,drq> error 1<no_dam>) Message-ID: <37B187D2.8312B4E0@netscape.net> References: <199908110702.JAA56801@freebsd.dk>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?37B187D2.8312B4E0>