Networking Forums

Networking Forums > Computer Networking > Linux Networking > problem with network - help needed

Reply
Thread Tools Display Modes

problem with network - help needed

 
 
Arek
Guest
Posts: n/a

 
      01-09-2004, 03:22 PM
Hello

My Linux (2.6.0 kernel) detects internet adapter but it wont function at
all, or detects ip number (via DHCP) after about 15 sec.
network Doesn't start even if I start from CD (Debian, Suse or Gentoo
install CD).
Knoppix doesnt work too.
Ping results with 100% packets loss.
And when I then: "ifconfig eth0 down" it stops 'working' and writes some
like this: "to many work on interrupt".
Hardware is ok because windows works good.
I have:
GA-5AX motherboard with AliM1543C and AliM1541 Chipsets.
Currently Realtek RTL8139(A) network card
(I tried also other cards).

Please help!
Thnx in adv.



 
Reply With Quote
 
 
 
 
Cameron Kerr
Guest
Posts: n/a

 
      01-10-2004, 01:30 PM
On 2004-01-09, Arek <(E-Mail Removed)> wrote:

> My Linux (2.6.0 kernel) detects internet adapter but it wont function at
> all, or detects ip number (via DHCP) after about 15 sec.


Please explain your use of the non-term "internet adapter". Do you mean
Ethernet NIC, Modem, Router, or something else?

Please answer the following questions.

Q/ What distribution, and version are you using?


Q/ What is the output of the following commands, AFTER you have received an
address via DHCP? (You will need to fully qualify the locations of these
programs if you are not logged in as root). Please perform these
commands in order.

lsmod

iptables -L

ping -c 5 IP_OF_DHCP_SERVER

ifconfig eth0

route -n | cut -b-45,72-

dmesg | tail -20


You haven't given us a great deal to go on, so I'm having to ask you a
lot of questions.


> And when I then: "ifconfig eth0 down" it stops 'working' and writes some
> like this: "to many work on interrupt".


Apparently, this means that more than one of the network cards was
working on the same IRQ, or on an IRQ used by other hardware.

Modern systems should be able to share it well enough, if you have
enable APIC in the kernel configuration, IIRC.

cat /proc/interrupts

--
Cameron Kerr
(E-Mail Removed) : http://nzgeeks.org/cameron/
Empowered by Perl!
 
Reply With Quote
 
Arek
Guest
Posts: n/a

 
      01-11-2004, 03:38 PM

> > My Linux (2.6.0 kernel) detects internet adapter but it wont function at
> > all, or detects ip number (via DHCP) after about 15 sec.

>
> Please explain your use of the non-term "internet adapter". Do you mean
> Ethernet NIC, Modem, Router, or something else?
>

Ethernet NIC

> Please answer the following questions.
>
> Q/ What distribution, and version are you using?
>

Debian 3.0r1
>
> Q/ What is the output of the following commands, AFTER you have received

an
> address via DHCP? (You will need to fully qualify the locations of these
> programs if you are not logged in as root). Please perform these
> commands in order.
>
> lsmod
>

Module Size Used by
8139too 18496 0

> iptables -L
>

FATAL: Module ip_tables not found.
iptables v1.2.6a: can't initialize iptables table `filter': iptables who?
(do you need to insmod?)
Perhaps iptables or your kernel needs to be upgraded.

> ping -c 5 IP_OF_DHCP_SERVER
>

ping: unknown host IP_OF_DHCP_SERVER

> ifconfig eth0
>

eth0 Link encap:Ethernet HWaddr 00:50:BA:xx:xx:xx
BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:1876 errors:3 dropped:2462 overruns:2 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:205082 (200.2 KiB) TX bytes:0 (0.0 b)
Interrupt:10 Base address:0x2000

> route -n | cut -b-45,72-
>

Kernel IP routing table
Destination Gateway Genmask Iface

> dmesg | tail -20
>

