Ticket #1294 (closed defect: fixed)

Opened 2 years ago

Last modified 1 year ago

New HAL branch installed - Looks like a kernel panic!

Reported by: Wicks Assigned to:
Priority: major Milestone:
Component: madwifi: HAL Version: madwifi-hal-0.9.30.13 branch
Keywords: ubuntu, macbook pro, A5008, kernel panic Cc:
Patch is attached: 0 Pending:

Description

I installed the new HAL branch that people have WEP/WPA with the A5008 card (ending .13).

Authenticates fine and all on the network (802.11G, WPA personal) - but when you open an app that uses the internet, it freeze the whole OS. (Ubuntu Feisty)

I tried just opening a terminal window and pinging on reboot, that actually worked! ... then opened X-CHAT - that worked as well.... opened GAIM and it bombed out again.

/var/log/kern.log has gaps during that crash time... so hope there. Could it's not coping well with the amount of packets it's dealing with?

Attachments

Change History

05/03/07 14:32:03 changed by Wicks

just testing it now away from home using the university wifi service - it works.. this netowrk isnt encrypted.. could be it.

05/03/07 18:01:24 changed by Scummer

Same problem here. Running 0.9.30.13 and it locks up the whole machine solid after browsing a few sites. It works for like a minute or two with some traffic. No entries in kern.log which point to a kernel oops or something similar. I'm also using WPA TKIP.

This happened on Fedora Core 6 as well as on Ubuntu Feisty

05/03/07 21:12:56 changed by Jeremy

I have the same problem with 64 bit Gentoo on my Macbook Pro. Curiously it dies at home almost immediately, but works file all day long at the office, so it may be wireless router related. I have a Linksys at work and a Netgear DG834PN using firmware V1.03.18 at home.

I followed the installation instructions in #1001, reproduced below.

cd /tmp svn checkout ht-tp://svn.madwifi.org/branches/madwifi-hal-0.9.30.10 madwifi wget ht-tp://people.freebsd.org/~sam/ath_hal-20070428.tgz tar xvzf ath_hal-20070428.tgz rm -rf ./madwifi/hal/ cp ath_hal-20070428 madwifi/hal -R cd madwifi make clean make make install

05/03/07 21:51:53 changed by mentor

Could someone try and get a kernel log/crash message?

DevDocs/KernelOops

05/04/07 09:16:32 changed by Jeremy

I tried upgrading the router firmware to the latest, and tried swapping between wpa,wpa2,108Mbs,54Mbs settings on the router but cannot find a stable configuration.

Here is a relevant looking section of /var/log/messages.

