[DragonFlyBSD - Bug #2685] configuring ath0 freezes the system

bugtracker-admin at leaf.dragonflybsd.org bugtracker-admin at leaf.dragonflybsd.org
Sun Mar 29 02:32:38 PDT 2015


Issue #2685 has been updated by xbit.


I have checked this issue again and noticed some strange behaviour.

If I change several BIOS (AMI BIOS) settings, the freeze occurs. Below is a list of the settings and how they need to be set.

- Advanced Clock Calibration: Disabled
- PCIPnp: Active State Power Management: Enabled
- Northbridge Internal Graphics: FB Location: Below 4GB
- PCI Express: NB-SB VC1 Traffic Support: Enabled

Whenever I change one of these options, the systems freezes and restarts when running 'wpa_supplicant -Dbsd -iwlan0 -c/etc/wpa_supplicant.conf'.

With the settings above, I can run wpa_supplicant and dhclient and the network seems usables. I just made a quick ping to another machine.

The most strange behaviour is when I start wpa_supplicant in the background (with &), the system immediately hangs and resets.

I upgraded yesterday to 4.0.5.



----------------------------------------
Bug #2685: configuring ath0 freezes the system
http://bugs.dragonflybsd.org/issues/2685#change-12633

* Author: xbit
* Status: New
* Priority: Normal
* Assignee: 
* Category: Driver
* Target version: 4.0.x
----------------------------------------
Loading if_ath works, but when configuring the device the system locks up/freezes.

System has been upgraded from 3.6-RELEASE via buildworld, installworld. Kernel is GENERIC_X64_86 and HEAD is 358af07.

Running "ifconfig ath0 up" works.

Then calling "ifconfig wlan0 create wlandev ath0" freezes the system.

I discovered the follwoing kernel message when trying to configure the device using /etc/rc.d/netif.

ath0: _ath_power_restore_power_state.refcount=0?

I also applied the change from http://lists.dragonflybsd.org/pipermail/commits/2014-June/270210.html via cherry-picking, but no changes.

The 3.6-RELEASE have been used successfully with the same hardware.

Here are the ath related snippets from the dmesg output:

wlan: <802.11 Link Layer>                                                                                                      
ath_dfs: WTF module                                                                                                            
ath_rate: <SampleRate bit-rate selection algorithm>                                                                            
                                                                                                                                                                                                                                                              
ath0.pci3.pcib3.pci0.pcib0.acpi0.nexus0.root0                                                                                  
ath0: <Atheros 2413> [tentative] mem 0xfebf0000-0xfebfffff irq 20 at                                                           
device 5.0 on pci3                                                                                                             
ath0: Reserved 0x10000 bytes for rid 0x10 type 3 at 0xfebf0000                                                                 
                                                                                                                               
                                                                                                                               
ath0: 11b rates: 1Mbps 2Mbps 5.5Mbps 11Mbps                                                                                    
ath0: 11g rates: 1Mbps 2Mbps 5.5Mbps 11Mbps 6Mbps 9Mbps 12Mbps 18Mbps                                                          
24Mbps 36Mbps 48Mbps 54Mbps                                                                                                    
ath0: AR2413 mac 7.8 RF2413 phy 4.5                                                                                            
ath0: 2GHz radio: 0x0000; 5GHz radio: 0x0056                                                                                   
ath0: Use hw queue 1 for WME_AC_BE traffic                                                                                     
ath0: Use hw queue 0 for WME_AC_BK traffic                                                                                     ath0: Use hw queue 2 for WME_AC_VI traffic                                                                                     
ath0: Use hw queue 3 for WME_AC_VO traffic                                                                                     
ath0: Use hw queue 8 for CAB traffic                                                                                           
ath0: Use hw queue 9 for beacons                                                                                               
ath0: using multicast key search                                                                                               
ath0: <Atheros 2413> [attached!] mem 0xfebf0000-0xfebfffff irq 20 at                                                           
device 5.0 on pci3                                                                                                             
pci3: <ACPI PCI bus> [attached!] on pcib3                                                                                      
pcib3: <ACPI PCI-PCI bridge> [attached!] at device 20.4 on pci0




-- 
You have received this notification because you have either subscribed to it, or are involved in it.
To change your notification preferences, please click here: http://bugs.dragonflybsd.org/my/account



More information about the Bugs mailing list