From owner-freebsd-stable@FreeBSD.ORG Sun Nov 10 00:55:41 2013 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 77CC6F52; Sun, 10 Nov 2013 00:55:41 +0000 (UTC) (envelope-from florent@peterschmitt.fr) Received: from peterschmitt.fr (peterschmitt.fr [37.187.6.142]) by mx1.freebsd.org (Postfix) with ESMTP id 200852C8C; Sun, 10 Nov 2013 00:55:41 +0000 (UTC) Received: from [192.168.1.119] (89-159-92-164.rev.dartybox.com [89.159.92.164]) by peterschmitt.fr (Postfix) with ESMTPSA id 98CE01BC32; Sun, 10 Nov 2013 01:46:09 +0100 (CET) Message-ID: <527EE562.50103@peterschmitt.fr> Date: Sun, 10 Nov 2013 01:46:10 +0000 From: Florent Peterschmitt User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.1.0 MIME-Version: 1.0 To: freebsd-net@freebsd.org, freebsd-stable stable Subject: 10.0-BETA3 em/nfe drivers on MSI K9NBPM2-FID board. LAN card changes. X-Enigmail-Version: 1.6 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="cIXlSPlVjdWOljUcei2qotXKNSuckvog3" X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 10 Nov 2013 00:55:41 -0000 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --cIXlSPlVjdWOljUcei2qotXKNSuckvog3 Content-Type: multipart/mixed; boundary="------------090408000202020101080309" This is a multi-part message in MIME format. --------------090408000202020101080309 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Hi, I have a server at Hetzner and something strange happend. First, I installed FreeBSD 10.0-BETA3 (amd64) via their FreeBSD 9.2-RELEASE rescue system, that's ok. I had to configure the network by using the em driver -> em0 interface. But suddenly, the network was lost. After an ACPI reboot, nothing. Going to the vKVM show me the system didn't detected em0 anymore but an nVidia (nfe driver) card! Here is the hardware: http://www.msi.com/product/mb/K9NBPM2-FID.html#/?div=3DDetail Here is a partial dmesg: nfe0: port 0xd080-0xd087 mem 0xfebdb000-0xfebdbfff irq 20 at device 20.0 on pci0 ### something interesting ### ciphy0: PHY 1 on miibus0 Some /var/log/messages related to NICs: bootlog_nfe_em.txt Full dmesg of the currently booted system: dmesg.txt Does FreeBSD "confused" the "Vitesse" card and the nVidia one? --=20 Florent Peterschmitt | Please: florent@peterschmitt.fr | * Avoid HTML/RTF in E-mail. +33 (0)6 64 33 97 92 | * Send PDF for documents. http://florent.peterschmitt.fr | * Trim your quotations. Really. Proudly powered by Open Source | Thank you :) --------------090408000202020101080309 Content-Type: text/plain; charset=UTF-8; name="bootlog_nfe_em.txt" Content-Transfer-Encoding: quoted-printable Content-Disposition: attachment; filename="bootlog_nfe_em.txt" root@gentiane:/var/log # cat messages |egrep "(em0|nfe0)" Nov 9 11:03:07 gentiane kernel: nfe0: port 0xd080-0xd087 mem 0xfebdb000-0xfebdbfff irq 20 at device = 20.0 on pci0 Nov 9 11:03:07 gentiane kernel: miibus0: on nfe0 Nov 9 11:03:07 gentiane kernel: nfe0: Ethernet address: 00:19:db:bc:45:d= f Nov 9 11:15:45 gentiane kernel: nfe0: port 0xd080-0xd087 mem 0xfebdb000-0xfebdbfff irq 20 at device = 20.0 on pci0 Nov 9 11:15:45 gentiane kernel: miibus0: on nfe0 Nov 9 11:15:45 gentiane kernel: nfe0: Ethernet address: 00:19:db:bc:45:d= f Nov 9 11:15:47 gentiane kernel: nfe0: link state changed to UP Nov 9 11:15:47 gentiane devd: Executing '/etc/rc.d/dhclient quietstart n= fe0' Nov 9 11:19:35 gentiane kernel: em0: port 0xc000-0xc03f mem 0xfeba0000-0xfebbffff irq 11 at d= evice 4.0 on pci0 Nov 9 11:19:35 gentiane kernel: em0: Ethernet address: 00:19:db:bc:45:df= Nov 9 11:21:31 gentiane kernel: em0: port 0xc000-0xc03f mem 0xfeba0000-0xfebbffff irq 11 at d= evice 4.0 on pci0 Nov 9 11:21:31 gentiane kernel: em0: Ethernet address: 00:19:db:bc:45:df= Nov 9 11:29:40 gentiane kernel: nfe0: port 0xd080-0xd087 mem 0xfebdb000-0xfebdbfff irq 20 at device = 20.0 on pci0 Nov 9 11:29:40 gentiane kernel: miibus0: on nfe0 Nov 9 11:29:40 gentiane kernel: nfe0: Ethernet address: 00:19:db:bc:45:d= f Nov 9 11:33:55 gentiane kernel: em0: port 0xc000-0xc03f mem 0xfeba0000-0xfebbffff irq 11 at d= evice 4.0 on pci0 Nov 9 11:33:55 gentiane kernel: em0: Ethernet address: 00:19:db:bc:45:df= Nov 9 11:38:48 gentiane kernel: em0: port 0xc000-0xc03f mem 0xfeba0000-0xfebbffff irq 11 at d= evice 4.0 on pci0 Nov 9 11:38:48 gentiane kernel: em0: Ethernet address: 00:19:db:bc:45:df= Nov 9 23:09:52 gentiane kernel: nfe0: port 0xd080-0xd087 mem 0xfebdb000-0xfebdbfff irq 20 at device = 20.0 on pci0 Nov 9 23:09:52 gentiane kernel: miibus0: on nfe0 Nov 9 23:09:52 gentiane kernel: nfe0: Ethernet address: 00:19:db:bc:45:d= f Nov 9 23:12:32 gentiane kernel: nfe0: port 0xd080-0xd087 mem 0xfebdb000-0xfebdbfff irq 20 at device = 20.0 on pci0 Nov 9 23:12:32 gentiane kernel: miibus0: on nfe0 Nov 9 23:12:32 gentiane kernel: nfe0: Ethernet address: 00:19:db:bc:45:d= f Nov 9 23:15:44 gentiane kernel: nfe0: port 0xd080-0xd087 mem 0xfebdb000-0xfebdbfff irq 20 at device = 20.0 on pci0 Nov 9 23:15:44 gentiane kernel: miibus0: on nfe0 Nov 9 23:15:44 gentiane kernel: nfe0: Ethernet address: 00:19:db:bc:45:d= f Nov 9 23:22:36 gentiane kernel: nfe0: port 0xd080-0xd087 mem 0xfebdb000-0xfebdbfff irq 20 at device = 20.0 on pci0 Nov 9 23:22:36 gentiane kernel: miibus0: on nfe0 Nov 9 23:22:36 gentiane kernel: nfe0: Ethernet address: 00:19:db:bc:45:d= f Nov 9 23:33:49 gentiane kernel: nfe0: port 0xd080-0xd087 mem 0xfebdb000-0xfebdbfff irq 20 at device = 20.0 on pci0 Nov 9 23:33:49 gentiane kernel: miibus0: on nfe0 Nov 9 23:33:49 gentiane kernel: nfe0: Ethernet address: 00:19:db:bc:45:d= f Nov 9 23:41:21 gentiane kernel: nfe0: port 0xd080-0xd087 mem 0xfebdb000-0xfebdbfff irq 20 at device = 20.0 on pci0 Nov 9 23:41:21 gentiane kernel: miibus0: on nfe0 Nov 9 23:41:21 gentiane kernel: nfe0: Ethernet address: 00:19:db:bc:45:d= f Nov 9 23:53:33 gentiane kernel: nfe0: port 0xd080-0xd087 mem 0xfebdb000-0xfebdbfff irq 20 at device = 20.0 on pci0 Nov 9 23:53:33 gentiane kernel: miibus0: on nfe0 Nov 9 23:53:33 gentiane kernel: nfe0: Ethernet address: 00:19:db:bc:45:d= f Nov 9 23:53:34 gentiane kernel: nfe0: link state changed to UP Nov 9 23:53:34 gentiane devd: Executing '/etc/rc.d/dhclient quietstart n= fe0' Nov 10 00:00:09 gentiane kernel: nfe0: port 0xd080-0xd087 mem 0xfebdb000-0xfebdbfff irq 20 at device = 20.0 on pci0 Nov 10 00:00:09 gentiane kernel: miibus0: on nfe0 Nov 10 00:00:09 gentiane kernel: nfe0: Ethernet address: 00:19:db:bc:45:d= f Nov 10 00:00:10 gentiane kernel: nfe0: link state changed to UP Nov 10 00:00:10 gentiane devd: Executing '/etc/rc.d/dhclient quietstart n= fe0' --------------090408000202020101080309 Content-Type: text/plain; charset=UTF-8; name="dmesg.txt" Content-Transfer-Encoding: quoted-printable Content-Disposition: attachment; filename="dmesg.txt" root@gentiane:/var/log # dmesg=20 Copyright (c) 1992-2013 The FreeBSD Project. Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 The Regents of the University of California. All rights reserved.= FreeBSD is a registered trademark of The FreeBSD Foundation. FreeBSD 10.0-BETA3 #0 r257580: Sun Nov 3 19:43:01 UTC 2013 root@snap.freebsd.org:/usr/obj/usr/src/sys/GENERIC amd64 FreeBSD clang version 3.3 (tags/RELEASE_33/final 183502) 20130610 CPU: Dual-Core AMD Opteron(tm) Processor 1218 (2612.02-MHz K8-class CPU) Origin =3D "AuthenticAMD" Id =3D 0x40f32 Family =3D 0xf Model =3D 0x= 43 Stepping =3D 2 Features=3D0x178bfbff Features2=3D0x2001 AMD Features=3D0xea500800 AMD Features2=3D0x1f real memory =3D 4294967296 (4096 MB) avail memory =3D 4042719232 (3855 MB) Event timer "LAPIC" quality 400 ACPI APIC Table: FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs FreeBSD/SMP: 1 package(s) x 2 core(s) cpu0 (BSP): APIC ID: 0 cpu1 (AP): APIC ID: 1 ioapic0 irqs 0-23 on motherboard random: initialized kbd1 at kbdmux0 acpi0: on motherboard acpi0: Power Button (fixed) acpi0: reservation of ffb80000, 80000 (3) failed acpi0: reservation of fee01000, ff000 (3) failed acpi0: reservation of fec00000, 1000 (3) failed acpi0: reservation of fee00000, 1000 (3) failed acpi0: reservation of 0, a0000 (3) failed acpi0: reservation of 100000, cff00000 (3) failed cpu0: on acpi0 cpu1: on acpi0 attimer0: port 0x40-0x43 irq 0 on acpi0 Timecounter "i8254" frequency 1193182 Hz quality 0 Event timer "i8254" frequency 1193182 Hz quality 100 atrtc0: port 0x70-0x71 irq 8 on acpi0 Event timer "RTC" frequency 32768 Hz quality 0 hpet0: iomem 0xfed00000-0xfed00fff on acpi0 Timecounter "HPET" frequency 25000000 Hz quality 950 Timecounter "ACPI-safe" frequency 3579545 Hz quality 850 acpi_timer0: <24-bit timer at 3.579545MHz> port 0x4008-0x400b on acpi0 pcib0: port 0xcf8-0xcff on acpi0 pci0: on pcib0 pci0: at device 0.0 (no driver attached) pci0: at device 0.2 (no driver attached) pci0: at device 0.3 (no driver attached) pci0: at device 0.4 (no driver attached) pci0: at device 0.5 (no driver attached) pci0: at device 0.6 (no driver attached) pci0: at device 0.7 (no driver attached) pcib1: at device 2.0 on pci0 pci1: on pcib1 pcib2: at device 3.0 on pci0 pci2: on pcib2 pcib3: at device 4.0 on pci0 pci3: on pcib3 vgapci0: mem 0xfd000000-0xfdffffff,0xd0000000-0x= dfffffff,0xfc000000-0xfcffffff irq 16 at device 5.0 on pci0 pci0: at device 9.0 (no driver attached) isab0: at device 10.0 on pci0 isa0: on isab0 pci0: at device 10.1 (no driver attached) ohci0: mem 0xfebde000-0xfebdefff irq 21 a= t device 11.0 on pci0 usbus0 on ohci0 ehci0: mem 0xfebdfc00-0xfebdfcff irq = 23 at device 11.1 on pci0 usbus1: EHCI version 1.0 usbus1 on ehci0 atapci0: port 0x1f0-0x1f7,0x3f6,= 0x170-0x177,0x376,0xffa0-0xffaf at device 13.0 on pci0 ata0: at channel 0 on atapci0 ata1: at channel 1 on atapci0 atapci1: port 0xe800-0xe807,0xe4= 80-0xe483,0xe400-0xe407,0xe080-0xe083,0xe000-0xe00f mem 0xfebdd000-0xfebd= dfff irq 22 at device 14.0 on pci0 ata2: at channel 0 on atapci1 ata3: at channel 1 on atapci1 atapci2: port 0xdc00-0xdc07,0xd8= 80-0xd883,0xd800-0xd807,0xd480-0xd483,0xd400-0xd40f mem 0xfebdc000-0xfebd= cfff irq 23 at device 15.0 on pci0 ata4: at channel 0 on atapci2 ata5: at channel 1 on atapci2 pcib4: at device 16.0 on pci0 pci4: on pcib4 nfe0: port 0xd080-0xd087 mem= 0xfebdb000-0xfebdbfff irq 20 at device 20.0 on pci0 miibus0: on nfe0 ciphy0: PHY 1 on miibus0 ciphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT, 1000b= aseT-master, 1000baseT-FDX, 1000baseT-FDX-master, auto, auto-flow nfe0: Ethernet address: 00:19:db:bc:45:df acpi_button0: on acpi0 acpi_tz0: on acpi0 uart0: <16550 or compatible> port 0x3f8-0x3ff irq 4 flags 0x10 on acpi0 atkbdc0: port 0x60,0x64 irq 1 on acpi0 atkbd0: irq 1 on atkbdc0 kbd0 at atkbd0 atkbd0: [GIANT-LOCKED] sc0: at flags 0x100 on isa0 sc0: VGA <16 virtual consoles, flags=3D0x300> vga0: at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0= ppc0: cannot reserve I/O port range powernow0: on cpu0 device_attach: powernow0 attach returned 6 powernow1: on cpu1 device_attach: powernow1 attach returned 6 ZFS NOTICE: Prefetch is disabled by default if less than 4GB of RAM is pr= esent; to enable, add "vfs.zfs.prefetch_disable=3D0" to /boot/loader= =2Econf. ZFS filesystem version: 5 ZFS storage pool version: features support (5000) Timecounters tick every 1.000 msec random: unblocking device. usbus0: 12Mbps Full Speed USB v1.0 usbus1: 480Mbps High Speed USB v2.0 ugen0.1: at usbus0 uhub0: on usbus0= ugen1.1: at usbus1 uhub1: on usbus1= uhub0: 8 ports with 8 removable, self powered ada0 at ata2 bus 0 scbus2 target 0 lun 0 ada0: ATA-8 SATA 2.x device ada0: Serial Number 5VP7VGDJ ada0: 300.000MB/s transfers (SATA 2.x, UDMA5, PIO 8192bytes) ada0: 715404MB (1465149168 512 byte sectors: 16H 63S/T 16383C) ada0: Previously was known as ad4 ada1 at ata4 bus 0 scbus4 target 0 lun 0 ada1: ATA-8 SATA 2.x device ada1: Serial Number 6VPAXX9C ada1: 300.000MB/s transfers (SATA 2.x, UDMA5, PIO 8192bytes) ada1: 715404MB (1465149168 512 byte sectors: 16H 63S/T 16383C) ada1: Previously was known as ad8 Netvsc initializing... SMP: AP CPU #1 Launched! GEOM_MIRROR: Cancelling unmapped because of ada1p2. GEOM_MIRROR: Cancelling unmapped because of ada0p2. GEOM_MIRROR: Device mirror/swap launched (2/2). Root mount waiting for: usbus1 Root mount waiting for: usbus1 Root mount waiting for: usbus1 uhub1: 8 ports with 8 removable, self powered Trying to mount root from zfs:tank/root_10b3 []... ugen0.2: at usbus0 ukbd0: on= usbus0 kbd2 at ukbd0 ums0: on = usbus0 ums0: 5 buttons and [XYZ] coordinates ID=3D1 nfe0: link state changed to UP --------------090408000202020101080309-- --cIXlSPlVjdWOljUcei2qotXKNSuckvog3 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.22 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iQIcBAEBAgAGBQJSfuViAAoJEFr01BkajbiBX0IP/0WKvWVCE9Q+xhJHed0OE3gn anqmN7OiMiBrO9+0LTIWsEqiG8W8jmCJ9VmFWzMLQwItMAcfOjWRbXPziMpYGsF8 YqxnqZcFu4ztZUv/wLg23s964Nxvki8XqX2whPKtBrhrwdEM5yYfHwy/JgWdYZTv 43ay6HtHbMp3SmVsJHRDwhxohf6uAB5sCu+JPG9FLmrRRKWQFK+u4ivhfn8kQK4C abHcVaFeq3CKP8dcj0R52nn92GlhBRbn+0mY3wwcq31VGqsCUIr3L3/njy2armIF 8onsYePuJEI+C+lQcv+6UK08LLRyIMmT36vC2piY7GYGrS21jELGsGyZi8uUnllC TZM5eMfp+A5dzZZH1fC6f94cquMZTNskgaipNC+bdMYmaH6NIMxOXuqF4ylVI/ZO kBGbVplAT1KjnJwlTx3cPT9k1jkaV7SPEyu21des3SwDdJ8i2xTADJBQuO/3dy9f em3R/iIqnP7EWLfMGHE/ASTkIV413u38BPprDGIjXFnpFy0J8WaGrI4ipPk1TT0G IvODOY+Csbrepgx1InrKsL/xnhAkYglIF/aBXDRUdLHTpaOoMe9Qq4QvcRXbrFTE SkiUq+/AhG1AlkJCZV7JM/6fgp12Y9C5tKgmR0uAwa4Fgik1AEz8KAW6wvmNfGkT IukvWo9G3/ccENtMD15o =tOht -----END PGP SIGNATURE----- --cIXlSPlVjdWOljUcei2qotXKNSuckvog3--