LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 01-21-2016, 11:50 AM   #1
KirkD
Member
 
Registered: Oct 2007
Posts: 58

Rep: Reputation: 15
alx driver module on Fedora 23 Kernel 4.3 with Atheros E2400 NIC


I just got a System76 laptop that came with a QualComm Atheros Killer E2400 Gigabit Ethernet Controller, and I've installed Fedora 23 (kernel 4.3). Unfortunately, the OS doesn't seem to wake up the NIC unit.

uname -a

Linux localhost.localdomain 4.3.3-300.fc23.x8664 #1 SMP Tue Jan 5 23:31:01 UTC 2016 x8664 x8664 x8664 GNU/Linux

Here's some detail on the NIC:

lspci | grep Ether

3b:00.0 Ethernet controller: Qualcomm Atheros Killer E2400 Gigabit Ethernet Controller (rev 10)

lspci -vm -s 3b:00.0

Device: 3b:00.0
Class: Ethernet controller
Vendor: Qualcomm Atheros
Device: Killer E2400 Gigabit Ethernet Controller
SVendor: CLEVO/KAPOK Computer
SDevice: Device 7502
Rev: 10

lspci -n | grep "3b:00.0"

3b:00.0 0200: 1969:e0a1 (rev 10)

It does seem to be recognized by by Fedora 23 installation, but the driver isn't loaded. A little Google mining led me to try this:

modprobe alx
echo 1969 e0a1 > /sys/bus/pci/drivers/alx/new_id

Once that is issued, the NIC wakes up, I can connect, and I've verified the wired connection works (checked MAC addresses for connected devices through my router).

The problem that remains is that when I reboot, the NIC doesn't wake up so I have to issue the commands every time I boot up.

I also check dmesg output and found now error related to the NIC or the alx module. I expected to find an attempt to load the kernel module and a failure message, but I find no mention of the alx module at all.

I appreciate any help getting this up and running.

-Kirk
 
Old 01-21-2016, 02:36 PM   #2
ardvark71
LQ Veteran
 
Registered: Feb 2015
Location: USA
Distribution: Lubuntu 14.04, 22.04, Windows 8.1 and 10
Posts: 6,282
Blog Entries: 4

Rep: Reputation: 842Reputation: 842Reputation: 842Reputation: 842Reputation: 842Reputation: 842Reputation: 842
Hi Kirk...

Does any of the information here help?

Regards...
 
Old 01-21-2016, 11:46 PM   #3
KirkD
Member
 
Registered: Oct 2007
Posts: 58

Original Poster
Rep: Reputation: 15
Thanks for the response.

I tried adding a modprobe.conf file to /etc with one line in it - alx - but that didn't work. I found another link mentioning that modules.conf was being phased out in preference for modprobe.d, so I tried putting the same modprobe.conf file there, but also that didn't work.

I also found a suggestion to put the commands that do work into /etc/rc.local, which is supposed to run a startup, but again, no luck.
 
Old 01-22-2016, 12:00 AM   #4
KirkD
Member
 
Registered: Oct 2007
Posts: 58

Original Poster
Rep: Reputation: 15
A little more Google mining and I found this page:
https://docs.fedoraproject.org/en-US...e_Loading.html

I added /etc/sysconfig/modules/alx.modules with these two lines:

modprobe alx
echo 1969 e0a1 > /sys/bus/pci/drivers/alx/new_id

and it seems to be working fine now. My only concern is whether it will continue working on the next kernel update or even be necessary as I would think this module would be loaded automatically when the OS starts up.

Regardless, I seem to have a workable solution right now. Thanks for the tip and sending me into Google mode. 8^)

Last edited by KirkD; 01-22-2016 at 08:44 AM. Reason: spelling error, full path of the file I created for completeness
 
Old 01-22-2016, 03:25 AM   #5
ardvark71
LQ Veteran
 
Registered: Feb 2015
Location: USA
Distribution: Lubuntu 14.04, 22.04, Windows 8.1 and 10
Posts: 6,282
Blog Entries: 4

Rep: Reputation: 842Reputation: 842Reputation: 842Reputation: 842Reputation: 842Reputation: 842Reputation: 842
Quote:
Originally Posted by KirkD View Post
Regardless, I seem to have a workable solution right now. Thanks for the tip and sending me into Google mode.
Cool, I'm glad you got it working correctly!

If you would, please mark this thread as "SOLVED" by clicking on "Thread Tools" directly above your initial post. Thanks!

Regards...
 
Old 01-22-2016, 03:28 AM   #6
Emerson
LQ Sage
 
Registered: Nov 2004
Location: Saint Amant, Acadiana
Distribution: Gentoo ~amd64
Posts: 7,661

Rep: Reputation: Disabled
4.4 kernel will work with your NIC without tinkering.
 
Old 01-22-2016, 08:39 AM   #7
KirkD
Member
 
Registered: Oct 2007
Posts: 58

Original Poster
Rep: Reputation: 15
Thread marked SOLVED - thanks again!

Emerson - do you have more details on the problem and what is changed in 4.4?
 
Old 01-22-2016, 08:46 AM   #8
Emerson
LQ Sage
 
Registered: Nov 2004
Location: Saint Amant, Acadiana
Distribution: Gentoo ~amd64
Posts: 7,661

Rep: Reputation: Disabled
They added the PCI ID to kernel sources.
Code:
grep e0a1 /usr/src/linux-4.4.0-gentoo/drivers/net/ethernet/atheros/alx/reg.h 
#define ALX_DEV_ID_E2400   0xe0a1
 
Old 01-22-2016, 08:49 AM   #9
KirkD
Member
 
Registered: Oct 2007
Posts: 58

Original Poster
Rep: Reputation: 15
Simple. Thanks for the explanation!
 
Old 01-22-2016, 08:54 AM   #10
Emerson
LQ Sage
 
Registered: Nov 2004
Location: Saint Amant, Acadiana
Distribution: Gentoo ~amd64
Posts: 7,661

Rep: Reputation: Disabled
You are welcome!
 
Old 01-22-2016, 02:46 PM   #11
ardvark71
LQ Veteran
 
Registered: Feb 2015
Location: USA
Distribution: Lubuntu 14.04, 22.04, Windows 8.1 and 10
Posts: 6,282
Blog Entries: 4

Rep: Reputation: 842Reputation: 842Reputation: 842Reputation: 842Reputation: 842Reputation: 842Reputation: 842
Quote:
Originally Posted by KirkD View Post
Thread marked SOLVED - thanks again!
You're welcome

Regards...
 
  


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
[solved]Atheros Killer E2400 driver for Arch firekage Arch 4 10-16-2015 01:50 PM
[SOLVED] Installing alx driver for Qualcomm Atheros AR8161 Ethernet Card on RHEL6.5 alpo85 Linux - Networking 1 01-12-2014 03:38 PM
network issue during installation alx module amboxer21 Gentoo 4 03-11-2013 02:22 AM
NIC Driver Atheros AR8152 mosharof9909 Linux - Laptop and Netbook 8 02-01-2011 01:08 PM
NIC Driver Atheros AR8152 mosharof9909 Linux - Laptop and Netbook 3 01-28-2011 09:05 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 01:17 PM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration