Subject: Problem with the pci-ethernet card (if_de)
To: None <port-i386@NetBSD.ORG>
From: Bernd Ernesti <netbsd@arresum.inka.de>
List: port-i386
Date: 10/19/1995 22:11:39
Hi,
I have now a PCI-Ethernet Card, it has the DEC 21040 chip on it.
ReadyLINK
ENET32/PCI (REV 3B)
NetBSD found it, but I can't get it to work.
I can't ping my NetBSD-amiga, the same network works great with a 3c509.
tcpdump doesn't see anything on the i386 and on the amiga i only see arp-request
and no I have correct arp's.
This is on the i386 side:
netstat -i
Name Mtu Network Address Ipkts Ierrs Opkts Oerrs Coll
de0 1500 <Link> 0.80.48.e8.36.25 0 0 30 30 0
de0 1500 193.197.84. parresum.inka.de 0 0 30 30 0
lo0 32768 <Link> 24 0 24 0 0
lo0 32768 127 localhost 24 0 24 0 0
[..]
ifconfig -a
de0: flags=9863<UP,BROADCAST,NOTRAILERS,RUNNING,SIMPLEX,LINK0,MULTICAST>
inet 193.197.84.114 netmask 0xffffffa8 broadcast 193.197.84.119
lo0: flags=8009<UP,LOOPBACK,MULTICAST>
inet 127.0.0.1 netmask 0xff000000
[..]
and this on the amiga side:
netstat -i
Name Mtu Network Address Ipkts Ierrs Opkts Oerrs Coll
ae0 1500 <Link> 0.80.10.f0.0.13 30 0 2 0 0
ae0 1500 193.197.84. arresum.inka.de 30 0 2 0 0
lo0 32768 <Link> 153 0 153 0 0
lo0 32768 127 localhost 153 0 153 0 0
[..]
ifconfig -a
ae0: flags=9863<UP,BROADCAST,NOTRAILERS,RUNNING,SIMPLEX,LINK0,MULTICAST>
inet 193.197.84.35 netmask 0xffffffa8 broadcast 193.197.84.119
lo0: flags=8009<UP,LOOPBACK,MULTICAST>
inet 127.0.0.1 netmask 0xff000000
Why does the de0 thinks that all Opkts are Errors but the amiga counts this
Ipkts ?
Yes, I know the netmask is a bad one :)
NetBSD 1.1_ALPHA (VEEGO) #3: Thu Oct 19 19:30:01 MET 1995
bernd@parresum:/home/src/sys/arch/i386/compile/VEEGO
CPU: Pentium (GenuineIntel 586-class CPU)
[..]
pci0 (root): configuration mode 1
pci0 bus 0 device 0: unknown vendor/product: 0x8086/0x122d (class: bridge, subclass: host, revision: 0x01) not configured
pci0 bus 0 device 7: unknown vendor/product: 0x8086/0x122e (class: bridge, subclass: ISA, revision: 0x02) not configured
ahc0 at pci0 bus 0 device 8: 294x Single Channel, SCSI Id=7, aic7870, 16 SCBs
ahc0: Using Edge Triggered Interrupts
ahc0: Downloading Sequencer Program...Done
ahc0: Probing channel A
scsibus0 at ahc0
ahc0: SDTR, target 4 period 100 offset 8
ahc0: target 4 synchronous at 10.0MB/s, offset = 8
ahc0 targ 4 lun 0: <HP, C2247-300, 0BA4> SCSI2 0/direct fixed
sd0 at scsibus0: 1003MB, 2051 cyl, 13 head, 77 sec, 512 bytes/sec
pci_map_int: pin A mapped to line 9
pci0 bus 0 device 9: unknown vendor/product: 0x5333/0x8811 (class: display, subclass: VGA, revision: 0x00) not configured
de0 at pci0 bus 0 device 10pci_map_int: pin A mapped to line 12
irq 12: DC21040 [10Mb/s] pass 2.3 Ethernet address 00:80:48:e8:36:25
de0: enabling Thinwire/AUI port
Mmmmh, what is pci_map_int. Is that the PCI-Interrupt and why does NetBSD found
two A pins ?
Bernd