Subject: pcmcia network card does not work with -current of 20/8/98
To: None <current-users@netbsd.org>
From: Brett Lymn <blymn@baea.com.au>
List: current-users
Date: 09/12/1998 18:09:00
Folks,
        I am planning to update my toshiba laptop from 1.3 to -current
but I have struck a glitch.  I configured and compiled a new kernel on
a machine that had the 20/8/98 current sources on it and then tried to
boot my laptop with the kernel.  When I did this my pcmcia network
card stopped working.  The card appears to be identified ok and
ifconfig configures the interface fine but if I try to use the network
with the current kernel nothing happens, ping just hangs as does
telnet.  I can interrupt the hung ping/telnet.  The card works just
fine under NetBSD 1.3 (with hack for the network card).  Any ideas on
what may be wrong?  One thing I did notice in the dmesg was that both
my pcmcia cards (tother is a gsm modem card) both appear to be
allocated the same irq!!!

The dmesg from the -current kernel looks like this:

NetBSD 1.3G (ROVER) #1: Sat Sep 12 16:35:24 CST 1998
    toor@siren:/usr/src/sys/arch/i386/compile/ROVER
cpu0: family 4 model 3 step 5
cpu0: Intel 486DX2 (486-class)
real mem  = 8192000
avail mem = 5963776
using 125 buffers containing 512000 bytes of memory
mainbus0 (root)
isa0 at mainbus0
aic0 at isa0 port 0x340-0x35f irq 11
scsibus0 at aic0: 8 targets
com0 at isa0 port 0x3f8-0x3ff irq 4: ns8250 or ns16450, no fifo
lpt0 at isa0 port 0x378-0x37b irq 7
wdc0 at isa0 port 0x1f0-0x1f7 irq 14
atapibus0 at wdc0
wd0 at wdc0 drive 0: <IBM-DSOA-20810>
wd0: using 16-sector 16-bit pio transfers, lba mode
wd0: 775MB, 1587600 sec, 512 bytes/sec
pcppi0 at isa0 port 0x61
sysbeep0 at pcppi0
npx0 at isa0 port 0xf0-0xff: using exception 16
vt0 at isa0 port 0x60-0x6f irq 1
vt0: generic, 80 col, color, 8 scr, mf2-kbd, [R3.32]
pms0 at vt0 irq 12
vt0: console
fdc0 at isa0 port 0x3f0-0x3f7 irq 6 drq 2
fd0 at fdc0 drive 0: 1.44MB, 80 cyl, 2 head, 18 sec
pcic0 at isa0 port 0x3e0-0x3e1 iomem 0xd0000-0xd3fff: using irq 3
pcic0: controller 0 (Intel 82365SL Revision 1) has sockets A and B
pcmcia0 at pcic0 controller 0 socket 0
pcmcia0: CIS version 2.0 or 2.01
pcmcia0: CIS info: ACCTON, EN2212, ETHERNET, R04
pcmcia0: Manufacturer code 0xffffffff, product 0xffffffff
pcmcia0: function 0: network adapter, ccr addr 100 mask 1
pcmcia0: function 0, config table entry 1: I/O card; irq mask befc; iomask a, iospace 300-30f 310-31f; memspace 0-3ff@d4000; mwait_required rdybsy_active wp_active bvd_active io16 irqlevel
ne0 at pcmcia0 function 0 port 0x380-0x38f port 0x390-0x39f
ne0: Accton EN2212 Ethernet
ne0: Ethernet address 00:00:e8:12:1c:cc
pcmcia1 at pcic0 controller 0 socket 1
pcmcia1: CIS version 2.0 or 2.01
pcmcia1: CIS info: Nokia Mobile Phones, DTP-2, , 
pcmcia1: Manufacturer code 0xffff, product 0x100
pcmcia1: function 0: serial port, ccr addr 4000 mask 7
pcmcia1: function 0, config table entry 48: I/O card; irq mask 86bc; iomask 3, iospace 0-7; powerdown
pcmcia1: function 0, config table entry 32: I/O card; irq mask 10; iomask 3, iospace 3f8-3ff; io8 powerdown
pcmcia1: function 0, config table entry 33: I/O card; irq mask 8; iomask 3, iospace 2f8-2ff; io8 powerdown
pcmcia1: function 0, config table entry 34: I/O card; irq mask 10; iomask 3, iospace 3e8-3ef; io8 powerdown
pcmcia1: function 0, config table entry 35: I/O card; irq mask 8; iomask 3, iospace 2e8-2ef; io8 powerdown
com2 at pcmcia1 function 0 port 0x330-0x337: Megahertz XJ4288 Modem: ns16550a, working fifo
apm0 at mainbus0: Power Management spec V1.1
apm0: battery life expectancy: 100%
apm0: A/C state: on
apm0: battery charge state: high charging
apm0: estimated 2h 30m
biomask 4840 netmask 4840 ttymask 58ca
WARNING: old BSD partition ID!
boot device: wd0
root on wd0a dumps on wd0b
root file system type: ffs
pcmcia1: card irq 5
stray interrupt 5
pcmcia0: card irq 5


-- 
Brett Lymn, Computer Systems Administrator, British Aerospace Australia
===============================================================================
  And the monks would cry unto them, "Keep the bloody noise down!"
  - Mort, Terry Pratchett.