Onboard ethernet card not working after update from 9.0-RELEASE to 9.1-RELEASE. First time i made binary update, after i find this problem i made update from src codes with rebuilding everything, it's not helped. If i boot with my old kernel (from 9.0) the card work fine. I made many experiments with building custom kernels and modules, nothing helped me. Ifconfig not list this card. PCI Card D-link work fine all the time. Boot log when module build in the kernel: Jan 29 13:16:15 tyrion kernel: Copyright (c) 1992-2013 The FreeBSD Project. Jan 29 13:16:15 tyrion kernel: Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 Jan 29 13:16:15 tyrion kernel: The Regents of the University of California. All rights reserved. Jan 29 13:16:15 tyrion kernel: FreeBSD is a registered trademark of The FreeBSD Foundation. Jan 29 13:16:15 tyrion kernel: FreeBSD 9.1-STABLE #2 r246019M: Tue Jan 29 12:30:32 MSK 2013 Jan 29 13:16:15 tyrion kernel: root@tyrion:/usr/obj/usr/src/sys/TYRION amd64 Jan 29 13:16:15 tyrion kernel: module_register: module re/miibus already exists! Jan 29 13:16:15 tyrion kernel: Module re/miibus failed to register: 17 Jan 29 13:16:15 tyrion kernel: module_register: module pci/re already exists! Jan 29 13:16:15 tyrion kernel: Module pci/re failed to register: 17 .. Jan 29 13:16:15 tyrion kernel: re0: <RealTek 8168/8111 B/C/CP/D/DP/E/F PCIe Gigabit Ethernet> port 0x2000-0x20ff irq 16 at device 0.0 on pci1 Jan 29 13:16:15 tyrion kernel: re0: Using 1 MSI-X message Jan 29 13:16:15 tyrion kernel: re0: Chip rev. 0x00000000 Jan 29 13:16:15 tyrion kernel: re0: MAC rev. 0x00000000 Jan 29 13:16:15 tyrion kernel: re0: PHY read failed Jan 29 13:16:15 tyrion kernel: re0: attaching PHYs failed .. Log file when i build kernel w/o this module and try to load it with kldload (kernel crashed): Feb 1 23:49:37 tyrion kernel: re0: <RealTek 8168/8111 B/C/CP/D/DP/E PCIe Gigabit Ethernet> port 0x2000-0x20ff irq 16 at device 0.0 on pci1 Feb 1 23:49:37 tyrion kernel: re0: Using 1 MSI-X message Feb 1 23:49:37 tyrion kernel: re0: Chip rev. 0x28000000 Feb 1 23:49:37 tyrion kernel: re0: MAC rev. 0x00000000 Feb 1 23:49:37 tyrion kernel: miibus1: <MII bus> on re0 Feb 1 23:49:37 tyrion kernel: rgephy0: <RTL8169S/8110S/8211 1000BASE-T media interface> PHY 1 on miibus1 Feb 1 23:49:37 tyrion kernel: Feb 1 23:49:37 tyrion kernel: Feb 1 23:49:37 tyrion kernel: Fatal trap 12: page fault while in kernel mode Feb 1 23:49:37 tyrion kernel: cpuid = 1; apic id = 01 Feb 1 23:49:37 tyrion kernel: fault virtual address = 0x0 Feb 1 23:49:37 tyrion kernel: fault code = supervisor read data, page not present Feb 1 23:49:37 tyrion kernel: instruction pointer = 0x20:0xffffffff80881b2d Feb 1 23:49:37 tyrion kernel: stack pointer = 0x28:0xffffff8057fef300 Feb 1 23:49:37 tyrion kernel: frame pointer = 0x28:0xffffff8057fef310 Feb 1 23:49:37 tyrion kernel: code segment = base rx0, limit 0xfffff, type 0x1b Feb 1 23:49:37 tyrion kernel: = DPL 0, pres 1, long 1, def32 0, gran 1 Feb 1 23:49:37 tyrion kernel: processor eflags = interrupt enabled, resume, IOPL = 0 Feb 1 23:49:37 tyrion kernel: current process = 1251 (kldload) Feb 1 23:49:37 tyrion kernel: trap number = 12 Feb 1 23:49:37 tyrion kernel: panic: page fault Feb 1 23:49:37 tyrion kernel: cpuid = 1 Feb 1 23:49:37 tyrion kernel: KDB: stack backtrace: Feb 1 23:49:37 tyrion kernel: #0 0xffffffff8080ce46 at kdb_backtrace+0x66 Feb 1 23:49:37 tyrion kernel: #1 0xffffffff807d6dce at panic+0x1ce Feb 1 23:49:37 tyrion kernel: #2 0xffffffff80b39660 at trap_fatal+0x290 Feb 1 23:49:37 tyrion kernel: #3 0xffffffff80b39998 at trap_pfault+0x1e8 Feb 1 23:49:37 tyrion kernel: #4 0xffffffff80b39f9e at trap+0x3be Feb 1 23:49:37 tyrion kernel: #5 0xffffffff80b2373f at calltrap+0x8 Feb 1 23:49:37 tyrion kernel: #6 0xffffffff80530b55 at rgephy_attach+0x35 Feb 1 23:49:37 tyrion kernel: #7 0xffffffff8080639c at device_attach+0xcc Feb 1 23:49:37 tyrion kernel: #8 0xffffffff80807dda at bus_generic_attach+0x1a Feb 1 23:49:37 tyrion kernel: #9 0xffffffff8052c9b8 at miibus_attach+0xe8 Feb 1 23:49:37 tyrion kernel: #10 0xffffffff8080639c at device_attach+0xcc Feb 1 23:49:37 tyrion kernel: #11 0xffffffff80807dda at bus_generic_attach+0x1a Feb 1 23:49:37 tyrion kernel: #12 0xffffffff8052d08f at mii_attach+0x52f Feb 1 23:49:37 tyrion kernel: #13 0xffffffff81816334 at re_attach+0x1674 Feb 1 23:49:37 tyrion kernel: #14 0xffffffff8080639c at device_attach+0xcc Feb 1 23:49:37 tyrion kernel: #15 0xffffffff80594e5a at pci_driver_added+0xda Feb 1 23:49:37 tyrion kernel: #16 0xffffffff80804a45 at devclass_driver_added+0x75 pciconf list: hostb0@pci0:0:0:0: class=0x060000 card=0x4f4d8086 chip=0xa0008086 rev=0x02 hdr=0x00 vendor = 'Intel Corporation' device = 'N10 Family DMI Bridge' class = bridge subclass = HOST-PCI vgapci0@pci0:0:2:0: class=0x030000 card=0x4f4d8086 chip=0xa0018086 rev=0x02 hdr=0x00 vendor = 'Intel Corporation' device = 'N10 Family Integrated Graphics Controller' class = display subclass = VGA hdac0@pci0:0:27:0: class=0x040300 card=0xd6188086 chip=0x27d88086 rev=0x01 hdr=0x00 vendor = 'Intel Corporation' device = 'N10/ICH 7 Family High Definition Audio Controller' class = multimedia subclass = HDA pcib1@pci0:0:28:0: class=0x060400 card=0x4f4d8086 chip=0x27d08086 rev=0x01 hdr=0x01 vendor = 'Intel Corporation' device = 'N10/ICH 7 Family PCI Express Port 1' class = bridge subclass = PCI-PCI pcib2@pci0:0:28:1: class=0x060400 card=0x4f4d8086 chip=0x27d28086 rev=0x01 hdr=0x01 vendor = 'Intel Corporation' device = 'N10/ICH 7 Family PCI Express Port 2' class = bridge subclass = PCI-PCI pcib3@pci0:0:28:2: class=0x060400 card=0x4f4d8086 chip=0x27d48086 rev=0x01 hdr=0x01 vendor = 'Intel Corporation' device = 'N10/ICH 7 Family PCI Express Port 3' class = bridge subclass = PCI-PCI pcib4@pci0:0:28:3: class=0x060400 card=0x4f4d8086 chip=0x27d68086 rev=0x01 hdr=0x01 vendor = 'Intel Corporation' device = 'N10/ICH 7 Family PCI Express Port 4' class = bridge subclass = PCI-PCI uhci0@pci0:0:29:0: class=0x0c0300 card=0x4f4d8086 chip=0x27c88086 rev=0x01 hdr=0x00 vendor = 'Intel Corporation' device = 'N10/ICH 7 Family USB UHCI Controller' class = serial bus subclass = USB uhci1@pci0:0:29:1: class=0x0c0300 card=0x4f4d8086 chip=0x27c98086 rev=0x01 hdr=0x00 vendor = 'Intel Corporation' device = 'N10/ICH 7 Family USB UHCI Controller' class = serial bus subclass = USB uhci2@pci0:0:29:2: class=0x0c0300 card=0x4f4d8086 chip=0x27ca8086 rev=0x01 hdr=0x00 vendor = 'Intel Corporation' device = 'N10/ICH 7 Family USB UHCI Controller' class = serial bus subclass = USB uhci3@pci0:0:29:3: class=0x0c0300 card=0x4f4d8086 chip=0x27cb8086 rev=0x01 hdr=0x00 vendor = 'Intel Corporation' device = 'N10/ICH 7 Family USB UHCI Controller' class = serial bus subclass = USB ehci0@pci0:0:29:7: class=0x0c0320 card=0x4f4d8086 chip=0x27cc8086 rev=0x01 hdr=0x00 vendor = 'Intel Corporation' device = 'N10/ICH 7 Family USB2 EHCI Controller' class = serial bus subclass = USB pcib5@pci0:0:30:0: class=0x060401 card=0x4f4d8086 chip=0x24488086 rev=0xe1 hdr=0x01 vendor = 'Intel Corporation' device = '82801 Mobile PCI Bridge' class = bridge subclass = PCI-PCI isab0@pci0:0:31:0: class=0x060100 card=0x4f4d8086 chip=0x27bc8086 rev=0x01 hdr=0x00 vendor = 'Intel Corporation' device = 'NM10 Family LPC Controller' class = bridge subclass = PCI-ISA atapci0@pci0:0:31:2: class=0x01018f card=0x4f4d8086 chip=0x27c08086 rev=0x01 hdr=0x00 vendor = 'Intel Corporation' device = 'N10/ICH7 Family SATA IDE Controller' class = mass storage subclass = ATA none0@pci0:0:31:3: class=0x0c0500 card=0x4f4d8086 chip=0x27da8086 rev=0x01 hdr=0x00 vendor = 'Intel Corporation' device = 'N10/ICH 7 Family SMBus Controller' class = serial bus subclass = SMBus none1@pci0:1:0:0: class=0x020000 card=0xd6158086 chip=0x816810ec rev=0x03 hdr=0x00 vendor = 'Realtek Semiconductor Co., Ltd.' device = 'RTL8111/8168B PCI Express Gigabit Ethernet controller' class = network subclass = ethernet skc0@pci0:5:0:0: class=0x020000 card=0x4b011186 chip=0x4b011186 rev=0x11 hdr=0x00 vendor = 'D-Link System Inc' device = 'DGE-530T Gigabit Ethernet Adapter (rev 11)' class = network subclass = ethernet How-To-Repeat: Install 9.1
Responsible Changed From-To: freebsd-amd64->freebsd-bugS reclassify.
Responsible Changed From-To: freebsd-bugS->freebsd-net er, forgot to reassign.
This card should be working now as far as I know. Adding Pyun for commentary.
It seems the ethernet controller is RealTek RTL8168D and re(4) should support that. If recent FreeBSD releases still does not work for the controller, please let us know.
I have the same motherboard and if_re is broken with 9.1-RELEASE and 10.2-RELEASE.
batch change: For bugs that match the following - Status Is In progress AND - Untouched since 2018-01-01. AND - Affects Base System OR Documentation DO: Reset to open status. Note: I did a quick pass but if you are getting this email it might be worthwhile to double check to see if this bug ought to be closed.