Subject: Re: IBM workpad interrupts
To: David Becker <becker@cs.duke.edu>
From: Takao Shinohara <shin@sm.sony.co.jp>
List: port-hpcmips
Date: 12/18/1999 21:51:55
David Becker <becker@cs.duke.edu> writes:
> 
> I have hpcmips netbsd booting on an IBM Workpad.  The Workpad label says
> it is a type 2608.   When I put a 3c589C in the pcmcia slot, netbsd
> finds the card and transmits, but does not receive incoming packets.
> 
> The machine appears to not get interrupts from the PCIC.  The ep0 NIC sends out
> dhcp packets ok, but the replies do not trigger my breakpoints in epintr
> or trap.  I see similar no-interrupt behavior when an adeptec scsi card is
> in the pcmicia slot.

It seems that your kernel does not match pbsdboot.exe. Try latest
pbsdboot.exe(pbsdboot.uu). Revison of
sys/arch/hpcmips/stand/pbsdboot/main.c is 1.14.

My WorkPad z50(TYPE 2608-1AU) works fine with Adaptec SCSI
card(APA-1460D) and NE2000 compatible NIC(DE-660 and others).

Here is my boot messages.

	Takao Shinohara
------------------------------------------------------------------------
Copyright (c) 1996, 1997, 1998, 1999
    The NetBSD Foundation, Inc.  All rights reserved.
Copyright (c) 1982, 1986, 1989, 1991, 1993
    The Regents of the University of California.  All rights reserved.

NetBSD 1.4P (GENERIC) #0: Fri Dec 17 11:07:37 JST 1999
    shin@narnia.sm.sony.co.jp:/usr/home/shin/syssrc/sys/arch/hpcmips/compile/GENERIC
NEC VR4121 rev0.0 131.072MHz
total memory = 16384 KB
avail memory = 12976 KB
using 230 buffers containing 920 KB of memory
../../../../arch/hpcmips/vr/vr.c(235): 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
fb0 at mainbus0: rasops 640x480 pixels, 65536 colors, 80x48 chars
wsdisplay0 at fb0
../../../../arch/hpcmips/dev/fb.c(502): fb_alloc_screen()
../../../../arch/hpcmips/dev/fb.c(542): fb_show_screen()
../../../../arch/hpcmips/dev/fb.c(502): fb_alloc_screen()
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
vrip_intr_setmask2:
level1[8] level2 mask:................|...|.|......|||
I/O setting:                                iiiiiiiiiiiiiiiiiiiiioiiioiiiiii
       data:,,,,,,;;,,,,,,,,,;;;;;;;;;;;;;;;......|..........||.|.......|||.
vrbcu0 at vrip0 addr 0xb000000-0xb00001f
com0 at vrip0 addr 0xc000000-0xc000007 intr 9vrgiu_port_write: not defined port name0
: ns16550a, working fifo
com0: console
vrip_intr_setmask2:
vrrtc0 at vrip0 addr 0xb0000c0-0xb0000df intr 2vrip_intr_setmask2:

vrkiu0 at vrip0 addr 0xb000180-0xb00019f intr 7vrip_intr_setmask2:
level1[7] level2 mask:.............||.
vrip_intr_setmask2:
level1[7] level2 mask:................

wskbd0 at vrkiu0 mux 1
vrpmu0 at vrip0 addr 0xb0000a0-0xb0000bf intr 1vrip_intr_setmask2:

vrpmu: Deadman's switch detected
vrpmu: cnt 0x2: ..............|.
vrpmu: cnt2 0x0: ................
vrpmu: wait 0x2c00 div 0x0
vrdsu0 at vrip0 addr 0xb0000e0-0xb0000e7
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
ISA IRQ 3 -> GPIO port 9
vrip_intr_setmask2:
level1[8] level2 mask:................................
pcmcia0 at pcic0 controller 0 socket 0
pcmcia0: CIS version PCMCIA 2.0 or 2.1
pcmcia0: CIS info: D-Link, DE-660, 118B6603
pcmcia0: Manufacturer code 0x149, product 0x21b
pcmcia0: function 0: network adapter, ccr addr 400 mask b
pcmcia0: function 0, config table entry 32: I/O card; irq mask befc; iomask 5, iospace 0-1f; mwait_required rdybsy_active wp_active bvd_active io16 irqlevel
ne0 at pcmcia0 function 0 port 0x15000340-0x1500034f port 0x15000350-0x1500035f
ne0: D-Link DE-660 Ethernet
ne0: supplying EUI64: 00:80:c8:ff:fe:88:d5:86
ne0: Ethernet address 00:80:c8:88:d5:86
pcmcia1 at pcic0 controller 0 socket 1
pcmcia1: CIS version PCMCIA 2.0 or 2.1
pcmcia1: CIS info: SunDisk, SDP, 5/3 0.6
pcmcia1: Manufacturer code 0x45, product 0x401
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; maxtwins 1; powerdown
pcmcia1: function 0, config table entry 1: I/O card; irq mask ffff; iomask 4, iospace 0-f; memspace 0-7ff; maxtwins 1; powerdown
pcmcia1: function 0, config table entry 2: I/O card; irq mask 4000; iomask a, iospace 1f0-1f7 3f6-3f7; memspace 0-7ff; maxtwins 1; powerdown
pcmcia1: function 0, config table entry 3: I/O card; irq mask 4000; iomask a, iospace 170-177 376-377; memspace 0-7ff; maxtwins 1; powerdown
pcmcia1: function 0, config table entry 7: I/O card; irq mask 4000; iomask a, iospace 170-177 376-377; memspace 0-7ff; maxtwins 1; powerdown
wdc0 at pcmcia1 function 0 port 0x15000330-0x1500033f
isa_intr_alloc:............................|...
vrip_intr_setmask2:
level1[8] level2 mask:......................|.........
pcmcia1: card irq 3
wd0 at wdc0 channel 0 drive 0: <SunDisk SDCFB-15>
wd0: drive supports 1-sector pio transfers, lba addressing
wd0: 14MB, 458 cyl, 2 head, 32 sec, 512 bytes/sect x 29312 sectors
pcmcia2 at pcic0 controller 1 socket 0
pcmcia3 at pcic0 controller 1 socket 1
../../../../arch/hpcmips/vr/vr.c(235): vr_bus_reset() not implemented.
boot device: wd0
nfs_boot: trying DHCP/BOOTP
isa_intr_alloc:............................|...
vrip_intr_setmask2:
level1[8] level2 mask:......................|.........
pcmcia0: card irq 3
ne0: starting DAD for fe80:0001::0280:c8ff:fe88:d586
ne0: DAD complete for fe80:0001::0280:c8ff:fe88:d586 - no duplicates found
nfs_boot: DHCP server: 192.168.1.13
nfs_boot: my_name=touji
nfs_boot: my_addr=192.168.1.14
nfs_boot: my_mask=255.255.255.0
root on :/usr/hpcmips/target_root
WARNING: clock lost 350 days -- CHECK AND RESET THE DATE!
Enter pathname of shell or RETURN for sh: 
Terminal type? xterm
Don't login as root, use the su command.
# halt
Jan  2 05:24:42 init: kernel security level changed from 0 to 1
syncing disks... done
halted.
------------------------------------------------------------------------