re0: 2 link states coalesced

Hans Nieser hans at nieser.net
Tue Jan 24 13:24:28 PST 2006


Hi list,

I have a problem with my RTL8169 Gigabit NIC built into my (apparently 
very uncommon) Clevo D41EV laptop. At boot, when netif tries to set up the 
interface, I get a lot of these messages:

 > re0: 2 link states coalesced
 > re0: link state changed to DOWN
 > re0: 2 link states coalesced
 > re0: link state changed to DOWN
 > re0: 2 link states coalesced
 > re0: link state changed to DOWN

At some point the interface will go UP just at the right time (?) and gets 
configured by dhclient succesfully. Once that is done it seems to works 
fine, giving me 10-11 MiB/s throughput on a 100mbit link.

At first I didn't consider it a real problem, but now that I am trying to 
take my laptop into daily use I am becoming increasingly annoyed by having 
to wait 3 to 6 minutes for the NIC to go 'UP' during the boot process.

Here's how the NIC is identified in pciconf -lv:

 > re0 at pci0:10:0:  class=0x020000 card=0x08001558 chip=0x816910ec rev=0x10 
 > hdr=0x00
 >     vendor   = 'Realtek Semiconductor'
 >     device   = 'RTL8169 Gigabit Ethernet Adapter'
 >     class    = network
 >     subclass = ethernet

This is all on a fresh installation of FreeBSD-6.0-RELEASE updated to p3. 
I have the full dmesg log and pciconf output attached (and mirrored at 
http://www.nieser.net/files/re-problem/ incase the attachments don't come 
through). Does anyone know what causes this, and possibly the solution? 
Should I file a PR for this?

Please let me know if more information is needed.
-------------- next part --------------
Copyright (c) 1992-2005 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 6.0-RELEASE-p3 #1: Mon Jan 23 11:38:20 CET 2006
    root at aphax-laptop.nieser.local:/usr/obj/usr/src/sys/APHAX-LAPTOP
Timecounter "i8254" frequency 1193182 Hz quality 0
CPU: Intel(R) Pentium(R) 4 CPU 3.00GHz (3000.12-MHz 686-class CPU)
  Origin = "GenuineIntel"  Id = 0xf29  Stepping = 9
  Features=0xbfebfbff<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,PBE>
  Features2=0x4400<CNTX-ID,<b14>>
  Hyperthreading: 2 logical CPUs
