Subject: port-i386/17095: i386 network card successes, but problems with 3C509B, 3C515
To: None <gnats-bugs@gnats.netbsd.org>
From: None <jcline@ieee.org>
List: netbsd-bugs
Date: 05/28/2002 19:17:18
>Number:         17095
>Category:       port-i386
>Synopsis:       i386 network card successes, but problems with 3C509B, 3C515
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    port-i386-maintainer
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue May 28 19:18:00 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator:     jcline at ieee dot org
>Release:        1.5.3_RC2
>Organization:
>Environment:
see kern msgbufs below

>Description:
Kind of bored today and have been trying to install netbsd on an older box (installed freebsd 4.5 which seemed OK, however it would freeze randomly after several hours use, during heavy compilation of ports pkgs, not sure why, and I like netbsd better anyway).  So my office has become netbsd 1.5.3 interop lab.  Several network cards are shown below...

By the way, I think the install notes should mention the "consdev com0" boot command.  It's rather handy.

And, each boot says "WARNING: old BSD partition ID!" when this must be the freebsd 4.5 I installed last week..



Network cards tested; same order is for the msgbuf's below!
   * 3Com 3c905B-TX 10/100 Ethernet (PCI)
      * no workage.
      * link light on at boot time, it goes out briefly then back on, then when configuring network, it goes out completely, network doesn't function after that.
      * there's another pr on this one I think, with no real solution.
      * I have default kernel FreeBSD 4.5 successfully working with this card.
   * 3Com 3C509 Ethernet (ISA combo 10baseT/base2/AUI)
      * configures OK !  network 
      * sysinst forgets the configuration though (there's another pr on this bug too I think)
   * 3Com 3C515 Fast (10/100) EtherLink ISA
      * check out msgbuf, which looks OK...  however..
      * ifconfig does not show a network device, and..
         * ifconfig: SIOCGIFFLAGS isapnp0: Device not configured
      * sysinst says there's no network device to configure.
      * FreeBSD 4.5 also chokes here.  In fact, sometimes it hangs on probing when this card is inserted!
   * D-link DFE-530TX, 10/100 (PCI)
      * seems to work ok.  rtk0.
      * data seems to flow fine.
   * Unknown PCI card from lab, 10/100.  
      * ASIC says "DAVICOM".  
      * This card is very, very small, the smallest PCI network card I've ever seen, no taller than 1.25".
      * seems to work as tlp0...
      * but check out the weird error message when I tried to change the network address.
      * data seems to flow fine.




=====================================================
NetBSD 1.5.3_RC2 (INSTALL) #0: Sat Apr 27 18:39:34 CEST 2002
    he@pepperoni.uninett.no:/usr/src/sys/arch/i386/compile/INSTALL
cpu0: Cyrix MMX-enhanced MediaGX (GXm) (586-class), 233.88 MHz
total memory = 29824 KB
avail memory = 22696 KB
using 398 buffers containing 1592 KB of memory
BIOS32 rev. 0 found at 0xfabb0
mainbus0 (root)
pci0 at mainbus0 bus 0: configuration mode 1
pci0: i/o space, memory space enabled
pchb0 at pci0 dev 0 function 0
pchb0: vendor 0x1078 product 0x0001 (rev. 0x00)
ex0 at pci0 dev 14 function 0: 3Com 3c905B-TX 10/100 Ethernet (rev. 0x0)
ex0: interrupting at irq 11
ex0: MAC address 00:10:4b:d2:41:55
exphy0 at ex0 phy 24: 3Com internal media interface
exphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
pcib0 at pci0 dev 18 function 0
pcib0: vendor 0x1078 product 0x0100 (rev. 0x00)
vendor 0x1078 product 0x0101 (miscellaneous bridge) at pci0 dev 18 function 1 no
t configured
pciide0 at pci0 dev 18 function 2: vendor 0x1078 product 0x0102 (rev. 0x00)
pciide0: hardware does not support DMA
pciide0: primary channel wired to compatibility mode
pciide0: primary channel ignored (other hardware responding at addresses)
pciide0: secondary channel wired to compatibility mode
pciide0: secondary channel ignored (other hardware responding at addresses)
vendor 0x1078 product 0x0103 (audio multimedia) at pci0 dev 18 function 3 not co
nfigured
vendor 0x1078 product 0x0104 (VGA display) at pci0 dev 18 function 4 not configu
red
isa0 at pcib0
com0 at isa0 port 0x3f8-0x3ff irq 4: ns16550a, working fifo
com0: console
com1 at isa0 port 0x2f8-0x2ff irq 3: ns16550a, working fifo
wdc0 at isa0 port 0x1f0-0x1f7 irq 14
wd0 at wdc0 channel 0 drive 0: <TOSHIBA MK2104MAV>
wd0: drive supports 16-sector pio transfers, lba addressing
wd0: 2067 MB, 4200 cyl, 16 head, 63 sec, 512 bytes/sect x 4233600 sectors
wd0: drive supports PIO mode 4, DMA mode 2
wdc1 at isa0 port 0x170-0x177 irq 15
isapnp0 at isa0 port 0x279: ISA Plug 'n Play device support
npx0 at isa0 port 0xf0-0xff: using exception 16
pc0 at isa0 port 0x60-0x6f irq 1: color
fdc0 at isa0 port 0x3f0-0x3f7 irq 6 drq 2
fd0 at fdc0 drive 0: 1.44MB, 80 cyl, 2 head, 18 sec
isapnp0: no ISA Plug 'n Play devices found
biomask f7e5 netmask ffe5 ttymask ffe7
md0: internal 2048K image area
WARNING: old BSD partition ID!
boot device: fd0
root on md0a dumps on md0b
root file system type: ffs
<3>ex0: device timeout

=========================================================


NetBSD 1.5.3_RC2 (INSTALL) #0: Sat Apr 27 18:39:34 CEST 2002
    he@pepperoni.uninett.no:/usr/src/sys/arch/i386/compile/INSTALL
cpu0: Cyrix MMX-enhanced MediaGX (GXm) (586-class), 233.88 MHz
....
ep0 at isa0 port 0x300-0x30f irq 12: 3Com 3C509 Ethernet
ep0: address 00:20:af:05:18:fc, 8KB byte-wide FIFO, 5:3 Rx:Tx split
ep0: 10baseT, 10base5, 10base2 (default 10baseT)
...

================================================================

NetBSD 1.5.3_RC2 (INSTALL) #0: Sat Apr 27 18:39:34 CEST 2002
    he@pepperoni.uninett.no:/usr/src/sys/arch/i386/compile/INSTALL
cpu0: Cyrix MMX-enhanced MediaGX (GXm) (586-class), 233.88 MHz
total memory = 29824 KB
avail memory = 22696 KB
using 398 buffers containing 1592 KB of memory
BIOS32 rev. 0 found at 0xfabb0
mainbus0 (root)
pci0 at mainbus0 bus 0: configuration mode 1
pci0: i/o space, memory space enabled
pchb0 at pci0 dev 0 function 0
pchb0: vendor 0x1078 product 0x0001 (rev. 0x00)
pcib0 at pci0 dev 18 function 0
pcib0: vendor 0x1078 product 0x0100 (rev. 0x00)
vendor 0x1078 product 0x0101 (miscellaneous bridge) at pci0 dev 18 function 1 no

t configured
pciide0 at pci0 dev 18 function 2: vendor 0x1078 product 0x0102 (rev. 0x00)
pciide0: hardware does not support DMA
pciide0: primary channel wired to compatibility mode
pciide0: primary channel ignored (other hardware responding at addresses)
pciide0: secondary channel wired to compatibility mode
pciide0: secondary channel ignored (other hardware responding at addresses)
vendor 0x1078 product 0x0103 (audio multimedia) at pci0 dev 18 function 3 not co

nfigured
vendor 0x1078 product 0x0104 (VGA display) at pci0 dev 18 function 4 not configu

red
isa0 at pcib0
com0 at isa0 port 0x3f8-0x3ff irq 4: ns16550a, working fifo
com0: console
wdc0 at isa0 port 0x1f0-0x1f7 irq 14
wd0 at wdc0 channel 0 drive 0: <TOSHIBA MK2104MAV>
wd0: drive supports 16-sector pio transfers, lba addressing
wd0: 2067 MB, 4200 cyl, 16 head, 63 sec, 512 bytes/sect x 4233600 sectors
wd0: drive supports PIO mode 4, DMA mode 2
wdc1 at isa0 port 0x170-0x177 irq 15
isapnp0 at isa0 port 0x279: ISA Plug 'n Play device support
npx0 at isa0 port 0xf0-0xff: using exception 16
pc0 at isa0 port 0x60-0x6f irq 1: color
fdc0 at isa0 port 0x3f0-0x3f7 irq 6 drq 2
fd0 at fdc0 drive 0: 1.44MB, 80 cyl, 2 head, 18 sec
isapnp0: read port 0x203
isapnp0: <3Com Fast EtherLink ISA, TCM5051, , > port 0x280/32 irq 3 drq 3 not configured
biomask ffed netmask ffed ttymask ffef
md0: internal 2048K image area
WARNING: old BSD partition ID!
boot device: fd0
root on md0a dumps on md0b
root file system type: ffs
erase ^?, werase ^W, kill ^U, intr ^C

==================================================================
NetBSD 1.5.3_RC2 (INSTALL) #0: Sat Apr 27 18:39:34 CEST 2002
    he@pepperoni.uninett.no:/usr/src/sys/arch/i386/compile/INSTALL
cpu0: Cyrix MMX-enhanced MediaGX (GXm) (586-class), 233.89 MHz
....
pchb0 at pci0 dev 0 function 0
pchb0: vendor 0x1078 product 0x0001 (rev. 0x00)
rtk0 at pci0 dev 14 function 0: D-Link Systems DFE 530TX+
rtk0: interrupting at irq 5
rtk0: Ethernet address 00:50:ba:5d:7d:3e
ukphy0 at rtk0 phy 7: Generic IEEE 802.3u media interface
ukphy0: OUI 0x000000, model 0x0000, rev. 0
ukphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
pcib0 at pci0 dev 18 function 0
pcib0: vendor 0x1078 product 0x0100 (rev. 0x00)
vendor 0x1078 product 0x0101 (miscellaneous bridge) at pci0 dev 18 function 1 not configured
....

=================================================================

NetBSD 1.5.3_RC2 (INSTALL) #0: Sat Apr 27 18:39:34 CEST 2002
    he@pepperoni.uninett.no:/usr/src/sys/arch/i386/compile/INSTALL
cpu0: Cyrix MMX-enhanced MediaGX (GXm) (586-class), 234.75 MHz
...
pchb0 at pci0 dev 0 function 0
pchb0: vendor 0x1078 product 0x0001 (rev. 0x00)
tlp0 at pci0 dev 14 function 0: Davicom DM9102A Ethernet, pass 3.1
tlp0: broken MicroWire interface detected; setting SROM size to 1Kb
tlp0: interrupting at irq 5
tlp0: Ethernet address 00:80:ad:80:8f:0d
ukphy0 at tlp0 phy 1: Generic IEEE 802.3u media interface
ukphy0: OUI 0x00606e, model 0x0004, rev. 0
ukphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
pcib0 at pci0 dev 18 function 0
pcib0: vendor 0x1078 product 0x0100 (rev. 0x00)
vendor 0x1078 product 0x0101 (miscellaneous bridge) at pci0 dev 18 function 1 no

t configured
.....


# ifconfig tlp0 10.1.1.75
tlp0: receive process failed to idle: state RUNNING - WAIT
# ifconfig tlp0 down
# ifconfig tlp0 10.1.1.75
tlp0: receive process failed to idle: state RUNNING - WAIT
#
#
# ifconfig -a
tlp0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
        address: 00:80:ad:80:8f:0d
        media: Ethernet autoselect (100baseTX full-duplex)
        status: active
        inet 10.1.1.75 netmask 0xff000000 broadcast 10.255.255.255
        inet6 fe80:1::280:adff:fe80:8f0d prefixlen 64
lo0: flags=8009<UP,LOOPBACK,MULTICAST> mtu 33228
        inet 127.0.0.1 netmask 0xff000000
        inet6 fe80:2::1 prefixlen 64
        inet6 ::1 prefixlen 128
ppp0: flags=8010<POINTOPOINT,MULTICAST> mtu 1500
ppp1: flags=8010<POINTOPOINT,MULTICAST> mtu 1500
sl0: flags=c010<POINTOPOINT,LINK2,MULTICAST> mtu 296
sl1: flags=c010<POINTOPOINT,LINK2,MULTICAST> mtu 296
# ifconfig tlp0 up
# ifconfig -a
tlp0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
        address: 00:80:ad:80:8f:0d
        media: Ethernet autoselect (100baseTX full-duplex)
        status: active
        inet 10.1.1.75 netmask 0xff000000 broadcast 10.255.255.255
        inet6 fe80:1::280:adff:fe80:8f0d prefixlen 64
lo0: flags=8009<UP,LOOPBACK,MULTICAST> mtu 33228
        inet 127.0.0.1 netmask 0xff000000
        inet6 fe80:2::1 prefixlen 64
        inet6 ::1 prefixlen 128
ppp0: flags=8010<POINTOPOINT,MULTICAST> mtu 1500
ppp1: flags=8010<POINTOPOINT,MULTICAST> mtu 1500
sl0: flags=c010<POINTOPOINT,LINK2,MULTICAST> mtu 296
sl1: flags=c010<POINTOPOINT,LINK2,MULTICAST> mtu 296
#

==========================================


>How-To-Repeat:

1. take time off work
2. boot with a couple different network cards on 1.5.3_RC2


>Fix:
unknown

>Release-Note:
>Audit-Trail:
>Unformatted: