amd64/183620: RTL8111/8168B PCIE NIC not detected on any FreeBSD Version

John Baldwin jhb at freebsd.org
Mon Nov 4 22:10:01 UTC 2013


The following reply was made to PR amd64/183620; it has been noted by GNATS.

From: John Baldwin <jhb at freebsd.org>
To: freebsd-amd64 at freebsd.org
Cc: Danny Winn <danny.gabriel.winn at gmail.com>,
 freebsd-gnats-submit at freebsd.org,
 yongari at freebsd.org
Subject: Re: amd64/183620: RTL8111/8168B PCIE NIC not detected on any FreeBSD Version
Date: Mon, 4 Nov 2013 15:06:52 -0500

 On Sunday, November 03, 2013 9:46:18 am Danny Winn wrote:
 > 
 > >Number:         183620
 > >Category:       amd64
 > >Synopsis:       RTL8111/8168B PCIE NIC not detected on any FreeBSD Version
 > >Confidential:   no
 > >Severity:       non-critical
 > >Priority:       low
 > >Responsible:    freebsd-amd64
 > >State:          open
 > >Quarter:        
 > >Keywords:       
 > >Date-Required:
 > >Class:          sw-bug
 > >Submitter-Id:   current-users
 > >Arrival-Date:   Sun Nov 03 14:50:00 UTC 2013
 > >Closed-Date:
 > >Last-Modified:
 > >Originator:     Danny Winn
 > >Release:        8.4, 9.1, 9.2, 10.0-BETA2 (same bug in all releases)
 > >Organization:
 > >Environment:
 > Every version/kernel/environment mentioned above
 > >Description:
 > Hello,
 > 
 > we are trying to install FreeBSD on a computer that uses the NIC mentioned above. The NIC is running under linux without problems, which we've 
 tested for several days transferring several GB of data.
 > 
 > The NIC is neither detected by the FreeBSD installer when attempting to setup the network, nor after the system installation when booting from HD. 
 We've tested FreeBSD 8.x, 9.x and 10.x; same issues with this NIC.
 > 
 > We cannot use a different NIC (this one is onboard. The micro ATX mainboard has no room left for any other device)
 > 
 > pciconf -l -v:
 > 
 > none2 at pci0:3:0:0:    class=0x020000 card=0x81681849 chip=0x816810ec rev=0x0c hdr=0x00
 >     vendor     = 'Realtek Semiconductor Co., Ltd.'
 >     device     = 'RTL8111/8168B PCI Express Gigabit Ethernet controller'
 >     class      = network
 >     subclass   = ethernet
 > 
 > dmesg:
 > 
 > re0: <RealTek 8168/8111 B/C/CP/D/DP/E/F PCIe Gigabit Ethernet> port 0xd000-0xd0ff mem 0xf3204000-0xf3204fff,0xf3200000-0xf3203fff irq 19 at device 
 0.0 on pci3
 > re0: Using 1 MSI-X message
 > re0: Chip rev. 0x4c000000
 > re0: MAC rev. 0x00000000
 > re0: Unknown H/W revision: 0x4c000000
 > device_attach: re0 attach returned 6
 
 It looks like Pyun just merged support for this device into 9.x and 10.x
 today, e.g.:
 
 Log:
   MFC r257305:
     Add preliminary support for RTL8168G, RTL8168GU and RTL8411B.
     RTL8168GU has two variants(GMII and MII) but it uses the same chip
     revision id.  Driver checks PCI device id of controller and
     sets internal capability flag(i.e. jumbo frame and link speed down
     in WOL).
 
 Modified:
   stable/9/sys/dev/re/if_re.c
   stable/9/sys/pci/if_rlreg.h
 
 In particular, it adds support for the hwrev you pasted as an 8168G part:
 
 +#define        RL_HWREV_8168G          0x4C000000
 
 -- 
 John Baldwin


More information about the freebsd-amd64 mailing list