Please note: This project is no longer active. The website is kept online for historic purposes only.
If you´re looking for a Linux driver for your Atheros WLAN device, you should continue here .

Ticket #2318 (new defect)

Opened 12 years ago

Last modified 12 years ago

Two CM9 devices are causing madwifi 0.9.4 to crash

Reported by: JaFojtik@seznam.cz Assigned to:
Priority: minor Milestone:
Component: madwifi: other Version: v0.9.4
Keywords: CM9, crash Cc:
Patch is attached: 0 Pending: 0

Description

It is interesting that CM9 and TL-WN560G are working seamlessly together with a same configuration. They have a different atheros chipsets and it could be a source of problem.

This report looks like #2317, but it could be different. Just discard it, if it is a duplicity.

I have used: madwifi-0.9.4

The output of dmesg:

ath_hal: module license 'Proprietary' taints kernel.
ath_hal: 0.9.18.0 (AR5210, AR5211, AR5212, RF5111, RF5112, RF2413, RF5413)
wlan: 0.9.4
ath_pci: 0.9.4
ath_pci: switching rfkill capability off
ath_rate_sample: 1.2 (0.9.4)
wifi0: 11a rates: 6Mbps 9Mbps 12Mbps 18Mbps 24Mbps 36Mbps 48Mbps 54Mbps
wifi0: 11b rates: 1Mbps 2Mbps 5.5Mbps 11Mbps
wifi0: 11g rates: 1Mbps 2Mbps 5.5Mbps 11Mbps 6Mbps 9Mbps 12Mbps 18Mbps 24Mbps 36Mbps 48Mbps 54Mbps
wifi0: turboG rates: 6Mbps 12Mbps 18Mbps 24Mbps 36Mbps 48Mbps 54Mbps
wifi0: H/W encryption support: WEP AES AES_CCM TKIP
wifi0: mac 5.9 phy 4.3 radio 3.6
wifi0: Use hw queue 1 for WME_AC_BE traffic
wifi0: Use hw queue 0 for WME_AC_BK traffic
wifi0: Use hw queue 2 for WME_AC_VI traffic
wifi0: Use hw queue 3 for WME_AC_VO traffic
wifi0: Use hw queue 8 for CAB traffic
wifi0: Use hw queue 9 for beacons
wifi0: Atheros 5212: mem=0xdd000000, irq=10
ath_pci: switching rfkill capability off
wifi1: 11a rates: 6Mbps 9Mbps 12Mbps 18Mbps 24Mbps 36Mbps 48Mbps 54Mbps
wifi1: 11b rates: 1Mbps 2Mbps 5.5Mbps 11Mbps
wifi1: 11g rates: 1Mbps 2Mbps 5.5Mbps 11Mbps 6Mbps 9Mbps 12Mbps 18Mbps 24Mbps 36Mbps 48Mbps 54Mbps
wifi1: turboG rates: 6Mbps 12Mbps 18Mbps 24Mbps 36Mbps 48Mbps 54Mbps
wifi1: H/W encryption support: WEP AES AES_CCM TKIP
wifi1: mac 5.9 phy 4.3 radio 3.6
wifi1: Use hw queue 1 for WME_AC_BE traffic
wifi1: Use hw queue 0 for WME_AC_BK traffic
wifi1: Use hw queue 2 for WME_AC_VI traffic
wifi1: Use hw queue 3 for WME_AC_VO traffic
wifi1: Use hw queue 8 for CAB traffic
wifi1: Use hw queue 9 for beacons
wifi1: Atheros 5212: mem=0xdd010000, irq=9
eth0:  setting half-duplex.
sysctl table check failed: /net/ath1/debug  Sysctl already exists
Pid: 1071, comm: wlanconfig Tainted: P        2.6.24.7 #4
 [<b013a748>] set_fail+0xb8/0x100
 [<b013ad4b>] sysctl_check_table+0x5bb/0x850
 [<b0178222>] do_lookup+0x22/0x1f0
 [<b013ad5f>] sysctl_check_table+0x5cf/0x850
 [<b013ad5f>] sysctl_check_table+0x5cf/0x850
 [<b01278ac>] register_sysctl_table+0x6c/0xa0
 [<b4920195>] ieee80211_sysctl_vattach+0x145/0x290 [wlan]
 [<b490040b>] ieee80211_vap_setup+0x24b/0x330 [wlan]
 [<b03648f0>] ether_setup+0x0/0x80
 [<b48ce039>] ath_vap_create+0x119/0x780 [ath_pci]
 [<b491a93c>] ieee80211_ioctl_create_vap+0xfc/0x180 [wlan]
 [<b48c45aa>] ath_ioctl+0x9a/0x2a0 [ath_pci]
 [<b0347b4a>] sock_map_fd+0xca/0x110
 [<b48c4510>] ath_ioctl+0x0/0x2a0 [ath_pci]
 [<b03573eb>] dev_ifsioc+0x16b/0x3e0
 [<b0357aa2>] dev_ioctl+0x242/0x8c0
 [<b015c6ed>] handle_mm_fault+0x15d/0x5e0
 [<b015e4c5>] vma_link+0x55/0xe0
 [<b03471e0>] sock_ioctl+0x0/0x220
 [<b017e823>] vfs_ioctl+0x83/0x2e0
 [<b017eabd>] sys_ioctl+0x3d/0x70
 [<b0104342>] syscall_call+0x7/0xb
 =======================
