Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 10 Aug 2000 15:10:09 -0700 (PDT)
From:      <billf@FreeBSD.org>
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   kern/20529: gigabit cards fail to link
Message-ID:  <200008102210.PAA60502@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         20529
>Category:       kern
>Synopsis:       gigabit cards fail to link
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu Aug 10 15:20:00 PDT 2000
>Closed-Date:
>Last-Modified:
>Originator:     Bill Fumerola
>Release:        FreeBSD 5.0-CURRENT i386 SMP
>Organization:
CHIMES, Inc.
>Environment:

FreeBSD crazyhorse.internal.chc-chimes.com 5.0-CURRENT FreeBSD 5.0-CURRENT #0: Thu Aug 10 21:29:04 GMT 2000     root@crazyhorse.internal.chc-chimes.com:/usr/src/sys/compile/GLUE  i386

>Description:

We purchased one Netgear 620 and one 3COM 3c985B-SX and added them to a
test machine. I connected them to each other (properly crossed over, but tried
both ways just to be sure) and they didn't detect a link. I also tried a second
cable, just to make sure the fiber wasn't bad.

Because I had two cisco 35xx switches in my office that I had previously linked
with the two fiber cables, I tried connecting the tigon cards to the cisco as
well with equal failure. Again, I matched the TX/RX appropriatly, but switched
them around as well just to be sure.

As autodetect failed (no link lights were on in the back either), I attempted
also to manually force them into 1000baseSX, which worked, but the cards still
had no carrier.

dmesg:
Copyright (c) 1992-2000 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
        The Regents of the University of California. All rights reserved.
FreeBSD 5.0-CURRENT #1: Thu Aug 10 23:30:50 GMT 2000
    billf@crazyhorse.internal.chc-chimes.com:/usr/src/sys/compile/GLUE
Timecounter "i8254"  frequency 1193182 Hz
CPU: Pentium III/Pentium III Xeon/Celeron (447.69-MHz 686-class CPU)
  Origin = "GenuineIntel"  Id = 0x673  Stepping = 3
  Features=0x383fbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR,XMM>
real memory  = 536862720 (524280K bytes)
avail memory = 519303168 (507132K bytes)
Programming 24 pins in IOAPIC #0
IOAPIC #0 intpin 2 -> irq 0
FreeBSD/SMP: Multiprocessor motherboard
 cpu0 (BSP): apic id:  1, version: 0x00040011, at 0xfee00000
 cpu1 (AP):  apic id:  0, version: 0x00040011, at 0xfee00000
 io0 (APIC): apic id:  2, version: 0x00170011, at 0xfec00000
