Bitcoin Forum
June 09, 2024, 07:03:02 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: How to install Killer e2200 Ethernet LAN Drivers (Mobo MSI Z87 G45) on BAMT/Deb  (Read 8545 times)
fran2k (OP)
Hero Member
*****
Offline Offline

Activity: 784
Merit: 500


View Profile WWW
January 28, 2014, 08:58:59 PM
 #1

I spend a whole day thought this issue so its worth sharing.

This is what worked: http://ubuntuforums.org/showthread.php?t=2008332&p=12604916#post12604916

I built the patch to work with
http://www.kernel.org/pub/linux/kernel/projects/backports/stable/v3.9-rc2/compat-drivers-3.9-rc2-2-su.tar.bz2

then, in the same directory as the bz2 file:

Code:
tar -xjvf compat-drivers-3.9-rc2-2-su.tar.bz2
cd compat-drivers-3.9-rc2-2-su

then copy the alx-patch file into the compat-drivers directory

then:

Code:
patch --dry-run -p1 < alx-patch.txt

and if no errors:

Code:
patch -p1 < alx-patch.txt
./scripts/driver-select alx
make
sudo make install
sudo modprobe alx

and you should be done

if you want to patch a different version of compat-drivers for whatever reason, just move the alx-patch file into drivers/net/ethernet/atheros/alx, cd to it, and instead of patch -p1, patch -p6.

Here is the alx-patch.txt file content, so you dont have to register to have access:

Code:
diff --git a/drivers/net/ethernet/atheros/alx/alx_ethtool.c b/drivers/net/ethernet/atheros/alx/alx_ethtool.c
index 074c640..b19950e 100644
--- a/drivers/net/ethernet/atheros/alx/alx_ethtool.c
+++ b/drivers/net/ethernet/atheros/alx/alx_ethtool.c
@@ -731,6 +731,7 @@ static int alx_diag_register(struct alx_adapter *adpt, u64 *data)
 
  switch (ALX_DID(hw)) {
  case ALX_DEV_ID_AR8161:
+ case ALX_DEV_ID_E2200:
  case ALX_DEV_ID_AR8162:
  case ALX_DEV_ID_AR8171:
  case ALX_DEV_ID_AR8172:
diff --git a/drivers/net/ethernet/atheros/alx/alx_main.c b/drivers/net/ethernet/atheros/alx/alx_main.c
index 7fe3f4b..a8f33f1 100644
--- a/drivers/net/ethernet/atheros/alx/alx_main.c
+++ b/drivers/net/ethernet/atheros/alx/alx_main.c
@@ -57,6 +57,7 @@ static const char alx_drv_desc[] =
  PCI_DEVICE(ALX_VENDOR_ID, device_id)}
 static DEFINE_PCI_DEVICE_TABLE(alx_pci_tbl) = {
  ALX_ETHER_DEVICE(ALX_DEV_ID_AR8161),
+ ALX_ETHER_DEVICE(ALX_DEV_ID_E2200),
  ALX_ETHER_DEVICE(ALX_DEV_ID_AR8162),
  ALX_ETHER_DEVICE(ALX_DEV_ID_AR8171),
  ALX_ETHER_DEVICE(ALX_DEV_ID_AR8172),
@@ -1010,6 +1011,7 @@ static int alx_identify_hw(struct alx_adapter *adpt)
 
  switch (ALX_DID(hw)) {
  case ALX_DEV_ID_AR8161:
+ case ALX_DEV_ID_E2200:
  case ALX_DEV_ID_AR8162:
  case ALX_DEV_ID_AR8171:
  case ALX_DEV_ID_AR8172:
diff --git a/drivers/net/ethernet/atheros/alx/alx_reg.h b/drivers/net/ethernet/atheros/alx/alx_reg.h
index 58177f3..0788aa8 100644
--- a/drivers/net/ethernet/atheros/alx/alx_reg.h
+++ b/drivers/net/ethernet/atheros/alx/alx_reg.h
@@ -25,6 +25,7 @@
 
 /* pci dev-ids */
 #define ALX_DEV_ID_AR8161               0x1091
+#define ALX_DEV_ID_E2200                0xe091
 #define ALX_DEV_ID_AR8162               0x1090
 #define ALX_DEV_ID_AR8171               0x10A1
 #define ALX_DEV_ID_AR8172               0x10A0
ivanlabrie
Hero Member
*****
Offline Offline

Activity: 812
Merit: 1000



View Profile
January 28, 2014, 09:17:40 PM
 #2

Thanks man!

This will come in handy for my rigs.
klondike_bar
Legendary
*
Offline Offline

Activity: 2128
Merit: 1005

ASIC Wannabe


View Profile
February 27, 2014, 10:52:21 PM
 #3

can you explain this in a more basic way? I have the mobo booting into bamt but no ethernet link whatsoever.

is there a simple way to put that tar.bz2 on a usb and install it? Im really confused since this is my first rig and i regret my choice of a Z87-g45 mobo

24" PCI-E cables with 16AWG wires and stripped ends - great for server PSU mods, best prices https://bitcointalk.org/index.php?topic=563461
No longer a wannabe - now an ASIC owner!
ivanlabrie
Hero Member
*****
Offline Offline

Activity: 812
Merit: 1000



View Profile
February 27, 2014, 11:47:55 PM
 #4

See here: http://www.smos-linux.org/tips/#7
klondike_bar
Legendary
*
Offline Offline

Activity: 2128
Merit: 1005

ASIC Wannabe


View Profile
February 28, 2014, 02:08:10 AM
 #5


I am by no means a linux power-user; what you linked to has little meaning to me using a windows laptop while I get some form of ethernet connection on the MSI Z87-G45 motherboard I just setup today. (All the while dealing with something else which seemed a mobo issue but was actually just deceiving issues caused by not using BOTH pcie sockets on the GPU)

I am downloading a window 8.1 OS-on-a-stick for my 16GB corsair slider 3.0 as an alternative

24" PCI-E cables with 16AWG wires and stripped ends - great for server PSU mods, best prices https://bitcointalk.org/index.php?topic=563461
No longer a wannabe - now an ASIC owner!
bsmack
Newbie
*
Offline Offline

Activity: 24
Merit: 0


View Profile
March 03, 2014, 05:26:25 PM
 #6

Having a hell of a time getting this working with a second mobo.  I have 2 of these setup, the 1st one is setup no problem following the steps in the OP, the 2nd one I have tried twice, receive no errors, but still cannot get it to work.  Anyone have any ideas why?
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!