Bitcoin Forum

Alternate cryptocurrencies => Mining (Altcoins) => Topic started by: fran2k on January 28, 2014, 08:58:59 PM



Title: How to install Killer e2200 Ethernet LAN Drivers (Mobo MSI Z87 G45) on BAMT/Deb
Post by: fran2k on January 28, 2014, 08:58:59 PM
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


Title: Re: How to install Killer e2200 Ethernet LAN Drivers (Mobo MSI Z87 G45) on BAMT/Deb
Post by: ivanlabrie on January 28, 2014, 09:17:40 PM
Thanks man!

This will come in handy for my rigs.


Title: Re: How to install Killer e2200 Ethernet LAN Drivers (Mobo MSI Z87 G45) on BAMT/Deb
Post by: klondike_bar on February 27, 2014, 10:52:21 PM
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


Title: Re: How to install Killer e2200 Ethernet LAN Drivers (Mobo MSI Z87 G45) on BAMT/Deb
Post by: ivanlabrie on February 27, 2014, 11:47:55 PM
See here: http://www.smos-linux.org/tips/#7


Title: Re: How to install Killer e2200 Ethernet LAN Drivers (Mobo MSI Z87 G45) on BAMT/Deb
Post by: klondike_bar on February 28, 2014, 02:08:10 AM
See here: http://www.smos-linux.org/tips/#7

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


Title: Re: How to install Killer e2200 Ethernet LAN Drivers (Mobo MSI Z87 G45) on BAMT/Deb
Post by: bsmack on March 03, 2014, 05:26:25 PM
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?