Subject: WorkPad z50 and flash memory
To: None <port-hpcmips@netbsd.org>
From: Hans Huebner <hans@Huebner.ORG>
List: port-hpcmips
Date: 02/23/2000 16:25:41
Hi there,

I've just bought myself a IBM WorkPad z50 and a 128 MB CF card to play with
NetBSD/hpcmips.  Similar to other people on this list, I also can't get the CF
card to work.  It is recognized sometimes, but I get messages like these:

wdc0:0:0: lost interrupt
        type: ata
        c_bcount: 512
        c_skip: 0
wdc0:0:0: recal error (45)
wdc0 channel 0: reset failed for drive 0
wd0d: address mark not found, aborted command, uncorrectable data error reading fsbn 0 (wd0 bn 0; cn 0 tn 0 sn 0), retrying
wdc0:0:0: not ready, st=0xcc, err=0x00
[...]

when I try to access the card from the installer.  I can use the card from
WindowsCE, so it does not really look like a hardware problem?

Anyway, here is my boot output.  Any pointers, help, hints etc. would be
greatly appreciated.

-Hans

NetBSD 1.4S (RAMDISK) #0: Thu Feb 10 21:25:10 JST 2000
    shin@touji:/work/home/shin/20000208/src/sys/arch/hpcmips/compile/RAMDISK
NEC VR4121 rev0.0 131.072MHz
total memory = 16384 KB
avail memory = 9020 KB
using 230 buffers containing 920 KB of memory
../../../../arch/hpcmips/vr/vr.c(236): vr_bus_reset() not implemented.
mainbus0 (root)
cpu0 at mainbus0: cpu0: NEC VR4100 CPU Rev. 6.0 with software emulated floating point Rev. 0.0
cpu0: L1 cache: 16KB/16B Instruction, 8KB/16B Data, direct mapped
cpu0: No L2 cache
cpu0: install VR specific idle routine
fb0 at mainbus0: rasops 640x480 pixels, 65536 colors, 80x48 chars
wsdisplay0 at fb0
wsdisplay0: screen 0 added (std, vt100 emulation)
vrip0 at mainbus0
vrcmu0 at vrip0 addr 0xb000060-0xb00007f
vrgiu0 at vrip0 addr 0xb000100-0xb00011f intr 8
WIN setting:                                iiiiiiiiiiiiiiiiIiiiIoIiioiiiIII
I/O setting:                                iiiiiiiiiiiiiiiiiiiiioiiioiiiiii
       data:,,,,,,;;,,,,,,,,,;;;;;;;;;;;;;;;....||.......|.|.||.|.......|||.
vrbcu0 at vrip0 addr 0xb000000-0xb00001f
vrbcu: cpu 131.072MHz, bus 32.768MHz, ram 32.768MHz
com0 at vrip0 addr 0xc000000-0xc000007 intr 9: ns16550a, working fifo
com0: console
vrrtc0 at vrip0 addr 0xb0000c0-0xb0000df intr 2
vrkiu0 at vrip0 addr 0xb000180-0xb00019f intr 7
wskbd0 at vrkiu0 mux 1
vrpmu0 at vrip0 addr 0xb0000a0-0xb0000bf intr 1
vrpmu: Deadman's switch detected
vrdsu0 at vrip0 addr 0xb0000e0-0xb0000e7
vrpiu0 at vrip0 addr 0xb000120-0xb0002bf intr 5
wsmouse0 at vrpiu0
vrisab0 at vrgiu0:ISA port 0x15000000-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 sockets A and B
pcmcia0 at pcic0 controller 0 socket 0
pcmcia1 at pcic0 controller 0 socket 1
pcmcia2 at pcic0 controller 1 socket 0
pcmcia3 at pcic0 controller 1 socket 1
../../../../arch/hpcmips/vr/vr.c(236): vr_bus_reset() not implemented.
pcic0: using irq 589827
ISA IRQ 3 -> GPIO port 9
button manager
 fixed, 8192 blockspcmcia2: CIS version PCMCIA 2.0 or 2.1
pcmcia2: CIS info: 128MB, 
pcmcia2: Manufacturer code 0xffffffff, product 0xffffffff
pcmcia2: function 0: unspecified, ccr addr 200 mask f
pcmcia2: function 0, config table entry 0: memory card; irq mask 0; memspace 0-7ff; mwait_required rdybsy_active powerdown
pcmcia2: function 0, config table entry 1: I/O card; irq mask ffff; iomask 4, iospace 0-f; memspace 0-7ff; rdybsy_active io8 io16 irqshare irqpulse irqlevel powerdown
pcmcia2: function 0, config table entry 2: I/O card; irq mask ffff; iomask 4, iospace 0-f; memspace 0-7ff; rdybsy_active io8 io16 irqshare irqpulse irqlevel powerdown
pcmcia2: function 0, config table entry 2: I/O card; irq mask ffff; iomask 4, iospace 0-f; memspace 0-7ff; rdybsy_active io8 io16 irqshare irqpulse irqlevel powerdown
pcmcia2: function 0, config table entry 3: I/O card; irq mask 4000; iomask a, iospace 170-177 376-377; memspace 0-7ff; rdybsy_active io8 io16 irqshare irqpulse irqlevel powerdown
pcmcia2: function 0, config table entry 3: I/O card; irq mask ffff; iomask 4, iospace 0-f; memspace 0-7ff; rdybsy_active io8 io16 irqshare irqpulse irqlevel powerdown
128MB,  (manufacturer 0xffffffff, product 0xffffffff) function 0 not configured
pcmcia1: CIS version PCMCIA 2.0 or 2.1
pcmcia1: CIS info: 128MB, 
pcmcia1: Manufacturer code 0xffffffff, product 0xffffffff
pcmcia1: function 0: fixed disk, ccr addr 200 mask f
pcmcia1: function 0, config table entry 0: memory card; irq mask 0; memspace 0-7ff; mwait_required rdybsy_active powerdown
pcmcia1: function 0, config table entry 1: I/O card; irq mask ffff; iomask 4, iospace 0-f; memspace 0-7ff; rdybsy_active io8 io16 irqshare irqpulse irqlevel powerdown
pcmcia1: function 0, config table entry 2: I/O card; irq mask ffff; iomask 4, iospace 0-f; memspace 0-7ff; rdybsy_active io8 io16 irqshare irqpulse irqlevel powerdown
pcmcia1: function 0, config table entry 2: I/O card; irq mask ffff; iomask 4, iospace 0-f; memspace 0-7ff; rdybsy_active io8 io16 irqshare irqpulse irqlevel powerdown
pcmcia1: function 0, config table entry 3: I/O card; irq mask 4000; iomask a, iospace 170-177 376-377; memspace 0-7ff; rdybsy_active io8 io16 irqshare irqpulse irqlevel powerdown
pcmcia1: function 0, config table entry 3: I/O card; irq mask ffff; iomask 4, iospace 0-f; memspace 0-7ff; rdybsy_active io8 io16 irqshare irqpulse irqlevel powerdown
wdc0 at pcmcia1 function 0 port 0x15000330-0x1500033f
isa_intr_alloc:............................|...
pcmcia1: card irq 3
wd0 at wdc0 channel 0 drive 0: < PQI FLASH DISK 1201N Rev990903>
wd0: drive supports 1-sector pio transfers, lba addressing
wd0: 126 MB, 1014 cyl, 16 head, 16 sec, 512 bytes/sect x 259584 sectors
boot device: wd0
root on md0a dumps on md0b
WARNING: clock lost 405 days -- CHECK AND RESET THE DATE!
root file system type: ffs
erase ^?, werase ^W, kill ^U, intr ^C