Bug 169826 - [re] if_re no longer working in 9.x [regression]
Summary: [re] if_re no longer working in 9.x [regression]
Status: Closed FIXED
Alias: None
Product: Base System
Classification: Unclassified
Component: kern (show other bugs)
Version: 9.0-RELEASE
Hardware: Any Any
: Normal Affects Only Me
Assignee: freebsd-bugs (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-07-13 15:20 UTC by bas
Modified: 2022-12-21 11:47 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description bas 2012-07-13 15:20:03 UTC
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.
Comment 1 Mark Linimon freebsd_committer freebsd_triage 2012-07-16 04:15:41 UTC
Responsible Changed
From-To: freebsd-bugs->freebsd-net

Over to maintainer(s).
Comment 2 Pyun YongHyeon freebsd_committer freebsd_triage 2012-07-18 08:16:40 UTC
State Changed
From-To: open->feedback

9.0-RELEASE came before 8.3-RELEASE so it lacks support for your 
controller. Use 9.1-BETA1 or stable/9 to get working network on 
FreeBSD 9. 


Comment 3 Pyun YongHyeon freebsd_committer freebsd_triage 2012-07-18 08:16:40 UTC
Responsible Changed
From-To: freebsd-net->yongari

Grab.
Comment 4 Eitan Adler freebsd_committer freebsd_triage 2017-12-31 08:01:44 UTC
For bugs matching the following criteria:

Status: In Progress Changed: (is less than) 2014-06-01

Reset to default assignee and clear in-progress tags.

Mail being skipped
Comment 5 bas 2022-12-21 11:47:53 UTC
Fixed in later version of the OS.