real memory  = 534708224 (509 MB)
avail memory = 513912832 (490 MB)
ACPI APIC Table: <PTLTD  	 APIC  >
MADT: Forcing active-low polarity and level trigger for SCI
ioapic0 <Version 1.1> irqs 0-23 on motherboard
wlan: mac acl policy registered
npx0: [FAST]
npx0: <math processor> on motherboard
npx0: INT 16 interface
acpi0: <PTLTD   RSDT> on motherboard
acpi0: Power Button (fixed)
pci_link0: <ACPI PCI Link LNKA> irq 11 on acpi0
pci_link1: <ACPI PCI Link LNKB> irq 9 on acpi0
pci_link2: <ACPI PCI Link LNKC> irq 0 on acpi0
pci_link3: <ACPI PCI Link LNKD> irq 11 on acpi0
pci_link4: <ACPI PCI Link LNKE> irq 11 on acpi0
pci_link5: <ACPI PCI Link LNKF> irq 9 on acpi0
pci_link6: <ACPI PCI Link LNKG> irq 9 on acpi0
pci_link7: <ACPI PCI Link LNKH> irq 0 on acpi0
acpi_ec0: <Embedded Controller: GPE 0x17> port 0x62,0x66 on acpi0
Timecounter "ACPI-fast" frequency 3579545 Hz quality 1000
acpi_timer0: <24-bit timer at 3.579545MHz> port 0x8008-0x800b on acpi0
cpu0: <ACPI CPU> on acpi0
acpi_throttle0: <ACPI CPU Throttling> on cpu0
pcib0: <ACPI Host-PCI bridge> port 0xcf8-0xcff on acpi0
pci0: <ACPI PCI bus> on pcib0
agp0: <SiS 648 host to AGP bridge> mem 0xe0000000-0xe7ffffff at device 0.0 on pci0
pcib1: <PCI-PCI bridge> at device 1.0 on pci0
pci1: <PCI bus> on pcib1
pci1: <display, VGA> at device 0.0 (no driver attached)
isab0: <PCI-ISA bridge> at device 2.0 on pci0
isa0: <ISA bus> on isab0
fwohci0: <SiS 7007> mem 0xe8000000-0xe8000fff irq 17 at device 2.3 on pci0
fwohci0: OHCI version 1.0 (ROM=1)
fwohci0: No. of Isochronous channels is 4.
fwohci0: EUI64 00:90:f5:00:00:14:d7:28
fwohci0: Phy 1394a available S400, 2 ports.
fwohci0: Link S400, max_rec 2048 bytes.
firewire0: <IEEE1394(FireWire) bus> on fwohci0
sbp0: <SBP-2/SCSI over FireWire> on firewire0
fwohci0: Initiate bus reset
fwohci0: node_id=0xc000ffc0, gen=1, CYCLEMASTER mode
firewire0: 1 nodes, maxhop <= 0, cable IRM = 0 (me)
firewire0: bus manager 0 (me)
atapci0: <SiS 962/963 UDMA133 controller> port 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0x1000-0x100f at device 2.5 on pci0
ata0: <ATA channel 0> on atapci0
ata1: <ATA channel 1> on atapci0
pci0: <simple comms, generic modem> at device 2.6 (no driver attached)
pcm0: <SiS 7012> port 0x1c00-0x1cff,0x1800-0x187f at device 2.7 on pci0
pcm0: [GIANT-LOCKED]
pcm0: <Avance Logic ALC650 AC97 Codec>
ohci0: <SiS 5571 USB controller> mem 0xe8001000-0xe8001fff irq 20 at device 3.0 on pci0
ohci0: [GIANT-LOCKED]
usb0: OHCI version 1.0, legacy support
usb0: SMM does not respond, resetting
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 0xe8002000-0xe8002fff irq 21 at device 3.1 on pci0
ohci1: [GIANT-LOCKED]
usb1: OHCI version 1.0, legacy support
usb1: SMM does not respond, resetting
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
ohci2: <SiS 5571 USB controller> mem 0xe8003000-0xe8003fff irq 22 at device 3.2 on pci0
ohci2: [GIANT-LOCKED]
usb2: OHCI version 1.0, legacy support
usb2: <SiS 5571 USB controller> on ohci2
usb2: USB revision 1.0
uhub2: SiS OHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub2: 2 ports with 2 removable, self powered
ehci0: <EHCI (generic) USB 2.0 controller> mem 0xe8004000-0xe8004fff at device 3.3 on pci0
ehci0: [GIANT-LOCKED]
usb3: EHCI version 1.0
usb3: companion controllers, 2 ports each: usb0 usb1 usb2
usb3: <EHCI (generic) USB 2.0 controller> on ehci0
usb3: USB revision 2.0
uhub3: SiS EHCI root hub, class 9/0, rev 2.00/1.00, addr 1
uhub3: 6 ports with 6 removable, self powered
ugen0: Generic USB Storage Device, rev 2.00/1.00, addr 2
re0: <RealTek 8169S Single-chip Gigabit Ethernet> port 0x2000-0x20ff mem 0xe8005000-0xe80050ff irq 19 at device 10.0 on pci0
miibus0: <MII bus> on re0
rgephy0: <RTL8169S/8110S media interface> on miibus0
rgephy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseTX, 1000baseTX-FDX, auto
re0: Ethernet address: 00:90:f5:28:d7:14
cbb0: <ENE CB1410 PCI-CardBus Bridge> mem 0x80000000-0x80000fff irq 18 at device 12.0 on pci0
cardbus0: <CardBus bus> on cbb0
pccard0: <16-bit PCCard bus> on cbb0
acpi_button0: <Power Button> on acpi0
acpi_button1: <Sleep Button> on acpi0
acpi_acad0: <AC Adapter> on acpi0
battery0: <ACPI Control Method Battery> on acpi0
acpi_lid0: <Control Method Lid Switch> on acpi0
acpi_tz0: <Thermal Zone> on acpi0
atkbdc0: <Keyboard controller (i8042)> port 0x60,0x64 irq 1 on acpi0
atkbd0: <AT Keyboard> irq 1 on atkbdc0
kbd0 at atkbd0
atkbd0: [GIANT-LOCKED]
psm0: <PS/2 Mouse> irq 12 on atkbdc0
psm0: [GIANT-LOCKED]
psm0: model GlidePoint, device ID 0
sio0: <16550A-compatible COM port> port 0x3f8-0x3ff irq 4 flags 0x10 on acpi0
sio0: type 16550A
sio1: <Generic IRDA-compatible device> port 0x2f8-0x2ff irq 3 drq 0 on acpi0
sio1: type 16550A
ppc0: <ECP parallel printer port> port 0x378-0x37f,0x778-0x77f irq 7 drq 3 on acpi0
ppc0: SMC-like chipset (ECP/EPP/PS2/NIBBLE) in COMPATIBLE mode
ppc0: FIFO with 16/16/8 bytes threshold
ppbus0: <Parallel port bus> on ppc0
lpt0: <Printer> on ppbus0
lpt0: Interrupt-driven port
ppi0: <Parallel I/O> on ppbus0
pmtimer0 on isa0
orm0: <ISA Option ROMs> at iomem 0xc0000-0xcffff,0xdc000-0xdffff on isa0
sc0: <System console> at flags 0x100 on isa0
sc0: VGA <16 virtual consoles, flags=0x300>
vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
ugen1: Z-Star Corp. PC Camera, rev 1.10/1.00, addr 2
ums0: Logitech Optical USB Mouse, rev 2.00/3.40, addr 2, iclass 3/1
ums0: 3 buttons and Z dir.
Timecounter "TSC" frequency 3000121856 Hz quality 800
Timecounters tick every 1.000 msec
ral0: <Ralink Technology RT2500> mem 0x88000000-0x88001fff irq 18 at device 0.0 on cardbus0
ral0: MAC/BBP RT2560 (rev 0x04), RF RT2525
ral0: Ethernet address: 00:11:50:15:ab:f8
ad0: 57231MB <HTS726060M9AT00 MH4OA68A> at ata0-master UDMA100
acd0: CDRW <QSI CD-RW/DVD-ROM SBW242B/UX51> at ata1-master UDMA33
Trying to mount root from ufs:/dev/ad0s2a
re0: 2 link states coalesced
re0: 2 link states coalesced
re0: 2 link states coalesced
re0: 2 link states coalesced
re0: 2 link states coalesced
re0: 2 link states coalesced
re0: 2 link states coalesced
re0: link state changed to DOWN
re0: 2 link states coalesced
re0: link state changed to DOWN
re0: 2 link states coalesced
re0: link state changed to DOWN
re0: link state changed to UP
re0: link state changed to DOWN
re0: link state changed to UP
re0: link state changed to DOWN
re0: link state changed to UP
re0: link state changed to DOWN
re0: link state changed to UP
re0: link state changed to DOWN
re0: link state changed to UP
re0: link state changed to DOWN
re0: link state changed to UP
re0: link state changed to DOWN
re0: link state changed to UP
re0: link state changed to DOWN
re0: link state changed to UP
re0: link state changed to DOWN
re0: link state changed to UP
ral0: link state changed to UP
ral0: link state changed to DOWN
ral0: link state changed to UP
-------------- next part --------------
agp0 at pci0:0:0:	class=0x060000 card=0x04801558 chip=0x06481039 rev=0x51 hdr=0x00
    vendor   = 'Silicon Integrated Systems (SiS)'
    device   = 'SiS648MX Host-to-PCI Bridge'
    class    = bridge
    subclass = HOST-PCI
pcib1 at pci0:1:0:	class=0x060400 card=0x00000000 chip=0x00031039 rev=0x00 hdr=0x01
    vendor   = 'Silicon Integrated Systems (SiS)'
    device   = 'SiS648FX Virtual PCI to PCI Bridge (AGP)'
    class    = bridge
    subclass = PCI-PCI
isab0 at pci0:2:0:	class=0x060100 card=0x00000000 chip=0x00081039 rev=0x14 hdr=0x00
    vendor   = 'Silicon Integrated Systems (SiS)'
    device   = 'SiS PCI to ISA Bridge (LPC Bridge)'
    class    = bridge
    subclass = PCI-ISA
fwohci0 at pci0:2:3:	class=0x0c0010 card=0x04801558 chip=0x70071039 rev=0x00 hdr=0x00
    vendor   = 'Silicon Integrated Systems (SiS)'
    device   = 'SiS OHCI Compliant FireWire Controller'
    class    = serial bus
    subclass = FireWire
atapci0 at pci0:2:5:	class=0x01018a card=0x04801558 chip=0x55131039 rev=0x00 hdr=0x00
    vendor   = 'Silicon Integrated Systems (SiS)'
    device   = 'SiS5513 EIDE Controller (A,B step)'
    class    = mass storage
    subclass = ATA