Preloaded elf kernel "kernel" at 0xc0352000.
Pentium Pro MTRR support enabled
md0: Malloc disk
npx0: <math processor> on motherboard
npx0: INT 16 interface
pcib0: <Intel 82443GX host to PCI bridge> on motherboard
pci0: <PCI bus> on pcib0
pci0: <Intel 82443GX host to PCI bridge> at 0.0
pcib2: <Intel 82443GX (440 GX) PCI-PCI (AGP) bridge> at device 1.0 on pci0
pci1: <PCI bus> on pcib2
pci1: <ATI Mach64-GD graphics accelerator> at 0.0
pcib3: <DEC 21152 PCI-PCI bridge> at device 2.0 on pci0
pci2: <PCI bus> on pcib3
ahc0: <Adaptec aic7890/91 Ultra2 SCSI adapter> port 0xec00-0xecff mem 0xf9fff000-0xf9ffffff irq 16 at device 4.0 on pci2
ahc0: aic7890/91 Wide Channel A, SCSI Id=7, 32/255 SCBs
pcib4: <PCI to PCI bridge (vendor=8086 device=0960)> at device 10.0 on pci2
pci3: <PCI bus> on pcib4
amr0: <AMI MegaRAID> mem 0xf6c00000-0xf6ffffff irq 18 at device 10.1 on pci2
amr0: firmware 3.13 bios 1.43  16MB memory
amrd0: <MegaRAID logical drive> on amr0
amrd0: 34272MB (70189056 sectors) RAID 5 (degraded)
isab0: <Intel 82371AB PCI to ISA bridge> at device 7.0 on pci0
isa0: <ISA bus> on isab0
atapci0: <Intel PIIX4 ATA33 controller> at device 7.1 on pci0
atapci0: Busmastering DMA not enabled
pci0: <Intel 82371AB/EB (PIIX4) USB controller> at 7.2 irq 0
Timecounter "PIIX"  frequency 3579545 Hz
pci0: <Intel 82371AB Power management controller> at 7.3
tx0: <SMC EtherPower II 10/100> port 0xdc00-0xdcff mem 0xfe109000-0xfe109fff irq 20 at device 8.0 on pci0
miibus0: <MII bus> on tx0
nsphy0: <QS6612 10/100 media interface> on miibus0
nsphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
tx0: address 00:e0:29:36:21:2d, type SMC9432TX
fxp0: <Intel Pro 10/100B/100+ Ethernet> port 0xd8c0-0xd8ff mem 0xfe000000-0xfe0fffff,0xfe108000-0xfe108fff irq 21 at device 10.0 on pci0
fxp0: Ethernet address 00:90:27:cc:b5:c0
ti0: <Netgear GA620 1000baseSX Gigabit Ethernet> mem 0xfe104000-0xfe107fff irq 22 at device 12.0 on pci0
ti0: Ethernet address: 00:a0:cc:73:36:2b
ti1: <3Com 3c985-SX Gigabit Ethernet> mem 0xfe100000-0xfe103fff irq 17 at device 14.0 on pci0
ti1: Ethernet address: 00:60:08:f6:a5:7a
pcib1: <Intel 82443GX host to AGP bridge> on motherboard
pci4: <PCI bus> on pcib1
fdc0: <NEC 72065B or clone> at port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on isa0
fdc0: FIFO enabled, 8 bytes threshold
fd0: <1440-KB 3.5" drive> on fdc0 drive 0
atkbdc0: <Keyboard controller (i8042)> at port 0x60,0x64 on isa0
atkbd0: <AT Keyboard> flags 0x1 irq 1 on atkbdc0
kbd0 at atkbd0
psm0: <PS/2 Mouse> irq 12 on atkbdc0
psm0: model IntelliMouse, device ID 3
vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
sc0: <System console> at flags 0x100 on isa0
sc0: VGA <16 virtual consoles, flags=0x300>
sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0
sio0: type 16550A
sio1 at port 0x2f8-0x2ff irq 3 on isa0
sio1: type 16550A
unknown: <PNP0501> can't assign resources
unknown: <PNP0501> can't assign resources
unknown: <PNP0700> can't assign resources
unknown: <PNP0f13> can't assign resources
unknown: <PNP0200> can't assign resources
unknown: <PNP0303> can't assign resources
APIC_IO: Testing 8254 interrupt delivery
APIC_IO: routing 8254 via IOAPIC #0 intpin 2
Waiting 5 seconds for SCSI devices to settle
SMP: AP CPU #1 Launched!
Mounting root from ufs:/dev/amrd0s1a

# $FreeBSD: src/sys/i386/conf/GENERIC,v 1.269 2000/07/29 02:12:44 obrien Exp $

machine         i386
cpu             I686_CPU
ident           GLUE
maxusers        32

hints           "GENERIC.hints"         #Default places to look for devices.

#makeoptions    DEBUG=-g                #Build kernel with gdb(1) debug symbols

options         MATH_EMULATE            #Support for x87 emulation
options         INET                    #InterNETworking
#options        INET6                   #IPv6 communications protocols
options         FFS                     #Berkeley Fast Filesystem
options         FFS_ROOT                #FFS usable as root device [keep this!]
options         SOFTUPDATES             #Enable FFS soft updates support
options         MFS                     #Memory Filesystem
options         MD_ROOT                 #MD is a potential root device
options         NFS                     #Network Filesystem
options         NFS_ROOT                #NFS usable as root device, NFS required
#options        MSDOSFS                 #MSDOS Filesystem
options         CD9660                  #ISO 9660 Filesystem
options         CD9660_ROOT             #CD-ROM usable as root, CD9660 required
options         PROCFS                  #Process filesystem
options         COMPAT_43               #Compatible with BSD 4.3 [KEEP THIS!]
options         SCSI_DELAY=5000 #Delay (in ms) before probing SCSI
options         UCONSOLE                #Allow users to grab the console
options         USERCONFIG              #boot -c editor
options         VISUAL_USERCONFIG       #visual boot -c editor
options         KTRACE                  #ktrace(1) support
options         SYSVSHM                 #SYSV-style shared memory
options         SYSVMSG                 #SYSV-style message queues
options         SYSVSEM                 #SYSV-style semaphores
options         P1003_1B                #Posix P1003_1B real-time extensions
options         _KPOSIX_PRIORITY_SCHEDULING
options         KBD_INSTALL_CDEV        # install a CDEV entry in /dev
options         RANDOMDEV               #entropy device

