Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 24 Sep 2005 11:09:05 -0500
From:      Patrick Bowen <pbowen@fastmail.fm>
To:        stable@freebsd.org
Subject:   Re: timeout waiting for read
Message-ID:  <43357A21.1050104@fastmail.fm>
In-Reply-To: <b41c755205092206062c8a6ef2@mail.gmail.com>
References:  <b41c755205092206062c8a6ef2@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Claus Guttesen wrote:

>Hi.
>
>Just upgraded to FreeBSD 6 beta5 (i386). During reboot I get this
>message (in one line):
>
>unknown: timeout waiting for read DRQunknown: timeout waiting for read
>DRQSMP: AP CPU #1 Launched!
>
>regards
>Claus
>_______________________________________________
>freebsd-stable@freebsd.org mailing list
>http://lists.freebsd.org/mailman/listinfo/freebsd-stable
>To unsubscribe, send any mail to "freebsd-stable-unsubscribe@freebsd.org"
>
>  
>
I had the same problem, and Søren Schmidt sent me this patch. It worked 
for me. If it works for you, be sure and send him a note saying "thanks"

Index: ata-lowlevel.c
===================================================================
RCS file: /home/ncvs/src/sys/dev/ata/ata-lowlevel.c,v
retrieving revision 1.71
diff -u -r1.71 ata-lowlevel.c
--- ata-lowlevel.c      14 Sep 2005 12:45:06 -0000      1.71
+++ ata-lowlevel.c      15 Sep 2005 07:35:41 -0000
@@ -278,7 +278,7 @@
            /* if read data get it */
            if (request->flags & ATA_R_READ) {
-               if (ata_wait(ch, atadev, (ATA_S_READY | ATA_S_DRQ)) <  0) {
+               if (ata_wait(ch, atadev, ATA_S_DRQ) < 0) {
                    device_printf(request->dev,
                                  "timeout waiting for read DRQ\n");
                    request->result = EIO;


Best of luck,
Patrick



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?43357A21.1050104>