jf:/dev/blog

AR8161 ethernet using compat-wireless

After rooting the kindle being bugging me whole day yesterday, it’s time to deal with Atheros ar8161 ethernet driver. This ethernet chipset were used on axioo komodo model and some asus laptop. Once, I remember have to deal with atheros ethernet chipset in past, not clearly remember the chipset code, but for so long the atheros driver was maintained very well with atl modules in kernel tree.

Here is the long story short,
This is what lspci gives :

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
[root@komodo compat-wireless-2012-03-12-p]# lspci
00:00.0 Host bridge: Intel Corporation 2nd Generation Core Processor Family DRAM Controller (rev 09)
00:01.0 PCI bridge: Intel Corporation Xeon E3-1200/2nd Generation Core Processor Family PCI Express Root Port (rev 09)
00:02.0 VGA compatible controller: Intel Corporation 2nd Generation Core Processor Family Integrated Graphics Controller (rev 09)
00:14.0 USB Controller: Intel Corporation Panther Point USB xHCI Host Controller (rev 04)
00:16.0 Communication controller: Intel Corporation Panther Point MEI Controller #1 (rev 04)
00:1a.0 USB Controller: Intel Corporation Panther Point USB Enhanced Host Controller #2 (rev 04)
00:1b.0 Audio device: Intel Corporation Panther Point High Definition Audio Controller (rev 04)
00:1c.0 PCI bridge: Intel Corporation Panther Point PCI Express Root Port 1 (rev c4)
00:1c.1 PCI bridge: Intel Corporation Panther Point PCI Express Root Port 2 (rev c4)
00:1c.2 PCI bridge: Intel Corporation Panther Point PCI Express Root Port 3 (rev c4)
00:1d.0 USB Controller: Intel Corporation Panther Point USB Enhanced Host Controller #1 (rev 04)
00:1f.0 ISA bridge: Intel Corporation Panther Point LPC Controller (rev 04)
00:1f.2 SATA controller: Intel Corporation Panther Point 6 port SATA AHCI Controller (rev 04)
00:1f.3 SMBus: Intel Corporation Panther Point SMBus Controller (rev 04)
03:00.0 Network controller: Atheros Communications Inc. Device 0037 (rev 01)
04:00.0 Ethernet controller: Atheros Communications Device 1091 (rev 10)
[root@komodo compat-wireless-2012-03-12-p]#

No indicated network devices on ubuntu networkmanager neither on net_applet on KLIXs. My first thought, it must be supported on newer kernel and directly gives a shot on oneiric with my 3.2.0-16-jf2-generic and also on KLIXs with my brand new kernel-3.2.15-jf2-bfs … and … it returns nothing ;D … even with my latest build linux-image 3.3.0-994-jf1-generic with intel-drm-fix on ubuntu still cannot fire up the ethernet device.
Whooah … this must be an interesting hardware devices …

Googling around the net found some clue on linux.kernel mailing list … Apparently the new atheros module alx wasn’t accepted yet to kernel tree (maybe because hand over on atheros company … dunno … but my bookmark on atheros repository download page giving 404). The original maintainer handed over the alx driver module to the other guy and the other guy deprecated the old atl1c module. πŸ˜€ ;D
But, fortunately, now alx supports these two chipsets additionally :
1961:1091 – AR8161
1969:1090 – AR8162

 

You may get the latest compat-wireless from linux wireless download page. Extract them to your like folder and cd into it.

 

EDIT 062512 :

You may read the below comments since latest compat wireless package was obsoletes the alx driver module.

Here we go, To only compile the needed module alx for ar8161 :

1
2
3
4
5
6
7
8
9
10
[root@komodo compat-wireless-2012-03-12-p]# ./scripts/driver-select alx
Processing new driver-select request...
Backup exists: Makefile.bk
Backup exists: Makefile.bk
Backup exists: drivers/net/ethernet/broadcom/Makefile.bk
Backup exists: drivers/net/ethernet/atheros/Makefile.bk
Backup exists: Makefile.bk
Backup exists: Makefile.bk
Backup exists: drivers/net/ethernet/broadcom/Makefile.bk
[root@komodo compat-wireless-2012-03-12-p]#

Make sure you’re working on clean table :

1
2
3
4
5
6
[root@komodo compat-wireless-2012-03-12-p]# make clean
make[1]: Entering directory `/usr/src/linux-headers-3.3.0-994-generic'
CLEAN /usr/src/compat-wireless-2012-03-12-p
CLEAN /usr/src/compat-wireless-2012-03-12-p/.tmp_versions
make[1]: Leaving directory `/usr/src/linux-headers-3.3.0-994-generic'
[root@komodo compat-wireless-2012-03-12-p]#

then compile and install with : make and make install

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
[root@komodo compat-wireless-2012-03-12-p]# make
./scripts/gen-compat-autoconf.sh /usr/src/compat-wireless-2012-03-12-p/.config /usr/src/compat-wireless-2012-03-12-p/config.mk > include/linux/compat_autoconf.h
make -C /lib/modules/3.3.0-994-generic/build M=/usr/src/compat-wireless-2012-03-12-p modules
make[1]: Entering directory `/usr/src/linux-headers-3.3.0-994-generic'
CC [M] /usr/src/compat-wireless-2012-03-12-p/compat/main.o
CC [M] /usr/src/compat-wireless-2012-03-12-p/compat/compat_atomic.o
LD [M] /usr/src/compat-wireless-2012-03-12-p/compat/compat.o
CC [M] /usr/src/compat-wireless-2012-03-12-p/drivers/net/ethernet/atheros/alx/alx_main.o
CC [M] /usr/src/compat-wireless-2012-03-12-p/drivers/net/ethernet/atheros/alx/alx_ethtool.o
CC [M] /usr/src/compat-wireless-2012-03-12-p/drivers/net/ethernet/atheros/alx/alc_cb.o
CC [M] /usr/src/compat-wireless-2012-03-12-p/drivers/net/ethernet/atheros/alx/alc_hw.o
CC [M] /usr/src/compat-wireless-2012-03-12-p/drivers/net/ethernet/atheros/alx/alf_cb.o
CC [M] /usr/src/compat-wireless-2012-03-12-p/drivers/net/ethernet/atheros/alx/alf_hw.o
LD [M] /usr/src/compat-wireless-2012-03-12-p/drivers/net/ethernet/atheros/alx/alx.o
Building modules, stage 2.
MODPOST 2 modules
CC /usr/src/compat-wireless-2012-03-12-p/compat/compat.mod.o
LD [M] /usr/src/compat-wireless-2012-03-12-p/compat/compat.ko
CC /usr/src/compat-wireless-2012-03-12-p/drivers/net/ethernet/atheros/alx/alx.mod.o
LD [M] /usr/src/compat-wireless-2012-03-12-p/drivers/net/ethernet/atheros/alx/alx.ko
make[1]: Leaving directory `/usr/src/linux-headers-3.3.0-994-generic'
[root@komodo compat-wireless-2012-03-12-p]#
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
[root@komodo compat-wireless-2012-03-12-p]# make install