# To make an SMP kernel, the next two are needed
options         SMP                     # Symmetric MultiProcessor Kernel
options         APIC_IO                 # Symmetric (APIC) I/O
# Optionally these may need tweaked, (defaults shown):
#options        NCPU=2                  # number of CPUs
#options        NBUS=8                  # number of busses
#options        NAPIC=1                 # number of IO APICs
options         NINTR=38                # number of INTs

device          isa
device          eisa
device          pci
#options        COMPAT_OLDISA           # compatability shims for lnc, fe, le
#options        COMPAT_OLDPCI           # compatability shims for lnc, vx

# Floppy drives
device          fdc

# ATA and ATAPI devices
device          ata
device          atadisk                 # ATA disk drives
device          atapicd                 # ATAPI CDROM drives
device          atapifd                 # ATAPI floppy drives
device          atapist                 # ATAPI tape drives
options         ATA_STATIC_ID           #Static device numbering
#options        ATA_ENABLE_ATAPI_DMA    #Enable DMA on ATAPI devices

# SCSI Controllers
#device         ahb             # EISA AHA1742 family
device          ahc             # AHA2940 and onboard AIC7xxx devices
#device         amd             # AMD 53C974 (Teckram DC-390(T))
#device         dpt             # DPT Smartcache - See NOTES for options!
#device         isp             # Qlogic family
#device         ncr             # NCR/Symbios Logic
#device         sym             # NCR/Symbios Logic (newer chipsets + those of `ncr')

#device         adv
#device         adw
#device         bt
#device         aha     1
#device         aic

# SCSI peripherals
device          scbus           # SCSI bus (required)
device          da              # Direct Access (disks)
device          sa              # Sequential Access (tape etc)
device          cd              # CD
device          pass            # Passthrough device (direct SCSI access)

# RAID controllers
#device         ida             # Compaq Smart RAID
device          amr             # AMI MegaRAID
#device         mlx             # Mylex DAC960 family

# atkbdc0 controls both the keyboard and the PS/2 mouse
device          atkbdc  1
device          atkbd
device          psm

device          vga

# splash screen/screen saver
device          splash

# syscons is the default console driver, resembling an SCO console
device          sc      1

# Enable this for the pcvt (VT220 compatible) console driver
#device         vt
#options        XSERVER                 # support for X server on a vt console
#options        FAT_CURSOR              # start with block cursor
# If you have a ThinkPAD, uncomment this along with the rest of the PCVT lines
#options        PCVT_SCANSET=2          # IBM keyboards are non-std

# Floating point support - do not disable.
device          npx

# Power management support (see NOTES for more options)
device          apm

# PCCARD (PCMCIA) support
device          card
device          pcic

# Serial (COM) ports
device          sio

# Parallel port
#device         ppc
#device         ppbus           # Parallel port bus (required)
#device         lpt             # Printer
#device         plip            # TCP/IP over parallel
#device         ppi             # Parallel port interface device
#device         vpo             # Requires scbus and da


# PCI Ethernet NICs.
#device         de              # DEC/Intel DC21x4x (``Tulip'')
device          fxp             # Intel EtherExpress PRO/100B (82557, 82558)
device          tx              # SMC 9432TX (83c170 ``EPIC'')
#device         vx              # 3Com 3c590, 3c595 (``Vortex'')
#device         wx              # Intel Gigabit Ethernet Card (``Wiseman'')

# PCI Ethernet NICs that use the common MII bus controller code.
device          miibus          # MII bus support
#device         dc              # DEC/Intel 21143 and various workalikes
#device         rl              # RealTek 8129/8139
#device         sf              # Adaptec AIC-6915 (``Starfire'')
#device         sis             # Silicon Integrated Systems SiS 900/SiS 7016
#device         ste             # Sundance ST201 (D-Link DFE-550TX)
#device         tl              # Texas Instruments ThunderLAN
#device         vr              # VIA Rhine, Rhine II
#device         wb              # Winbond W89C840F
device          xl              # 3Com 3c90x (``Boomerang'', ``Cyclone'')
device          ti

# ISA Ethernet NICs.
#device         ed
#device         ex
#device         ep
#device         cs
#device         sn
# WaveLAN/IEEE 802.11 wireless NICs. Note: the WaveLAN/IEEE really
# exists only as a PCMCIA device, so there is no ISA attatement needed
# and resources will always be dynamically assigned by the pccard code.
#device         wi
# Aironet 4500/4800 802.11 wireless NICs. Note: the declaration below will
# work for PCMCIA and PCI cards, as well as ISA cards set to ISA PnP
# mode (the factory default). If you set the switches on your ISA
# card for a manually chosen I/O address and IRQ, you must specify
# those paremeters here.
#device         an
# BayStack 660 and others
#device         awi
# Xircom pccard ethernet
#device         xe
# The probe order of these is presently determined by i386/isa/isa_compat.c.
#device         ie
#device         fe
#device         le
#device         lnc

# Pseudo devices - the number indicates how many units to allocated.
device          loop            # Network loopback
device          ether           # Ethernet support
#device         sl              # Kernel SLIP
#device         ppp     1       # Kernel PPP
#device         tun             # Packet tunnel.
device          pty             # Pseudo-ttys (telnet etc)
device          md              # Memory "disks"
#device         gif     4       # IPv6 and IPv4 tunneling
#device         faith   1       # IPv6-to-IPv4 relaying (translation)

# The `bpf' device enables the Berkeley Packet Filter.
# Be aware of the administrative consequences of enabling this!
device          bpf             # Berkeley packet filter

# USB support
#device         uhci            # UHCI PCI->USB interface
#device         ohci            # OHCI PCI->USB interface
#device         usb             # USB Bus (required)
#device         udbp            # USB Double Bulk Pipe devices
#device         ugen            # Generic
#device         uhid            # "Human Interface Devices"
#device         ukbd            # Keyboard
#device         ulpt            # Printer
#device         umass           # Disks/Mass storage - Requires scbus and da
#device         ums             # Mouse
#device         urio            # Diamond Rio 500 MP3 player
# USB Ethernet, requires mii
#device         aue             # ADMtek USB ethernet
#device         cue             # CATC USB ethernet
#device         kue             # Kawasaki LSI USB ethernet


crazyhorse# vmstat -i
interrupt      total      rate
ahc0 irq16         26        0
amr0 irq18       1605        0
tx0 irq20        6089        2
fdc0 irq6           1        0
atkbd0 irq1       255        0
clk irq0       213209       99
rtc irq8       272926      127
Total          494111      231
crazyhorse# ifconfig -a
tx0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
        inet 172.16.81.35 netmask 0xffffff80 broadcast 172.16.81.127
        ether 00:e0:29:36:21:2d
        media: autoselect (100baseTX) status: active
        supported media: autoselect 100baseTX <full-duplex> 100baseTX 10baseT/UTP <full-duplex> 10baseT/UTP 100baseTX <hw-loopback>
fxp0: flags=8802<BROADCAST,SIMPLEX,MULTICAST> mtu 1500
        ether 00:90:27:cc:b5:c0
        media: autoselect status: no carrier
        supported media: autoselect 100baseTX <full-duplex> 100baseTX 10baseT/UTP <full-duplex> 10baseT/UTP
ti0: flags=8802<BROADCAST,SIMPLEX,MULTICAST> mtu 1500
        ether 00:a0:cc:73:36:2b
        media: autoselect status: no carrier
        supported media: autoselect 1000baseSX <full-duplex> 1000baseSX
ti1: flags=8802<BROADCAST,SIMPLEX,MULTICAST> mtu 1500
        ether 00:60:08:f6:a5:7a
        media: autoselect status: no carrier
        supported media: autoselect 1000baseSX <full-duplex> 1000baseSX
lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 16384
        inet 127.0.0.1 netmask 0xff000000



>How-To-Repeat:

	See description.

>Fix:



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


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-bugs" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200008102210.PAA60502>