Results 1 to 10 of 20

Thread: AR9227 causes Ubuntu 12.04 to freeze

Threaded View

  1. #1
    Join Date
    Dec 2009
    Location
    UK
    Beans
    127
    Distro
    Ubuntu 12.04 Precise Pangolin

    AR9227 causes Ubuntu 12.04 to freeze

    I am going to follow the guideline from "HOWTO post a Wireless issue (ticket)" in describing my problem.

    0) Problem briefly described

    An old problem. Same happened on Ubuntu 10.04, 11.10, openSUSE 12.1 and Fedora 16.
    Installed OS from a pendrive. Installation went well, no problem at all.
    The OS can be personalised, configured and used as long as is not connected to the Internet. Internet is connected via home wireless connection. Connecting to it is not a problem. The problem is once it is connected, the OS freezes and has to be hard-shutdown.

    Tried nohwcrypt=1 fix but did not work.
    Even if the OS does not freeze immediately after connected, it freezes the moment the network is used e.g. checking for software updates.

    Have not tried the cable connection. It is kind of impossible to set up one.

    All info below were taken from Ubuntu with wireless disconnected. This thread is prepared on Windows.

    1) Machine Brand and Model (PC/Laptop)

    Code:
    This is a custom built desktop PC.
    Motherboard -- Asrock N68-S3 UCC
    CPU -- AMD Phenom 2 X4 AM3 3.3 GHz
    GPU -- MSI ATI Radeon HD 5450 1GB
    RAM -- 8GB DDR3 1333
    HDD -- 750GB SATA2 7200RPM, 80GB IDE 7200RPM (<---Ubuntu partition with 8GB swap)
    PCI Wireless card -- TP-LINK TL-WN851ND


    2) Wireless Brand, Model and Wireless Chipset:

    Code:
    xxxxx@asdf:~$ sudo lspci
    00:00.0 RAM memory: NVIDIA Corporation MCP61 Host Bridge (rev a1)
    00:01.0 ISA bridge: NVIDIA Corporation MCP61 LPC Bridge (rev a2)
    00:01.1 SMBus: NVIDIA Corporation MCP61 SMBus (rev a2)
    00:01.2 RAM memory: NVIDIA Corporation MCP61 Memory Controller (rev a2)
    00:02.0 USB controller: NVIDIA Corporation MCP61 USB 1.1 Controller (rev a3)
    00:02.1 USB controller: NVIDIA Corporation MCP61 USB 2.0 Controller (rev a3)
    00:04.0 PCI bridge: NVIDIA Corporation MCP61 PCI bridge (rev a1)
    00:05.0 Audio device: NVIDIA Corporation MCP61 High Definition Audio (rev a2)
    00:06.0 IDE interface: NVIDIA Corporation MCP61 IDE (rev a2)
    00:07.0 Bridge: NVIDIA Corporation MCP61 Ethernet (rev a2)
    00:08.0 IDE interface: NVIDIA Corporation MCP61 SATA Controller (rev a2)
    00:08.1 IDE interface: NVIDIA Corporation MCP61 SATA Controller (rev a2)
    00:09.0 PCI bridge: NVIDIA Corporation MCP61 PCI Express bridge (rev a2)
    00:0b.0 PCI bridge: NVIDIA Corporation MCP61 PCI Express bridge (rev a2)
    00:0c.0 PCI bridge: NVIDIA Corporation MCP61 PCI Express bridge (rev a2)
    00:18.0 Host bridge: Advanced Micro Devices [AMD] Family 10h Processor HyperTransport Configuration
    00:18.1 Host bridge: Advanced Micro Devices [AMD] Family 10h Processor Address Map
    00:18.2 Host bridge: Advanced Micro Devices [AMD] Family 10h Processor DRAM Controller
    00:18.3 Host bridge: Advanced Micro Devices [AMD] Family 10h Processor Miscellaneous Control
    00:18.4 Host bridge: Advanced Micro Devices [AMD] Family 10h Processor Link Control
    01:08.0 Network controller: Atheros Communications Inc. AR9227 Wireless Network Adapter (rev 01)
    02:00.0 VGA compatible controller: Advanced Micro Devices [AMD] nee ATI Cedar PRO [Radeon HD 5450]
    02:00.1 Audio device: Advanced Micro Devices [AMD] nee ATI Cedar HDMI Audio [Radeon HD 5400/6300 Series]
    Code:
    xxxxx@asdf:~$ sudo lsusb
    Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
    Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
    Bus 001 Device 003: ID 046d:081b Logitech, Inc. Webcam C310
    Bus 002 Device 002: ID 046d:c52e Logitech, Inc.
    Code:
    xxxxx@asdf:~$ lspci -nn | grep 'Atheros'
    01:08.0 Network controller [0280]: Atheros Communications Inc. AR9227 Wireless Network Adapter [168c:002d] (rev 01)


    3) Check interface:
    Code:
    xxxxx@asdf:~$ sudo ifconfig
    eth0      Link encap:Ethernet  HWaddr 00:25:22:d4:72:93  
              UP BROADCAST MULTICAST  MTU:1500  Metric:1
              RX packets:0 errors:0 dropped:0 overruns:0 frame:0
              TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
              collisions:0 txqueuelen:1000 
              RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)
              Interrupt:44 Base address:0x2000 
    
    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:256 errors:0 dropped:0 overruns:0 frame:0
              TX packets:256 errors:0 dropped:0 overruns:0 carrier:0
              collisions:0 txqueuelen:0 
              RX bytes:20704 (20.7 KB)  TX bytes:20704 (20.7 KB)
    
    wlan0     Link encap:Ethernet  HWaddr f4:ec:38:db:dd:55  
              UP BROADCAST MULTICAST  MTU:1500  Metric:1
              RX packets:0 errors:0 dropped:0 overruns:0 frame:0
              TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
              collisions:0 txqueuelen:1000 
              RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)
    Code:
    xxxxx@asdf:~$ sudo iwconfig
    lo        no wireless extensions.
    
    wlan0     IEEE 802.11bgn  ESSID:off/any  
              Mode:Managed  Access Point: Not-Associated   Tx-Power=20 dBm   
              Retry  long limit:7   RTS thr:off   Fragment thr:off
              Encryption key:off
              Power Management:off
              
    eth0      no wireless extensions.
    Code:
    xxxxx@asdf:~$ iwconfig wlan0
    wlan0     IEEE 802.11bgn  ESSID:off/any  
              Mode:Managed  Access Point: Not-Associated   Tx-Power=20 dBm   
              Retry  long limit:7   RTS thr:off   Fragment thr:off
              Power Management:off


    4) check for modules:

    Code:
    xxxxx@asdf:~$ lsmod
    Module                  Size  Used by
    dm_crypt               23125  1 
    snd_hda_codec_hdmi     32474  1 
    snd_hda_codec_via      51398  1 
    arc4                   12529  2 
    rfcomm                 47604  0 
    bnep                   18281  2 
    bluetooth             180104  10 rfcomm,bnep
    joydev                 17693  0 
    psmouse                87603  0 
    ppdev                  17113  0 
    snd_hda_intel          33773  5 
    snd_usb_audio         122982  1 
    snd_hda_codec         127706  3 snd_hda_codec_hdmi,snd_hda_codec_via,snd_hda_intel
    snd_pcm                97188  4 snd_hda_codec_hdmi,snd_hda_intel,snd_usb_audio,snd_hda_codec
    snd_hwdep              13668  2 snd_usb_audio,snd_hda_codec
    snd_usbmidi_lib        25395  1 snd_usb_audio
    snd_seq_midi           13324  0 
    snd_rawmidi            30748  2 snd_usbmidi_lib,snd_seq_midi
    ath9k                 132390  0 
    snd_seq_midi_event     14899  1 snd_seq_midi
    mac80211              506816  1 ath9k
    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
    ath9k_common           14053  1 ath9k
    ath9k_hw              411112  2 ath9k,ath9k_common
    ath                    24067  3 ath9k,ath9k_common,ath9k_hw
    parport_pc             32866  1 
    snd                    78855  24 snd_hda_codec_hdmi,snd_hda_codec_via,snd_hda_intel,snd_usb_audio,snd_hda_codec,snd_pcm,snd_hwdep,snd_usbmidi_lib,snd_rawmidi,snd_seq,snd_timer,snd_seq_device
    cfg80211              205544  3 ath9k,mac80211,ath
    uvcvideo               72627  0 
    videodev               98259  1 uvcvideo
    mac_hid                13253  0 
    serio_raw              13211  0 
    v4l2_compat_ioctl32    17128  1 videodev
    edac_core              53746  0 
    k10temp                13166  0 
    soundcore              15091  1 snd
    edac_mce_amd           23709  0 
    snd_page_alloc         18529  2 snd_hda_intel,snd_pcm
    i2c_nforce2            13058  0 
    lp                     17799  0 
    parport                46562  3 ppdev,parport_pc,lp
    usbhid                 47199  0 
    hid                    99559  1 usbhid
    radeon                804372  3 
    ttm                    76949  1 radeon
    drm_kms_helper         46978  1 radeon
    drm                   242038  5 radeon,ttm,drm_kms_helper
    i2c_algo_bit           13423  1 radeon
    sata_nv                32286  0 
    forcedeth              63460  0 
    pata_amd               14118  2
    Code:
    xxxxx@asdf:~$ lsmod | grep "ath"
    ath9k                 132390  0 
    mac80211              506816  1 ath9k
    ath9k_common           14053  1 ath9k
    ath9k_hw              411112  2 ath9k,ath9k_common
    ath                    24067  3 ath9k,ath9k_common,ath9k_hw
    cfg80211              205544  3 ath9k,mac80211,ath


    5) Kernel boot messages
    Code:
    alfred@asdf:~$ dmesg | grep "ath"
    [   16.213970] ath9k 0000:01:08.0: PCI INT A -> Link[LNKA] -> GSI 18 (level, low) -> IRQ 18
    [   16.517723] ath: EEPROM regdomain: 0x809c
    [   16.517727] ath: EEPROM indicates we should expect a country code
    [   16.517728] ath: doing EEPROM country->regdmn map search
    [   16.517729] ath: country maps to regdmn code: 0x52
    [   16.517731] ath: Country alpha2 being used: CN
    [   16.517732] ath: Regpair used: 0x52
    [   16.524064] ieee80211 phy0: Selected rate control algorithm 'ath9k_rate_control'
    [   16.524534] Registered led device: ath9k-phy0
    [   16.585557] type=1400 audit(1335479733.136:11): apparmor="STATUS" operation="profile_load" name="/usr/lib/telepathy/mission-control-5" pid=943 comm="apparmor_parser"
    [   40.175779] type=1400 audit(1335479756.724:24): apparmor="DENIED" operation="open" parent=1 profile="/usr/lib/telepathy/mission-control-5" name="/usr/share/gvfs/remote-volume-monitors/" pid=2010 comm="mission-control" requested_mask="r" denied_mask="r" fsuid=1000 ouid=0
    When I did just dmesg as suggested, there were loads of lines. I couldn't even select them properly to copy. So instead, I decided to get msg only related to "ath".
    If you do need all of them, let me know how to output them into a text file from terminal. It'd be easier for me that way.

    6) Network configuration
    Code:
    xxxxx@asdf:~$ sudo lshw -C network
      *-network               
           description: Wireless interface
           product: AR9227 Wireless Network Adapter
           vendor: Atheros Communications Inc.
           physical id: 8
           bus info: pci@0000:01:08.0
           logical name: wlan0
           version: 01
           serial: f4:ec:38:db:dd:55
           width: 32 bits
           clock: 66MHz
           capabilities: pm bus_master cap_list ethernet physical wireless
           configuration: broadcast=yes driver=ath9k driverversion=3.2.0-23-generic firmware=N/A latency=168 link=no multicast=yes wireless=IEEE 802.11bgn
           resources: irq:18 memory:fbef0000-fbefffff


    7) Scan for networks:

    Code:
    xxxxx@asdf:~$ iwlist scan
    lo        Interface doesn't support scanning.
    
    wlan0     No scan results
    
    eth0      Interface doesn't support scanning.


    Eight) Ubuntu Version:

    Code:
    xxxxx@asdf:~$ lsb_release -d
    Description:    Ubuntu 12.04 LTS
    9) Kernel/architecture (including 32 vs. 64 bit):
    Code:
    xxxxx@asdf:~$ uname -mr
    3.2.0-23-generic x86_64


    10) Restarting the network:

    Code:
    xxxxx@asdf:~$ sudo /etc/init.d/networking restart
     * Running /etc/init.d/networking restart is deprecated because it may not enable again some interfaces
     * Reconfiguring network interfaces...
    Advice, suggestion and discussion are welcome. This is a fairly powerful machine (at least imho) and I am quite anxious to run Ubuntu on it. So, please help
    Should you require any further info, do let me know.

    Thank you very much. Best regards.
    Last edited by Godspell; April 27th, 2012 at 01:11 AM.
    "Tell me, and I may forget. Show me, and I may remember. Involve me, and I may understand." Chinese proverb

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •