Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Soft lockup possibly related to ipw3945 [Solved]
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
geowapa
n00b
n00b


Joined: 08 Sep 2004
Posts: 50

PostPosted: Wed Feb 28, 2007 12:29 am    Post subject: Soft lockup possibly related to ipw3945 [Solved] Reply with quote

I'm getting intermittent hang during bootup, where I have to power-cycle to recover. I've stepped through the interactive boot process and it seems to be related to the loading of the IPW3945 driver. The following messages are logged:

Feb 27 18:58:54 cardinal BUG: soft lockup detected on CPU#0!
Feb 27 18:58:54 cardinal [<c013d15f>] softlockup_tick+0x92/0xb4
Feb 27 18:58:54 cardinal [<c012905f>] update_process_times+0x26/0x5c
Feb 27 18:58:54 cardinal [<c01113ea>] smp_apic_timer_interrupt+0x91/0xb7
Feb 27 18:58:54 cardinal [<c01036e7>] apic_timer_interrupt+0x1f/0x24
Feb 27 18:58:54 cardinal [<c02287ff>] delay_tsc+0xb/0x13
Feb 27 18:58:54 cardinal [<c0228833>] __delay+0x6/0x7
Feb 27 18:58:54 cardinal [<f8a2e378>] ipw_bg_alive_start+0x112/0x1c7 [ipw3945]
Feb 27 18:58:54 cardinal [<c012f08b>] run_workqueue+0x72/0xec
Feb 27 18:58:54 cardinal [<f8a2e266>] ipw_bg_alive_start+0x0/0x1c7 [ipw3945]
Feb 27 18:58:54 cardinal [<c012f7a9>] worker_thread+0x11a/0x135
Feb 27 18:58:54 cardinal [<c011ab0a>] default_wake_function+0x0/0xc
Feb 27 18:58:54 cardinal [<c012f68f>] worker_thread+0x0/0x135
Feb 27 18:58:54 cardinal [<c0131e6a>] kthread+0xde/0xe2
Feb 27 18:58:54 cardinal [<c0131d8c>] kthread+0x0/0xe2
Feb 27 18:58:54 cardinal [<c0103837>] kernel_thread_helper+0x7/0x10
Feb 27 18:58:54 cardinal =======================

I'm running sys-kernel/gentoo-sources-2.6.19-r5 with the following wireless drivers installed

[I--] [ ] net-wireless/ipw3945-1.2.0 (0)
[I--] [ ] net-wireless/ipw3945-ucode-1.14.2 (0)
[I--] [ ] net-wireless/ipw3945d-1.7.22-r4 (0)

All of these modules were re-emerged after the kernel was built. The hang seems to be intermittent. Sometimes it will hang 2-3 times in a row, and then go several reboots without any problems. I don't typically use wireless, so my hardware kill switch is usually set to kill the RF signal during most boots.

Any suggestions? Am I asking about this in the right place?

Thanks
George


Last edited by geowapa on Sat Mar 03, 2007 4:12 am; edited 1 time in total
Back to top
View user's profile Send private message
geowapa
n00b
n00b


Joined: 08 Sep 2004
Posts: 50

PostPosted: Wed Feb 28, 2007 12:31 am    Post subject: Reply with quote

Ah, and I guess it's bad form to reply to my own post, but I forgot to include system information

2.6.19-gentoo-r5 #2 SMP Sat Feb 24 00:19:57 EST 2007 i686 Genuine Intel(R) CPU T2500 @ 2.00GHz GenuineIntel GNU/Linux

It's a Dell Latitude D820, 2 Gig memory.
Back to top
View user's profile Send private message
geowapa
n00b
n00b


Joined: 08 Sep 2004
Posts: 50

PostPosted: Sat Mar 03, 2007 4:11 am    Post subject: Soft lockup possibly related to ipw3945 [Solved] Reply with quote

I opened a bug against the kernel and drivers and got the solution. Posting here in hope that it might help others.

There is an upstream bug - ipw3945 will loop if booted with the RF kill switch enabled (rf disabled).

http://www.bughost.org/bugzilla/show_bug.cgi?id=1096

This bug report has a two patches to the ipw3945-1.2.0 driver that seem to help somewhat. There is a typo in the patch, so it won't compile without a minor tweak. The line
ipw_released_restricted_access(priv);

should actually have the word "release", not "released".
Back to top
View user's profile Send private message
wswartzendruber
Veteran
Veteran


Joined: 23 Mar 2004
Posts: 1217
Location: Jefferson, USA

PostPosted: Tue Mar 13, 2007 7:52 am    Post subject: Reply with quote

Can someone e-mail these patches to me? My e-mail address is in my profile. I'm behind a Department of Defense firewall.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum