From owner-freebsd-i386@FreeBSD.ORG Tue Feb 12 16:20:00 2013 Return-Path: Delivered-To: freebsd-i386@smarthost.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id CC851CE7 for ; Tue, 12 Feb 2013 16:20:00 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) by mx1.freebsd.org (Postfix) with ESMTP id AD1EFF71 for ; Tue, 12 Feb 2013 16:20:00 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.6/8.14.6) with ESMTP id r1CGK0l2015936 for ; Tue, 12 Feb 2013 16:20:00 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.6/8.14.6/Submit) id r1CGK0HH015932; Tue, 12 Feb 2013 16:20:00 GMT (envelope-from gnats) Resent-Date: Tue, 12 Feb 2013 16:20:00 GMT Resent-Message-Id: <201302121620.r1CGK0HH015932@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-i386@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Yvan Rodrigues Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id AED69C8D for ; Tue, 12 Feb 2013 16:16:08 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from red.freebsd.org (red.freebsd.org [IPv6:2001:4f8:fff6::22]) by mx1.freebsd.org (Postfix) with ESMTP id 9E730F4E for ; Tue, 12 Feb 2013 16:16:08 +0000 (UTC) Received: from red.freebsd.org (localhost [127.0.0.1]) by red.freebsd.org (8.14.5/8.14.5) with ESMTP id r1CGG79v097703 for ; Tue, 12 Feb 2013 16:16:07 GMT (envelope-from nobody@red.freebsd.org) Received: (from nobody@localhost) by red.freebsd.org (8.14.5/8.14.5/Submit) id r1CGG7oe097702; Tue, 12 Feb 2013 16:16:07 GMT (envelope-from nobody) Message-Id: <201302121616.r1CGG7oe097702@red.freebsd.org> Date: Tue, 12 Feb 2013 16:16:07 GMT From: Yvan Rodrigues To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Subject: i386/176073: Update from 9.0-RELEASE-p3 to 9.1-RELEASE-p0 "breaks" network interface X-BeenThere: freebsd-i386@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: I386-specific issues for FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 12 Feb 2013 16:20:00 -0000 >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 Feb 5 16:55:37 henry kernel: Features2=0xe39d Feb 5 16:55:37 henry kernel: AMD Features=0x20100000 Feb 5 16:55:37 henry kernel: AMD Features2=0x1 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: 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 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: on motherboard Feb 5 16:55:37 henry kernel: acpi0: Power Button (fixed) Feb 5 16:55:37 henry kernel: cpu0: on acpi0 Feb 5 16:55:37 henry kernel: cpu1: on acpi0 Feb 5 16:55:37 henry kernel: atrtc0: 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: 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: port 0xcf8-0xcff on acpi0 Feb 5 16:55:37 henry kernel: pci0: on pcib0 Feb 5 16:55:37 henry kernel: vgapci0: port 0x30c0-0x30c7 mem 0xd0000000-0xd00fffff,0xc0000000-0xcfffffff irq 16 at device 2.0 on pci0 Feb 5 16:55:37 henry kernel: agp0: 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: irq 16 at device 28.0 on pci0 Feb 5 16:55:37 henry kernel: pci1: on pcib1 Feb 5 16:55:37 henry kernel: pcib2: 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: on pcib2 Feb 5 16:55:37 henry kernel: em0: 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: 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: on pcib3 Feb 5 16:55:37 henry kernel: em0: 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: 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: 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: 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: 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: 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: at device 30.0 on pci0 Feb 5 16:55:37 henry kernel: pci4: on pcib4 Feb 5 16:55:37 henry kernel: isab0: at device 31.0 on pci0 Feb 5 16:55:37 henry kernel: isa0: on isab0 Feb 5 16:55:37 henry kernel: atapci0: port 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0x30a0-0x30af at device 31.1 on pci0 Feb 5 16:55:37 henry kernel: ata0: at channel 0 on atapci0 Feb 5 16:55:37 henry kernel: ahci0: 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: at channel 0 on ahci0 Feb 5 16:55:37 henry kernel: ahcich1: at channel 1 on ahci0 Feb 5 16:55:37 henry kernel: ahcich2: at channel 2 on ahci0 Feb 5 16:55:37 henry kernel: ahcich3: at channel 3 on ahci0 Feb 5 16:55:37 henry kernel: pci0: at device 31.3 (no driver attached) Feb 5 16:55:37 henry kernel: acpi_button0: on acpi0 Feb 5 16:55:37 henry kernel: atkbdc0: port 0x60,0x64 irq 1 on acpi0 Feb 5 16:55:37 henry kernel: atkbd0: 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: at iomem 0xc0000-0xcafff,0xcb000-0xcbfff pnpid ORM0000 on isa0 Feb 5 16:55:37 henry kernel: sc0: 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: 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: on cpu0 Feb 5 16:55:37 henry kernel: p4tcc0: on cpu0 Feb 5 16:55:37 henry kernel: est1: on cpu1 Feb 5 16:55:37 henry kernel: p4tcc1: 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: 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: on usbus0 Feb 5 16:55:37 henry kernel: ugen1.1: at usbus1 Feb 5 16:55:37 henry kernel: uhub1: on usbus1 Feb 5 16:55:37 henry kernel: ugen2.1: at usbus2 Feb 5 16:55:37 henry kernel: uhub2: on usbus2 Feb 5 16:55:37 henry kernel: ugen3.1: at usbus3 Feb 5 16:55:37 henry kernel: uhub3: on usbus3 Feb 5 16:55:37 henry kernel: ugen4.1: at usbus4 Feb 5 16:55:37 henry kernel: uhub4: 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: 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: 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: