kern/169826: if_re no longer working in 9.x

Bas v.d. Wiel bas at area536.com
Fri Jul 13 14:20:03 UTC 2012


>Number:         169826
>Category:       kern
>Synopsis:       if_re no longer working in 9.x
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Fri Jul 13 14:20:03 UTC 2012
>Closed-Date:
>Last-Modified:
>Originator:     Bas v.d. Wiel
>Release:        9.0-RELEASE
>Organization:
>Environment:
>Description:
When using FreeBSD 8.3 the Realtek Gbit NIC is supported and works properly using if_re. Not so for FreeBSD 9. Here's what I got from dmesg.

Jul 13 13:28:31 vmhost kernel: re0: <RealTek 8168/8111 B/C/CP/D/DP/E PCIe Gigabit Ethernet> port 0xe000-0xe0ff mem 0xf0004000-0xf0004fff,0xf00000000-0xf0003fff irq 16 at device 0.0 on pci3
Jul 13 13:28:31 vmhost kernel: re0: Using 1 MSI-X message
Jul 13 13:28:31 vmhost kernel: re0: turning off MSI enable bit.
Jul 13 13:28:31 vmhost kernel: re0: Chip rev. 0x48000000
Jul 13 13:28:31 vmhost kernel: re0: MAC rev. 0x00000000
Jul 13 13:28:31 vmhost kernel: re0: Unknown H/W revision: 0x48000000
Jul 13 13:28:31 vmhost kernel: re0: device_attach: re0 attach returned 6

The re0 device simply isn't present.

On 8.3 this is what I get from dmesg:


re0: <RealTek 8168/8111 B/C/CP/D/DP/E/F PCIe Gigabit Ethernet> port 0xe000-0xe0ff mem 0xf0004000-0xf0004fff,0xf0000000-0xf0003fff irq 16 at device 0.0 on pci3
re0: Using 1 MSI-X message
re0: turning off MSI enable bit.
re0: Chip rev. 0x48000000
re0: MAC rev. 0x00000000
miibus0: <MII bus> on re0
re0: Ethernet address: c8:60:00:bd:37:65
re0: [ITHREAD]
re0: <RealTek 8168/8111 B/C/CP/D/DP/E/F PCIe Gigabit Ethernet> port 0xe000-0xe0ff mem 0xf0004000-0xf0004fff,0xf0000000-0xf0003fff irq 16 at device 0.0 on pci3
re0: Using 1 MSI-X message
re0: turning off MSI enable bit.
re0: Chip rev. 0x48000000
re0: MAC rev. 0x00000000
miibus0: <MII bus> on re0
re0: Ethernet address: c8:60:00:bd:37:65
re0: [ITHREAD]
re0: link state changed to UP

Sadly I don't have physical access to the machine. It's a root server I rent at Hetzner.de.

>How-To-Repeat:
Install FreeBSD 9 on a device containing this Realtek NIC type.
>Fix:


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


More information about the freebsd-bugs mailing list