sysctl table check failed: /net/ath1/dev_type  Sysctl already exists
Pid: 1071, comm: wlanconfig Tainted: P        2.6.24.7 #4
 [<b013a748>] set_fail+0xb8/0x100
 [<b013ad4b>] sysctl_check_table+0x5bb/0x850
 [<b0178222>] do_lookup+0x22/0x1f0
 [<b013ad5f>] sysctl_check_table+0x5cf/0x850
 [<b013ad5f>] sysctl_check_table+0x5cf/0x850
 [<b01278ac>] register_sysctl_table+0x6c/0xa0
 [<b4920195>] ieee80211_sysctl_vattach+0x145/0x290 [wlan]
 [<b490040b>] ieee80211_vap_setup+0x24b/0x330 [wlan]
 [<b03648f0>] ether_setup+0x0/0x80
 [<b48ce039>] ath_vap_create+0x119/0x780 [ath_pci]
 [<b491a93c>] ieee80211_ioctl_create_vap+0xfc/0x180 [wlan]
 [<b48c45aa>] ath_ioctl+0x9a/0x2a0 [ath_pci]
 [<b0347b4a>] sock_map_fd+0xca/0x110
 [<b48c4510>] ath_ioctl+0x0/0x2a0 [ath_pci]
 [<b03573eb>] dev_ifsioc+0x16b/0x3e0
 [<b0357aa2>] dev_ioctl+0x242/0x8c0
 [<b015c6ed>] handle_mm_fault+0x15d/0x5e0
 [<b015e4c5>] vma_link+0x55/0xe0
 [<b03471e0>] sock_ioctl+0x0/0x220
 [<b017e823>] vfs_ioctl+0x83/0x2e0
 [<b017eabd>] sys_ioctl+0x3d/0x70
 [<b0104342>] syscall_call+0x7/0xb
 =======================