eth0: Tx descriptor 0 is 00002000. (queue head)
eth0: Tx descriptor 1 is 00002000.
eth0: Tx descriptor 2 is 00002000.
eth0: Tx descriptor 3 is 00002000.
eth0: link up, 100Mbps, full-duplex, lpa 0x45E1
NETDEV WATCHDOG: eth0: transmit timed out
eth0: Tx queue start entry 4 dirty entry 0.
eth0: Tx descriptor 0 is 00002000. (queue head)
eth0: Tx descriptor 1 is 00002000.
eth0: Tx descriptor 2 is 00002000.
eth0: Tx descriptor 3 is 00002000.
eth0: link up, 100Mbps, full-duplex, lpa 0x45E1
NETDEV WATCHDOG: eth0: transmit timed out
eth0: Tx queue start entry 4 dirty entry 0.
eth0: Tx descriptor 0 is 00002000. (queue head)
eth0: Tx descriptor 1 is 00002000.
eth0: Tx descriptor 2 is 00002000.
eth0: Tx descriptor 3 is 00002000.
eth0: link up, 100Mbps, full-duplex, lpa 0x45E1
eth0: Too much work at interrupt, IntrStatus=0x0001.
>
> You haven't given us a great deal to go on, so I'm having to ask you a
> lot of questions.
>
>
> > And when I then: "ifconfig eth0 down" it stops 'working' and writes some
> > like this: "to many work on interrupt".

>
> Apparently, this means that more than one of the network cards was
> working on the same IRQ, or on an IRQ used by other hardware.
>
> Modern systems should be able to share it well enough, if you have
> enable APIC in the kernel configuration, IIRC.
>

I have APIC compiled into kernel.

> cat /proc/interrupts
>


CPU0
0: 1210569 XT-PIC timer
1: 2616 XT-PIC i8042
2: 0 XT-PIC cascade
5: 0 XT-PIC Crystal CS4281
12: 150 XT-PIC i8042
14: 2533 XT-PIC ide0
15: 20 XT-PIC ide1
NMI: 0
LOC: 0
ERR: 0
MIS: 0

Also here is some part of 'kern.log' file:

Jan 11 18:00:50 arek kernel: 8139too Fast Ethernet driver 0.9.26
Jan 11 18:00:50 arek kernel: PCI: Found IRQ 10 for device 0000:00:08.0
Jan 11 18:00:50 arek kernel: divert: allocating divert_blk for eth0
Jan 11 18:00:50 arek kernel: eth0: RealTek RTL8139 at 0xcc852000,
00:50:ba:xx:xx:xx, IRQ 10
Jan 11 18:00:50 arek kernel: eth0: Identified 8139 chip type 'RTL-8139C'
Jan 11 18:00:50 arek kernel: eth0: link up, 100Mbps, full-duplex, lpa 0x45E1
Jan 11 18:00:50 arek kernel: NETDEV WATCHDOG: eth0: transmit timed out
Jan 11 18:00:50 arek kernel: eth0: Tx queue start entry 4 dirty entry 0.
Jan 11 18:00:50 arek kernel: eth0: Tx descriptor 0 is 00002000. (queue
head)
Jan 11 18:00:50 arek kernel: eth0: Tx descriptor 1 is 00002000.
Jan 11 18:00:50 arek kernel: eth0: Tx descriptor 2 is 00002000.
Jan 11 18:00:50 arek kernel: eth0: Tx descriptor 3 is 00002000.
Jan 11 18:00:50 arek kernel: eth0: link up, 100Mbps, full-duplex, lpa 0x45E1
Jan 11 18:00:50 arek kernel: NETDEV WATCHDOG: eth0: transmit timed out

Sory for delay in answer
Arek


 
Reply With Quote
 
Cameron Kerr
Guest
Posts: n/a

 
      01-12-2004, 01:12 AM
Arek <(E-Mail Removed)> wrote:

>> > My Linux (2.6.0 kernel) detects internet adapter but it wont function at
>> > all, or detects ip number (via DHCP) after about 15 sec.

>>
>> Please explain your use of the non-term "internet adapter". Do you mean
>> Ethernet NIC, Modem, Router, or something else?
>>

> Ethernet NIC


>> Q/ What distribution, and version are you using?
>>

> Debian 3.0r1


Excellent, that makes my job easier.

