Subject: Re: (partial) success with IBM microdrive
To: , <tech-kern@netbsd.org>
From: TAKEMURA Shin <takemura@netbsd.org>
List: tech-kern
Date: 07/29/2000 08:37:39
Hi

I have a same problem on hpcmips and Micro Drive.
Additionally, I can see the ghost with other compact flash card.
I think it appeared few months ago. I suspect that wdc or atapi
have some problem. But I have no time to step into the detail
for now...

----- Original Message -----
From: "Matthias Drochner" <M.Drochner@fz-juelich.de>
To: <tech-kern@netbsd.org>
Sent: Saturday, July 29, 2000 4:31 AM
Subject: (partial) success with IBM microdrive

> After I added some entry to the device table in wdc_pcmcia.c
> I got an IBM microdrive working. There are some diagnostic messages
> however which I'd better have explained...
> Anyone with a clue what these mean? And why are there two disks?
> (on i386/current)

NetBSD 1.5B (GENERIC) #1: Sat Jul 22 19:39:56 PDT 2000

takemura@buchikou:/usr/home/takemura/cvs/tnf/src/sys/arch/hpcmips/compile/GE
NERIC
NEC MC-R530 (NEC VR4121 rev1.2 168.521MHz)
...
vrisab0 at vrgiu0:ISA port 0x14000000-0x18000000 mem 0x10000000-0x20000000
isa0 at vrisab0
pcic0 at isa0 port 0x3e0-0x3e1 iomem 0x70000-0x73fff irq 589827
pcic0: controller 0 (Intel 82365SL Revision 1) has sockets A and B
pcic0: controller 1 (Intel 82365SL Revision 1) has socket A only
pcmcia0 at pcic0 controller 0 socket 0
pcmcia1 at pcic0 controller 0 socket 1
pcmcia at pcic0 controller 1 socket 0 not configured
...

[Mocro Drive]
pcic0: using irq 589827 for socket events
wdc1 at pcmcia0 function 0 port 0x14000400-0x1400040f
wd0 at wdc1 channel 0 drive 0: <IBM-DMDM-10340>
wd0: drive supports 16-sector pio transfers, lba addressing
wd0: 342 MB, 695 cyl, 16 head, 63 sec, 512 bytes/sect x 700560 sectors
wd1 at wdc1 channel 0 drive 1: <ST506>
wd1: drive supports 1-sector pio transfers, chs addressing
wd1: 69632 KB, 1024 cyl, 8 head, 17 sec, 512 bytes/sect x 139264 sectors

[128MB compact flash]
pcic0: using irq 589827 for socket events
wdc1 at pcmcia0 function 0 port 0x14000300-0x1400030f
wd0 at wdc1 channel 0 drive 0: <>
wd0: drive supports 1-sector pio transfers, lba addressing
wd0: 123 MB, 495 cyl, 16 head, 32 sec, 512 bytes/sect x 253440 sectors
wd1 at wdc1 channel 0 drive 1: <ST506>
wd1: drive supports 1-sector pio transfers, chs addressing
wd1: 69632 KB, 1024 cyl, 8 head, 17 sec, 512 bytes/sect x 139264 sectors

Takemura