sysctl table check failed: /net/ath1/monitor_nods_only  Sysctl already exists
Pid: 1071, comm: wlanconfig Tainted: P        2.6.24.7 #4
 [<b013a748>] set_fail+0xb8/0x100
 [<b013ad4b>] sysctl_check_table+0x5bb/0x850
 [<b0178222>] do_lookup+0x22/0x1f0
 [<b013ad5f>] sysctl_check_table+0x5cf/0x850
 [<b013ad5f>] sysctl_check_table+0x5cf/0x850
 [<b01278ac>] register_sysctl_table+0x6c/0xa0
 [<b4920195>] ieee80211_sysctl_vattach+0x145/0x290 [wlan]
 [<b490040b>] ieee80211_vap_setup+0x24b/0x330 [wlan]
 [<b03648f0>] ether_setup+0x0/0x80
 [<b48ce039>] ath_vap_create+0x119/0x780 [ath_pci]
 [<b491a93c>] ieee80211_ioctl_create_vap+0xfc/0x180 [wlan]
 [<b48c45aa>] ath_ioctl+0x9a/0x2a0 [ath_pci]
 [<b0347b4a>] sock_map_fd+0xca/0x110
 [<b48c4510>] ath_ioctl+0x0/0x2a0 [ath_pci]
 [<b03573eb>] dev_ifsioc+0x16b/0x3e0
 [<b0357aa2>] dev_ioctl+0x242/0x8c0
 [<b015c6ed>] handle_mm_fault+0x15d/0x5e0
 [<b015e4c5>] vma_link+0x55/0xe0
 [<b03471e0>] sock_ioctl+0x0/0x220
 [<b017e823>] vfs_ioctl+0x83/0x2e0
 [<b017eabd>] sys_ioctl+0x3d/0x70
 [<b0104342>] syscall_call+0x7/0xb
 =======================
sysctl table check failed: /net/ath1/monitor_txf_len  Sysctl already exists
Pid: 1071, comm: wlanconfig Tainted: P        2.6.24.7 #4
 [<b013a748>] set_fail+0xb8/0x100
 [<b013ad4b>] sysctl_check_table+0x5bb/0x850
 [<b0178222>] do_lookup+0x22/0x1f0
 [<b013ad5f>] sysctl_check_table+0x5cf/0x850
 [<b013ad5f>] sysctl_check_table+0x5cf/0x850
 [<b01278ac>] register_sysctl_table+0x6c/0xa0
 [<b4920195>] ieee80211_sysctl_vattach+0x145/0x290 [wlan]
 [<b490040b>] ieee80211_vap_setup+0x24b/0x330 [wlan]
 [<b03648f0>] ether_setup+0x0/0x80
 [<b48ce039>] ath_vap_create+0x119/0x780 [ath_pci]
 [<b491a93c>] ieee80211_ioctl_create_vap+0xfc/0x180 [wlan]
 [<b48c45aa>] ath_ioctl+0x9a/0x2a0 [ath_pci]
 [<b0347b4a>] sock_map_fd+0xca/0x110
 [<b48c4510>] ath_ioctl+0x0/0x2a0 [ath_pci]
 [<b03573eb>] dev_ifsioc+0x16b/0x3e0
 [<b0357aa2>] dev_ioctl+0x242/0x8c0
 [<b015c6ed>] handle_mm_fault+0x15d/0x5e0
 [<b015e4c5>] vma_link+0x55/0xe0
 [<b03471e0>] sock_ioctl+0x0/0x220
 [<b017e823>] vfs_ioctl+0x83/0x2e0
 [<b017eabd>] sys_ioctl+0x3d/0x70
 [<b0104342>] syscall_call+0x7/0xb
 =======================