May  2 07:32:47 birch BUG: at include/net/dst.h:154 dst_release()
May  2 07:32:47 birch 
May  2 07:32:47 birch Call Trace:
May  2 07:32:47 birch <IRQ>  [<ffffffff8053a03f>] __kfree_skb+0x3f/0xe0
May  2 07:32:47 birch [<ffffffff880dc1fd>] :ath_pci:ath_tx_processq+0x54d/0x6f0
May  2 07:32:47 birch [<ffffffff880de57d>] :ath_pci:ath_tx_tasklet+0x5d/0xf0
May  2 07:32:47 birch [<ffffffff80237089>] tasklet_action+0x59/0xa0
May  2 07:32:47 birch [<ffffffff80236fbf>] __do_softirq+0x5f/0xd0
May  2 07:32:47 birch [<ffffffff8020b27c>] call_softirq+0x1c/0x30
May  2 07:32:47 birch [<ffffffff8020d14c>] do_softirq+0x2c/0x90
May  2 07:32:47 birch [<ffffffff80236f3f>] irq_exit+0x3f/0x60
May  2 07:32:47 birch [<ffffffff8020d289>] do_IRQ+0xd9/0x100
May  2 07:32:47 birch [<ffffffff8020a641>] ret_from_intr+0x0/0xa
May  2 07:32:47 birch <EOI>  [<ffffffff8042c1e4>] acpi_processor_idle+0x258/0x42c
May  2 07:32:47 birch [<ffffffff8042c1da>] acpi_processor_idle+0x24e/0x42c
May  2 07:32:47 birch [<ffffffff8042bf8c>] acpi_processor_idle+0x0/0x42c
May  2 07:32:47 birch [<ffffffff80208fbc>] cpu_idle+0x5c/0xa0
May  2 07:32:47 birch [<ffffffff807ab775>] start_kernel+0x1f5/0x200
May  2 07:32:47 birch [<ffffffff807ab15a>] _sinittext+0x15a/0x160
May  2 07:32:47 birch 
May  2 07:32:47 birch Unable to handle kernel NULL pointer dereference at 0000000000000008 RIP: 
May  2 07:32:47 birch [<ffffffff805390aa>] skb_dequeue+0x3a/0x70
May  2 07:32:47 birch PGD 6f838067 PUD 6a7e6067 PMD 0 
May  2 07:32:47 birch Oops: 0002 [1] PREEMPT SMP 
May  2 07:32:47 birch CPU 0 
May  2 07:32:47 birch Modules linked in: wlan_tkip fglrx(P) aes dm_mod applesmc sk98lin appletouch appleir usbhid eth1394 wlan_scan_sta ath_rate_sample ath_pci ohci1394 ehci_hcd sky2 wlan ieee1394 uhci_hcd intel_agp ath_hal(P) evdev
May  2 07:32:47 birch Pid: 8673, comm: konqueror Tainted: P      2.6.20-gentoo-r4-mactel #3
May  2 07:32:47 birch RIP: 0010:[<ffffffff805390aa>]  [<ffffffff805390aa>] skb_dequeue+0x3a/0x70
May  2 07:32:47 birch RSP: 0018:ffff81006a08bc48  EFLAGS: 00010047
May  2 07:32:47 birch RAX: 0000000000000000 RBX: ffff8100660c0a20 RCX: 0000000000000000
May  2 07:32:47 birch RDX: 0000000000000202 RSI: 0000000000000202 RDI: ffff8100660c0a34
May  2 07:32:47 birch RBP: ffff81007b2aa2c0 R08: 0000000000000000 R09: ffff8100744234c0
May  2 07:32:47 birch R10: 0000000000000000 R11: 0000000000000001 R12: ffff8100660c0a34
May  2 07:32:47 birch R13: ffff81006a08bf50 R14: ffff8100660c0c24 R15: ffff81006a08bd80
May  2 07:32:47 birch FS:  00002baa133c2110(0000) GS:ffffffff80791000(0000) knlGS:0000000000000000
May  2 07:32:47 birch CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
May  2 07:32:47 birch CR2: 0000000000000008 CR3: 000000006f8fb000 CR4: 00000000000006e0
May  2 07:32:47 birch Process konqueror (pid: 8673, threadinfo ffff81006a08a000, task ffff81007f01e7b0)
May  2 07:32:47 birch Stack:  ffff8100660c0980 0000000000000001 0000000000000000 ffffffff805a32c6
May  2 07:32:47 birch ffff81007b6b2cc0 ffff8100660c0be8 ffff8100660c0a20 0000000080537f1c
May  2 07:32:47 birch 000000000000000a ffff81004e571140 0000000000000000 ffffffa100000001
May  2 07:32:47 birch Call Trace:
May  2 07:32:47 birch [<ffffffff805a32c6>] unix_stream_recvmsg+0x166/0x550
May  2 07:32:47 birch [<ffffffff80236beb>] current_fs_time+0x3b/0x40
May  2 07:32:47 birch [<ffffffff805334b2>] sock_aio_read+0x102/0x130
May  2 07:32:47 birch [<ffffffff8027cadf>] do_sync_read+0xcf/0x120
May  2 07:32:47 birch [<ffffffff80247230>] autoremove_wake_function+0x0/0x30
May  2 07:32:47 birch [<ffffffff80247d4f>] set_process_cpu_timer+0x2f/0xd0
May  2 07:32:47 birch [<ffffffff805a23a4>] unix_ioctl+0xf4/0x110
May  2 07:32:47 birch [<ffffffff8027d4f1>] vfs_read+0xf1/0x1a0
May  2 07:32:47 birch [<ffffffff8027d9f3>] sys_read+0x53/0x90
May  2 07:32:47 birch [<ffffffff8020a12e>] system_call+0x7e/0x83
May  2 07:32:47 birch 
May  2 07:32:47 birch 
May  2 07:32:47 birch Code: 48 89 58 08 48 c7 45 00 00 00 00 00 48 c7 45 08 00 00 00 00 
May  2 07:32:47 birch RIP  [<ffffffff805390aa>] skb_dequeue+0x3a/0x70
May  2 07:32:47 birch RSP <ffff81006a08bc48>
May  2 07:32:47 birch CR2: 0000000000000008
May  2 07:32:47 birch <6>note: konqueror[8673] exited with preempt_count 1
May  2 07:32:47 birch BUG: scheduling while atomic: konqueror/0x10000001/8673
May  2 07:32:47 birch 
May  2 07:32:47 birch Call Trace:
May  2 07:32:47 birch [<ffffffff805c630d>] __sched_text_start+0x5d/0x82c
May  2 07:32:47 birch [<ffffffff802292b4>] __wake_up_common+0x44/0x80
May  2 07:32:47 birch [<ffffffff8022c74c>] __cond_resched+0x1c/0x50
May  2 07:32:47 birch [<ffffffff805c745e>] cond_resched+0x2e/0x40
May  2 07:32:47 birch [<ffffffff802675f3>] unmap_vmas+0x5d3/0x7a0
May  2 07:32:47 birch [<ffffffff8026b5a8>] exit_mmap+0x88/0x130
May  2 07:32:47 birch [<ffffffff8022f054>] mmput+0x34/0xd0
May  2 07:32:47 birch [<ffffffff80234fcc>] do_exit+0x21c/0x860
May  2 07:32:47 birch [<ffffffff803fe8cc>] do_unblank_screen+0x6c/0x140
May  2 07:32:47 birch [<ffffffff8021f53a>] do_page_fault+0x76a/0x870
May  2 07:32:47 birch [<ffffffff8028bba0>] __pollwait+0x0/0x120
May  2 07:32:47 birch [<ffffffff8022c330>] default_wake_function+0x0/0x10
May  2 07:32:47 birch [<ffffffff805c92dd>] error_exit+0x0/0x84
May  2 07:32:47 birch [<ffffffff805390aa>] skb_dequeue+0x3a/0x70
May  2 07:32:47 birch [<ffffffff80539091>] skb_dequeue+0x21/0x70
May  2 07:32:47 birch [<ffffffff805a32c6>] unix_stream_recvmsg+0x166/0x550
May  2 07:32:47 birch [<ffffffff80236beb>] current_fs_time+0x3b/0x40
May  2 07:32:47 birch [<ffffffff805334b2>] sock_aio_read+0x102/0x130
May  2 07:32:47 birch [<ffffffff8027cadf>] do_sync_read+0xcf/0x120
May  2 07:32:47 birch [<ffffffff80247230>] autoremove_wake_function+0x0/0x30
May  2 07:32:47 birch [<ffffffff80247d4f>] set_process_cpu_timer+0x2f/0xd0
May  2 07:32:47 birch [<ffffffff805a23a4>] unix_ioctl+0xf4/0x110
May  2 07:32:47 birch [<ffffffff8027d4f1>] vfs_read+0xf1/0x1a0
May  2 07:32:47 birch [<ffffffff8027d9f3>] sys_read+0x53/0x90
May  2 07:32:47 birch [<ffffffff8020a12e>] system_call+0x7e/0x83
May  2 07:32:47 birch 
May  2 07:32:47 birch BUG: scheduling while atomic: konqueror/0x10000001/8673
May  2 07:32:47 birch 
May  2 07:32:47 birch Call Trace:
May  2 07:32:47 birch [<ffffffff805c630d>] __sched_text_start+0x5d/0x82c
May  2 07:32:47 birch [<ffffffff8022c74c>] __cond_resched+0x1c/0x50
May  2 07:32:47 birch [<ffffffff805c745e>] cond_resched+0x2e/0x40
May  2 07:32:47 birch [<ffffffff802675f3>] unmap_vmas+0x5d3/0x7a0
May  2 07:32:47 birch [<ffffffff8026b5a8>] exit_mmap+0x88/0x130
May  2 07:32:47 birch [<ffffffff8022f054>] mmput+0x34/0xd0
May  2 07:32:47 birch [<ffffffff80234fcc>] do_exit+0x21c/0x860
May  2 07:32:47 birch [<ffffffff803fe8cc>] do_unblank_screen+0x6c/0x140
May  2 07:32:47 birch [<ffffffff8021f53a>] do_page_fault+0x76a/0x870
May  2 07:32:47 birch [<ffffffff8028bba0>] __pollwait+0x0/0x120
May  2 07:32:47 birch [<ffffffff8022c330>] default_wake_function+0x0/0x10
May  2 07:32:47 birch [<ffffffff805c92dd>] error_exit+0x0/0x84
May  2 07:32:47 birch [<ffffffff805390aa>] skb_dequeue+0x3a/0x70
May  2 07:32:47 birch [<ffffffff80539091>] skb_dequeue+0x21/0x70
May  2 07:32:47 birch [<ffffffff805a32c6>] unix_stream_recvmsg+0x166/0x550
May  2 07:32:47 birch [<ffffffff80236beb>] current_fs_time+0x3b/0x40
May  2 07:32:47 birch [<ffffffff805334b2>] sock_aio_read+0x102/0x130
May  2 07:32:47 birch [<ffffffff8027cadf>] do_sync_read+0xcf/0x120
May  2 07:32:47 birch [<ffffffff80247230>] autoremove_wake_function+0x0/0x30
May  2 07:32:47 birch [<ffffffff80247d4f>] set_process_cpu_timer+0x2f/0xd0
May  2 07:32:47 birch [<ffffffff805a23a4>] unix_ioctl+0xf4/0x110
May  2 07:32:47 birch [<ffffffff8027d4f1>] vfs_read+0xf1/0x1a0
May  2 07:32:47 birch [<ffffffff8027d9f3>] sys_read+0x53/0x90
May  2 07:32:47 birch [<ffffffff8020a12e>] system_call+0x7e/0x83
May  2 07:32:47 birch 
May  2 07:32:47 birch BUG: scheduling while atomic: konqueror/0x10000001/8673
May  2 07:32:47 birch 
May  2 07:32:47 birch Call Trace:
May  2 07:32:47 birch [<ffffffff805c630d>] __sched_text_start+0x5d/0x82c
May  2 07:32:47 birch [<ffffffff80261b3e>] release_pages+0x12e/0x180
May  2 07:32:47 birch [<ffffffff8022c74c>] __cond_resched+0x1c/0x50
May  2 07:32:47 birch [<ffffffff805c745e>] cond_resched+0x2e/0x40
May  2 07:32:47 birch [<ffffffff8026288d>] truncate_inode_pages_range+0xdd/0x300
May  2 07:32:47 birch [<ffffffff802ceec0>] reiserfs_delete_inode+0x0/0xd0
May  2 07:32:47 birch [<ffffffff802ceee4>] reiserfs_delete_inode+0x24/0xd0
May  2 07:32:47 birch [<ffffffff802a99f7>] inotify_inode_is_dead+0x27/0xa0
May  2 07:32:47 birch [<ffffffff802ceec0>] reiserfs_delete_inode+0x0/0xd0
May  2 07:32:47 birch [<ffffffff80292523>] generic_delete_inode+0x93/0x110
May  2 07:32:47 birch [<ffffffff80290150>] dput+0x140/0x170
May  2 07:32:47 birch [<ffffffff8027dfcb>] __fput+0x15b/0x1b0
May  2 07:32:47 birch [<ffffffff8027ad91>] filp_close+0x71/0x90
May  2 07:32:47 birch [<ffffffff80233bb2>] put_files_struct+0x82/0x110
May  2 07:32:47 birch [<ffffffff80235014>] do_exit+0x264/0x860
May  2 07:32:47 birch [<ffffffff803fe8cc>] do_unblank_screen+0x6c/0x140
May  2 07:32:47 birch [<ffffffff8021f53a>] do_page_fault+0x76a/0x870
May  2 07:32:47 birch [<ffffffff8028bba0>] __pollwait+0x0/0x120
May  2 07:32:47 birch [<ffffffff8022c330>] default_wake_function+0x0/0x10
May  2 07:32:47 birch [<ffffffff805c92dd>] error_exit+0x0/0x84
May  2 07:32:47 birch [<ffffffff805390aa>] skb_dequeue+0x3a/0x70
May  2 07:32:47 birch [<ffffffff80539091>] skb_dequeue+0x21/0x70
May  2 07:32:47 birch [<ffffffff805a32c6>] unix_stream_recvmsg+0x166/0x550
May  2 07:32:47 birch [<ffffffff80236beb>] current_fs_time+0x3b/0x40
May  2 07:32:47 birch [<ffffffff805334b2>] sock_aio_read+0x102/0x130
May  2 07:32:47 birch [<ffffffff8027cadf>] do_sync_read+0xcf/0x120
May  2 07:32:47 birch [<ffffffff80247230>] autoremove_wake_function+0x0/0x30
May  2 07:32:47 birch [<ffffffff80247d4f>] set_process_cpu_timer+0x2f/0xd0
May  2 07:32:47 birch [<ffffffff805a23a4>] unix_ioctl+0xf4/0x110
May  2 07:32:47 birch [<ffffffff8027d4f1>] vfs_read+0xf1/0x1a0
May  2 07:32:47 birch [<ffffffff8027d9f3>] sys_read+0x53/0x90
May  2 07:32:47 birch [<ffffffff8020a12e>] system_call+0x7e/0x83
May  2 07:32:47 birch 
May  2 07:32:55 birch BUG: at include/net/dst.h:154 dst_release()
May  2 07:32:55 birch 
May  2 07:32:55 birch Call Trace:
May  2 07:32:55 birch [<ffffffff80583d0a>] inet_sock_destruct+0x1ca/0x1e0
May  2 07:32:55 birch [<ffffffff805367d5>] sk_free+0x25/0xe0
May  2 07:32:55 birch [<ffffffff80583017>] inet_release+0x57/0x70
May  2 07:32:55 birch [<ffffffff80534729>] sock_release+0x19/0xb0
May  2 07:32:55 birch [<ffffffff80534ab5>] sock_close+0x35/0x40
May  2 07:32:55 birch [<ffffffff8027df25>] __fput+0xb5/0x1b0
May  2 07:32:55 birch [<ffffffff8027ad91>] filp_close+0x71/0x90
May  2 07:32:55 birch [<ffffffff8027c47d>] sys_close+0x9d/0x100
May  2 07:32:55 birch [<ffffffff8020a12e>] system_call+0x7e/0x83
May  2 07:32:55 birch