>> iptables -L
>>

> FATAL: Module ip_tables not found.


OK, so you don't have support for that configured in your kernel, that's
fine.

>> ping -c 5 IP_OF_DHCP_SERVER
>>

> ping: unknown host IP_OF_DHCP_SERVER


Sigh, you were supposed to replace IP_OF_DHCP_SERVER with the IP address
of your DHCP server.

>> ifconfig eth0
>>

> eth0 Link encap:Ethernet HWaddr 00:50:BA:xx:xx:xx
> BROADCAST MULTICAST MTU:1500 Metric:1
> RX packets:1876 errors:3 dropped:2462 overruns:2 frame:0


The dropped metric here is disturbing. I should look up the exact
meaning of that particular counter.

> TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
> collisions:0 txqueuelen:1000
> RX bytes:205082 (200.2 KiB) TX bytes:0 (0.0 b)
> Interrupt:10 Base address:0x2000


This is AFTER you've supposedly gotten an address? It seems that you're
client doesn't get an address at all.

>> dmesg | tail -20
>>

> eth0: Tx descriptor 0 is 00002000. (queue head)
> eth0: Tx descriptor 1 is 00002000.
> eth0: Tx descriptor 2 is 00002000.
> eth0: Tx descriptor 3 is 00002000.
> eth0: link up, 100Mbps, full-duplex, lpa 0x45E1
> NETDEV WATCHDOG: eth0: transmit timed out


Quite worrying. Have you tried using a different card, or
upgrading/downgrading your kernel to see if it works.

> I have APIC compiled into kernel.


Just out of curiosity, what happens when you boot with the noapic kernel
option.

>> cat /proc/interrupts


There is no entry here for your NIC.


I reccommend that you try a different card, or use the proper testing
tools (see the driver disk that came with the card). When I see NETDEV
WATCHDOG entries, it's usually a hardware problem, or perhaps PnP isn't
working on your system.

--
Cameron Kerr
(E-Mail Removed) : http://nzgeeks.org/cameron/
Empowered by Perl!
 
Reply With Quote
 
Jeroen Geilman
Guest
Posts: n/a

 
      01-12-2004, 04:52 AM
Arek wrote:

> Hardware is ok because windows works good.


Mwuhahahaaa

Sorry ;-)
 
Reply With Quote
 
Arek
Guest
Posts: n/a

 
      01-13-2004, 07:45 PM
YUPI!!! It works!!!! )))))))
Thanks for help Cameron!

What i did?
- first installed 2.6.1 kernel
- second i deselected APIC in my kernel despite
bios see Network Interface on IRQ 10 and Display Device also on IRQ 10
.... but Debian's /proc/interrupts lists only Network on 10irq.

Thanks one more time


 
Reply With Quote
 
Cameron Kerr
Guest
Posts: n/a

 
      01-14-2004, 04:15 AM
Arek <(E-Mail Removed)> wrote:
> YUPI!!! It works!!!! )))))))
> Thanks for help Cameron!


> - second i deselected APIC in my kernel despite
> bios see Network Interface on IRQ 10 and Display Device also on IRQ 10
> ... but Debian's /proc/interrupts lists only Network on 10irq.


The OS is free to reorganise the interupts from what the BIOS initially
sets, IIRC (its Plug-n-Play). Can anyone clarify this?

Otherwise, warm fuzzies all round.

--
Cameron Kerr
(E-Mail Removed) : http://nzgeeks.org/cameron/
Empowered by Perl!
 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Help is needed big time.... :-( fax problem Carlos Arruda Broadband 12 05-17-2005 09:37 PM
Technical help needed with wanadoo problem! Si Broadband 5 10-02-2004 11:14 AM
Dlink 614+ SSID problem Help needed Jay Japka Wireless Internet 4 02-14-2004 01:57 AM
help needed with www access and router setup problem Paul Wheeler Linux Networking 0 02-06-2004 06:29 PM
NDIS Shutdown Problem - Help Needed Frenchy Windows Networking 0 12-27-2003 09:09 PM



1 2 3 4 5 6 7 8 9 10 11