Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 10 Nov 2013 01:46:10 +0000
From:      Florent Peterschmitt <florent@peterschmitt.fr>
To:        freebsd-net@freebsd.org,  freebsd-stable stable <freebsd-stable@freebsd.org>
Subject:   10.0-BETA3 em/nfe drivers on MSI K9NBPM2-FID board. LAN card changes.
Message-ID:  <527EE562.50103@peterschmitt.fr>

next in thread | raw e-mail | index | archive | help
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: <NVIDIA nForce 430 MCP13 Networking Adapter> port 0xd080-0xd087
mem 0xfebdb000-0xfebdbfff irq 20 at device 20.0 on pci0

### something interesting ###

ciphy0: <Vitesse VSC8601 10/100/1000TX PHY> 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: <NVIDIA nForce 430 MCP13 Networkin=
g Adapter> port 0xd080-0xd087 mem 0xfebdb000-0xfebdbfff irq 20 at device =
20.0 on pci0
Nov  9 11:03:07 gentiane kernel: miibus0: <MII bus> 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: <NVIDIA nForce 430 MCP13 Networkin=
g Adapter> port 0xd080-0xd087 mem 0xfebdb000-0xfebdbfff irq 20 at device =
20.0 on pci0
Nov  9 11:15:45 gentiane kernel: miibus0: <MII bus> 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: <Intel(R) PRO/1000 Legacy Network C=
onnection 1.0.6> 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: <Intel(R) PRO/1000 Legacy Network C=
onnection 1.0.6> 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: <NVIDIA nForce 430 MCP13 Networkin=
g Adapter> port 0xd080-0xd087 mem 0xfebdb000-0xfebdbfff irq 20 at device =
20.0 on pci0
Nov  9 11:29:40 gentiane kernel: miibus0: <MII bus> 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: <Intel(R) PRO/1000 Legacy Network C=
onnection 1.0.6> 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: <Intel(R) PRO/1000 Legacy Network C=
onnection 1.0.6> 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: <NVIDIA nForce 430 MCP13 Networkin=
g Adapter> port 0xd080-0xd087 mem 0xfebdb000-0xfebdbfff irq 20 at device =
20.0 on pci0
Nov  9 23:09:52 gentiane kernel: miibus0: <MII bus> 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: <NVIDIA nForce 430 MCP13 Networkin=
g Adapter> port 0xd080-0xd087 mem 0xfebdb000-0xfebdbfff irq 20 at device =
20.0 on pci0
Nov  9 23:12:32 gentiane kernel: miibus0: <MII bus> 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: <NVIDIA nForce 430 MCP13 Networkin=
g Adapter> port 0xd080-0xd087 mem 0xfebdb000-0xfebdbfff irq 20 at device =
20.0 on pci0
Nov  9 23:15:44 gentiane kernel: miibus0: <MII bus> 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: <NVIDIA nForce 430 MCP13 Networkin=
g Adapter> port 0xd080-0xd087 mem 0xfebdb000-0xfebdbfff irq 20 at device =
20.0 on pci0
Nov  9 23:22:36 gentiane kernel: miibus0: <MII bus> 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: <NVIDIA nForce 430 MCP13 Networkin=
g Adapter> port 0xd080-0xd087 mem 0xfebdb000-0xfebdbfff irq 20 at device =
20.0 on pci0
Nov  9 23:33:49 gentiane kernel: miibus0: <MII bus> 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: <NVIDIA nForce 430 MCP13 Networkin=
g Adapter> port 0xd080-0xd087 mem 0xfebdb000-0xfebdbfff irq 20 at device =
20.0 on pci0
Nov  9 23:41:21 gentiane kernel: miibus0: <MII bus> 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: <NVIDIA nForce 430 MCP13 Networkin=
g Adapter> port 0xd080-0xd087 mem 0xfebdb000-0xfebdbfff irq 20 at device =
20.0 on pci0
Nov  9 23:53:33 gentiane kernel: miibus0: <MII bus> 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: <NVIDIA nForce 430 MCP13 Networkin=
g Adapter> port 0xd080-0xd087 mem 0xfebdb000-0xfebdbfff irq 20 at device =
20.0 on pci0
Nov 10 00:00:09 gentiane kernel: miibus0: <MII bus> 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<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,=
PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,MMX,FXSR,SSE,SSE2,HTT>
  Features2=3D0x2001<SSE3,CX16>
  AMD Features=3D0xea500800<SYSCALL,NX,MMX+,FFXSR,RDTSCP,LM,3DNow!+,3DNow=
!>
  AMD Features2=3D0x1f<LAHF,CMP,SVM,ExtAPIC,CR8>
real memory  =3D 4294967296 (4096 MB)
avail memory =3D 4042719232 (3855 MB)
Event timer "LAPIC" quality 400
ACPI APIC Table: <A M I  OEMAPIC >
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 <Version 1.1> irqs 0-23 on motherboard
random: <Software, Yarrow> initialized
kbd1 at kbdmux0
acpi0: <A M I OEMRSDT> 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: <ACPI CPU> on acpi0
cpu1: <ACPI CPU> on acpi0
attimer0: <AT timer> port 0x40-0x43 irq 0 on acpi0
Timecounter "i8254" frequency 1193182 Hz quality 0
Event timer "i8254" frequency 1193182 Hz quality 100
atrtc0: <AT realtime clock> port 0x70-0x71 irq 8 on acpi0
Event timer "RTC" frequency 32768 Hz quality 0
hpet0: <High Precision Event Timer> 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: <ACPI Host-PCI bridge> port 0xcf8-0xcff on acpi0
pci0: <ACPI PCI bus> on pcib0
pci0: <memory, RAM> at device 0.0 (no driver attached)
pci0: <memory, RAM> at device 0.2 (no driver attached)
pci0: <memory, RAM> at device 0.3 (no driver attached)
pci0: <memory, RAM> at device 0.4 (no driver attached)
pci0: <memory, RAM> at device 0.5 (no driver attached)
pci0: <memory, RAM> at device 0.6 (no driver attached)
pci0: <memory, RAM> at device 0.7 (no driver attached)
pcib1: <ACPI PCI-PCI bridge> at device 2.0 on pci0
pci1: <ACPI PCI bus> on pcib1
pcib2: <ACPI PCI-PCI bridge> at device 3.0 on pci0
pci2: <ACPI PCI bus> on pcib2
pcib3: <ACPI PCI-PCI bridge> at device 4.0 on pci0
pci3: <ACPI PCI bus> on pcib3
vgapci0: <VGA-compatible display> mem 0xfd000000-0xfdffffff,0xd0000000-0x=
dfffffff,0xfc000000-0xfcffffff irq 16 at device 5.0 on pci0
pci0: <memory, RAM> at device 9.0 (no driver attached)
isab0: <PCI-ISA bridge> at device 10.0 on pci0
isa0: <ISA bus> on isab0
pci0: <serial bus, SMBus> at device 10.1 (no driver attached)
ohci0: <OHCI (generic) USB controller> mem 0xfebde000-0xfebdefff irq 21 a=
t device 11.0 on pci0
usbus0 on ohci0
ehci0: <EHCI (generic) USB 2.0 controller> mem 0xfebdfc00-0xfebdfcff irq =
23 at device 11.1 on pci0
usbus1: EHCI version 1.0
usbus1 on ehci0
atapci0: <nVidia nForce MCP51 UDMA133 controller> port 0x1f0-0x1f7,0x3f6,=
0x170-0x177,0x376,0xffa0-0xffaf at device 13.0 on pci0
ata0: <ATA channel> at channel 0 on atapci0
ata1: <ATA channel> at channel 1 on atapci0
atapci1: <nVidia nForce MCP51 SATA300 controller> 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: <ATA channel> at channel 0 on atapci1
ata3: <ATA channel> at channel 1 on atapci1
atapci2: <nVidia nForce MCP51 SATA300 controller> 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: <ATA channel> at channel 0 on atapci2
ata5: <ATA channel> at channel 1 on atapci2
pcib4: <ACPI PCI-PCI bridge> at device 16.0 on pci0
pci4: <ACPI PCI bus> on pcib4
nfe0: <NVIDIA nForce 430 MCP13 Networking Adapter> port 0xd080-0xd087 mem=
 0xfebdb000-0xfebdbfff irq 20 at device 20.0 on pci0
miibus0: <MII bus> on nfe0
ciphy0: <Vitesse VSC8601 10/100/1000TX PHY> 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: <Power Button> on acpi0
acpi_tz0: <Thermal Zone> on acpi0
uart0: <16550 or compatible> port 0x3f8-0x3ff irq 4 flags 0x10 on acpi0
atkbdc0: <Keyboard controller (i8042)> port 0x60,0x64 irq 1 on acpi0
atkbd0: <AT Keyboard> irq 1 on atkbdc0
kbd0 at atkbd0
atkbd0: [GIANT-LOCKED]
sc0: <System console> at flags 0x100 on isa0
sc0: VGA <16 virtual consoles, flags=3D0x300>
vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0=

ppc0: cannot reserve I/O port range
powernow0: <PowerNow! K8> on cpu0
device_attach: powernow0 attach returned 6
powernow1: <PowerNow! K8> 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: <nVidia> at usbus0
uhub0: <nVidia OHCI root HUB, class 9/0, rev 1.00/1.00, addr 1> on usbus0=

ugen1.1: <nVidia> at usbus1
uhub1: <nVidia EHCI root HUB, class 9/0, rev 2.00/1.00, addr 1> on usbus1=

uhub0: 8 ports with 8 removable, self powered
ada0 at ata2 bus 0 scbus2 target 0 lun 0
ada0: <ST3750528AS CC44> 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: <ST3750528AS CC44> 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: <CHESEN> at usbus0
ukbd0: <CHESEN PS2 to USB Converter, class 0/0, rev 1.10/0.10, addr 2> on=
 usbus0
kbd2 at ukbd0
ums0: <CHESEN PS2 to USB Converter, class 0/0, rev 1.10/0.10, addr 2> 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--



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