make -C /lib/modules/3.3.0-994-generic/build M=/usr/src/compat-wireless-2012-03-12-p modules
make[1]: Entering directory `/usr/src/linux-headers-3.3.0-994-generic'
Building modules, stage 2.
MODPOST 2 modules
make[1]: Leaving directory `/usr/src/linux-headers-3.3.0-994-generic'
make -C /lib/modules/3.3.0-994-generic/build M=/usr/src/compat-wireless-2012-03-12-p "INSTALL_MOD_DIR=updates"
modules_install
make[1]: Entering directory `/usr/src/linux-headers-3.3.0-994-generic'
INSTALL /usr/src/compat-wireless-2012-03-12-p/compat/compat.ko
INSTALL /usr/src/compat-wireless-2012-03-12-p/drivers/net/ethernet/atheros/alx/alx.ko
DEPMOD 3.3.0-994-generic
make[1]: Leaving directory `/usr/src/linux-headers-3.3.0-994-generic'
Updating Ubuntu's initramfs for 3.3.0-994-generic under /boot/ ...
Will now run update-grub to ensure grub will find the new initramfs ...
Generating grub.cfg ...
Found background: /usr/share/grub/splash/splash.png
Found background image: /usr/share/grub/splash/splash.png
Found linux image: /boot/vmlinuz-3.3.0-994-generic
Found initrd image: /boot/initrd.img-3.3.0-994-generic
Found linux image: /boot/vmlinuz-3.0.0-17-generic
Found initrd image: /boot/initrd.img-3.0.0-17-generic
Found memtest86+ image: /boot/memtest86+.bin
Found KLIXs on /dev/sda6
Found KLIXs on /dev/sda7
done

Note: iwl4965 detected, we're going to disable it. If you would like to enable it later you can run:
sudo iwl-load iwl4965

Running iwl-enable iwlagn...
Disabling iwl4965 ... [OK] Module disabled:
kernel/drivers/net/wireless/iwlegacy/iwl4965.ko

Note: atl1c detected, we're going to disable it. If you would like to enable it later you can run:
sudo alx-load atl1c

Running alx-enable alx...
Disabling atl1c ... [OK] Module disabled:
kernel/drivers/net/ethernet/atheros/atl1c/atl1c.ko
depmod will prefer updates/ over kernel/ -- OK!

Now run:

sudo make unload to unload all: wireless, bluetooth and ethernet modules
sudo make wlunload to unload wireless modules
sudo make btunload to unload bluetooth modules

Run sudo modprobe driver-name to load your desired driver.
If unsure reboot.

[root@komodo compat-wireless-2012-03-12-p]#

Here is ifconfig before loading the alx module :

1
2
3
4
5
6
7
8
9
10
11
[root@komodo compat-wireless-2012-03-12-p]# ifconfig
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:4 errors:0 dropped:0 overruns:0 frame:0
TX packets:4 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:240 (240.0 B) TX bytes:240 (240.0 B)

[root@komodo compat-wireless-2012-03-12-p]#

and after loading the alx module :

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
[root@komodo compat-wireless-2012-03-12-p]# modprobe alx
[root@komodo compat-wireless-2012-03-12-p]# ifconfig
eth0 Link encap:Ethernet HWaddr e8:40:f2:86:df:91
inet6 addr: fe80::ea40:f2ff:fe86:df91/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:1 errors:0 dropped:0 overruns:0 frame:0
TX packets:3 errors:0 dropped:0 overruns:0 carrier:1
collisions:0 txqueuelen:1000
RX bytes:60 (60.0 B) TX bytes:510 (510.0 B)
Interrupt:18

lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:4 errors:0 dropped:0 overruns:0 frame:0
TX packets:4 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:240 (240.0 B) TX bytes:240 (240.0 B)

[root@komodo compat-wireless-2012-03-12-p]#

the NetworkManager on ubuntu (and also net_applet on KLIXs) immediately detecting there is a new network devices and automatically connecting to my router.

