View previous topic :: View next topic |
Author |
Message |
mitch Apprentice
Joined: 30 Sep 2003 Posts: 221 Location: Chambéry
|
Posted: Fri Jul 23, 2004 9:02 am Post subject: [Carte Reseau] 8139too + 8139too = 1 seul marche :( [Ok] |
|
|
Hello,
Voila, je vient d'installer mon serveur avec une tit Gentoo.
Dessus il y a deux Cartes Reseau (8139too).
Le lspci me donne ca:
Code: | 0000:00:00.0 Host bridge: Silicon Integrated Systems [SiS] 745 Host (rev 01)
0000:00:01.0 PCI bridge: Silicon Integrated Systems [SiS] Virtual PCI-to-PCI bridge (AGP)
0000:00:02.0 ISA bridge: Silicon Integrated Systems [SiS] SiS85C503/5513 (LPC Bridge)
0000:00:02.1 SMBus: Silicon Integrated Systems [SiS]: Unknown device 0016
0000:00:02.2 USB Controller: Silicon Integrated Systems [SiS] USB 1.0 Controller (rev 07)
0000:00:02.3 USB Controller: Silicon Integrated Systems [SiS] USB 1.0 Controller (rev 07)
0000:00:02.5 IDE interface: Silicon Integrated Systems [SiS] 5513 [IDE] (rev d0)
0000:00:02.7 Multimedia audio controller: Silicon Integrated Systems [SiS] Sound Controller (rev a0)
0000:00:0a.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL-8139/8139C/8139C+ (rev 10)
0000:00:0d.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL-8139/8139C/8139C+ (rev 10)
0000:01:00.0 VGA compatible controller: nVidia Corporation NV11 [GeForce2 MX/MX 400] (rev a1)
|
Donc pendant l'install de la 2004.1, j'ai fait un "modprobe 8139too" pour faire marcher ma carte reseau. Puis j'ai fait un "dhcpcd eth0" qui a marché correctement.
Oui mais voila, une fois ma machine installer et redemarrer, le "dhcpcd eth0" ne marche plus mais par contre le "dhcpcd eth1" marche.
J'ai donc fait un ifconfig a la mano pour eth0. Le ifconfig m'indique qu'elle est bien parametrer mais impossbile de la pinger quand elle est branché.
Code: | eth0 Link encap:Ethernet HWaddr 00:50:FC:0C:72:AE
inet addr:192.168.1.240 Bcast:192.168.1.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
Interrupt:12 Base address:0x8f00
eth1 Link encap:Ethernet HWaddr 00:08:54:09:76:2B
inet addr:192.168.1.127 Bcast:192.168.1.255 Mask:255.255.255.0
UP BROADCAST NOTRAILERS RUNNING MULTICAST MTU:1500 Metric:1
RX packets:3952 errors:0 dropped:0 overruns:0 frame:0
TX packets:2343 errors:0 dropped:0 overruns:0 carrier:0
collisions:49 txqueuelen:1000
RX bytes:3828211 (3.6 Mb) TX bytes:213754 (208.7 Kb)
Interrupt:11 Base address:0xae00
|
Et donc: Code: | GentooServ root # ping -c 3 -I eth0 192.168.1.10
PING 192.168.1.10 (192.168.1.10) from 192.168.1.240 eth0: 56(84) bytes of data.
From 192.168.1.240 icmp_seq=1 Destination Host Unreachable
From 192.168.1.240 icmp_seq=2 Destination Host Unreachable
From 192.168.1.240 icmp_seq=3 Destination Host Unreachable
--- 192.168.1.10 ping statistics ---
3 packets transmitted, 0 received, +3 errors, 100% packet loss, time 1999ms
, pipe 3
GentooServ root # ping -c 3 -I eth1 192.168.1.10
PING 192.168.1.10 (192.168.1.10) from 192.168.1.127 eth1: 56(84) bytes of data.
64 bytes from 192.168.1.10: icmp_seq=1 ttl=128 time=0.219 ms
64 bytes from 192.168.1.10: icmp_seq=2 ttl=128 time=0.200 ms
64 bytes from 192.168.1.10: icmp_seq=3 ttl=128 time=0.192 ms
--- 192.168.1.10 ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 1999ms
rtt min/avg/max/mdev = 0.192/0.203/0.219/0.020 ms
|
Que faire? _________________ Linux? Il y a moins bien, mais c'est plus cher !
Last edited by mitch on Fri Jul 23, 2004 12:43 pm; edited 1 time in total |
|
Back to top |
|
|
DuF Advocate
Joined: 09 Dec 2002 Posts: 2687 Location: Paris
|
Posted: Fri Jul 23, 2004 9:04 am Post subject: |
|
|
Il dit quoi quand tu ping 192.168.1.240 ?
Utilises-tu une passerelle ? Si oui que donne la commande route ? |
|
Back to top |
|
|
mitch Apprentice
Joined: 30 Sep 2003 Posts: 221 Location: Chambéry
|
Posted: Fri Jul 23, 2004 9:12 am Post subject: |
|
|
Code: | GentooServ root # ping -c 3 192.168.1.240
PING 192.168.1.240 (192.168.1.240) 56(84) bytes of data.
64 bytes from 192.168.1.240: icmp_seq=1 ttl=64 time=0.074 ms
64 bytes from 192.168.1.240: icmp_seq=2 ttl=64 time=0.056 ms
64 bytes from 192.168.1.240: icmp_seq=3 ttl=64 time=0.050 ms
--- 192.168.1.240 ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 1999ms
rtt min/avg/max/mdev = 0.050/0.060/0.074/0.010 ms
|
J'utilise une passerelle mais uniquement pour aller sur le net.
Donc qui nous interesse pas pour mon probleme vu que je ping en local. _________________ Linux? Il y a moins bien, mais c'est plus cher ! |
|
Back to top |
|
|
Pachacamac Veteran
Joined: 22 Nov 2003 Posts: 1264 Location: Paris - France
|
Posted: Fri Jul 23, 2004 9:12 am Post subject: |
|
|
Tu peux donner le fichier /etc/conf.d/net ? |
|
Back to top |
|
|
mitch Apprentice
Joined: 30 Sep 2003 Posts: 221 Location: Chambéry
|
Posted: Fri Jul 23, 2004 9:15 am Post subject: |
|
|
Il est a l'origine comme ca mais j'ai modifier mes adresse avec ifconfig pour faire des test.
Car comme il est, seul eth1 marche. Le dhcp de eth0 ne fonctionant pas.
Code: |
GentooServ root # cat /etc/conf.d/net
# /etc/conf.d/net:
# $Header: /home/cvsroot/gentoo-src/rc-scripts/etc/conf.d/net,v 1.7 2002/11/18 19:39:22 azarah Exp $
# Global config file for net.* rc-scripts
# This is basically the ifconfig argument without the ifconfig $iface
#
#iface_eth0="192.168.0.2 broadcast 192.168.0.255 netmask 255.255.255.0"
iface_eth1="192.168.2.1 broadcast 192.168.2.255 netmask 255.255.255.0"
# For DHCP set iface_eth? to "dhcp"
# For passing options to dhcpcd use dhcpcd_eth?
#
iface_eth0="dhcp"
#dhcpcd_eth0="..."
# For adding aliases to a interface
#
#alias_eth0="192.168.0.3 192.168.0.4"
# NB: The next is only used for aliases.
#
# To add a custom netmask/broadcast address to created aliases,
# uncomment and change accordingly. Leave commented to assign
# defaults for that interface.
#
#broadcast_eth0="192.168.0.255 192.168.0.255"
#netmask_eth0="255.255.255.0 255.255.255.0"
# For setting the default gateway
#
#gateway="eth0/192.168.0.1"
|
_________________ Linux? Il y a moins bien, mais c'est plus cher ! |
|
Back to top |
|
|
DuF Advocate
Joined: 09 Dec 2002 Posts: 2687 Location: Paris
|
Posted: Fri Jul 23, 2004 9:16 am Post subject: |
|
|
Bon je vais être chiant, mais en complément de la question de Pachamac, est-ce qu'un ping de 192.168.1.127 vers 192.168.1.240 fonctionne ? |
|
Back to top |
|
|
mitch Apprentice
Joined: 30 Sep 2003 Posts: 221 Location: Chambéry
|
Posted: Fri Jul 23, 2004 9:24 am Post subject: |
|
|
Meme pas
Voila le resultat: Code: | GentooServ root # ping -c 3 -I eth1 192.168.1.240
PING 192.168.1.240 (192.168.1.240) from 192.168.1.127 eth1: 56(84) bytes of data.
From 192.168.1.127 icmp_seq=1 Destination Host Unreachable
From 192.168.1.127 icmp_seq=2 Destination Host Unreachable
From 192.168.1.127 icmp_seq=3 Destination Host Unreachable
--- 192.168.1.240 ping statistics ---
3 packets transmitted, 0 received, +3 errors, 100% packet loss, time 1999ms
, pipe 3
|
_________________ Linux? Il y a moins bien, mais c'est plus cher ! |
|
Back to top |
|
|
DomiX Apprentice
Joined: 26 Oct 2003 Posts: 209 Location: Paris (FRANCE)
|
Posted: Fri Jul 23, 2004 9:28 am Post subject: |
|
|
Bonjour
J'ai eu aussi pas mal de problème avec une realtek, regarde dans les log ce qui se passe. Car il se peut que tu es des 'TIME-OUT'. C'est l'erreur que j'avais, pour la résoudre, j'ai du passé au démarrage du kernel l'option noapic
Bye _________________ "La connaissance technique ne suffit pas. On doit surpasser les techniques de sorte que l'art devienne un art sans artifice qui apparaît de l'inconscient."
- Daisetsu Suzuki (1870-1966) - |
|
Back to top |
|
|
Pachacamac Veteran
Joined: 22 Nov 2003 Posts: 1264 Location: Paris - France
|
Posted: Fri Jul 23, 2004 9:30 am Post subject: |
|
|
#iface_eth0="192.168.0.2 broadcast 192.168.0.255 netmask 255.255.255.0"
iface_eth1="192.168.2.1 broadcast 192.168.2.255 netmask 255.255.255.0"
# For DHCP set iface_eth? to "dhcp"
# For passing options to dhcpcd use dhcpcd_eth?
#
iface_eth0="dhcp"
#dhcpcd_eth0="..."
Mais en même temps tu fais des pings sur 192.168.1.240.
Donc entre tout est ce que tu ne t'es pas mélangé les pinceaux ?
Je te conseille iface_eth0="192.168.1.240 broadcast 192.168.1.255 netmask 255.255.255.0"
#iface_eth1="192.168.2.1broadcast 192.168.2.255 netmask 255.255.255.0"
# For DHCP set iface_eth? to "dhcp"
# For passing options to dhcpcd use dhcpcd_eth?
#
iface_eth1="dhcp"
#dhcpcd_eth0="..."
Last edited by Pachacamac on Fri Jul 23, 2004 9:31 am; edited 1 time in total |
|
Back to top |
|
|
mitch Apprentice
Joined: 30 Sep 2003 Posts: 221 Location: Chambéry
|
Posted: Fri Jul 23, 2004 9:31 am Post subject: |
|
|
J'ai bien indiquer que j'ai modifier ensuite mes adresses Ip pour faire mes test.
Regarde le ifconfig plus Haut _________________ Linux? Il y a moins bien, mais c'est plus cher ! |
|
Back to top |
|
|
mitch Apprentice
Joined: 30 Sep 2003 Posts: 221 Location: Chambéry
|
Posted: Fri Jul 23, 2004 9:33 am Post subject: |
|
|
DomiX wrote: | Bonjour
J'ai eu aussi pas mal de problème avec une realtek, regarde dans les log ce qui se passe. Car il se peut que tu es des 'TIME-OUT'. C'est l'erreur que j'avais, pour la résoudre, j'ai du passé au démarrage du kernel l'option noapic
Bye |
Tu pence que se soit ca?
Code: | GentooServ root # dmesg |grep time
Using tsc for high-res timesource
Using local APIC timer interrupts.
calibrating APIC timer ...
Machine check exception polling timer started.
NETDEV WATCHDOG: eth0: transmit timed out
eth0: Transmit timeout, status 0c 0005 c07f media 10.
NETDEV WATCHDOG: eth0: transmit timed out
eth0: Transmit timeout, status 0c 0005 c07f media 10.
NETDEV WATCHDOG: eth0: transmit timed out
eth0: Transmit timeout, status 0c 0005 c07f media 10.
NETDEV WATCHDOG: eth0: transmit timed out
eth0: Transmit timeout, status 0c 2025 c07f media 1c.
|
_________________ Linux? Il y a moins bien, mais c'est plus cher ! |
|
Back to top |
|
|
Pachacamac Veteran
Joined: 22 Nov 2003 Posts: 1264 Location: Paris - France
|
Posted: Fri Jul 23, 2004 9:33 am Post subject: |
|
|
Ouais j'ai vu mais bon parfois on modifie encore et encore et au bout d'un moment on ne sais plus ce qu'on à fait, si c'était avant ou après etc... Mais peut être que je suis seul dans ce cas
Est ce que tu peux nous donner le retour de la commande route ? |
|
Back to top |
|
|
mitch Apprentice
Joined: 30 Sep 2003 Posts: 221 Location: Chambéry
|
Posted: Fri Jul 23, 2004 9:37 am Post subject: |
|
|
Le route que vous voyez vient du DHCP. Je n'ai pas fait de commande route a la mano
Code: | GentooServ root # route
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
192.168.1.0 * 255.255.255.0 U 0 0 0 eth1
192.168.1.0 * 255.255.255.0 U 0 0 0 eth0
loopback localhost 255.0.0.0 UG 0 0 0 lo
default 192.168.1.1 0.0.0.0 UG 0 0 0 eth1
|
_________________ Linux? Il y a moins bien, mais c'est plus cher ! |
|
Back to top |
|
|
DomiX Apprentice
Joined: 26 Oct 2003 Posts: 209 Location: Paris (FRANCE)
|
Posted: Fri Jul 23, 2004 9:41 am Post subject: |
|
|
mitch wrote: | DomiX wrote: | Bonjour
J'ai eu aussi pas mal de problème avec une realtek, regarde dans les log ce qui se passe. Car il se peut que tu es des 'TIME-OUT'. C'est l'erreur que j'avais, pour la résoudre, j'ai du passé au démarrage du kernel l'option noapic
Bye |
Tu pence que se soit ca?
Code: | GentooServ root # dmesg |grep time
Using tsc for high-res timesource
Using local APIC timer interrupts.
calibrating APIC timer ...
Machine check exception polling timer started.
NETDEV WATCHDOG: eth0: transmit timed out
eth0: Transmit timeout, status 0c 0005 c07f media 10.
NETDEV WATCHDOG: eth0: transmit timed out
eth0: Transmit timeout, status 0c 0005 c07f media 10.
NETDEV WATCHDOG: eth0: transmit timed out
eth0: Transmit timeout, status 0c 0005 c07f media 10.
NETDEV WATCHDOG: eth0: transmit timed out
eth0: Transmit timeout, status 0c 2025 c07f media 1c.
|
|
Oui c'est ce type d'erreur que j'avais _________________ "La connaissance technique ne suffit pas. On doit surpasser les techniques de sorte que l'art devienne un art sans artifice qui apparaît de l'inconscient."
- Daisetsu Suzuki (1870-1966) - |
|
Back to top |
|
|
mitch Apprentice
Joined: 30 Sep 2003 Posts: 221 Location: Chambéry
|
Posted: Fri Jul 23, 2004 9:47 am Post subject: |
|
|
Je vient d'essayer avec "noapic" mais ca marche pas.
Pour confirmation voila mon grub.conf
Code: | GentooServ root # more /boot/grub/grub.conf
default 0
timeout 5
splashimage=(hd0,0)/grub/splash.xpm.gz
title=Gentoo Linux 2.6.7
root (hd0,0)
kernel /kernel-2.6.7-gentoo-r11 root=/dev/hda3 vga=0x317 noapic
#kernel /kernel-2.6.7-gentoo-r11 root=/dev/ram0 real_root=/dev/hda3 init=/linuxr
c vga=0x317
#initrd /initrd-2.6.7-gentoo-r11
|
_________________ Linux? Il y a moins bien, mais c'est plus cher ! |
|
Back to top |
|
|
DomiX Apprentice
Joined: 26 Oct 2003 Posts: 209 Location: Paris (FRANCE)
|
Posted: Fri Jul 23, 2004 9:55 am Post subject: |
|
|
En tout cas selon moi, c'est visiblement un problème au niveau hardware, si tu as la possibilité prend une autre carte réseau tu y gagneras
Bye
EDIT: je viens de penser à un truc vu que tu utilise le module, tu peux essayer de le charger avec certain paramètre comme l'IRQ _________________ "La connaissance technique ne suffit pas. On doit surpasser les techniques de sorte que l'art devienne un art sans artifice qui apparaît de l'inconscient."
- Daisetsu Suzuki (1870-1966) - |
|
Back to top |
|
|
mitch Apprentice
Joined: 30 Sep 2003 Posts: 221 Location: Chambéry
|
Posted: Fri Jul 23, 2004 9:58 am Post subject: |
|
|
DomiX wrote: | En tout cas selon moi, c'est visiblement un problème au niveau hardware, si tu as la possibilité prend une autre carte réseau tu y gagneras
Bye |
J'y est pencé aussi. Mais si c'etait un problème hardware, avec le Live-cd ca ne marcherai pas.
Mais avec ca marche, je suis sur, il y avait qu'une carte de branché et c'est eth0
Donc retour à la case depart
EDIT: Yahooooooo Je suis apprentice _________________ Linux? Il y a moins bien, mais c'est plus cher !
Last edited by mitch on Fri Jul 23, 2004 9:59 am; edited 1 time in total |
|
Back to top |
|
|
Pachacamac Veteran
Joined: 22 Nov 2003 Posts: 1264 Location: Paris - France
|
Posted: Fri Jul 23, 2004 9:59 am Post subject: |
|
|
mitch wrote: | Le route que vous voyez vient du DHCP. Je n'ai pas fait de commande route a la mano
Code: | GentooServ root # route
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
192.168.1.0 * 255.255.255.0 U 0 0 0 eth1
192.168.1.0 * 255.255.255.0 U 0 0 0 eth0
loopback localhost 255.0.0.0 UG 0 0 0 lo
default 192.168.1.1 0.0.0.0 UG 0 0 0 eth1
|
|
Il serai intéressant de l'avoir pour tous tes postes |
|
Back to top |
|
|
mitch Apprentice
Joined: 30 Sep 2003 Posts: 221 Location: Chambéry
|
Posted: Fri Jul 23, 2004 10:00 am Post subject: |
|
|
Pachacamac wrote: | mitch wrote: | Le route que vous voyez vient du DHCP. Je n'ai pas fait de commande route a la mano
Code: | GentooServ root # route
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
192.168.1.0 * 255.255.255.0 U 0 0 0 eth1
192.168.1.0 * 255.255.255.0 U 0 0 0 eth0
loopback localhost 255.0.0.0 UG 0 0 0 lo
default 192.168.1.1 0.0.0.0 UG 0 0 0 eth1
|
|
Il serai intéressant de l'avoir pour tous tes postes |
CAD? Je comprend pas _________________ Linux? Il y a moins bien, mais c'est plus cher ! |
|
Back to top |
|
|
DuF Advocate
Joined: 09 Dec 2002 Posts: 2687 Location: Paris
|
Posted: Fri Jul 23, 2004 10:05 am Post subject: |
|
|
T'as essayé de changé physiquement les câbles réseaux voir si ça ne viendrait pas de l'un d'eux ? |
|
Back to top |
|
|
mitch Apprentice
Joined: 30 Sep 2003 Posts: 221 Location: Chambéry
|
Posted: Fri Jul 23, 2004 11:26 am Post subject: |
|
|
Les 2 Cables reseau marche correctement.
L'un me sert pour mon PC Principal, et l'autre est celui d'un collegue.
De toute façon c'est le meme qui ma servi a installer la Gentoo. _________________ Linux? Il y a moins bien, mais c'est plus cher ! |
|
Back to top |
|
|
Pachacamac Veteran
Joined: 22 Nov 2003 Posts: 1264 Location: Paris - France
|
Posted: Fri Jul 23, 2004 12:24 pm Post subject: |
|
|
Je n'avais pas fait attention mais sur ton 1er post tu as
Code: | collisions:49 txqueuelen:1000 |
Tu as peut-être plusieurs IP identiques sur le même réseau. |
|
Back to top |
|
|
kernelsensei Bodhisattva
Joined: 22 Feb 2004 Posts: 5619 Location: Woustviller/Moselle/FRANCE (49.07°N;7.02°E)
|
Posted: Fri Jul 23, 2004 12:33 pm Post subject: |
|
|
les 2 interfaces sont sur le meme rang d'ip avec le MEME sous reseau, il est possible que le systeme perde la boule au niveau de la table de routage !
essaye voir avec eth0 = 192.168.0.x et eth1 = 192.168.1.x _________________ $ ruby -e'puts " .:@BFegiklnorst".unpack("x4ax7aaX6ax5aX15ax4aax6aaX7ax2aX5aX8 \
axaX3ax8aX4ax6aX3aX6ax3ax3aX9ax4ax2aX9axaX6ax3aX2ax4ax3aX4aXaX12ax10aaX7a").join'
Last edited by kernelsensei on Fri Jul 23, 2004 12:35 pm; edited 1 time in total |
|
Back to top |
|
|
mitch Apprentice
Joined: 30 Sep 2003 Posts: 221 Location: Chambéry
|
Posted: Fri Jul 23, 2004 12:34 pm Post subject: |
|
|
Ca marche !!!!
Bon ne me demandez pas pourquoi.
J'ai simplement inverser de place les carte et depuis les 2 marche en DHCP.
Par contre pourquoi avec le Live-cd ca marchait, aucune idée.
Merci pour toutes vos propositions
_________________ Linux? Il y a moins bien, mais c'est plus cher ! |
|
Back to top |
|
|
mitch Apprentice
Joined: 30 Sep 2003 Posts: 221 Location: Chambéry
|
Posted: Fri Jul 23, 2004 12:37 pm Post subject: |
|
|
Pachacamac wrote: | Je n'avais pas fait attention mais sur ton 1er post tu as
Code: | collisions:49 txqueuelen:1000 |
Tu as peut-être plusieurs IP identiques sur le même réseau. |
J'avais pas fait gaffe aussi
Mais je vient de faire un essai et 192.168.1.240 (eth0) n'existe pas sur le reseau et 192.168.1.127 (eth1), c'est le DHCP qui me la fournit. _________________ Linux? Il y a moins bien, mais c'est plus cher !
Last edited by mitch on Fri Jul 23, 2004 12:42 pm; edited 1 time in total |
|
Back to top |
|
|
|