LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Reply
 
Search this Thread
Old 01-04-2014, 11:39 AM   #1
metaschima
Senior Member
 
Registered: Dec 2013
Distribution: Slackware
Posts: 1,332

Rep: Reputation: Disabled
eth0 doesn't show traffic, but Atheros ethernet card works


This is a strange issue that I can't understand. I can use the internet, upload and download just fine, but nothing shows up on any ethernet monitor.

Code:
bash-4.2$ /sbin/lspci -v
04:00.0 Ethernet controller: Qualcomm Atheros QCA8171 Gigabit Ethernet (rev 10)
	Subsystem: ASRock Incorporation Device 10a1
	Flags: bus master, fast devsel, latency 0, IRQ 45
	Memory at f0400000 (64-bit, non-prefetchable) [size=256K]
	I/O ports at e000 [size=128]
	Capabilities: <access denied>
	Kernel driver in use: alx
	Kernel modules: alx

bash-4.2$ /sbin/ifconfig
eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
        inet 192.168.1.73  netmask 255.255.255.0  broadcast 192.168.1.255
        inet6 fe80::be5f:f4ff:fed2:f958  prefixlen 64  scopeid 0x20<link>
        ether bc:5f:f4:d2:f9:58  txqueuelen 1000  (Ethernet)
        RX packets 0  bytes 0 (0.0 B)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 0  bytes 0 (0.0 B)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0
        device interrupt 19  

lo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536
        inet 127.0.0.1  netmask 255.0.0.0
        inet6 ::1  prefixlen 128  scopeid 0x10<host>
        loop  txqueuelen 0  (Local Loopback)
        RX packets 202  bytes 18100 (17.6 KiB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 202  bytes 18100 (17.6 KiB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

bash-4.2$ cat /proc/interrupts
 45:       8451          0          0          0   PCI-MSI-edge      eth0
the RX and TX for eth0 are always 0.

I suspect a driver issue. I am using kernel 3.10.25. I don't remember if it worked with earlier kernels.

Any ideas ?
 
Old 01-04-2014, 03:09 PM   #2
ReaperX7
Senior Member
 
Registered: Jul 2011
Distribution: LFS-SVN, FreeBSD 10.0
Posts: 3,391
Blog Entries: 15

Rep: Reputation: 945Reputation: 945Reputation: 945Reputation: 945Reputation: 945Reputation: 945Reputation: 945Reputation: 945
What networking management tool are you using? Wicd, dhcpcd, or networkmanager?
 
Old 01-04-2014, 03:47 PM   #3
metaschima
Senior Member
 
Registered: Dec 2013
Distribution: Slackware
Posts: 1,332

Original Poster
Rep: Reputation: Disabled
I'm using network manager ATM. If you think it makes a difference I can turn it off and connect manually using dhcpcd. I'll try it a bit later.
 
Old 01-04-2014, 03:53 PM   #4
mancha
Member
 
Registered: Aug 2012
Posts: 336

Rep: Reputation: Disabled
Quote:
Originally Posted by metaschima View Post
I suspect a driver issue. I am using kernel 3.10.25. I don't remember if it worked with earlier kernels.
You're right. The alx driver was very recently mainlined (6/2013) by J. Berg based on a very basic driver proposed by Qualcomm/Atheros. Traffic counters have not been added yet.

--mancha

Last edited by mancha; 01-04-2014 at 04:03 PM.
 
1 members found this post helpful.
Old 01-04-2014, 04:36 PM   #5
metaschima
Senior Member
 
Registered: Dec 2013
Distribution: Slackware
Posts: 1,332

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by mancha View Post
You're right. The alx driver was very recently mainlined (6/2013) by J. Berg based on a very basic driver proposed by Qualcomm/Atheros. Traffic counters have not been added yet.

--mancha
That might be it. I just built this desktop a few months ago, and it is new, so I guess the driver just isn't complete. I might try a newer kernel, but I would like a long-term kernel, so I'll wait a bit.
 
Old 01-04-2014, 05:16 PM   #6
ReaperX7
Senior Member
 
Registered: Jul 2011
Distribution: LFS-SVN, FreeBSD 10.0
Posts: 3,391
Blog Entries: 15

Rep: Reputation: 945Reputation: 945Reputation: 945Reputation: 945Reputation: 945Reputation: 945Reputation: 945Reputation: 945
If you are running NetworkManager check the NM-Applet utility's built-in logs to see what usage has happened.
 
Old 01-04-2014, 05:23 PM   #7
metaschima
Senior Member
 
Registered: Dec 2013
Distribution: Slackware
Posts: 1,332

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by ReaperX7 View Post
If you are running NetworkManager check the NM-Applet utility's built-in logs to see what usage has happened.
I've checked the menus but I don't see any logs.

I will e-mail the developers of the driver to see if this is a bug or not.
 
Old 01-04-2014, 05:31 PM   #8
mancha
Member
 
Registered: Aug 2012
Posts: 336

Rep: Reputation: Disabled
Quote:
Originally Posted by metaschima View Post
I will e-mail the developers of the driver to see if this is a bug or not.
Not a bug. As that fellow mancha mentioned in post #4, traffic counters are not yet in the driver which is still very basic.

--mancha
 
Old 01-04-2014, 05:50 PM   #9
metaschima
Senior Member
 
Registered: Dec 2013
Distribution: Slackware
Posts: 1,332

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by mancha View Post
Not a bug. As that fellow mancha mentioned in post #4, traffic counters are not yet in the driver which is still very basic.

--mancha
Yes, I saw that, but maybe e-mailing them will get them to look into it. Their git repo hasn't been updated since April 2013, so I don't see why I shouldn't send them an e-mail and see if they respond.
 
Old 06-21-2014, 10:14 PM   #10
mlacunza
LQ Newbie
 
Registered: Jun 2014
Location: Lima - Peru
Distribution: Ubuntu
Posts: 2

Rep: Reputation: Disabled
Hi, did you optain any response for this bug? I have the same for a Qualcomm Atheros QCA8172 Fast Ethernet
 
Old 06-22-2014, 10:59 AM   #11
metaschima
Senior Member
 
Registered: Dec 2013
Distribution: Slackware
Posts: 1,332

Original Poster
Rep: Reputation: Disabled
Nope, so I guess the monitor won't be working for a while. I could try to fix it myself, but I've never worked on drivers.
 
Old 06-22-2014, 12:20 PM   #12
mlacunza
LQ Newbie
 
Registered: Jun 2014
Location: Lima - Peru
Distribution: Ubuntu
Posts: 2

Rep: Reputation: Disabled
I just discovered and at least in Ubuntu 14.04 64 bits is a problem with the actual kernel.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Arch Linux install issues - eth0 no such device - Atheros ethernet m3z Linux - Newbie 14 08-12-2011 06:15 PM
Atheros Network Card Not available...eth0 no such device exists amarglobal Linux - Newbie 1 04-20-2010 05:29 AM
atheros card recognized as ethernet (not wireless) banditski Linux - Wireless Networking 9 12-11-2004 01:19 AM
Myson 803 Ethernet card - tx works ok, rx doesn't alan8373 Linux - Hardware 1 03-24-2004 12:34 PM
Gateway doesn't show up under eth0. bah. 00gab00ga Linux - Networking 19 03-03-2004 05:03 PM


All times are GMT -5. The time now is 03:26 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration