Subject: wdc doesn't find my drive
To: None <port-i386@netbsd.org>
From: Martin Husemann <martin@rumolt.teuto.de>
List: port-i386
Date: 03/27/1999 11:26:50
I resurrected a realy old 486 machine with two disks. The second one is found
by the BIOS, but not attached by NetBSD (see dmesg below).
These drive must be strange somehow, as a FreeBSD generic install kernel
does probe it, but a (striped) custom one doesn't find it. Anyway, it works
quite well with the generic FreeBSD install kernel, so the hardware should
be OK.
Any hints?
Martin
--8<--
NetBSD 1.3K (ALZEY) #4: Sat Mar 27 10:48:04 MET 1999
martin@rumolt.teuto.de:/a/usr/src/sys-i4b/arch/i386/compile/ALZEY
cpu0: Intel 486DX (486-class)
real mem = 7995392
avail mem = 6160384
using 123 buffers containing 503808 bytes of memory
mainbus0 (root)
isa0 at mainbus0
com0 at isa0 port 0x3f8-0x3ff irq 4: ns8250 or ns16450, no fifo
com1 at isa0 port 0x2f8-0x2ff irq 3: ns8250 or ns16450, no fifo
wdcprobe:0: before reset, st0=0x50, st1=0x50
wdcprobe:0: after reset, ret_value=0x3
wdcprobe:0:0: after reset, sc=0x1 sn=0x1 cl=0x0 ch=0x0
wdcprobe:0:1: after reset, sc=0x1 sn=0x1 cl=0x0 ch=0x0
wdcwait none:0
wdcwait none:0
wdcprobe:0:1: register writability failed
wdc0 at isa0 port 0x1f0-0x1f7 irq 14
wdc0:0: before reset, st0=0x50, st1=0xff
wdc0:0: after reset, ret_value=0x1
wdc0:0:0: after reset, sc=0x1 sn=0x1 cl=0x0 ch=0x0
wdcwait wdc0:0
wdcwait wdc0:0
wdcattach: ch_drive_flags 0x1 0x0
wd0 at wdc0 channel 0 drive 0wdc_ata_get_parms
wdc_exec_command wdc0:0:0
wdc:making xfer 0
wdc_exec_xfer 0xf029bf40 channel 0 drive 0
wdcstart from wdc_exec_xfer, flags 0x0
wdcstart: xfer 0xf029bf40 channel 0 drive 0
__wdccommand_start wdc0:0:0
wdcwait wdc0:0
wdccommand wdc0:0:0: command=0xec cylin=0 head=0 sector=0 count=0 precomp=0
__wdccommand_intr wdc0:0:0
wdcwait wdc0:0
__wdccommand_done wdc0:0:0
: <SAMSUNG SHD-3212A (APOLLO-4) AD>
wd0: drive supports 16-sector pio transfers, chs addressing
wd0: 407MB, 1002 cyl, 16 head, 52 sec, 512 bytes/sect x 833664 sectors
wdc_ata_get_parms
wdc_exec_command wdc0:0:0
wdc_exec_xfer 0xf029bf40 channel 0 drive 0
wdcstart from wdc_exec_xfer, flags 0x0
wdcstart: xfer 0xf029bf40 channel 0 drive 0
__wdccommand_start wdc0:0:0
wdcwait wdc0:0
wdccommand wdc0:0:0: command=0xec cylin=0 head=0 sector=0 count=0 precomp=0
__wdccommand_intr wdc0:0:0
wdcwait wdc0:0
__wdccommand_done wdc0:0:0
wdc_ata_get_parms
wdc_exec_command wdc0:0:0
wdc_exec_xfer 0xf029bf40 channel 0 drive 0
wdcstart from wdc_exec_xfer, flags 0x0
wdcstart: xfer 0xf029bf40 channel 0 drive 0
__wdccommand_start wdc0:0:0
wdcwait wdc0:0
wdccommand wdc0:0:0: command=0xec cylin=0 head=0 sector=0 count=0 precomp=0
__wdccommand_intr wdc0:0:0
wdcwait wdc0:0
__wdccommand_done wdc0:0:0
wdcwait wdc0:0
vga0 at isa0 port 0x3b0-0x3df iomem 0xa0000-0xbffff
wsdisplay0 at vga0: console (80x25, vt100 emulation)