[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

kernel/3826: Can't establish Ethernet link with 2114x network card



>Number:         3826
>Category:       kernel
>Synopsis:       Can't establish Ethernet link with 2114x network card
>Confidential:   no
>Severity:       serious
>Priority:       low
>Responsible:    bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Jun 22 02:40:02 GMT 2004
>Closed-Date:
>Last-Modified:
>Originator:     Andrew M. Hoerter
>Release:        3.5
>Organization:
net
>Environment:
	System      : OpenBSD 3.5
	Architecture: OpenBSD.i386
	Machine     : i386
>Description:
I'm having trouble getting a 2114x-based Ethernet card (using the `dc' driver)
working on an i386.  Specifically, the card won't negotiate a link with any
Ethernet device I've tried.  Based on experimentation, it seems like the dc 
or phy drivers would be likely suspects.

Other than the chipset I know nothing about this card's origin or identity,
it doesn't have much in the way of useful markings.

Symptoms and possibly useful datapoints:

 - When the system is powered on, but *before* the kernel begins probing
   and initializing devices, the card displays proper link/speed LED's when
   connected to an active Ethernet (works as expected)

 - *After* the kernel has begun to initialize, link/speed LED's go dark, 
   even when connected to a known working peer using a known good cable 
   (tested with both a simple 10baseT hub and another Ethernet card with 
   crossover cable)

 - Output of ifconfig after boot also shows "no carrier" on the affected
   interface, agreeing with LED's

 - The same card works fine under Solaris 2.8 and FreeBSD 4.x, testing with
   similar conditions

 - The behavior persists regardless of slot placement (and receiving
   different IRQ's as a result)

 - For what it's worth, the other dc interface (different type of card from
   the non-working one) in this system works fine

A complete dmesg follows (note that dc1 is the problematic interface):

OpenBSD 3.5 (GENERIC) #34: Mon Mar 29 12:24:55 MST 2004
    deraadt@i386.openbsd.org:/usr/src/sys/arch/i386/compile/GENERIC
cpu0: Intel Celeron ("GenuineIntel" 686-class, 128KB L2 cache) 432 MHz
cpu0: FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR
real mem  = 199602176 (194924K)
avail mem = 178688000 (174500K)
using 2462 buffers containing 10084352 bytes (9848K) of memory
mainbus0 (root)
bios0 at mainbus0: AT/286+(00) BIOS, date 05/25/00, BIOS32 rev. 0 @ 0xfda74
apm0 at bios0: Power Management spec V1.2 (BIOS mgmt disabled)
apm0: APM power management enable: unrecognized device ID (9)
apm0: APM engage (device 1): power management disabled (1)
apm0: AC on, battery charge unknown
pcibios0 at bios0: rev. 2.1 @ 0xf0000/0x10000
pcibios0: PCI IRQ Routing Table rev. 1.0 @ 0xf3260/192 (10 entries)
pcibios0: PCI Interrupt Router at 000:31:0 ("Intel 82371FB ISA" rev 0x00)
pcibios0: PCI bus #1 is the last bus
bios0: ROM list: 0xc0000/0xa000 0xcc000/0x1000 0xcd000/0x1000
pci0 at mainbus0 bus 0: configuration mode 1 (no bios)
pchb0 at pci0 dev 0 function 0 "Intel 82810" rev 0x02: rng active, 8Kb/sec
vga1 at pci0 dev 1 function 0 "Intel 82810 Graphics" rev 0x02: aperture at 0xf8000000, size 0x4000000
wsdisplay0 at vga1: console (80x25, vt100 emulation)
wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
ppb0 at pci0 dev 30 function 0 "Intel 82801AA Hub-to-PCI" rev 0x01
pci1 at ppb0 bus 1
fxp0 at pci1 dev 1 function 0 "Intel 82557" rev 0x08: irq 9, address 00:90:27:b4:0b:72
inphy0 at fxp0 phy 1: i82555 10/100 media interface, rev. 4
eap0 at pci1 dev 7 function 0 "Ensoniq AudioPCI97" rev 0x06: irq 10
ac97: codec id 0x43525903 (Cirrus Logic CS4297 rev 3)
ac97: codec features headphone, 18 bit DAC, 18 bit ADC, No 3D Stereo
audio0 at eap0
dc0 at pci1 dev 8 function 0 "Lite-On PNIC" rev 0x20: irq 11, address 00:a0:cc:2c:51:7d
mtdphy0 at dc0 phy 1: MTD972 10/100 media interface, rev. 8
fxp1 at pci1 dev 10 function 0 "Intel 82557" rev 0x08: irq 10, address 00:d0:b7:9e:bf:13
inphy1 at fxp1 phy 1: i82555 10/100 media interface, rev. 4
dc1 at pci1 dev 11 function 0 "DEC 21142/3" rev 0x30: irq 9, address 00:80:c8:63:44:ac
dcphy0 at dc1 phy 31: internal PHY
pcib0 at pci0 dev 31 function 0 "Intel 82801AA LPC" rev 0x01
pciide0 at pci0 dev 31 function 1 "Intel 82801AA IDE" rev 0x01: DMA, channel 0 wired to compatibility, channel 1 wired to compatibility
wd0 at pciide0 channel 0 drive 0: <QUANTUM FIREBALLP KX13.6>
wd0: 16-sector PIO, LBA, 13072MB, 26771672 sectors
wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 4
pciide0: channel 1 ignored (disabled)
uhci0 at pci0 dev 31 function 2 "Intel 82801AA USB" rev 0x01: irq 9
usb0 at uhci0: USB revision 1.0
uhub0 at usb0
uhub0: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
"Intel 82801AA SMBus" rev 0x01 at pci0 dev 31 function 3 not configured
isa0 at pcib0
isadma0 at isa0
pckbc0 at isa0 port 0x60/5
pckbd0 at pckbc0 (kbd slot)
pckbc0: using irq 1 for kbd slot
wskbd0 at pckbd0: console keyboard, using wsdisplay0
pcppi0 at isa0 port 0x61
midi0 at pcppi0: <PC speaker>
sysbeep0 at pcppi0
lpt0 at isa0 port 0x378/4 irq 7
npx0 at isa0 port 0xf0/16: using exception 16
pccom0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte fifo
pccom1 at isa0 port 0x2f8/8 irq 3: ns16550a, 16 byte fifo
fdc0 at isa0 port 0x3f0/6 irq 6 drq 2
fd0 at fdc0 drive 0: 1.44MB 80 cyl, 2 head, 18 sec
biomask 4240 netmask 4e40 ttymask 4ec2
pctr: 686-class user-level performance counters enabled
mtrr: Pentium Pro MTRR support
dkcsum: wd0 matched BIOS disk 80
root on wd0a
rootdev=0x0 rrootdev=0x300 rawdev=0x302
>How-To-Repeat:
Specific make/model of this hardware is unknown, unfortunately.
>Fix:
None known.


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