Problème avec une carte réseau ethernet

Le
geo cherchetout
Bonjour,

Comme indiqué par lshw, la carte mère de mon ordinateur inclut normalement
la fonction réseau :

*-bridge
description: Ethernet interface
product: CK804 Ethernet Controller
vendor: nVidia Corporation
physical id: a
bus info: pci@0000:00:0a.0
logical name: eth1
version: a3
serial: 00:13:d4:8d:5a:8d
capacity: 1000000000
width: 32 bits
clock: 66MHz
capabilities: bridge pm bus_master cap_list ethernet physical mii
10bt 10bt-fd 100bt 100bt-fd 1000bt-fd autonegotiation
configuration: autonegotiation=on broadcast=yes driver=forcedeth
driverversion=0.64 latency=0 link=no maxlatency mingnt=1 multicast=yes
port=MII
resources: irq:20 memory:d8000000-d8000fff ioport:c000(size=8)

Cette interface est désactivée depuis plusieurs années à la suite d'une
fausse man½uvre alors que je cherchais (pour je ne sais plus quelle raison)
à en réduire les débits à l'aide de ethtool. Ne sachant pas réparer mon
erreur et pensant que ses effets étaient peut-être irréversibles, j'ai à
l'époque installé une autre carte actuellement utilisée pour ma connexion à
l'internet. Celle-ci est par la suite devenue eth0.
Aujourd'hui, je souhaiterais disposer d'une seconde interface et, pourquoi
pas si je pouvais la remettre en état, assurée par mon eth1 délaissée.

Voici quelques informations sûrement utiles :

# ifconfig
eth0 Link encap:Ethernet HWaddr 00:50:BA:2E:6C:49
inet adr:192.168.1.6 Bcast:192.168.1.255 Masque:255.255.255.0
adr inet6: fe80::250:baff:fe2e:6c49/64 Scope:Lien
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:4923 errors:0 dropped:0 overruns:0 frame:0
TX packets:5156 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 lg file transmission:1000
RX bytes:1230483 (1.1 MiB) TX bytes:431469 (421.3 KiB)
Interruption:18 Adresse de base:0xb400

eth1 Link encap:Ethernet HWaddr 00:13:D4:8D:5A:8D
UP BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:2 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 lg file transmission:1000
RX bytes:0 (0.0 b) TX bytes:1504 (1.4 KiB)
Interruption:20 Adresse de base:0xe000

lo Link encap:Boucle locale
inet adr:127.0.0.1 Masque:255.0.0.0
adr inet6: ::1/128 Scope:Hôte
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:12 errors:0 dropped:0 overruns:0 frame:0
TX packets:12 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 lg file transmission:0
RX bytes:720 (720.0 b) TX bytes:720 (720.0 b)

# ethtool eth0
Settings for eth0:
Supported ports: [ TP MII ]
Supported link modes: 10baseT/Half 10baseT/Full
100baseT/Half 100baseT/Full
Supports auto-negotiation: Yes
Advertised link modes: 10baseT/Half 10baseT/Full
100baseT/Half 100baseT/Full
Advertised auto-negotiation: Yes
Speed: 100Mb/s
Duplex: Full
Port: MII
PHYAD: 8
Transceiver: internal
Auto-negotiation: on
Supports Wake-on: pumbg
Wake-on: g
Current message level: 0x00000001 (1)
Link detected: yes

# ethtool eth1
Settings for eth1:
Supported ports: [ MII ]
Supported link modes: 10baseT/Half 10baseT/Full
100baseT/Half 100baseT/Full
1000baseT/Full
Supports auto-negotiation: Yes
Advertised link modes: 10baseT/Half 10baseT/Full
100baseT/Half 100baseT/Full
1000baseT/Full
Advertised auto-negotiation: Yes
Speed: Unknown! (65535) <- Drôles de valeurs,
Duplex: Unknown! (255) <- ne trouvez vous pas ?
Port: MII
PHYAD: 9
Transceiver: external
Auto-negotiation: on
Supports Wake-on: g
Wake-on: g
Link detected: no

Et quand je tente d'affecter aux paramètres speed et duplex des valeurs
sensées je n'obtiens en réponse que les règles d'usage :

# ethtool eth1 -s speed 100 duplex full
ethtool version 6
Usage:
ethtool DEVNAME Display standard information about device
ethtool -s|--change DEVNAME Change generic options
[ speed 10|100|1000|2500|10000 ]
[ duplex half|full ]
etc.

# ethtool eth1 --change speed 100 duplex full
ethtool version 6
Usage:
ethtool DEVNAME Display standard information about device
ethtool -s|--change DEVNAME Change generic options
[ speed 10|100|1000|2500|10000 ]
[ duplex half|full ]
etc.

C'est pourtant avec cette syntaxe que j'ai passé le paramètre Wake-on de d à g.

Voyez vous un moyen de rétablir cette interface dans ses fonctions ?
Peut-être en écrivant directement dans son registre ? À tout hasard en voici
un dump :

