timeout waiting for read

Patrick Bowen pbowen at fastmail.fm
Sat Sep 24 09:10:10 PDT 2005


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 at freebsd.org mailing list
>http://lists.freebsd.org/mailman/listinfo/freebsd-stable
>To unsubscribe, send any mail to "freebsd-stable-unsubscribe at 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


More information about the freebsd-stable mailing list