Date: Thu, 5 Jun 2003 20:44:07 +0930 From: Malcolm Kay <malcolm.kay@internode.on.net> To: freebsd-questions@freebsd.org Subject: 2nd RealTek NIC Message-ID: <200306052044.07275.malcolm.kay@internode.on.net>
next in thread | raw e-mail | index | archive | help
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 =09The Regents of the University of California. All rights reserved. FreeBSD 4.8-RELEASE #0: Thu Apr 3 10:53:38 GMT 2003 root@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 =3D "GenuineIntel" Id =3D 0xf13 Stepping =3D 3 =20 Features=3D0x3febfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PG= E,MCA,CMOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM> real memory =3D 234864640 (229360K bytes) avail memory =3D 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 devic= e 0.0=20 on pci0 pcib2: <PCI to PCI bridge (vendor=3D1039 device=3D0001)> 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=3D1039 device=3D0961)> at device 2.0 on= pci0 isa0: <ISA bus> on isab0 ohci0: <SiS 5571 USB controller> mem 0xe7000000-0xe7000fff irq 3 at devic= e 2.2=20 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 devic= e 2.3=20 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=3D0x1039, dev=3D0x7012) at 2.7 irq 5 rl0: <RealTek 8139 10/100BaseTX> port 0x9800-0x98ff mem 0xe5800000-0xe580= 00ff=20 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-0xe400= 00ff=20 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=3D0x300> 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 ou= t on its final production programming -- unique ether net address and devic= e 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@pci0:0:0:=09class=3D0x060000 card=3D0x80791043 chip=3D0x06501039 rev= =3D0x01=20 hdr=3D0x00 vendor =3D 'Silicon Integrated Systems (SiS)' device =3D 'SiS 650 Host-to-PCI Bridge' class =3D bridge subclass =3D HOST-PCI pcib2@pci0:1:0:=09class=3D0x060400 card=3D0x00000000 chip=3D0x00011039 re= v=3D0x00=20 hdr=3D0x01 vendor =3D 'Silicon Integrated Systems (SiS)' device =3D 'SiS 530 Virtual PCI-to-PCI bridge (AGP)' class =3D bridge subclass =3D PCI-PCI isab0@pci0:2:0:=09class=3D0x060100 card=3D0x00000000 chip=3D0x09611039 re= v=3D0x10=20 hdr=3D0x00 vendor =3D 'Silicon Integrated Systems (SiS)' class =3D bridge subclass =3D PCI-ISA ohci0@pci0:2:2:=09class=3D0x0c0310 card=3D0x807a1043 chip=3D0x70011039 re= v=3D0x07=20 hdr=3D0x00 vendor =3D 'Silicon Integrated Systems (SiS)' device =3D 'SiS5597/8 Universal Serial Bus Controller' class =3D serial bus subclass =3D USB ohci1@pci0:2:3:=09class=3D0x0c0310 card=3D0x807a1043 chip=3D0x70011039 re= v=3D0x07=20 hdr=3D0x00 vendor =3D 'Silicon Integrated Systems (SiS)' device =3D 'SiS5597/8 Universal Serial Bus Controller' class =3D serial bus subclass =3D USB atapci0@pci0:2:5:=09class=3D0x010180 card=3D0x807a1043 chip=3D0x55131039 = rev=3D0xd0=20 hdr=3D0x00 vendor =3D 'Silicon Integrated Systems (SiS)' device =3D 'SiS5513 EIDE Controller (A,B step)' class =3D mass storage subclass =3D ATA none0@pci0:2:7:=09class=3D0x040100 card=3D0x80721043 chip=3D0x70121039 re= v=3D0xa0=20 hdr=3D0x00 vendor =3D 'Silicon Integrated Systems (SiS)' device =3D 'SiS7012 PCI Audio Accelerator' class =3D multimedia subclass =3D audio rl0@pci0:15:0:=09class=3D0x020000 card=3D0x813910ec chip=3D0x813910ec rev= =3D0x10=20 hdr=3D0x00 vendor =3D 'Realtek Semiconductor' device =3D 'RT8139 (A/B/C/8130) Fast Ethernet Adapter' class =3D network subclass =3D ethernet none1@pci0:16:0:=09class=3D0x020000 card=3D0x813910ec chip=3D0x813910ec r= ev=3D0x10=20 hdr=3D0x00 vendor =3D 'Realtek Semiconductor' device =3D 'RT8139 (A/B/C/8130) Fast Ethernet Adapter' class =3D network subclass =3D ethernet none2@pci1:0:0:=09class=3D0x030000 card=3D0x80791043 chip=3D0x63251039 re= v=3D0x00=20 hdr=3D0x00 vendor =3D 'Silicon Integrated Systems (SiS)' device =3D 'SiS650/651/740 GUI 2D/3D Accelerator' class =3D display subclass =3D VGA Notice 'none1@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= =20 accepted. Has anyone else experienced similar problems? Malcolm Kay=20
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200306052044.07275.malcolm.kay>