# ethtool -d eth1
Offset Values
-- --
000: 20 00 00 00 df 00 00 00 03 00 00 00 0d 00 00 00
010: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
020: 00 53 25 06 65 13 70 ff 00 00 00 00 00 00 00 00
030: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
040: 0e e2 20 04 55 a8 00 00 20 2e 00 00 00 00 00 00
050: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
060: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
070: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
080: 3e 0f 3b 00 01 00 00 00 00 00 00 00 20 00 7f 00
090: 1c 06 00 00 01 00 00 00 00 00 54 00 dd 7f 00 80
0a0: 0f 07 16 00 16 00 00 00 00 13 d4 8d 5a 8d 00 00
0b0: 01 00 00 00 00 01 00 00 cd cc a1 ff ff ff 00 00 <- 6 f consécutifs
0c0: 00 01 00 10 01 00 00 00 01 00 00 00 01 00 00 00
0d0: 01 00 00 00 01 00 00 00 01 00 00 00 01 00 00 00
0e0: 01 00 00 00 01 00 00 00 01 00 00 00 01 00 00 00
0f0: 01 00 00 00 01 00 00 00 01 00 00 00 01 00 00 00
100: 00 a0 04 32 00 80 04 32 ff 00 ff 01 00 80 00 00
110: e8 03 01 00 00 00 00 00 00 03 00 00 00 a0 04 32
120: e0 80 04 32 40 46 85 12 db ff 00 a0 40 38 85 12
130: 1c 06 00 80 0c a0 04 32 0c 80 04 32 00 80 e0 01
140: 20 41 30 00 00 26 00 80 00 00 00 00 00 00 00 00
150: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
160: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
170: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
180: 16 00 00 00 08 00 00 00 49 79 94 09 03 81 00 00
190: 29 01 00 00 00 0e 00 00 09 00 94 09 03 00 00 00
1a0: 16 00 00 00 08 00 00 00 49 79 94 09 03 81 00 00
1b0: 29 01 00 00 00 0e 00 00 09 00 94 09 03 00 00 00
1c0: 16 00 00 00 08 00 00 00 49 79 94 09 03 81 00 00
1d0: 29 01 00 00 00 0e 00 00 09 00 94 09 03 00 00 00
1e0: 16 00 00 00 08 00 00 00 49 79 94 09 03 81 00 00
1f0: 29 01 00 00 00 0e 00 00 09 00 94 09 03 00 00 00
200: 11 11 00 20 00 00 00 00 00 00 00 00 00 00 00 00
210: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
220: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
230: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
240: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
250: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
260: 00 00 00 00 00 00 00 00 01 00 02 fe 00 01 00 00
270: 00 00 00 00 00 00 00 00 01 00 02 7e 00 01 00 00
280: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
290: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
2a0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
2b0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
2c0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
2d0: 00 00 00 00
Vidéos High-Tech et Jeu Vidéo
Téléchargements
Vos réponses
Gagnez chaque mois un abonnement Premium avec GNT : Inscrivez-vous !
Trier par : date / pertinence
geo cherchetout
Le #23463011
Le 15/06/2011 00:14, j'ai écrit :

# ethtool eth1
Settings for eth1:
Supported ports: [ MII ]
Supported link modes: 10baseT/Half 10baseT/Full
100baseT/Half 100baseT/Full
1000baseT/Full
Supports auto-negotiation: Yes
Advertised link modes: 10baseT/Half 10baseT/Full
100baseT/Half 100baseT/Full
1000baseT/Full
Advertised auto-negotiation: Yes
Speed: Unknown! (65535) <- Drôles de valeurs,
Duplex: Unknown! (255) <- ne trouvez vous pas ?



Mais quel idiot ! Ces paramètres prennent des valeurs correctes quand le
port ethernet est relié par un câble à un autre objet communiquant :

# ethtool eth1
Settings for eth1:
Supported ports: [ MII ]
Supported link modes: 10baseT/Half 10baseT/Full
100baseT/Half 100baseT/Full
1000baseT/Full
Supports auto-negotiation: Yes
Advertised link modes: 10baseT/Half 10baseT/Full
100baseT/Half 100baseT/Full
1000baseT/Full
Advertised auto-negotiation: Yes
Speed: 100Mb/s
Duplex: Full
Port: MII
PHYAD: 9
Transceiver: external
Auto-negotiation: on
Supports Wake-on: g
Wake-on: d
Link detected: yes

Pardon pour le bruit.
Pascal Hambourg
Le #23469711
Salut,

geo cherchetout a écrit :

eth1 Link encap:Ethernet HWaddr 00:13:D4:8D:5A:8D
UP BROADCAST MULTICAST MTU:1500 Metric:1



Absence du flag RUNNING -> le port n'est pas connecté (ou pas reconnu
comme tel).

# ethtool eth1
Settings for eth1:
Supported ports: [ MII ]
Supported link modes: 10baseT/Half 10baseT/Full
100baseT/Half 100baseT/Full
1000baseT/Full
Supports auto-negotiation: Yes
Advertised link modes: 10baseT/Half 10baseT/Full
100baseT/Half 100baseT/Full
1000baseT/Full
Advertised auto-negotiation: Yes
Speed: Unknown! (65535) <- Drôles de valeurs,
Duplex: Unknown! (255) <- ne trouvez vous pas ?



Non, pas si le port n'est pas connecté.

Et quand je tente d'affecter aux paramètres speed et duplex des valeurs
sensées je n'obtiens en réponse que les règles d'usage :

# ethtool eth1 -s speed 100 duplex full
ethtool version 6
Usage:
ethtool DEVNAME Display standard information about device
ethtool -s|--change DEVNAME Change generic options
[ speed 10|100|1000|2500|10000 ]
[ duplex half|full ]



Peut-être parce que la syntaxe correcte n'est pas "ethtool eth1 -s" mais
"ethtool -s eth1" comme indiqué.
Publicité
Poster une réponse
Anonyme