Let me know if there are any tests I can usefully do.

uname -a returns this

Linux birch 2.6.20-gentoo-r4-mactel #3 SMP PREEMPT Thu Apr 12 08:30:30 BST 2007 x86_64 Intel(R) Core(TM)2 CPU T7600 @ 2.33GHz GenuineIntel? GNU/Linux

05/04/07 15:48:55 changed by mentor

Try r2310. I believe this is a bug in trunk that was fixed after the last merge.

05/04/07 19:59:23 changed by Jeremy

Yes! r2310 looking good. I browsed the web pages that took it out every time yesterday, then did the same thing while checking email and running emerge --sync. No problems so far.

Here is the script for installing r2310 to save others having to think about it.

mkdir madwifi
cd madwifi
svn checkout h-tp://svn.madwifi.org/branches/madwifi-hal-0.9.30.13/
wget h-tp://people.freebsd.org/~sam/ath_hal-20070428.tgz
tar xvzf ath_hal-20070428.tgz
rm -rf madwifi-hal-0.9.30.13/hal
cp -R ath_hal-20070428 madwifi-hal-0.9.30.13/hal
cd madwifi-hal-0.9.30.13/
make clean
make
make install

Life is good.

05/04/07 20:05:42 changed by strasak@bubakov.net

Jeremy,
there should be no need to do

wget h-tp://people.freebsd.org/~sam/ath_hal-20070428.tgz
tar xvzf ath_hal-20070428.tgz
rm -rf madwifi-hal-0.9.30.13/hal
cp -R ath_hal-20070428 madwifi-hal-0.9.30.13/hal

because in this archive there is HAL with version 0.9.30.13 , which mentor already merged into madwifi-hal-0.9.30.13 branch :)

05/04/07 20:08:13 changed by mentor

  • status changed from new to closed.
  • resolution set to fixed.

Thanks. Closing.

05/07/07 16:36:19 changed by mrenzmann

  • version changed from madwifi-hal-0.9.30.10 branch to madwifi-hal-0.9.30.13 branch.

06/15/07 08:14:40 changed by anonymous

This is not fixed for me, the problem still occurs, it appears to be less occuring in r2310.

However, When i open bit torrent, it freezes within minutes, i am unsure of the results when it comes to just viewing web pages.


Add/Change #1294 (New HAL branch installed - Looks like a kernel panic!)