The alx module code has now been posted for inclusion upstream to kernel tree, but If you want to install this driver right now, get it here.

  • Hi,

    you need a kernel header to compile the driver :

    sudo apt-get install linux-header-generic

    or if you had no connection to internet yet, you may download manualy linux-header packages from one of ubuntu repo using another computer, save to flashdisk, transfer to your AR8161 system and install them manualy with dpkg :

    sudo dpkg -i linux-headers-xxx.deb

    Let’s say, now i’m using precise and wants to know the kernel version, then I do :
    uname -r
    3.2.0-24-generic-pae <- this is my current kernel version Then I go to one of ubuntu repo and under pool/main/l/linux/ directory, i've search for : linux-headers-3.2.0-24_3.2.0-24.39_all.deb linux-headers-3.2.0-24-generic-pae_3.2.0-24.39_i386.deb that match my kernel version and download them. Copying the 2 packages to my AR8161 system and install them manualy with : sudo dpkg -i linux-headers-3.2.0-24_3.2.0-24.39_all.deb sudo dpkg -i linux-headers-3.2.0-24-generic-pae_3.2.0-24.39_i386.deb now i have the kernel header and can compile the driver without problem. Good luck

    • thanks, but I can connect using wlan

  • oh yeah, i forgot that. πŸ˜€

    • JD

      try to run “make clean” and gives:

      make[1]: Entering directory `/usr/src/linux-headers-3.2.0-25-generic’
      scripts/Makefile.clean:17: /home/domsicj/Documents/compat-wireless-3.5-rc3-1/drivers/net/ethernet/atheros/alx/Makefile: No such file or directory
      make[4]: *** No rule to make target `/home/domsicj/Documents/compat-wireless-3.5-rc3-1/drivers/net/ethernet/atheros/alx/Makefile’. Stop.
      make[3]: *** [/home/domsicj/Documents/compat-wireless-3.5-rc3-1/drivers/net/ethernet/atheros/alx] Error 2
      make[2]: *** [/home/domsicj/Documents/compat-wireless-3.5-rc3-1/drivers/net/ethernet/atheros] Error 2
      make[1]: *** [_clean_/home/domsicj/Documents/compat-wireless-3.5-rc3-1] Error 2
      make[1]: Leaving directory `/usr/src/linux-headers-3.2.0-25-generic’
      make: *** [clean] Error 2

      any thoughts?

  • Hi JD,

    Some guys contact me about how he got success but he also inform me that on newest compat-wireless package there are no more alx driver.

    So, if you really want it bad now, use my source package i wrote above, not the latest from compat-wireless.

    Here I paste his comments :

    Hi.
    After several unsuccessful attempts, I tried the method described here
    (www.jfdesignnet.com) and, to my surprise, everything went perfectly.

    Computer: Lenovo G780 M8423GE (Laptop)
    Network Hardware: Wired – AR8162 Fast Ethernet, Wireless – BCM4313 802.11b/g/n
    OS: Win7 HP,
    Linux Mint 13 Maya/MATE, 64 bit, kernel 3.2.0-23
    Ubuntu 12.04 LTS 32 bit, kernel 3.2.0-25

    Remark: The last “compat-wireless-2012-05-10tar.bz2” tarball has no “alx” driver and I can’t use it.

    Thank you,
    Christian B.

    Thanks Christian for the info, really appreciate it.

    • qmdev

      Hi.

      I bought a new computer yesterday with a P8h77-v motherboard and installed Ubuntu 12.04 LTS 64b, Linux version 3.2.0-26-generic (buildd@batsu) (gcc version 4.6.3 (Ubuntu/Linaro 4.6.3-1ubuntu5) ) and I followed your instruction, though it works well the computer freezes quite often and it seems to be related.

      Any Idea?

      Thanks

  • Hi qmdev,

    Maybe just temporary unloading the module from system with : modprobe -r alx
    ,then test your system till find the culprits ?
    If still freezes alot then alx is not the cause.

    If yes, your system running well after that, then I think you have an option :
    1. Try newer version of compat wireless that still had an alx module
    2. Push the ubuntu dev on launchpad bug to include the bug free alx module to next upstream kernel. don’t forget to mention your 64bit arch.

    I’m using 32bit with the same gcc and kernel version but never freezes here.

    I hope you can fix your problem.

  • Rando88

    Hello,

    With your explanation, I have configured my network to Toshiba P870-303 with Kubuntu 12.04.

    Now my fixed internet access is fully activated.

    Thanks.

    • Hello Rando88,

      I’m glad to hear you sort it out πŸ˜€
      appreciate your feedback.

      Thanks.

  • Rando88

    Hello jfdesign,

    I made a mistake on the reference of the laptop, it is P870-303…

    Do you can corrected this ?

    Thanks,

    • sure, and done. πŸ˜€

      Thanks again.

  • Charles

    Thanks for the article.

    Like qmdev, I am also seeing random freezes. They always occur when I’m in a browser (I tried Firefox and Chrome). I’m running Ubuntu 12.04 64-bit on a Dell Inspiron One 2330.

    Any ideas?

    I’ll keep fooling around.


    jfdesign:

    sure, and done.
    Thanks again.

  • Hello Charles,

    First, thank you for the info with 64bit arch.
    hmmm … looks like the module not liking the 64bit πŸ˜€

    I still need inputs from you, I cannot replicate here because I’m not on 64bit high. (I don’t have much free time to install 64bit and play with it)

    1. What about if you modprobe -r alx ? did the random freeze still happened alot without it ?
    of course you can try browsing around with internet connections from wifi or another lan card.
    2. Did you try another (newer version) alx module from compat-wireless ?
    Here you go the download page : http://linuxwireless.org/download/compat-wireless-2.6/
    FYI, I’m using compat-wireless-2012-03-12-p.tar.bz2, so you must try newer version than that but not the newest, because I heard that alx module was not there (read above comments)

    I would really appreciate if you can report back if success (I hope you will) so we could help others with their problem on 64bit arch.

    Thanks.

    • Charles

      Thanks for the tips.

      I dropped the wired-LAN and I’m now on the system’s wireless NIC. I’ve gone from having three system freezes in an 8 hour stretch to one system freeze in an eight hour stretch. This, of course, with the alx still loaded.

      Running mprime for 2.5 hours (with no interaction from a user) got the unit up to 50C but no freezes (rulling out power/memory/heating).

      I’ve issued the “modprobe -r alx” command to remove the driver and I’ve so far gone about 3 hours without any freezes. I’ll keep you posted on my usage in the next few days.

      I’m using the “compat-wireless-2012-03-12-p.tar.bz2” from linuxwireless.org. I have not played with any other versions thus far.

      If you need any info from my system, let me know.

      lspci
      00:00.0 Host bridge: Intel Corporation Ivy Bridge DRAM Controller (rev 09)
      00:02.0 VGA compatible controller: Intel Corporation Ivy Bridge Graphics Controller (rev 09)
      00:14.0 USB controller: Intel Corporation Panther Point USB xHCI Host Controller (rev 04)
      00:16.0 Communication controller: Intel Corporation Panther Point MEI Controller #1 (rev 04)
      00:1a.0 USB controller: Intel Corporation Panther Point USB Enhanced Host Controller #2 (rev 04)
      00:1b.0 Audio device: Intel Corporation Panther Point High Definition Audio Controller (rev 04)
      00:1c.0 PCI bridge: Intel Corporation Panther Point PCI Express Root Port 1 (rev c4)
      00:1c.2 PCI bridge: Intel Corporation Panther Point PCI Express Root Port 3 (rev c4)
      00:1c.5 PCI bridge: Intel Corporation Panther Point PCI Express Root Port 6 (rev c4)
      00:1d.0 USB controller: Intel Corporation Panther Point USB Enhanced Host Controller #1 (rev 04)
      00:1e.0 PCI bridge: Intel Corporation 82801 PCI Bridge (rev a4)
      00:1f.0 ISA bridge: Intel Corporation Panther Point LPC Controller (rev 04)
      00:1f.2 SATA controller: Intel Corporation Panther Point 6 port SATA Controller [AHCI mode] (rev 04)
      00:1f.3 SMBus: Intel Corporation Panther Point SMBus Controller (rev 04)
      01:00.0 Network controller: Atheros Communications Inc. AR9485 Wireless Network Adapter (rev 01)
      02:00.0 Unassigned class [ff00]: Realtek Semiconductor Co., Ltd. RTS5116 PCI Express Card Reader (rev 01)
      02:00.1 SD Host controller: Realtek Semiconductor Co., Ltd. RTS5116 PCI Express Card Reader (rev 01)
      03:00.0 Ethernet controller: Atheros Communications Inc. AR8161 Gigabit Ethernet (rev 08)

      lsmod
      Module Size Used by
      nls_utf8 12557 0
      udf 94317 0
      crc_itu_t 12707 1 udf
      pci_stub 12622 1
      vboxpci 23200 0
      vboxnetadp 13382 0
      vboxnetflt 23441 0
      vboxdrv 287082 3 vboxpci,vboxnetadp,vboxnetflt
      bnep 18281 2
      rfcomm 47604 0
      parport_pc 32866 0
      ppdev 17113 0
      binfmt_misc 17540 1
      arc4 12529 2
      snd_hda_codec_realtek 223867 1
      ath9k 132390 0
      i915 468737 4
      mac80211 506816 1 ath9k
      snd_hda_intel 33773 3
      snd_hda_codec 127706 2 snd_hda_codec_realtek,snd_hda_intel
      drm_kms_helper 46978 1 i915
      drm 242038 5 i915,drm_kms_helper
      snd_hwdep 13668 1 snd_hda_codec
      snd_pcm 97188 2 snd_hda_intel,snd_hda_codec
      snd_seq_midi 13324 0
      snd_rawmidi 30748 1 snd_seq_midi
      snd_seq_midi_event 14899 1 snd_seq_midi
      snd_seq 61896 2 snd_seq_midi,snd_seq_midi_event
      snd_timer 29990 2 snd_pcm,snd_seq
      snd_seq_device 14540 3 snd_seq_midi,snd_rawmidi,snd_seq
      ir_lirc_codec 12859 0
      rts_pstor 445196 0
      ath9k_common 14053 1 ath9k
      ath9k_hw 411112 2 ath9k,ath9k_common
      ath 24067 3 ath9k,ath9k_common,ath9k_hw
      uvcvideo 72627 0
      videodev 98259 1 uvcvideo
      v4l2_compat_ioctl32 17128 1 videodev
      snd 78855 15 snd_hda_codec_realtek,snd_hda_intel,snd_hda_codec,snd_hwdep,snd_pcm,
      snd_rawmidi, snd_seq,snd_timer,snd_seq_device
      soundcore 15091 1 snd
      dell_wmi_aio 12652 0
      lirc_dev 19204 1 ir_lirc_codec
      ir_mce_kbd_decoder 12777 0
      ir_sony_decoder 12510 0
      ir_jvc_decoder 12507 0
      ir_rc6_decoder 12507 0
      ir_rc5_decoder 12507 0
      ir_nec_decoder 12507 0
      btusb 18288 1
      i2c_algo_bit 13423 1 i915
      cfg80211 205544 3 ath9k,mac80211,ath
      rc_rc6_mce 12502 0
      fintek_cir 17707 0
      rc_core 26412 10 ir_lirc_codec,ir_mce_kbd_decoder,ir_sony_decoder,ir_jvc_decoder,ir_rc6_decoder,
      ir_rc5_decoder,ir_nec_decoder,rc_rc6_mce,fintek_cir
      video 19596 1 i915
      sparse_keymap 13890 1 dell_wmi_aio
      wmi 19256 1 dell_wmi_aio
      snd_page_alloc 18529 2 snd_hda_intel,snd_pcm
      dcdbas 14490 0
      mei 41616 0
      bluetooth 180104 13 bnep,rfcomm,btusb
      joydev 17693 0
      psmouse 87692 0
      serio_raw 13211 0
      mac_hid 13253 0
      f71882fg 36101 0
      coretemp 13525 0
      configfs 35126 0
      lp 17799 0
      parport 46562 3 parport_pc,ppdev,lp
      usbhid 47199 0
      hid 99559 1 usbhid
      sdhci_pci 18826 0
      sdhci 33205 1 sdhci_pci

  • Thank you Charles for testing it.
    Looks like the alx module doesn’t play nice on 64bit.

    At the time I’m writing that article, I still remember i’m using the wired connection for almost 12hours without freezing at all, because I’m downloading some big files from oron and left the notebook at office before I turn it off the day after. πŸ˜€

    Right now I have no comment, because the notebook (with ar8161) is not mine and not available at the moment. in fact, i just know, I cannot borrow it in near time. πŸ™

    To be positive, at least now people know the driver module had a problem with 64bit arch and i hope the dev guys at atheros will fix it soon.

    sorry cannot help much.

  • Charles

    Alright…I got the system freeze with the alx driver NOT LOADED. This time I was in a unity terminal window (not a browser).

    It looks as though a lot of people are getting system freezes on Ubuntu 12.04 with the Ivy Bridge processors in kernel 3.2.x (the default kernel for Ubuntu 12.04).

    There are a few workarounds but the most popular one seems to be to update to kernel 3.4.

    There is work going into the 3.2 kernel to fix the issue but (as of 7/16/2012) its not yet released.

    Some good reading below:

    http://partiallysanedeveloper.blogspot.co.uk/2012/05/ivy-bridge-hd4000-linux-freeze.html?m=1

    https://bugs.launchpad.net/ubuntu/+source/linux/+bug/999910

  • Hi Charles,

    Whoa, thank you, thank you ,thank you.
    That link, help me with ivy bridge problems on my other project.

    Thanks Charles. πŸ˜€

  • Daniel

    First,

    thanks for the quick walkthrough and reminder on how to dpkg stuff I’d forgot in one of the comments. I however ended up adding the install medium I had as repository to aptitude and installed the kernel and build stuff from there.

    Like so in /etc/apt/sources.list: deb file:/media/usb/ squeeze main

    Got it all installed and it looks like the driver is loaded (doing this on a debian squeeze amd64 install).

    However, after issuing modprobe alx, all ifconfig shows is the local loopback. What am I missing here?

    Blacklisted atl1c in modprobe

    lspci -v tells me that the ethernet controller is using alx as the kernel driver.

    I used the alx module from here:
    http://www.linuxfoundation.org/collaborate/workgroups/networking/alx

    This to be exact:
    http://www.orbit-lab.org/kernel/compat-wireless-2.6/2012/05/compat-wireless-2012-05-10-p.tar.bz2

    I am surely missing something basic I can tell. Something regarding starting up the network interface I think? πŸ™‚

  • Daniel

    Solved it,

    after grepping in /var/log/dmesg for eth I concluded the kernel must have done something to get it up.

    So, I went looking for the interface, made a:
    cat /etc/udev/rules.d/70-persistent-net.rules

    This identified the interface as eth0 so I added some lines to /etc/network/interfaces
    allow-hotplug eth0
    auto eth0
    iface eth0 inet dhcp

    Then ifup -a or /etc/init.d/network start it running.

    Thanks for the help!

    • Whoah Daniel, congrats !

      I’m glad you sorted it out πŸ˜€
      and i believe someone on squeeze or lenny will appreciate this πŸ˜€

  • disqus_Xyrs7FYjcP

    the latest “alx” is now in “compat-drivers”.

    real page: http://drvbp1.linux-foundation.org/~mcgrof/rel-html/backports/

    from under-construction wiki page: https://backports.wiki.kernel.org/index.php/Releases

    where also extra flags appended to filename are: https://backports.wiki.kernel.org/index.php/Releases#Legend_of_additional_patches

    probably “-u” flag means that “alx” is inside…

    • Thanks for sharing mate. Hope this helps others.

  • $52556810

    the latest “alx” is now in “compat-drivers”.

    real page: http://drvbp1.linux-foundation.org/~mcgrof/rel-html/backports/

    from under-construction wiki page: https://backports.wiki.kernel.org/index.php/Releases

    where also extra flags appended to filename are: https://backports.wiki.kernel.org/index.php/Releases#Legend_of_additional_patches

    probably “-u” flag means that “alx” is inside…

    • Thanks for sharing mate. Hope this helps others.

My Top Album