#309: Kernel panic on ifconfig ath0 up
--------------------------------------------------+-------------------------
  Reporter:  wojtek_AT_swiatek._TOBEREMOVED_name  |       Owner:       
      Type:  defect                               |      Status:  new  
  Priority:  blocker                              |   Milestone:       
 Component:  madwifi: other                       |     Version:  trunk
Resolution:                                       |    Keywords:       
--------------------------------------------------+-------------------------
Changes (by mrenzmann):

  * version:  => trunk

Old description:

> System: 2.6.14-gentoo-r5 [[BR]]
> MadWifi: svn snapshot as of 10 Jan 2006 [[BR]]
>
> Summary: [[BR]]
>
> - compilation OK [[BR]]
>
> - wlanconfig to create ath0 in ap mode [[BR]]
>
> - iwconfig ath0 essid something mode master [[BR]]
>
> - bridge setup (addbr, addif, bridge up) OK [[BR]]
>
> - ifconfig eth0 up OK [[BR]]
>
> - ifconfig ath0 up --> kernel crash [[BR]]
>
> The kernel crashes in most of the case immediately upon issuing the
> ifconfig command for ath0, or sometimes after a few seconds [[BR]]
>

> Dump of the condole screen:
>
> {{{
> kb_over_panic: text:f8a01b7b len:53 put:53 head:f6778c60 data:f6778c00
> tail:f6778c00 end:f6778c80 dev:<NULL>
>
> ------------[ cut here ]------------
>
> kernel BUG at net/core/skbuff.c:94!
>
> invalid operand: 0000 [#1]
>
> Modules linked in: bridge wlan_scan_ap ohci_hcd ath_pci ath_rate_sample
> wlan ath_hal i2c_i801 i2c_core snd_intel8x0 snd_ac97_codec snd_ac97_bus
> snd_pcm snd_timer snd snd_page_alloc ehci_hcd uhci_hcd intel_agp agpgart
>
> CPU:    0
>
> EIP:    0060:[<c0280b25>]    Tainted: P      VLI
>
> EFLAGS: 00010296   (2.6.14-gentoo-r5)
>
> EIP is at skb_over_panic+0x45/0x60
>
> eax: 00000074   ebx: f61e9e80   ecx: c039ef14   edx: c030f9c0
>
> esi: f6778c2b   edi: 00000035   ebp: f73f6240   esp: c039ef10
>
> ds: 007b   es: 007b   ss: 0068
>
> Process metalog (pid: 4657, threadinfo=c039e000 task=f6ccda90)
>
> Stack: c030f9c0 f8a01b7b 00000035 00000035 f6778c60 f6778c00 f6778c00
> f6778c80
>
>        c02f0b4c f8a01b83 f61e9e80 00000035 f8a01b7b f6b5035c 00000000
> f73f60f4
>
>        f89f7a2e c039ef64 00000035 f6b50240 f73f6240 f6b50240 f6b5035c
> f6c9a800
>
> Call Trace:
>
>  [<f8a01b7b>] ieee80211_getmgtframe+0xcb/0xf0 [wlan]
>
>  [<f8a01b83>] ieee80211_getmgtframe+0xd3/0xf0 [wlan]
>
>  [<f8a01b7b>] ieee80211_getmgtframe+0xcb/0xf0 [wlan]
>
>  [<f89f7a2e>] ieee80211_send_probereq+0x4e/0x270 [wlan]
>
>  [<f89fbe70>] scan_next+0x3b0/0x440 [wlan]
>
>  [<f89fbac0>] scan_next+0x0/0x440 [wlan]
>
>  [<c011e004>] run_timer_softirq+0xb4/0x190
>
>  [<c011a903>] __do_softirq+0x83/0x90
>
>  [<c0104419>] do_softirq+0x39/0x40
>
>  =======================
>
>  [<c0104328>] do_IRQ+0x48/0x60
>
>  [<c010303a>] common_interrupt+0x1a/0x20
>
> 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 c0 f9 30 c0 e8 7b 5e e9 ff <0f> 0b 5e
> 00 75 db 30 c0 83 c4 24 c3 eb 0d 90 90 90 90 90 90 90
>
> Kernel panic - not syncing: Fatal exception in interrupt
>
> }}}

New description:

 System: 2.6.14-gentoo-r5 [[BR]]
 MadWifi: svn snapshot as of 10 Jan 2006 [[BR]]

 Summary: [[BR]]
 - compilation OK [[BR]]
 - wlanconfig to create ath0 in ap mode [[BR]]
 - iwconfig ath0 essid something mode master [[BR]]
 - bridge setup (addbr, addif, bridge up) OK [[BR]]
 - ifconfig eth0 up OK [[BR]]
 - ifconfig ath0 up --> kernel crash [[BR]]

 The kernel crashes in most of the case immediately upon issuing the
 ifconfig command for ath0, or sometimes after a few seconds [[BR]]


 Dump of the condole screen:

 {{{
 kb_over_panic: text:f8a01b7b len:53 put:53 head:f6778c60 data:f6778c00
 tail:f6778c00 end:f6778c80 dev:<NULL>

 ------------[ cut here ]------------
 kernel BUG at net/core/skbuff.c:94!
 invalid operand: 0000 [#1]
 Modules linked in: bridge wlan_scan_ap ohci_hcd ath_pci ath_rate_sample
 wlan ath_hal i2c_i801 i2c_core snd_intel8x0 snd_ac97_codec snd_ac97_bus
 snd_pcm snd_timer snd snd_page_alloc ehci_hcd uhci_hcd intel_agp agpgart
 CPU:    0
 EIP:    0060:[<c0280b25>]    Tainted: P      VLI
 EFLAGS: 00010296   (2.6.14-gentoo-r5)
 EIP is at skb_over_panic+0x45/0x60
 eax: 00000074   ebx: f61e9e80   ecx: c039ef14   edx: c030f9c0
 esi: f6778c2b   edi: 00000035   ebp: f73f6240   esp: c039ef10
 ds: 007b   es: 007b   ss: 0068
 Process metalog (pid: 4657, threadinfo=c039e000 task=f6ccda90)
 Stack: c030f9c0 f8a01b7b 00000035 00000035 f6778c60 f6778c00 f6778c00
 f6778c80
        c02f0b4c f8a01b83 f61e9e80 00000035 f8a01b7b f6b5035c 00000000
 f73f60f4
        f89f7a2e c039ef64 00000035 f6b50240 f73f6240 f6b50240 f6b5035c
 f6c9a800
 Call Trace:
  [<f8a01b7b>] ieee80211_getmgtframe+0xcb/0xf0 [wlan]
  [<f8a01b83>] ieee80211_getmgtframe+0xd3/0xf0 [wlan]
  [<f8a01b7b>] ieee80211_getmgtframe+0xcb/0xf0 [wlan]
  [<f89f7a2e>] ieee80211_send_probereq+0x4e/0x270 [wlan]
  [<f89fbe70>] scan_next+0x3b0/0x440 [wlan]
  [<f89fbac0>] scan_next+0x0/0x440 [wlan]
  [<c011e004>] run_timer_softirq+0xb4/0x190
  [<c011a903>] __do_softirq+0x83/0x90
  [<c0104419>] do_softirq+0x39/0x40
  =======================
  [<c0104328>] do_IRQ+0x48/0x60
  [<c010303a>] common_interrupt+0x1a/0x20

 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 c0 f9 30 c0 e8 7b 5e e9 ff <0f> 0b 5e 00
 75 db 30 c0 83 c4 24 c3 eb 0d 90 90 90 90 90 90 90

 Kernel panic - not syncing: Fatal exception in interrupt
 }}}

Comment:

 Please try if you get the panic also when you configure ath0 and bring it
 up (via ifconfig ath0 up) without enslaving it to the bridge.

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

Reply via email to