Subject: Ancient disk no longer probes correctly
To: None <port-i386@NetBSD.ORG>
From: Dave Huang <khym@bga.com>
List: port-i386
Date: 05/08/1998 22:15:38
I compiled a new kernel to add X support, but it has trouble with one of
my IDE drives, an ancient Microscience. With my old kernel, compiled
from ~March 27 source, I get:

NetBSD 1.3E (SLOTH) #168: Sat Mar 28 05:01:01 CST 1998
    khym@dahan.metonymy.com:/usr/src.local/sys/arch/i386/compile/SLOTH
cpu0: Intel 386DX (386-class)
real mem  = 7995392
avail mem = 6225920
.
.
wdc0 at isa0 port 0x1f0-0x1f7 irq 14
wd0 at wdc0 drive 0: <QUANTUM LP120A GM120A01X>
wd0: 116MB, 901 cyl, 5 head, 53 sec, 512 bytes/sec
wd0: using 8-sector 16-bit pio transfers, chs addressing
wd1 at wdc0 drive 1: <MICROSCIENCE>
wd1: 102MB, 855 cyl, 7 head, 35 sec, 512 bytes/sec
wd1: using 1-sector 16-bit pio transfers, chs addressing
.
.

With the new kernel, compiled from May 7 source, I get:

NetBSD 1.3E (SLOTH) #170: Thu May  7 22:32:08 CDT 1998
    khym@dahan.metonymy.com:/usr/src.local/sys/arch/i386/compile/SLOTH
cpu0: Intel 386DX (386-class)
real mem  = 7995392
avail mem = 6213632
.
.
wdc0 at isa0 port 0x1f0-0x1f7 irq 14
wd0 at wdc0 drive 0: <QUANTUM LP120A GM120A01X>
wd0: using 8-sector 16-bit pio transfers, chs mode
wd0: 116MB, 901 cyl, 5 head, 53 sec, 512 bytes/sec
wd1 at wdc0 drive 1: <MICROSCIENCE>
wd1: using 1-sector 16-bit pio transfers, lba mode
wd1: 13348MB, 27337054 sec, 512 bytes/sec
.
.
[ fsck then complains that wd1e isn't configured ]

The only things that changed between the two kernels is the addition of
"options XSERVER" and "options UCONSOLE", and newer source. So what's
changed in the IDE driver recently? (I know something's changed 'cuz
the old driver printed disk capacity first, then the transfer mode. The
new one reverses the two lines :)
-- 
Name: Dave Huang     |   Mammal, mammal / their names are called /
INet: khym@bga.com   |   they raise a paw / the bat, the cat /
FurryMUCK: Dahan     |   dolphin and dog / koala bear and hog -- TMBG
Dahan: Hani G Y+C 22 Y++ L+++ W- C++ T++ A+ E+ S++ V++ F- Q+++ P+ B+ PA+ PL++