FreeBSD 7.1 Breaks re and rl Network Interface Drivers

Gavin Stone-Tolcher g.stone-tolcher at its.uq.edu.au
Sun Mar 8 22:02:10 PDT 2009


> Have you tried re(4) in HEAD?
> I had one report that re(4) in HEAD still does not fix the issue so
> I posted a possible workaround for that. Unfortunately he didn't
> report back so I don't know whether it was right workaround or not. 
> If re(4) in HEAD does not fix the issue, would you try attached
> patch and let me know how it goes?

Hi, Just some more feedback on your patch.
I have a Jetway J7F4K1G2E board with dual embedded 
RealteK RTL8110SC. I tried using the 19 January 2009 jkim 
patches:

> > >  > http://people.freebsd.org/~jkim/re/re.stable2.diff

And also tried using what I believe are same changes he made
to HEAD via if_re.c, if_rl.c and if_rlreg.h(187483), and
still had issues with the controllers at system startup.

I have been using your patch above originally proffered on 
Feb 13 since Feb 18 and the system has been working fine 
since then. 

controllers:

re0 at pci0:0:9:0: class=0x020000 card=0x10ec16f3 chip=0x816710ec rev=0x10
hdr=0x00
    vendor     = 'Realtek Semiconductor'
    device     = 'RTL8169/8110 Family Gigabit Ethernet NIC'
    class      = network
    subclass   = ethernet
re1 at pci0:0:11:0:        class=0x020000 card=0x10ec16f3 chip=0x816710ec
rev=0x10 hdr=0x00
    vendor     = 'Realtek Semiconductor'
    device     = 'RTL8169/8110 Family Gigabit Ethernet NIC'
    class      = network
    subclass   = ethernet

re0: <RealTek 8169SC/8110SC Single-chip Gigabit Ethernet> port
0xf000-0xf0ff mem 0xfdfff000-0xfdfff0ff irq 18 at device 9.0 on pci0
re0: Chip rev. 0x18000000
re0: MAC rev. 0x00000000
miibus0: <MII bus> on re0
rgephy0: <RTL8169S/8110S/8211B media interface> PHY 1 on miibus0
rgephy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT,
1000baseT-FDX, auto
re0: Ethernet address: 00:30:18:a6:26:ff
re0: [FILTER]

re1: <RealTek 8169SC/8110SC Single-chip Gigabit Ethernet> port
0xf200-0xf2ff mem 0xfdffe000-0xfdffe0ff irq 19 at device 11.0 on pci0
re1: Chip rev. 0x18000000
re1: MAC rev. 0x00000000
miibus1: <MII bus> on re1
rgephy1: <RTL8169S/8110S/8211B media interface> PHY 1 on miibus1
rgephy1:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT,
1000baseT-FDX, auto
re1: Ethernet address: 00:30:18:a6:27:00
re1: [FILTER]


Cheers,
Gavin Stone-Tolcher                    g.stone-tolcher at its.uq.edu.au
Incident Response Team               Information Technology Services
The University of Queensland                  Phone: +61 7 336 54407
Queensland 4072    AUSTRALIA                    Fax,: +61 7 336 57539


More information about the freebsd-stable mailing list