Subject: 3c589D on Digital HiNote
To: None <port-i386@NetBSD.ORG>
From: None <arnej@math.ntnu.no>
List: port-i386
Date: 07/09/1998 15:48:29
A friend of mine has recently acquired a Digital HiNote VP710 MSX5166M
where we would like to install NetBSD.  We have a PCMCIA network
card (3com 3c589D) we really need to get to work, but so far no luck.
I've tried with the NetBSD 1.3.2 installation floppy, but that doesn't
detect the network card at all.  However, I've built a -current kernel
with lots of verbosity and it finds the card at least.
We can ifconfig it, and then get the message "pcmcia1: card irq 5".
Any use of the network just hangs.  tcpdump'ing from another
machine the packets do hit the network so it looks like it can't
receive (maybe it doesn't get its interrupt handled properly).

Does anyone have any hints or ideas of things to try?

These are the kernel messages (carried by floppy... argh!):

NetBSD 1.3F (AKV) #0: Thu Jul  9 13:39:35 CEST 1998
    root@leon.math.ntnu.no:/usr/src/sys/arch/i386/compile/AKV
cpu0: family 5 model 4 step 3
cpu0: Intel Pentium/MMX (586-class)
real mem  = 49938432
avail mem = 44752896
using 635 buffers containing 2600960 bytes of memory
mainbus0 (root)
pci0 at mainbus0 bus 0: configuration mode 1
pci0: i/o enabled, memory enabled
pchb0 at pci0 dev 0 function 0
pchb0: Intel 82439TX System Controller (MTXC) (rev. 0x01)
pcib0 at pci0 dev 1 function 0
pcib0: Intel 82371AB PCI-to-ISA Bridge (PIIX4) (rev. 0x01)
Intel 82371AB IDE controller (PIIX4) (IDE mass storage, interface 0x80, revision 0x01) at pci0 dev 1 function 1 not configured
Intel 82371AB USB Host Controller (PIIX4) (USB serial bus, revision 0x01) at pci0 dev 1 function 2 not configured
Intel 82371AB Power Management Controller (PIIX4) (miscellaneous bridge, revision 0x01) at pci0 dev 1 function 3 not configured
Neomagic product 0x0004 (VGA display) at pci0 dev 2 function 0 not configured
Texas Instruments PCI1131 (CardBus bridge, revision 0x01) at pci0 dev 4 function 0 not configured
Texas Instruments PCI1131 (CardBus bridge, revision 0x01) at pci0 dev 4 function 1 not configured
isa0 at pcib0
com0 at isa0 port 0x3f8-0x3ff irq 4: ns16550a, working 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-DTNA-22160>
wd0: using 16-sector 16-bit pio transfers, lba mode
wd0: 2067MB, 4233600 sec, 512 bytes/sec
wdc1 at isa0 port 0x170-0x177 irq 15
atapibus1 at wdc1
cd0 at atapibus1 drive 0: <CD-ROM  CDR_U200, , 1.07> type 5 cdrom removable
pcppi0 at isa0 port 0x61
sysbeep0 at pcppi0
npx0 at isa0 port 0xf0-0xff: using exception 16
pc0 at isa0 port 0x60-0x6f irq 1: color
pms0 at pc0 irq 12
pc0: 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
pcmcia1 at pcic0 controller 0 socket 1
pcmcia1: CIS version 2.0 or 2.01
pcmcia1: CIS info: 3Com Corporation, 3C589D, TP/BNC LAN Card Ver. 2a, 000002
pcmcia1: Manufacturer code 0x101, product 0x589
pcmcia1: function 0: network adapter, ccr addr 10000 mask 3
pcmcia1: function 0, config table entry 1: I/O card; irq mask ffff; iomask 4, iospace 0-f; rdybsy_active wp_active bvd_active io8 io16 irqlevel
pcmcia1: function 0, config table entry 3: I/O card; irq mask ffff; iomask 4, iospace 0-f; rdybsy_active wp_active bvd_active io8 io16 irqlevel
ep0 at pcmcia1 function 0 port 0x330-0x33f: 3Com 3C589 Ethernet
ep0: MAC address 00:60:08:43:7e:b4
ep0: 8KB byte-wide FIFO, 5:3 Rx:Tx split, utp/aui/bnc (default utp)
apm0 at mainbus0: Power Management spec V1.1
apm0: battery life expectancy: 37%
apm0: A/C state: on
apm0: battery charge state: high charging
apm0: estimated 1h 14m
biomask c040 netmask c040 ttymask d0ca
WARNING: old BSD partition ID!
boot device: wd0
root on wd0a dumps on wd0b
root file system type: ffs
uvm_swap: allocated 256 swap buffer headers

(and in single-user:)

# ifconfig ep0 inet 129.241.15.33 netmask 0xffffff00
pcmcia1: card irq 5
# ftp 129.241.15.150
(hangs)
^C
# ifconfig ep0 down
# ifconfig ep0 up
pcmcia1: card irq 5
# ftp 129.241.15.150
(hangs again)

  -  Thanks in advance,
     Arne H. J.