Re: amd64/183620: RTL8111/8168B PCIE NIC not detected on any FreeBSD Version
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@pci0:3:0:0:class=0x02 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,0xf320-0xf3203fff irq 19 at device 0.0 on pci3 re0: Using 1 MSI-X message re0: Chip rev. 0x4c00 re0: MAC rev. 0x re0: Unknown H/W revision: 0x4c00 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: +#defineRL_HWREV_8168G 0x4C00 -- John Baldwin ___ freebsd-amd64@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-amd64 To unsubscribe, send any mail to freebsd-amd64-unsubscr...@freebsd.org
Re: amd64/183620: RTL8111/8168B PCIE NIC not detected on any FreeBSD Version
The following reply was made to PR amd64/183620; it has been noted by GNATS. From: John Baldwin j...@freebsd.org To: freebsd-amd64@freebsd.org Cc: Danny Winn danny.gabriel.w...@gmail.com, freebsd-gnats-sub...@freebsd.org, yong...@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@pci0:3:0:0:class=0x02 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,0xf320-0xf3203fff irq 19 at device 0.0 on pci3 re0: Using 1 MSI-X message re0: Chip rev. 0x4c00 re0: MAC rev. 0x re0: Unknown H/W revision: 0x4c00 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: +#defineRL_HWREV_8168G 0x4C00 -- John Baldwin ___ freebsd-amd64@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-amd64 To unsubscribe, send any mail to freebsd-amd64-unsubscr...@freebsd.org
amd64/183620: RTL8111/8168B PCIE NIC not detected on any FreeBSD Version
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@pci0:3:0:0:class=0x02 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,0xf320-0xf3203fff irq 19 at device 0.0 on pci3 re0: Using 1 MSI-X message re0: Chip rev. 0x4c00 re0: MAC rev. 0x re0: Unknown H/W revision: 0x4c00 device_attach: re0 attach returned 6 ifconfig -a: lo0: flags=8049UP,LOOPBACK,RUNNING,MULTICAST metric 0 mtu 16384 options=63RXCSUM,TXCSUM,RXCSUM_IPV6,TXCSUM_IPV6 inet6 ::1 prefixlen 128 inet6 fe80::1%lo0 prefixlen 64 scopeid 0x5 inet 127.0.0.1 netmask 0xff00 nd6 options=21PERFORMNUD,AUTO_LINKLOCAL Even though dmesg shows the device re0, it remains unknown to ifconfig. if_re is already in the generic kernel, so it can't be loaded via kldload as a module, right? How-To-Repeat: 1.) Install any FreeBSD Version: 8.4, 9.1, 9.2, 10.0-BETA2 with this NIC 2.) ifconfig -a shows only the loopback device. Fix: Release-Note: Audit-Trail: Unformatted: ___ freebsd-amd64@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-amd64 To unsubscribe, send any mail to freebsd-amd64-unsubscr...@freebsd.org