sysctl table check failed: /net/ath1/monitor_phy_errors  Sysctl already exists
Pid: 1071, comm: wlanconfig Tainted: P        2.6.24.7 #4
 [<b013a748>] set_fail+0xb8/0x100
 [<b013ad4b>] sysctl_check_table+0x5bb/0x850
 [<b0178222>] do_lookup+0x22/0x1f0
 [<b013ad5f>] sysctl_check_table+0x5cf/0x850
 [<b013ad5f>] sysctl_check_table+0x5cf/0x850
 [<b01278ac>] register_sysctl_table+0x6c/0xa0
 [<b4920195>] ieee80211_sysctl_vattach+0x145/0x290 [wlan]
 [<b490040b>] ieee80211_vap_setup+0x24b/0x330 [wlan]
 [<b03648f0>] ether_setup+0x0/0x80
 [<b48ce039>] ath_vap_create+0x119/0x780 [ath_pci]
 [<b491a93c>] ieee80211_ioctl_create_vap+0xfc/0x180 [wlan]
 [<b48c45aa>] ath_ioctl+0x9a/0x2a0 [ath_pci]
 [<b0347b4a>] sock_map_fd+0xca/0x110
 [<b48c4510>] ath_ioctl+0x0/0x2a0 [ath_pci]
 [<b03573eb>] dev_ifsioc+0x16b/0x3e0
 [<b0357aa2>] dev_ioctl+0x242/0x8c0
 [<b015c6ed>] handle_mm_fault+0x15d/0x5e0
 [<b015e4c5>] vma_link+0x55/0xe0
 [<b03471e0>] sock_ioctl+0x0/0x220
 [<b017e823>] vfs_ioctl+0x83/0x2e0
 [<b017eabd>] sys_ioctl+0x3d/0x70
 [<b0104342>] syscall_call+0x7/0xb
 =======================
sysctl table check failed: /net/ath1/monitor_crc_errors  Sysctl already exists
Pid: 1071, comm: wlanconfig Tainted: P        2.6.24.7 #4
 [<b013a748>] set_fail+0xb8/0x100
 [<b013ad4b>] sysctl_check_table+0x5bb/0x850
 [<b0178222>] do_lookup+0x22/0x1f0
 [<b013ad5f>] sysctl_check_table+0x5cf/0x850
 [<b013ad5f>] sysctl_check_table+0x5cf/0x850
 [<b01278ac>] register_sysctl_table+0x6c/0xa0
 [<b4920195>] ieee80211_sysctl_vattach+0x145/0x290 [wlan]
 [<b490040b>] ieee80211_vap_setup+0x24b/0x330 [wlan]
 [<b03648f0>] ether_setup+0x0/0x80
 [<b48ce039>] ath_vap_create+0x119/0x780 [ath_pci]
 [<b491a93c>] ieee80211_ioctl_create_vap+0xfc/0x180 [wlan]
 [<b48c45aa>] ath_ioctl+0x9a/0x2a0 [ath_pci]
 [<b0347b4a>] sock_map_fd+0xca/0x110
 [<b48c4510>] ath_ioctl+0x0/0x2a0 [ath_pci]
 [<b03573eb>] dev_ifsioc+0x16b/0x3e0
 [<b0357aa2>] dev_ioctl+0x242/0x8c0
 [<b015c6ed>] handle_mm_fault+0x15d/0x5e0
 [<b015e4c5>] vma_link+0x55/0xe0
 [<b03471e0>] sock_ioctl+0x0/0x220
 [<b017e823>] vfs_ioctl+0x83/0x2e0
 [<b017eabd>] sys_ioctl+0x3d/0x70
 [<b0104342>] syscall_call+0x7/0xb
 =======================
