2nd RealTek NIC

Malcolm Kay malcolm.kay at internode.on.net
Thu Jun 5 04:14:12 PDT 2003


I'm installing FBSD-4.8 on a new machine with two
PCI Realtek RT8139 network cards.

One configures as rl0 and seems to work fine.

However the system has problems with the other one.

dmesg ->
Copyright (c) 1992-2003 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 4.8-RELEASE #0: Thu Apr  3 10:53:38 GMT 2003
    root at freebsd-stable.sentex.ca:/usr/obj/usr/src/sys/GENERIC
Timecounter "i8254"  frequency 1193182 Hz
CPU: Intel(R) Celeron(R) CPU 1.70GHz (1715.28-MHz 686-class CPU)
  Origin = "GenuineIntel"  Id = 0xf13  Stepping = 3
  
Features=0x3febfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM>
real memory  = 234864640 (229360K bytes)
avail memory = 223227904 (217996K bytes)
Preloaded elf kernel "kernel" at 0xc051d000.
Pentium Pro MTRR support enabled
md0: Malloc disk
Using $PIR table, 6 entries at 0xc00f1930
npx0: <math processor> on motherboard
npx0: INT 16 interface
pcib0: <Host to PCI bridge> on motherboard
pci0: <PCI bus> on pcib0
agp0: <SIS Generic host to PCI bridge> mem 0xe8000000-0xebffffff at device 0.0 
on pci0
pcib2: <PCI to PCI bridge (vendor=1039 device=0001)> at device 1.0 on pci0
pci1: <PCI bus> on pcib2
pci1: <SiS model 6325 VGA-compatible display device> at 0.0 irq 11
isab0: <PCI to ISA bridge (vendor=1039 device=0961)> at device 2.0 on pci0
isa0: <ISA bus> on isab0
ohci0: <SiS 5571 USB controller> mem 0xe7000000-0xe7000fff irq 3 at device 2.2 
on pci0
usb0: OHCI version 1.0, legacy support
usb0: <SiS 5571 USB controller> on ohci0
usb0: USB revision 1.0
uhub0: SiS OHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
ohci1: <SiS 5571 USB controller> mem 0xe6800000-0xe6800fff irq 9 at device 2.3 
on pci0
usb1: OHCI version 1.0, legacy support
usb1: <SiS 5571 USB controller> on ohci1
usb1: USB revision 1.0
uhub1: SiS OHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub1: 2 ports with 2 removable, self powered
atapci0: <SiS 5591 ATA100 controller> port 0xb800-0xb80f at device 2.5 on pci0
ata0: at 0x1f0 irq 14 on atapci0
ata1: at 0x170 irq 15 on atapci0
pci0: <unknown card> (vendor=0x1039, dev=0x7012) at 2.7 irq 5
rl0: <RealTek 8139 10/100BaseTX> port 0x9800-0x98ff mem 0xe5800000-0xe58000ff 
irq 10 at device 15.0 on pci0
rl0: Ethernet address: 00:50:fc:a6:f9:f1
miibus0: <MII bus> on rl0
rlphy0: <RealTek internal media interface> on miibus0
rlphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
rl1: <RealTek 8139 10/100BaseTX> port 0x9400-0x94ff mem 0xe4000000-0xe40000ff 
irq 12 at device 16.0 on pci0
rl0: reset never completed!
rl1: Ethernet address: ff:ff:ff:ff:ff:ff
rl1: unknown device ID: ffff
device_probe_and_attach: rl1 attach returned 6
pcib1: <SiS 5591 host to AGP bridge> on motherboard
pci2: <PCI bus> on pcib1
orm0: <Option ROM> at iomem 0xc0000-0xcbfff on isa0
fdc0: <NEC 72065B or clone> at port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on isa0
fdc0: FIFO enabled, 8 bytes threshold
atkbdc0: <Keyboard controller (i8042)> at port 0x60,0x64 on isa0
atkbd0: <AT Keyboard> flags 0x1 irq 1 on atkbdc0
kbd0 at atkbd0
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: configured irq 3 not in bitmap of probed irqs 0
ppc0: <Parallel port> at port 0x378-0x37f irq 7 on isa0
ppc0: SMC-like chipset (ECP/EPP/PS2/NIBBLE) in COMPATIBLE mode
ppc0: FIFO with 16/16/16 bytes threshold
plip0: <PLIP network interface> on ppbus0
lpt0: <Printer> on ppbus0
lpt0: Interrupt-driven port
ppi0: <Parallel I/O> on ppbus0
ad0: 114440MB <WDC WD1200JB-00DUA3> [232514/16/63] at ata0-master UDMA100
ad2: 114440MB <WDC WD1200JB-00DUA3> [232514/16/63] at ata1-master UDMA100
acd0: CDROM <ATAPI-CD ROM-DRIVE-52MAX> at ata1-slave PIO4
Mounting root from ufs:/dev/ad0s1a

