#224: kernel panic by starting the hostapd
-----------------------------+----------------------------------------------
  Reporter:  anonymous       |       Owner:       
      Type:  defect          |      Status:  new  
  Priority:  major           |   Milestone:       
 Component:  madwifi: other  |     Version:  trunk
Resolution:                  |    Keywords:       
-----------------------------+----------------------------------------------
Changes (by mrenzmann):

  * version:  => trunk

Old description:

> I have install the madwifi-trunk-r1325-20051111. with out the hostapd the
> driver run fine. but starting the deamon i become a kernel panic like
> this:
>
> kernel BUG at net/core/skbuff.c:94!
> invalid operand: 0000 [#1]
> Modules linked in: wlan_xauth ath_pci ath_rate_onoe wlan ath_hal
> CPU:    0
> EIP:    0060:[<c028f6a5>]    Tainted: P      VLI
> EFLAGS: 00010282   (2.6.14-gentoo-r2-pi1)
> EIP is at skb_over_panic+0x45/0x60
> eax: 00000076   ebx: c723a8a0   ecx: c5c05d5c   edx: c0337120
> esi: c6371c28   edi: 00000196   ebp: c7ffa240   esp: c5c05d58
> ds: 007b   es: 007b   ss: 0068
> Process hostapd (pid: 4814, threadinfo=c5c04000 task=c63435a0)
> Stack: c0337120 c8916acb 00000196 00000196 c6371c28 c6371dbe c6371c00
> c6371de0
>        c03228cc c8916ad3 c723a8a0 00000196 c8916acb c78b0a60 00000196
> c702b240
>        c890056d c5c05da4 00000196 c6371000 c78b0a60 c79a8000 c6371000
> c702b240
> Call Trace:
>  [<c8916acb>] ieee80211_getmgtframe+0xcb/0xf0 [wlan]
>  [<c8916ad3>] ieee80211_getmgtframe+0xd3/0xf0 [wlan]
>  [<c8916acb>] ieee80211_getmgtframe+0xcb/0xf0 [wlan]
>  [<c890056d>] ieee80211_beacon_alloc+0x6d/0x1b0 [wlan]
>  [<c88bba0d>] ath_beacon_alloc+0x4d/0x190 [ath_pci]
>  [<c88c1d40>] ath_newstate+0x4b0/0x740 [ath_pci]
>  [<c890f609>] ieee80211_new_state+0x29/0x40 [wlan]
>  [<c8908339>] ieee80211_sta_join1_tasklet+0x19/0x30 [wlan]
>  [<c01198cb>] tasklet_action+0x3b/0x60
>  [<c01196a3>] __do_softirq+0x83/0x90
>  [<c01196d6>] do_softirq+0x26/0x30
>  [<c0119725>] local_bh_enable+0x45/0x70
>  [<c890f613>] ieee80211_new_state+0x33/0x40 [wlan]
>  [<c890f199>] ieee80211_init+0x79/0xd0 [wlan]
>  [<c890f1fc>] ieee80211_open+0xc/0x10 [wlan]
>  [<c0294388>] dev_open+0x58/0x70
>  [<c02956f1>] dev_change_flags+0x51/0x120
>  [<c02d016d>] devinet_ioctl+0x20d/0x540
>  [<c02d1fd5>] inet_ioctl+0x45/0x80
>  [<c028c0d4>] sock_ioctl+0xa4/0x1f0
>  [<c01561b6>] do_ioctl+0x46/0x60
>  [<c01562f3>] vfs_ioctl+0x53/0x1b0
>  [<c015647d>] sys_ioctl+0x2d/0x50
>  [<c0102d59>] syscall_call+0x7/0xb
> Code: 94 00 00 00 50 8b 82 90 00 00 00 50 8b 82 8c 00 00 00 50 8b 4c 24
> 1c 51 8b 52 58 52 8b 44 24 28 50 68 20 71 33 c0 e8 4b 61 e8 ff <0f> 0b 5e
> 00 44 4e 33 c0 83 c4 24 c3 eb 0
>  <0>Kernel panic - not syncing: Fatal exception in interrupt

New description:

 I have install the madwifi-trunk-r1325-20051111. with out the hostapd the
 driver run fine. but starting the deamon i become a kernel panic like
 this:

 {{{
 kernel BUG at net/core/skbuff.c:94!
 invalid operand: 0000 [#1]
 Modules linked in: wlan_xauth ath_pci ath_rate_onoe wlan ath_hal
 CPU:    0
 EIP:    0060:[<c028f6a5>]    Tainted: P      VLI
 EFLAGS: 00010282   (2.6.14-gentoo-r2-pi1)
 EIP is at skb_over_panic+0x45/0x60
 eax: 00000076   ebx: c723a8a0   ecx: c5c05d5c   edx: c0337120
 esi: c6371c28   edi: 00000196   ebp: c7ffa240   esp: c5c05d58
 ds: 007b   es: 007b   ss: 0068
 Process hostapd (pid: 4814, threadinfo=c5c04000 task=c63435a0)
 Stack: c0337120 c8916acb 00000196 00000196 c6371c28 c6371dbe c6371c00
 c6371de0
        c03228cc c8916ad3 c723a8a0 00000196 c8916acb c78b0a60 00000196
 c702b240
        c890056d c5c05da4 00000196 c6371000 c78b0a60 c79a8000 c6371000
 c702b240
 Call Trace:
  [<c8916acb>] ieee80211_getmgtframe+0xcb/0xf0 [wlan]
  [<c8916ad3>] ieee80211_getmgtframe+0xd3/0xf0 [wlan]
  [<c8916acb>] ieee80211_getmgtframe+0xcb/0xf0 [wlan]
  [<c890056d>] ieee80211_beacon_alloc+0x6d/0x1b0 [wlan]
  [<c88bba0d>] ath_beacon_alloc+0x4d/0x190 [ath_pci]
  [<c88c1d40>] ath_newstate+0x4b0/0x740 [ath_pci]
  [<c890f609>] ieee80211_new_state+0x29/0x40 [wlan]
  [<c8908339>] ieee80211_sta_join1_tasklet+0x19/0x30 [wlan]
  [<c01198cb>] tasklet_action+0x3b/0x60
  [<c01196a3>] __do_softirq+0x83/0x90
  [<c01196d6>] do_softirq+0x26/0x30
  [<c0119725>] local_bh_enable+0x45/0x70
  [<c890f613>] ieee80211_new_state+0x33/0x40 [wlan]
  [<c890f199>] ieee80211_init+0x79/0xd0 [wlan]
  [<c890f1fc>] ieee80211_open+0xc/0x10 [wlan]
  [<c0294388>] dev_open+0x58/0x70
  [<c02956f1>] dev_change_flags+0x51/0x120
  [<c02d016d>] devinet_ioctl+0x20d/0x540
  [<c02d1fd5>] inet_ioctl+0x45/0x80
  [<c028c0d4>] sock_ioctl+0xa4/0x1f0
  [<c01561b6>] do_ioctl+0x46/0x60
  [<c01562f3>] vfs_ioctl+0x53/0x1b0
  [<c015647d>] sys_ioctl+0x2d/0x50
  [<c0102d59>] syscall_call+0x7/0xb
 Code: 94 00 00 00 50 8b 82 90 00 00 00 50 8b 82 8c 00 00 00 50 8b 4c 24 1c
 51 8b 52 58 52 8b 44 24 28 50 68 20 71 33 c0 e8 4b 61 e8 ff <0f> 0b 5e 00
 44 4e 33 c0 83 c4 24 c3 eb 0
  <0>Kernel panic - not syncing: Fatal exception in interrupt
 }}}

Comment:

 Try a more recent snapshot of madwifi-ng and see if that solves the
 problem. In addition, you should double-check if hostapd needs to be
 compiled against the actual madwifi version you use - this is the case at
 least with wpa_supplicant.

-- 
Ticket URL: <http://madwifi.org/ticket/224>
Madwifi <http://madwifi.org/>
Multiband Atheros Driver for Wireless Fidelity

Reply via email to