Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 12 Feb 2013 16:16:07 GMT
From:      Yvan Rodrigues <yvan+freebsd@redcell.ca>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   i386/176073: Update from 9.0-RELEASE-p3 to 9.1-RELEASE-p0 "breaks" network interface
Message-ID:  <201302121616.r1CGG7oe097702@red.freebsd.org>
Resent-Message-ID: <201302121620.r1CGK0HH015932@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         176073
>Category:       i386
>Synopsis:       Update from 9.0-RELEASE-p3 to 9.1-RELEASE-p0 "breaks" network interface
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-i386
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue Feb 12 16:20:00 UTC 2013
>Closed-Date:
>Last-Modified:
>Originator:     Yvan Rodrigues
>Release:        9.0-RELEASE-p3 i386
>Organization:
Red Cell Innovation Inc.
>Environment:
FreeBSD henry 9.0-RELEASE-p3 FreeBSD 9.0-RELEASE-p3 #0: Tue Jun 12 01:47:53 UTC 2012     root@i386-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC  i386
>Description:
I discovered this problem while performing a routine binary upgrade from 9.0-RELEASE-p3 to 9.1-RELEASE-p0. I checked UPDATING and there were no warnings about known issues relating to my NIC.

freebsd-update -r 9.1-RELEASE upgrade
freebsd-update install (reboot)
freebsd-update install

After the reboot my primary network interface em0 reported "no carrier". To make a long story short, the interface previously known as em1 was now em0 and the interface previously known as em0 was no longer enumerated.

Scrolling back through the console messages showed:

em0: Setup of Shared code failed
device_attach: em0 attach returned 6

pciconf -vl showed that the interface previously enumeraed as em0 was now none0

I have read about other similar issues by other people in the forums, but not necessarily with my NIC (Intel Pro/1000). I think the common denominator may be the chipset. As this is a leased server in a datacentre I don't have much to go on except that it is a SuperMicro PDSBM which appears to use the Intel 946GZ
(Lakeport-G). Perhaps something to do with a pci-related driver has changed.

The following is the console log from the first boot after upgrading.