Notice especially the lines:
  rl1: Ethernet address: ff:ff:ff:ff:ff:ff
  rl1: unknown device ID: ffff

Does these suggest the chip in this particular card has somehow missed out
on its final production programming -- unique ether net address and device ID?

Since the first card seems to work OK  can I assume that the line:
  rl0: reset never completed!
is of little consequence?

To round out the information the following is produced by pciconf -l -v:-

agp0 at pci0:0:0:	class=0x060000 card=0x80791043 chip=0x06501039 rev=0x01 
hdr=0x00
    vendor   = 'Silicon Integrated Systems (SiS)'
    device   = 'SiS 650 Host-to-PCI Bridge'
    class    = bridge
    subclass = HOST-PCI
pcib2 at pci0:1:0:	class=0x060400 card=0x00000000 chip=0x00011039 rev=0x00 
hdr=0x01
    vendor   = 'Silicon Integrated Systems (SiS)'
    device   = 'SiS 530 Virtual PCI-to-PCI bridge (AGP)'
    class    = bridge
    subclass = PCI-PCI
isab0 at pci0:2:0:	class=0x060100 card=0x00000000 chip=0x09611039 rev=0x10 
hdr=0x00
    vendor   = 'Silicon Integrated Systems (SiS)'
    class    = bridge
    subclass = PCI-ISA
ohci0 at pci0:2:2:	class=0x0c0310 card=0x807a1043 chip=0x70011039 rev=0x07 
hdr=0x00
    vendor   = 'Silicon Integrated Systems (SiS)'
    device   = 'SiS5597/8 Universal Serial Bus Controller'
    class    = serial bus
    subclass = USB
ohci1 at pci0:2:3:	class=0x0c0310 card=0x807a1043 chip=0x70011039 rev=0x07 
hdr=0x00
    vendor   = 'Silicon Integrated Systems (SiS)'
    device   = 'SiS5597/8 Universal Serial Bus Controller'
    class    = serial bus
    subclass = USB
atapci0 at pci0:2:5:	class=0x010180 card=0x807a1043 chip=0x55131039 rev=0xd0 
hdr=0x00
    vendor   = 'Silicon Integrated Systems (SiS)'
    device   = 'SiS5513 EIDE Controller (A,B step)'
    class    = mass storage
    subclass = ATA
none0 at pci0:2:7:	class=0x040100 card=0x80721043 chip=0x70121039 rev=0xa0 
hdr=0x00
    vendor   = 'Silicon Integrated Systems (SiS)'
    device   = 'SiS7012 PCI Audio Accelerator'
    class    = multimedia
    subclass = audio
rl0 at pci0:15:0:	class=0x020000 card=0x813910ec chip=0x813910ec rev=0x10 
hdr=0x00
    vendor   = 'Realtek Semiconductor'
    device   = 'RT8139 (A/B/C/8130) Fast Ethernet Adapter'
    class    = network
    subclass = ethernet
none1 at pci0:16:0:	class=0x020000 card=0x813910ec chip=0x813910ec rev=0x10 
hdr=0x00
    vendor   = 'Realtek Semiconductor'
    device   = 'RT8139 (A/B/C/8130) Fast Ethernet Adapter'
    class    = network
    subclass = ethernet
none2 at pci1:0:0:	class=0x030000 card=0x80791043 chip=0x63251039 rev=0x00 
hdr=0x00
    vendor   = 'Silicon Integrated Systems (SiS)'
    device   = 'SiS650/651/740 GUI 2D/3D Accelerator'
    class    = display
    subclass = VGA

Notice 'none1 at pci0:16:0'
According to the man pages the 'none#'  label is assigned to devices
not supported by the kernel, but this seems inconsistent with 'rl0' being 
accepted.

Has anyone else experienced similar problems?


Malcolm Kay 


More information about the freebsd-questions mailing list