sysctl table check failed: /net/ath1/%parent  Sysctl already exists
Pid: 1071, comm: wlanconfig Tainted: P        2.6.24.7 #4
 [<b013a748>] set_fail+0xb8/0x100
 [<b013ad4b>] sysctl_check_table+0x5bb/0x850
 [<b0178222>] do_lookup+0x22/0x1f0
 [<b013ad5f>] sysctl_check_table+0x5cf/0x850
 [<b013ad5f>] sysctl_check_table+0x5cf/0x850
 [<b01278ac>] register_sysctl_table+0x6c/0xa0
 [<b4920195>] ieee80211_sysctl_vattach+0x145/0x290 [wlan]
 [<b490040b>] ieee80211_vap_setup+0x24b/0x330 [wlan]
 [<b03648f0>] ether_setup+0x0/0x80
 [<b48ce039>] ath_vap_create+0x119/0x780 [ath_pci]
 [<b491a93c>] ieee80211_ioctl_create_vap+0xfc/0x180 [wlan]
 [<b48c45aa>] ath_ioctl+0x9a/0x2a0 [ath_pci]
 [<b0347b4a>] sock_map_fd+0xca/0x110
 [<b48c4510>] ath_ioctl+0x0/0x2a0 [ath_pci]
 [<b03573eb>] dev_ifsioc+0x16b/0x3e0
 [<b0357aa2>] dev_ioctl+0x242/0x8c0
 [<b015c6ed>] handle_mm_fault+0x15d/0x5e0
 [<b015e4c5>] vma_link+0x55/0xe0
 [<b03471e0>] sock_ioctl+0x0/0x220
 [<b017e823>] vfs_ioctl+0x83/0x2e0
 [<b017eabd>] sys_ioctl+0x3d/0x70
 [<b0104342>] syscall_call+0x7/0xb
 =======================
ath1: failed to register sysctls!
ath1: unable to register device
NET: Registered protocol family 10
ADDRCONF(NETDEV_UP): eth0: link is not ready
process `named' is using obsolete setsockopt SO_BSDCOMPAT
WARNING: at fs/proc/generic.c:736 remove_proc_entry()
Pid: 1176, comm: wlanconfig Tainted: P        2.6.24.7 #4
 [<b01ae730>] remove_proc_entry+0x1f0/0x200
 [<b0127313>] unregister_sysctl_table+0x33/0x60
 [<b491fc27>] ieee80211_sysctl_vdetach+0x67/0xe0 [wlan]
 [<b490012e>] ieee80211_vap_detach+0x5e/0xf0 [wlan]
 [<b48cf999>] ath_vap_delete+0xf9/0x4a0 [ath_pci]
 [<b49168ac>] ieee80211_stop+0x4c/0x100 [wlan]
 [<b491aad0>] ieee80211_ioctl+0x0/0x4b0 [wlan]
 [<b491ad6b>] ieee80211_ioctl+0x29b/0x4b0 [wlan]
 [<b0178222>] do_lookup+0x22/0x1f0
 [<b018590c>] dput+0x1c/0xe0
 [<b017a30f>] __link_path_walk+0xb1f/0xd50
 [<b0118539>] do_page_fault+0xd9/0x660
 [<b0189da3>] mntput_no_expire+0x13/0x60
 [<b017a5a3>] link_path_walk+0x63/0xc0
 [<b0172fab>] sys_fstat64+0x5b/0x120
 [<b0118539>] do_page_fault+0xd9/0x660
 [<b014bc9e>] find_lock_page+0x2e/0x150
 [<b034bb6b>] sk_alloc+0x4b/0x70
 [<b0184efc>] d_alloc+0x1c/0x170
 [<b014c1e9>] filemap_fault+0x1d9/0x470
 [<b0347b4a>] sock_map_fd+0xca/0x110
 [<b491aad0>] ieee80211_ioctl+0x0/0x4b0 [wlan]
 [<b03573eb>] dev_ifsioc+0x16b/0x3e0
 [<b0357aa2>] dev_ioctl+0x242/0x8c0
 [<b015c6ed>] handle_mm_fault+0x15d/0x5e0
 [<b03471e0>] sock_ioctl+0x0/0x220
 [<b017e823>] vfs_ioctl+0x83/0x2e0
 [<b017eabd>] sys_ioctl+0x3d/0x70
 [<b0104342>] syscall_call+0x7/0xb
 =======================

Change History

07/12/09 09:02:16 changed by Fojtík

I have found that when I set autocreate none:

/sbin/modprobe ath_pci autocreate=none countrycode=203 outdoor=1 rfkill=0

and the ath interfaces are build in rc.local after complete initialization, everything seems to work fine. No idea what was going on.