Feb  5 16:54:11 henry reboot: rebooted by yvan
Feb  5 16:54:11 henry syslogd: exiting on signal 15
Feb  5 16:55:37 henry syslogd: kernel boot file is /boot/kernel/kernel
Feb  5 16:55:37 henry kernel: Copyright (c) 1992-2012 The FreeBSD Project.
Feb  5 16:55:37 henry kernel: Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
Feb  5 16:55:37 henry kernel: The Regents of the University of California. All rights reserved.
Feb  5 16:55:37 henry kernel: FreeBSD is a registered trademark of The FreeBSD Foundation.
Feb  5 16:55:37 henry kernel: FreeBSD 9.1-RELEASE #0 r243826: Tue Dec  4 06:55:39 UTC 2012
Feb  5 16:55:37 henry kernel: root@obrian.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC i386
Feb  5 16:55:37 henry kernel: CPU: Intel(R) Celeron(R) CPU        E1400  @ 2.00GHz (1995.05-MHz 686-class CPU)
Feb  5 16:55:37 henry kernel: Origin = "GenuineIntel"  Id = 0x6fd  Family = 6  Model = f  Stepping = 13
Feb  5 16:55:37 henry kernel: Features=0xbfebfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE>
Feb  5 16:55:37 henry kernel: Features2=0xe39d<SSE3,DTES64,MON,DS_CPL,EST,TM2,SSSE3,CX16,xTPR,PDCM>
Feb  5 16:55:37 henry kernel: AMD Features=0x20100000<NX,LM>
Feb  5 16:55:37 henry kernel: AMD Features2=0x1<LAHF>
Feb  5 16:55:37 henry kernel: TSC: P-state invariant, performance statistics
Feb  5 16:55:37 henry kernel: real memory  = 4294967296 (4096 MB)
Feb  5 16:55:37 henry kernel: avail memory = 3131387904 (2986 MB)
Feb  5 16:55:37 henry kernel: Event timer "LAPIC" quality 400
Feb  5 16:55:37 henry kernel: ACPI APIC Table: <PTLTD    APIC  >
Feb  5 16:55:37 henry kernel: FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs
Feb  5 16:55:37 henry kernel: FreeBSD/SMP: 1 package(s) x 2 core(s)
Feb  5 16:55:37 henry kernel: cpu0 (BSP): APIC ID:  0
Feb  5 16:55:37 henry kernel: cpu1 (AP): APIC ID:  1
Feb  5 16:55:37 henry kernel: ioapic0 <Version 2.0> irqs 0-23 on motherboard
Feb  5 16:55:37 henry kernel: kbd1 at kbdmux0
Feb  5 16:55:37 henry kernel: ctl: CAM Target Layer loaded
Feb  5 16:55:37 henry kernel: acpi0: <PTLTD   RSDT> on motherboard
Feb  5 16:55:37 henry kernel: acpi0: Power Button (fixed)
Feb  5 16:55:37 henry kernel: cpu0: <ACPI CPU> on acpi0
Feb  5 16:55:37 henry kernel: cpu1: <ACPI CPU> on acpi0
Feb  5 16:55:37 henry kernel: atrtc0: <AT realtime clock> port 0x70-0x71 irq 8 on acpi0
Feb  5 16:55:37 henry kernel: Event timer "RTC" frequency 32768 Hz quality 0
Feb  5 16:55:37 henry kernel: attimer0: <AT timer> port 0x40-0x43,0x50-0x53 irq 0 on acpi0
Feb  5 16:55:37 henry kernel: Timecounter "i8254" frequency 1193182 Hz quality 0
Feb  5 16:55:37 henry kernel: Event timer "i8254" frequency 1193182 Hz quality 100
Feb  5 16:55:37 henry kernel: Timecounter "ACPI-fast" frequency 3579545 Hz quality 900
Feb  5 16:55:37 henry kernel: acpi_timer0: <24-bit timer at 3.579545MHz> port 0x1008-0x100b on acpi0
Feb  5 16:55:37 henry kernel: pcib0: <ACPI Host-PCI bridge> port 0xcf8-0xcff on acpi0
Feb  5 16:55:37 henry kernel: pci0: <ACPI PCI bus> on pcib0
Feb  5 16:55:37 henry kernel: vgapci0: <VGA-compatible display> port 0x30c0-0x30c7 mem 0xd0000000-0xd00fffff,0xc0000000-0xcfffffff irq 16 at device 2.0 on pci0
Feb  5 16:55:37 henry kernel: agp0: <Intel 946GZ SVGA controller> on vgapci0
Feb  5 16:55:37 henry kernel: agp0: aperture size is 256M, detected 7676k stolen memory
Feb  5 16:55:37 henry kernel: pcib1: <ACPI PCI-PCI bridge> irq 16 at device 28.0 on pci0
Feb  5 16:55:37 henry kernel: pci1: <ACPI PCI bus> on pcib1
Feb  5 16:55:37 henry kernel: pcib2: <ACPI PCI-PCI bridge> irq 16 at device 28.4 on pci0
Feb  5 16:55:37 henry kernel: pcib2: failed to allocate initial memory window: 0xd0100000-0xd01fffff
Feb  5 16:55:37 henry kernel: pci2: <ACPI PCI bus> on pcib2
Feb  5 16:55:37 henry kernel: em0: <Intel(R) PRO/1000 Network Connection 7.3.2> port 0x4000-0x401f irq 16 at device 0.0 on pci2
Feb  5 16:55:37 henry kernel: em0: Using an MSI interrupt
Feb  5 16:55:37 henry kernel: em0: Setup of Shared code failed
Feb  5 16:55:37 henry kernel: device_attach: em0 attach returned 6
Feb  5 16:55:37 henry kernel: pcib3: <ACPI PCI-PCI bridge> irq 17 at device 28.5 on pci0
Feb  5 16:55:37 henry kernel: pcib3: failed to allocate initial memory window: 0xd0200000-0xd02fffff
Feb  5 16:55:37 henry kernel: pci3: <ACPI PCI bus> on pcib3
Feb  5 16:55:37 henry kernel: em0: <Intel(R) PRO/1000 Network Connection 7.3.2> port 0x5000-0x501f irq 17 at device 0.0 on pci3
Feb  5 16:55:37 henry kernel: em0: Using an MSI interrupt
Feb  5 16:55:37 henry kernel: em0: Ethernet address: 00:30:48:b0:ce:29
Feb  5 16:55:37 henry kernel: uhci0: <Intel 82801G (ICH7) USB controller USB-A> port 0x3000-0x301f irq 16 at device 29.0 on pci0
Feb  5 16:55:37 henry kernel: usbus0 on uhci0
Feb  5 16:55:37 henry kernel: uhci1: <Intel 82801G (ICH7) USB controller USB-B> port 0x3020-0x303f irq 17 at device 29.1 on pci0
Feb  5 16:55:37 henry kernel: usbus1 on uhci1
Feb  5 16:55:37 henry kernel: uhci2: <Intel 82801G (ICH7) USB controller USB-C> port 0x3040-0x305f irq 18 at device 29.2 on pci0
Feb  5 16:55:37 henry kernel: usbus2 on uhci2
Feb  5 16:55:37 henry kernel: uhci3: <Intel 82801G (ICH7) USB controller USB-D> port 0x3060-0x307f irq 19 at device 29.3 on pci0
Feb  5 16:55:37 henry kernel: usbus3 on uhci3
Feb  5 16:55:37 henry kernel: ehci0: <Intel 82801GB/R (ICH7) USB 2.0 controller> mem 0xd0500000-0xd05003ff irq 16 at device 29.7 on pci0
Feb  5 16:55:37 henry kernel: usbus4: EHCI version 1.0
Feb  5 16:55:37 henry kernel: usbus4 on ehci0
Feb  5 16:55:37 henry kernel: pcib4: <ACPI PCI-PCI bridge> at device 30.0 on pci0
Feb  5 16:55:37 henry kernel: pci4: <ACPI PCI bus> on pcib4
Feb  5 16:55:37 henry kernel: isab0: <PCI-ISA bridge> at device 31.0 on pci0
Feb  5 16:55:37 henry kernel: isa0: <ISA bus> on isab0
Feb  5 16:55:37 henry kernel: atapci0: <Intel ICH7 UDMA100 controller> port 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0x30a0-0x30af at device 31.1 on pci0
Feb  5 16:55:37 henry kernel: ata0: <ATA channel> at channel 0 on atapci0
Feb  5 16:55:37 henry kernel: ahci0: <Intel ICH7 AHCI SATA controller> port 0x30f0-0x30f7,0x30e4-0x30e7,0x30e8-0x30ef,0x30e0-0x30e3,0x30b0-0x30bf mem 0xd0500400-0xd05007ff irq$
Feb  5 16:55:37 henry kernel: ahci0: AHCI v1.10 with 4 3Gbps ports, Port Multiplier not supported
Feb  5 16:55:37 henry kernel: ahcich0: <AHCI channel> at channel 0 on ahci0
Feb  5 16:55:37 henry kernel: ahcich1: <AHCI channel> at channel 1 on ahci0
Feb  5 16:55:37 henry kernel: ahcich2: <AHCI channel> at channel 2 on ahci0
Feb  5 16:55:37 henry kernel: ahcich3: <AHCI channel> at channel 3 on ahci0
Feb  5 16:55:37 henry kernel: pci0: <serial bus, SMBus> at device 31.3 (no driver attached)
Feb  5 16:55:37 henry kernel: acpi_button0: <Power Button> on acpi0
Feb  5 16:55:37 henry kernel: atkbdc0: <Keyboard controller (i8042)> port 0x60,0x64 irq 1 on acpi0
Feb  5 16:55:37 henry kernel: atkbd0: <AT Keyboard> irq 1 on atkbdc0
Feb  5 16:55:37 henry kernel: kbd0 at atkbd0
Feb  5 16:55:37 henry kernel: atkbd0: [GIANT-LOCKED]
Feb  5 16:55:37 henry kernel: uart0: <16550 or compatible> port 0x3f8-0x3ff irq 4 flags 0x10 on acpi0
Feb  5 16:55:37 henry kernel: uart1: <16550 or compatible> port 0x2f8-0x2ff irq 3 on acpi0
Feb  5 16:55:37 henry kernel: pmtimer0 on isa0
Feb  5 16:55:37 henry kernel: orm0: <ISA Option ROMs> at iomem 0xc0000-0xcafff,0xcb000-0xcbfff pnpid ORM0000 on isa0
Feb  5 16:55:37 henry kernel: sc0: <System console> at flags 0x100 on isa0
Feb  5 16:55:37 henry kernel: sc0: VGA <16 virtual consoles, flags=0x300>
Feb  5 16:55:37 henry kernel: vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
Feb  5 16:55:37 henry kernel: ppc0: parallel port not found.
Feb  5 16:55:37 henry kernel: est0: <Enhanced SpeedStep Frequency Control> on cpu0
Feb  5 16:55:37 henry kernel: p4tcc0: <CPU Frequency Thermal Control> on cpu0
Feb  5 16:55:37 henry kernel: est1: <Enhanced SpeedStep Frequency Control> on cpu1
Feb  5 16:55:37 henry kernel: p4tcc1: <CPU Frequency Thermal Control> on cpu1
Feb  5 16:55:37 henry kernel: Timecounters tick every 1.000 msec
Feb  5 16:55:37 henry kernel: usbus0: 12Mbps Full Speed USB v1.0
Feb  5 16:55:37 henry kernel: usbus1: 12Mbps Full Speed USB v1.0
Feb  5 16:55:37 henry kernel: usbus2: 12Mbps Full Speed USB v1.0
Feb  5 16:55:37 henry kernel: usbus3: 12Mbps Full Speed USB v1.0
Feb  5 16:55:37 henry kernel: usbus4: 480Mbps High Speed USB v2.0
Feb  5 16:55:37 henry kernel: ugen0.1: <Intel> at usbus0
Feb  5 16:55:37 henry kernel: ata0: DMA limited to UDMA33, controller found non-ATA66 cable
Feb  5 16:55:37 henry kernel: uhub0: <Intel UHCI root HUB, class 9/0, rev 1.00/1.00, addr 1> on usbus0
Feb  5 16:55:37 henry kernel: ugen1.1: <Intel> at usbus1
Feb  5 16:55:37 henry kernel: uhub1: <Intel UHCI root HUB, class 9/0, rev 1.00/1.00, addr 1> on usbus1
Feb  5 16:55:37 henry kernel: ugen2.1: <Intel> at usbus2
Feb  5 16:55:37 henry kernel: uhub2: <Intel UHCI root HUB, class 9/0, rev 1.00/1.00, addr 1> on usbus2
Feb  5 16:55:37 henry kernel: ugen3.1: <Intel> at usbus3
Feb  5 16:55:37 henry kernel: uhub3: <Intel UHCI root HUB, class 9/0, rev 1.00/1.00, addr 1> on usbus3
Feb  5 16:55:37 henry kernel: ugen4.1: <Intel> at usbus4
Feb  5 16:55:37 henry kernel: uhub4: <Intel EHCI root HUB, class 9/0, rev 2.00/1.00, addr 1> on usbus4
Feb  5 16:55:37 henry kernel: uhub0: 2 ports with 2 removable, self powered
Feb  5 16:55:37 henry kernel: uhub1: 2 ports with 2 removable, self powered
Feb  5 16:55:37 henry kernel: uhub2: 2 ports with 2 removable, self powered
Feb  5 16:55:37 henry kernel: uhub3: 2 ports with 2 removable, self powered
Feb  5 16:55:37 henry kernel: uhub4: 8 ports with 8 removable, self powered
Feb  5 16:55:37 henry kernel: ada0 at ata0 bus 0 scbus0 target 0 lun 0
Feb  5 16:55:37 henry kernel: ada0: <WDC WD1600AAJB-56WRA0 58.01H58> ATA-8 device
Feb  5 16:55:37 henry kernel: ada0: 33.300MB/s transfers (UDMA2, PIO 8192bytes)
Feb  5 16:55:37 henry kernel: ada0: 152627MB (312581808 512 byte sectors: 16H 63S/T 16383C)
Feb  5 16:55:37 henry kernel: ada0: Previously was known as ad0
Feb  5 16:55:37 henry kernel: ada1 at ata0 bus 0 scbus0 target 1 lun 0
Feb  5 16:55:37 henry kernel: ada1: <WDC WD1600AAJB-00WRA0 58.01H58> ATA-8 device
Feb  5 16:55:37 henry kernel: ada1: 100.000MB/s transfers (UDMA5, PIO 8192bytes)
Feb  5 16:55:37 henry kernel: ada1: 152627MB (312581808 512 byte sectors: 16H 63S/T 16383C)
Feb  5 16:55:37 henry kernel: ada1: Previously was known as ad1
Feb  5 16:55:37 henry kernel: SMP: AP CPU #1 Launched!
Feb  5 16:55:37 henry kernel: Timecounter "TSC-low" frequency 15586297 Hz quality 1000
Feb  5 16:55:37 henry kernel: GEOM_MIRROR: Device mirror/gm0 launched (2/2).
Feb  5 16:55:37 henry kernel: GEOM_PART: integrity check failed (mirror/gm0, MBR)
Feb  5 16:55:37 henry kernel: GEOM: mirror/gm0s1: geometry does not match label (16h,63s != 255h,63s).
Feb  5 16:55:37 henry kernel: Trying to mount root from ufs:/dev/mirror/gm0s1a [rw]...
Feb  5 16:55:38 henry named[1106]: starting BIND 9.8.1-P1 -t /var/named -u bind
Feb  5 16:55:38 henry named[1106]: built with '--prefix=/usr' '--infodir=/usr/share/info' '--mandir=/usr/share/man' '--enable-threads' '--enable-getifaddrs' '--disable-linux-c$
Feb  5 16:55:38 henry named[1106]: command channel listening on 127.0.0.1#953
Feb  5 16:55:39 henry named[1106]: running
Feb  5 16:55:39 henry kernel: .
Feb  5 16:55:39 henry ntpd[1271]: ntpd 4.2.4p5-a (1)
Feb  5 16:55:40 henry root: /etc/rc: WARNING: /usr/local/etc/smartd.conf is not readable.
Feb  5 16:55:40 henry root: /etc/rc: WARNING: failed precmd routine for smartd
Feb  5 16:55:40 henry kernel: cannot start jail "tomato":
Feb  5 16:55:41 henry kernel: .
Feb  5 16:55:47 henry ntpd_initres[1709]: host name not found: 0.CA.pool.ntp.org
Feb  5 16:55:47 henry ntpd_initres[1709]: host name not found: 1.CA.pool.ntp.org
Feb  5 16:55:47 henry ntpd_initres[1709]: host name not found: 2.CA.pool.ntp.org
Feb  5 16:57:16 henry ntpd_initres[1709]: host name not found: 0.CA.pool.ntp.org
Feb  5 16:57:16 henry ntpd_initres[1709]: host name not found: 1.CA.pool.ntp.org
Feb  5 16:57:16 henry ntpd_initres[1709]: host name not found: 2.CA.pool.ntp.org
Feb  5 16:59:45 henry ntpd_initres[1709]: host name not found: 0.CA.pool.ntp.org
Feb  5 16:59:45 henry ntpd_initres[1709]: host name not found: 1.CA.pool.ntp.org
Feb  5 16:59:45 henry ntpd_initres[1709]: host name not found: 2.CA.pool.ntp.org

>How-To-Repeat:
On a system with a SuperMicro PDSBM motherboard and a working and connected em0 interface, upgrade from 9.0-RELEASE-p3 to 9.1-RELEASE-p0.

After rebooting and loading the new kernel, em0 will report "no carrier" because it is actually em1. Only one network interface will be enumerated.
>Fix:
Only known workaround: "freebsd-update rollback" will successfully restore the old kernel.

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201302121616.r1CGG7oe097702>