none0 at pci0:2:6:	class=0x070300 card=0x42011558 chip=0x70131039 rev=0xa0 hdr=0x00
    vendor   = 'Silicon Integrated Systems (SiS)'
    device   = 'SiS7013 sharp actius rd10 _ modem 56k'
    class    = simple comms
    subclass = generic modem
pcm0 at pci0:2:7:	class=0x040100 card=0x04801558 chip=0x70121039 rev=0xa0 hdr=0x00
    vendor   = 'Silicon Integrated Systems (SiS)'
    device   = 'SiS7013 PCI Audio Accelerator'
    class    = multimedia
    subclass = audio
ohci0 at pci0:3:0:	class=0x0c0310 card=0x04801558 chip=0x70011039 rev=0x0f hdr=0x00
    vendor   = 'Silicon Integrated Systems (SiS)'
    device   = 'SiS5597/8 Universal Serial Bus Controller'
    class    = serial bus
    subclass = USB
ohci1 at pci0:3:1:	class=0x0c0310 card=0x04801558 chip=0x70011039 rev=0x0f hdr=0x00
    vendor   = 'Silicon Integrated Systems (SiS)'
    device   = 'SiS5597/8 Universal Serial Bus Controller'
    class    = serial bus
    subclass = USB
ohci2 at pci0:3:2:	class=0x0c0310 card=0x04801558 chip=0x70011039 rev=0x0f hdr=0x00
    vendor   = 'Silicon Integrated Systems (SiS)'
    device   = 'SiS5597/8 Universal Serial Bus Controller'
    class    = serial bus
    subclass = USB
ehci0 at pci0:3:3:	class=0x0c0320 card=0x04801558 chip=0x70021039 rev=0x00 hdr=0x00
    vendor   = 'Silicon Integrated Systems (SiS)'
    device   = 'SiS7002 USB 2.0 Enhanced Host Controller'
    class    = serial bus
    subclass = USB
re0 at pci0:10:0:	class=0x020000 card=0x08001558 chip=0x816910ec rev=0x10 hdr=0x00
    vendor   = 'Realtek Semiconductor'
    device   = 'RTL8169 Gigabit Ethernet Adapter'
    class    = network
    subclass = ethernet
cbb0 at pci0:12:0:	class=0x060700 card=0x04801558 chip=0x14101524 rev=0x01 hdr=0x02
    vendor   = 'ENE Technology Inc'
    device   = 'CB-1420 CardBus Controller'
    class    = bridge
    subclass = PCI-CardBus
none1 at pci1:0:0:	class=0x030000 card=0x05141558 chip=0x4e501002 rev=0x00 hdr=0x00
    vendor   = 'ATI Technologies Inc'
    device   = 'Mobility Radeon 9700 (M10 NP) (RV350)'
    class    = display
    subclass = VGA
ral0 at pci2:0:0:	class=0x028000 card=0x701a1799 chip=0x02011814 rev=0x01 hdr=0x00
    vendor   = 'Ralink Technology, Corp'
    device   = 'Ralink RT2500 802.11 CardBus Reference Card'
    class    = network


More information about the freebsd-net mailing list