Subject: port-i386/607: wd0: wdcintr: read intr before drq: status 0 error 0
To: None <gnats-admin@sun-lamp.cs.berkeley.edu>
From: None <danielce@ee.mu.oz.au>
List: netbsd-bugs
Date: 12/03/1994 16:20:06
>Number:         607
>Category:       port-i386
>Synopsis:       1.0A kernel gives wd0: wdcintr: read intr before drq: status 0 error 0
>Confidential:   no
>Severity:       serious
>Priority:       low
>Responsible:    gnats-admin (GNATS administrator)
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sat Dec  3 16:20:03 1994
>Originator:     Daniel Carosone
>Organization:
"	NetBSD Appreciation Society of Melbourne"
>Release:        1.0
>Environment:
	
System: NetBSD blah 1.0A NetBSD 1.0A (_blah_) #6: Sun Dec 4 10:38:40 EST 1994 dan@gromit:/amd/oi/home/f/l/NetBSD/src/sys/arch/i386/compile/_blah_ i386


>Description:

1.0 (and earlier) kernels give this on bootup:

Dec  4 10:09:10 blah /netbsd: wd0 at wdc0 drive 0: 80MB 965 cyl, 10 head, 17 sec <QUANTUM P80A 980-80-94xx>
Dec  4 10:09:10 blah /netbsd: wd1 at wdc0 drive 1: (unknown size) <Unknown Type>

and the wd1 seems to come only after some probe timeout occurs. Both
disks are the same.

1.0A gives:

Dec  4 11:54:12 blah /netbsd: wd0 at wdc0 drive 0: 80MB, 965 cyl, 10 head, 17 sec, 512 bytes/sec <QUANTUM P80A 980-80-94xx>
Dec  4 11:54:12 blah /netbsd: wd0: using 1-sector 16-bit pio transfers, chs addressing
Dec  4 11:54:12 blah /netbsd: wd1 at wdc0 drive 1: 80MB, 965 cyl, 10 head, 17 sec, 512 bytes/sec <>
Dec  4 11:54:13 blah /netbsd: wd1: using 1-sector 16-bit pio transfers, chs addressing

with no timeout, and then continues to boot.

While doing the fsck of / (wd0a) it says:

Dec  4 11:54:13 blah /netbsd: wd0: wdcintr: read intr before drq: status 0 error 0

and then either drops into DDB, hangs, or continues on.

Since this is something of a spare machine, I'm going to try pounding
the disk a bit and see if the error comes up often, or only once at
the start.

>How-To-Repeat:
	
>Fix:
	
>Audit-Trail:
>Unformatted: