OVH Community, your new community space.

Passage à FreeBSD 10.0 (de 9.2): carte réseau non compatible ? (em0)


Daixiwen
23/01/2014, 09h50
Je n'ai pas encore essayé (selon l'adage, "if it ain't broken, don't fix it" ) mais tu peux peut-être en parler à Félix dans ce thread

swix
22/01/2014, 15h40
up.

swix
21/01/2014, 14h49
PS: un diff des 2 dmesg no montre aucune différence au niveau du réseau, hormis l'absence de la ligne "em0: link state changed to UP".

Code:
Copyright (c) 1992-2013 The FreeBSD Project.                  | Copyright (c) 1992-2014 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992,   Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992,
        The Regents of the University of California. All righ           The Regents of the University of California. All righ
FreeBSD is a registered trademark of The FreeBSD Foundation.    FreeBSD is a registered trademark of The FreeBSD Foundation.
FreeBSD 9.2-RELEASE-p3 #0: Sat Jan 11 02:38:15 UTC 2014       | FreeBSD 10.0-RELEASE #0 r260789: Fri Jan 17 01:46:25 UTC 2014
    root@amd64-builder.daemonology.net:/usr/obj/usr/src/sys/G |     root@snap.freebsd.org:/usr/obj/usr/src/sys/GENERIC i386
gcc version 4.2.1 20070831 patched [FreeBSD]                  | FreeBSD clang version 3.3 (tags/RELEASE_33/final 183502) 2013
module_register: module pci/em already exists!                  module_register: module pci/em already exists!
Module pci/em failed to register: 17                            Module pci/em failed to register: 17
module_register: module pci/lem already exists!                 module_register: module pci/lem already exists!
Module pci/lem failed to register: 17                           Module pci/lem failed to register: 17
CPU: Intel(R) Atom(TM) CPU D2550   @ 1.86GHz (1866.77-MHz 686 | CPU: Intel(R) Atom(TM) CPU D2550   @ 1.86GHz (1866.78-MHz 686
  Origin = "GenuineIntel"  Id = 0x30661  Family = 0x6  Model      Origin = "GenuineIntel"  Id = 0x30661  Family = 0x6  Model 
  Features=0xbfebfbff                                  AMD Features=0x20100000
  AMD Features2=0x1                                         AMD Features2=0x1
  TSC: P-state invariant, performance statistics                  TSC: P-state invariant, performance statistics
real memory  = 2147483648 (2048 MB)                             real memory  = 2147483648 (2048 MB)
avail memory = 2065215488 (1969 MB)                           | avail memory = 2068004864 (1972 MB)
Event timer "LAPIC" quality 600                                 Event timer "LAPIC" quality 600
ACPI APIC Table:                               ACPI APIC Table: 
FreeBSD/SMP: Multiprocessor System Detected: 4 CPUs             FreeBSD/SMP: Multiprocessor System Detected: 4 CPUs
FreeBSD/SMP: 1 package(s) x 2 core(s) x 2 HTT threads           FreeBSD/SMP: 1 package(s) x 2 core(s) x 2 HTT threads
 cpu0 (BSP): APIC ID:  0                                         cpu0 (BSP): APIC ID:  0
 cpu1 (AP/HT): APIC ID:  1                                       cpu1 (AP/HT): APIC ID:  1
 cpu2 (AP): APIC ID:  2                                          cpu2 (AP): APIC ID:  2
 cpu3 (AP/HT): APIC ID:  3                                       cpu3 (AP/HT): APIC ID:  3
ioapic0: Changing APIC ID to 8                                  ioapic0: Changing APIC ID to 8
[...]
Ces lignes peuvent intriguer:
Code:
module_register: module pci/em already exists!
Module pci/em failed to register: 17
mais étaient aussi présentes sous freebsd 9.2.

swix
21/01/2014, 14h45
Bonjour,

Sur ma machine KS (Atom CPU D2550, 2GB Ram), j'ai tenté ce matin un passage de freebsd 9.2 à 10.0, et après un freebsd-update sans histoire, la machine redémarre, mais n'arrive plus à se connecter au réseau.

Avec ces lignes dans la crontab j'ai pu récupérer le dmesg ensuite via le système de rescue:
Code:
@reboot         root    uname -a ; date ; df -m ; dmesg ; sleep 20 ; dmesg > /root/dmesg_boot2
@reboot         root    sysctl dev.em.0.debug=1 ; sleep 23 ; dmesg > /root/dmesg_boot2_sysctl ; ifconfig -a > /root/ifconfig_boot2
ce qui donne:
Code:
FreeBSD 10.0-RELEASE #0 r260789: Fri Jan 17 01:46:25 UTC 2014
    root@snap.freebsd.org:/usr/obj/usr/src/sys/GENERIC i386
(...)
em0:  port 0x1000-0x101f mem 0x80020000-0x8003ffff,0x80000000-0x8001ffff,0x80040000-0x80043fff irq 16 at device 0.0 on pci1
em0: Using MSIX interrupts with 3 vectors
em0: Ethernet address: 00:22:4d:a4:a1:cf
(...)
Interface is NOT RUNNING
and INACTIVE
em0: hw tdh = 0, hw tdt = 0
em0: hw rdh = 0, hw rdt = 0
em0: Tx Queue Status = 0
em0: TX descriptors avail = 0
em0: Tx Descriptors avail failure = 0
em0: RX discarded packets = 0
em0: RX Next to Check = 0
em0: RX Next to Refresh = 0
alors que sous 9.2, c'était:

Code:
em0:  port 0x1000-0x101f mem 0x80020000-0x8003ffff,0x80000000-0x8001ffff,0x80040000-0x80043fff irq 16 at device 0.0 on pci1
em0: Using MSIX interrupts with 3 vectors
em0: Ethernet address: 00:22:4d:a4:a1:cf
em0: link state changed to UP
.
et tout fonctionnait correctement.

J'ai complètement vidé mon rc.conf en y laissant juste la configuration réseau en IPV4 et même recommencé avec une machine "neuve" (setup 8.4 de base puis updates), mais aucun changement. Bref ma question pour le moment: est-ce que quelqu'un d'autre par ici a réussi à faire la mise à jour en 10.0 sur sa machine ?

Merci !