PDA

View Full Version : [Linux, Debian] problema rete


bamba`
21-08-2006, 17:46
Il punto è presto detto: stamani dopo mille peripezie ed esser riuscito a installare i driver ati sul kernel 2.6.17 con accelerazione 3d e skype, mi sono trovato senza rete indi senza internet sul portatile dove ho linux. Sembra tutto apposto, ifconfig è configurato, il resolve.conf per route uguale, il default gw idem...
solo che se faccio un ping ad una qualsiasi cosa mi dice host unreachable...e ovviamente tra le qualsiasi cosa c'è anche il router
non so più dove andare a pescare, ho provato anche a ricaricare i moduli della sk di rete, ma niente...
ho una sarge 3.1 upgradata a etch

il problema è che sono configurate come cristo comanda
comunque eccoli:
connessione è su ethernet ad un router adsl su libero
i conf invece sono

#resolve.conf
nameserver 10.0.0.2 // ip del router

#host.conf
multi off

#hosts.conf
127.0.0.1 localhost... ecc
10.0.0.11 Tommy..it Tommy // ip del portatile

#networks.conf
localnet 10.0.0.0

#interfaces
[..]parametri di l0[..]
auto eth0
iface eth0 inet static
network 10.0.0.0
broadcast 10.0.0.255
dns-nameserver 10.0.0.2
dns-search .it
address 10.0.0.11
netmask 255.255.255.0
gateway 10.0.0.2

l'output di ifconfig è analogo...non ho errori nè in in tx nè in rx, e i pacchetti sono sempre fermi ad un numero basso rx 45 e tx 105, penso siano pacchetti di test inviati al caricamento...

il punto è che io non ho toccato niente, e mi sembra anche tutto ok
non è che skype ha scassato un attimo qualcosa? avevo letto di un pacchetto .deb di skype danneggiato...

consigli?



ps. su win funge tutto, ergo la sk funziona

EDIT1: in var/loga/messages il NETDEV WATCHDOG mi dice eth0:transmit timed out
noonstante ciò ho eth0: link up, 100Mbps, full-duplex, lpa 0x41R1

doomsday
21-08-2006, 22:39
dai sto commandi e dimmi cosa vedi


# dmesg | grep eth0(device della tua scheda di rete)

e poi dai sto commando

# route

Tommino84
21-08-2006, 23:22
bamba fino ad ora ha postato a nome per farmi un favore. eccoti gli output, ma sulle config di routing non ci sono problemi al 99,9%...

#dmesg | grep eth0
eth0: RealTek RTL8139 at 0x1000 mac, IRQ 193
eth0: Identified 8139 chip type 'RTL-82100B/8139D'
eth0: link up, 100Mbps, full-duplex. lpa 0x41E1
eth0: no IPV6 routers present
NETDEV WATCHDOG: eth0: transmit timed out
eth0: transmit timeout, status 0c 0005 c07f media 10.
eth0: Tx queue start entry 95 dirty entry 91
eth0: Tx descriptot 0 is 000a05a.
eth0: Tx descriptot 1 is 000a05a.
eth0: Tx descriptot 2 is 000a05a.
eth0: Tx descriptot 3 is 000a05a. (queue head)
eth0: link up, 100Mbps, full-duplex. lpa 0x41E1
NETDEV WATCHDOG: eth0: transmit timed out
eth0: transmit timeout, status 0c 0005 c07f media 10.
eth0: Tx queue start entry 4 dirty entry 0
eth0: Tx descriptot 0 is 000a05a. (queue head)
eth0: Tx descriptot 1 is 000a05a.
eth0: Tx descriptot 2 is 000a05a.
eth0: Tx descriptot 3 is 000a05a.
eth0: link up, 100Mbps, full-duplex. lpa 0x41E1
NETDEV WATCHDOG: eth0: transmit timed out
eth0: transmit timeout, status 0c 0005 c07f media 10.
eth0: Tx queue start entry 4 dirty entry 0
eth0: Tx descriptot 0 is 000a05a. (queue head)
eth0: Tx descriptot 1 is 000a05a.
eth0: Tx descriptot 2 is 000a05a.
eth0: Tx descriptot 3 is 000a05a.
eth0: link up, 100Mbps, full-duplex. lpa 0x41E1
NETDEV WATCHDOG: eth0: transmit timed out
eth0: transmit timeout, status 0c 0005 c07f media 10.
eth0: Tx queue start entry 4 dirty entry 0
eth0: Tx descriptot 0 is 000a05a. (queue head)
eth0: Tx descriptot 1 is 000a05a.
eth0: Tx descriptot 2 is 000a05a.
eth0: Tx descriptot 3 is 000a05a.
eth0: link up, 100Mbps, full-duplex. lpa 0x41E1
NETDEV WATCHDOG: eth0: transmit timed out
eth0: transmit timeout, status 0c 0005 c07f media 10.
eth0: Tx queue start entry 4 dirty entry 0
eth0: Tx descriptot 0 is 000a05a. (queue head)
eth0: Tx descriptot 1 is 000a05a.
eth0: Tx descriptot 2 is 000a05a.
eth0: Tx descriptot 3 is 000a05a.
eth0: link up, 100Mbps, full-duplex. lpa 0x41E1
NETDEV WATCHDOG: eth0: transmit timed out
eth0: transmit timeout, status 0c 0005 c07f media 10.
eth0: Tx queue start entry 4 dirty entry 0
eth0: Tx descriptot 0 is 000a05a. (queue head)
eth0: Tx descriptot 1 is 000a05a.
eth0: Tx descriptot 2 is 000a05a.
eth0: Tx descriptot 3 is 000a05a.
eth0: link up, 100Mbps, full-duplex. lpa 0x41E1
NETDEV WATCHDOG: eth0: transmit timed out
eth0: transmit timeout, status 0c 0005 c07f media 10.
eth0: Tx queue start entry 4 dirty entry 0
eth0: Tx descriptot 0 is 000a05a. (queue head)
eth0: Tx descriptot 1 is 000a05a.
eth0: Tx descriptot 2 is 000a03c.
eth0: Tx descriptot 3 is 000a05a.
eth0: link up, 100Mbps, full-duplex. lpa 0x41E1
NETDEV WATCHDOG: eth0: transmit timed out
eth0: transmit timeout, status 0c 0005 c07f media 10.
eth0: Tx queue start entry 4 dirty entry 0
eth0: Tx descriptot 0 is 000a03c. (queue head)
eth0: Tx descriptot 1 is 000a05a.
eth0: Tx descriptot 2 is 000a03c.
eth0: Tx descriptot 3 is 000a03c.
eth0: link up, 100Mbps, full-duplex. lpa 0x41E1
NETDEV WATCHDOG: eth0: transmit timed out
eth0: transmit timeout, status 0c 0005 c07f media 10.
eth0: Tx queue start entry 4 dirty entry 0
eth0: Tx descriptot 0 is 000a03c. (queue head)
eth0: Tx descriptot 1 is 000a100.
eth0: Tx descriptot 2 is 000a03c.
eth0: Tx descriptot 3 is 000a03c.
eth0: link up, 100Mbps, full-duplex. lpa 0x41E1
NETDEV WATCHDOG: eth0: transmit timed out
eth0: transmit timeout, status 0c 0005 c07f media 10.
eth0: Tx queue start entry 4 dirty entry 0
eth0: Tx descriptot 0 is 000a03c. (queue head)
eth0: Tx descriptot 1 is 000a03c.
eth0: Tx descriptot 2 is 000a03c.
eth0: Tx descriptot 3 is 000a03c.
eth0: link up, 100Mbps, full-duplex. lpa 0x41E1
NETDEV WATCHDOG: eth0: transmit timed out
eth0: transmit timeout, status 0c 0005 c07f media 10.
eth0: Tx queue start entry 4 dirty entry 0
eth0: Tx descriptot 0 is 000a100. (queue head)
eth0: Tx descriptot 1 is 000a03c.
eth0: Tx descriptot 2 is 000a03c.
eth0: Tx descriptot 3 is 000a03c.
eth0: link up, 100Mbps, full-duplex. lpa 0x41E1
NETDEV WATCHDOG: eth0: transmit timed out
eth0: transmit timeout, status 0c 0005 c07f media 10.
eth0: Tx queue start entry 4 dirty entry 0
eth0: Tx descriptot 0 is 000a03c. (queue head)
eth0: Tx descriptot 1 is 000a03c.
eth0: Tx descriptot 2 is 000a03c.
eth0: Tx descriptot 3 is 000a05c.
eth0: link up, 100Mbps, full-duplex. lpa 0x41E1
NETDEV WATCHDOG: eth0: transmit timed out
eth0: transmit timeout, status 0c 0005 c07f media 10.
eth0: Tx queue start entry 4 dirty entry 0
eth0: Tx descriptot 0 is 000a05c. (queue head)
eth0: Tx descriptot 1 is 000a05c.
eth0: Tx descriptot 2 is 000a05c.
eth0: Tx descriptot 3 is 000a0e6.
eth0: link up, 100Mbps, full-duplex. lpa 0x41E1
NETDEV WATCHDOG: eth0: transmit timed out
eth0: transmit timeout, status 0c 0005 c07f media 10.
eth0: Tx queue start entry 4 dirty entry 0
eth0: Tx descriptot 0 is 000a0e6. (queue head)
eth0: Tx descriptot 1 is 000a03c.
eth0: Tx descriptot 2 is 000a03c.
eth0: Tx descriptot 3 is 000a0e6.
eth0: link up, 100Mbps, full-duplex. lpa 0x41E1
NETDEV WATCHDOG: eth0: transmit timed out
eth0: transmit timeout, status 0c 0005 c07f media 10.
eth0: Tx queue start entry 4 dirty entry 0
eth0: Tx descriptot 0 is 000a03c. (queue head)
eth0: Tx descriptot 1 is 000a0e6.
eth0: Tx descriptot 2 is 000a03c.
eth0: Tx descriptot 3 is 000a0e6.
eth0: link up, 100Mbps, full-duplex. lpa 0x41E1
NETDEV WATCHDOG: eth0: transmit timed out
eth0: transmit timeout, status 0c 0005 c07f media 10.
eth0: Tx queue start entry 4 dirty entry 0
eth0: Tx descriptot 0 is 000a0e6. (queue head)
eth0: Tx descriptot 1 is 000a06e.
eth0: Tx descriptot 2 is 000a03c.
eth0: Tx descriptot 3 is 000a06e.
eth0: link up, 100Mbps, full-duplex. lpa 0x41E1
NETDEV WATCHDOG: eth0: transmit timed out
eth0: transmit timeout, status 0c 0005 c07f media 10.
eth0: Tx queue start entry 4 dirty entry 0
eth0: Tx descriptot 0 is 000a06e. (queue head)
eth0: Tx descriptot 1 is 000a06e.
eth0: Tx descriptot 2 is 000a06e.
eth0: Tx descriptot 3 is 000a06e.
eth0: link up, 100Mbps, full-duplex. lpa 0x41E1
NETDEV WATCHDOG: eth0: transmit timed out
eth0: transmit timeout, status 0c 0005 c07f media 10.
eth0: Tx queue start entry 4 dirty entry 0
eth0: Tx descriptot 0 is 000a06e. (queue head)
eth0: Tx descriptot 1 is 000a06e.
eth0: Tx descriptot 2 is 000a0da.
eth0: Tx descriptot 3 is 000a100.
eth0: link up, 100Mbps, full-duplex. lpa 0x41E1
NETDEV WATCHDOG: eth0: transmit timed out
eth0: transmit timeout, status 0c 0005 c07f media 10.
eth0: Tx queue start entry 4 dirty entry 0
eth0: Tx descriptot 0 is 000a08f. (queue head)
eth0: Tx descriptot 1 is 000a03c.
eth0: Tx descriptot 2 is 000a03c.
eth0: Tx descriptot 3 is 000a03c.
eth0: link up, 100Mbps, full-duplex. lpa 0x41E1
NETDEV WATCHDOG: eth0: transmit timed out
eth0: transmit timeout, status 0c 0005 c07f media 10.
eth0: Tx queue start entry 4 dirty entry 0
eth0: Tx descriptot 0 is 000a03c. (queue head)
eth0: Tx descriptot 1 is 000a03c.
eth0: Tx descriptot 2 is 000a03c.
eth0: Tx descriptot 3 is 000a03c.
eth0: link up, 100Mbps, full-duplex. lpa 0x41E1
NETDEV WATCHDOG: eth0: transmit timed out
eth0: transmit timeout, status 0c 0005 c07f media 10.
eth0: Tx queue start entry 4 dirty entry 0
eth0: Tx descriptot 0 is 000a03c. (queue head)
eth0: Tx descriptot 1 is 000a03c.
eth0: Tx descriptot 2 is 000a03c.
eth0: Tx descriptot 3 is 000a03c.
eth0: link up, 100Mbps, full-duplex. lpa 0x41E1
NETDEV WATCHDOG: eth0: transmit timed out
eth0: transmit timeout, status 0c 0005 c07f media 10.
eth0: Tx queue start entry 4 dirty entry 0
eth0: Tx descriptot 0 is 000a03c. (queue head)
eth0: Tx descriptot 1 is 000a03c.
eth0: Tx descriptot 2 is 000a03c.
eth0: Tx descriptot 3 is 000a03c.
eth0: link up, 100Mbps, full-duplex. lpa 0x41E1
NETDEV WATCHDOG: eth0: transmit timed out
eth0: transmit timeout, status 0c 0005 c07f media 10.
eth0: Tx queue start entry 4 dirty entry 0
eth0: Tx descriptot 0 is 000a03c. (queue head)
eth0: Tx descriptot 1 is 000a03c.
eth0: Tx descriptot 2 is 000a03c.
eth0: Tx descriptot 3 is 000a03c.
eth0: link up, 100Mbps, full-duplex. lpa 0x41E1
NETDEV WATCHDOG: eth0: transmit timed out
eth0: transmit timeout, status 0c 0005 c07f media 10.
eth0: Tx queue start entry 4 dirty entry 0
eth0: Tx descriptot 0 is 000a03c. (queue head)
eth0: Tx descriptot 1 is 000a03c.
eth0: Tx descriptot 2 is 000a03c.
eth0: Tx descriptot 3 is 000a03c.
eth0: link up, 100Mbps, full-duplex. lpa 0x41E1
NETDEV WATCHDOG: eth0: transmit timed out
eth0: transmit timeout, status 0c 0005 c07f media 10.
eth0: Tx queue start entry 4 dirty entry 0
eth0: Tx descriptot 0 is 000a03c. (queue head)
eth0: Tx descriptot 1 is 000a03c.
eth0: Tx descriptot 2 is 000a03c.
eth0: Tx descriptot 3 is 000a03c.


#route

Destination Gateway Genmask Flags Metric Ref Use Iface
localnet * 255.255.255.0 U 0 0 0 eth0
default 10.0.0.2 255.255.255.0 UG 0 0 0 eth0

Non riesco sinceramente a capire cosa diavolo voglia quel transmit timed out...

MrAsd
21-08-2006, 23:41
Per me c'e' qualche problema con il driver della scheda di rete.
Prova a ricompilare il kernel disabilitando il supporto al local Apic. Prova anche a bootare disabilitando l'ACPI (che teoricamente dovrebbe evitare i conflitti di irq ma non e' sempre infallibile...)

Tommino84
22-08-2006, 00:19
il punto è che io il kernel non l'ho toccato, non ho fatto niente, se non installare driver ati con la guida per ubuntu/dapper, niente di più...cioè fino a ieri funzionava tutto alla perfezione... domani provo...
sennò come posso fare per trashare il driver o non farlo caricare al kernel e provare a farglielo ricaricare successivamente?

doomsday
22-08-2006, 03:38
ma come mai tutta quella sfilzza di messagi???'
se io faccio

# dmesg | grep eth1
eth1: RealTek RTL8139 at 0xf8806000, 00:a0:c5:41:4e:69, IRQ 16
eth1: Identified 8139 chip type 'RTL-8100B/8139D'
eth1394: eth2: IEEE-1394 IPv4 over 1394 Ethernet (fw-host0)
eth1: link up, 100Mbps, full-duplex, lpa 0x45E1
eth1: link up, 100Mbps, full-duplex, lpa 0x45E1
eth1: no IPv6 routers present

ho solo questi..


Ps..calcola che quando usi sto comando è ti da il risultato di sopra voll dire che la scheda di rete he stata identificata ecc..

doomsday
22-08-2006, 03:54
ba intanto prova a dare il commando

route add default dev eth0

e poi ridai il commando ROUTE...e vedi se cambia qualcosa...
M..cmunque rileggendo bene il logo dell commando

dmesg | grep eth0

mi sa che in efetti è un probblema di driver... :doh:

ho notato che usiamo la stessa scheda di rete ( RealTek RTL8139 )
prova a caricare sto modulo 8139too

# modprobe 8139too

MrAsd
22-08-2006, 10:49
ho notato che usiamo la stessa scheda di rete ( RealTek RTL8139 )
prova a caricare sto modulo 8139too


bhe il modulo e' gia' caricato altrimenti non apparirebbe:
eth0: RealTek RTL8139 at 0x1000 mac, IRQ 193
eth0: Identified 8139 chip type 'RTL-82100B/8139D'
eth0: link up, 100Mbps, full-duplex. lpa 0x41E1

Per me c'e' un conflitto: ipv6? local apic? irq dei driver ati?
Sfortunatamente ho paura che per trovare il responsabile sia necessario andare per tentativi. :boh:

Tommino84
22-08-2006, 10:56
si accettano suggerimenti e howto :(


edit: un particolare, facendo lsmod, l'output mi dice che 8139cp e 8139too sono used by 0...lo deve fare?

Tommino84
22-08-2006, 11:46
ho fatto una prova...
disinstallato completamente i driver ati...
ora funge la rete ma sono senza accelerazione 3d :cry:
provato a reinstallare...sono proprio loro che generano il conflitto...
come posso provare a risolverlo?

doomsday
22-08-2006, 14:35
per MrAsd

ce lo so che è installato il modulo..


Tommino84 se dici come li ai installati sti driver ecc forse ne veniamo fuori...come prima cosa che driver ai installato??' piu informazzioni ci dai meglio è ..cosi vediamo se ai commesso qualche erorre ecc.·. :fagiano:
e poi sti driver dove li ai presi??' sei andato nell sito ufficiale ho rimediato da terzi?? :D

Tommino84
22-08-2006, 15:42
ho usato i driveer ati originali e li ho ricostruiti per il mio kernel usando la guida per ubuntu/dapper, metodo 2:
http://wiki.cchtml.com/index.php/Ubuntu_Dapper_Installation_Guide#Method_2:_Generating.2FInstalling_Ubuntu_packages_for_the_8.28.8_drivers_in_Ubuntu_Dapper_Manually
i driver funzionano perfettamente, la guida l'ho seguita alla lettera, tranne nella parte iniziale, non avendo debian i pacchetti restricted...per il resto tutto come esplicato e ha funzionato perfettamente

edit: provato a scaricare e ricaricare il modulo, non gli ha fatto nè caldo nè freddo
edit2: sto provando il boot col noapic...

Tommino84
22-08-2006, 16:31
col noapic parrebbe funzionare la rete....
faccio un pò di test in giro per vedere se tutto funziona...
ma il noapic che cosa mi fa esattamente?
cioè si possono trovare altre soluzioni più definitive che questa specie di boot in failsafe?

MrAsd
22-08-2006, 23:27
col noapic parrebbe funzionare la rete....
faccio un pò di test in giro per vedere se tutto funziona...
ma il noapic che cosa mi fa esattamente?
cioè si possono trovare altre soluzioni più definitive che questa specie di boot in failsafe?

Serve a disabilitare l'advanced programmable interrupt controller e a ripristinare il pic 8259 con il suo vecchio sistema di assegnazione degli irq. Non e' la soluzione ideale ma se non hai un sistema multiprocessore non dovrebbe neppure essere un grosso problema. Puoi provare ad aggiornare il Bios (a tuo rischo e pericolo) e vedere se la situazione migliora. Come ultima spiaggia puoi fare come me: disabiliti il supporto al local apic sui sistemi mono-processori e ricompili il kernel. ;)

Tommino84
23-08-2006, 00:38
il punto è che continuo a non capire come sia nato il problema...
avrà radice da qualche parte, no?
cmq aggiornare il bios è impensabile, linux è su un portatile :D
e al momento anche la voglia di ricompilarmi il kernel è meno di 0...
se avete qualche altra idea...

MrAsd
23-08-2006, 00:42
il punto è che continuo a non capire come sia nato il problema...
avrà radice da qualche parte, no?


La verita' nuda e cruda? I driver closed di Ati fanno pena.

Tommino84
23-08-2006, 10:21
La verita' nuda e cruda? I driver closed di Ati fanno pena.

ok questo lo sapevo :D
ma li avevo già installati col metodo stanchina su un kernel 2.6.8 e non avevano dato minimamente problemi...che nell'aggiornarsi abbiano cambiato qualcosa?

MrAsd
23-08-2006, 12:46
ok questo lo sapevo :D
ma li avevo già installati col metodo stanchina su un kernel 2.6.8 e non avevano dato minimamente problemi...che nell'aggiornarsi abbiano cambiato qualcosa?

Credo proprio che tu abbia ragione. Probabilmente e' il risultato di alcuni cambiamenti avvenuti sia nel kernel linux che nei driver ati, purtroppo, essendo questi ultimi "closed", si puo' fare ben poco a parte aspettare e sperare.
Mi fermo altrimenti rischio di evocare anche qui il flame dell'estate :D

Darecon
25-08-2006, 11:33
Non vorrei dire una cazzata, ma non e' che avendo fatto i pacchetti per ubuntu al posto di debian, abbia combinato cosini?? :confused: