linux-wireless.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* BUG: loading iwl4965 lockup CPU
@ 2008-05-09  4:20 Oleg Lyashko
  2008-05-09  5:21 ` Zhu Yi
  0 siblings, 1 reply; 2+ messages in thread
From: Oleg Lyashko @ 2008-05-09  4:20 UTC (permalink / raw)
  To: linux-wireless

Hi,

Hardware: Asus M50SV, BIOS 208
OS: Debian lenny, kernel 2.6.24-1-686-bigmem

attempt to load iwl4965 crash laptop:

# modprobe iwl4965
BUG: soft lockup - CPU#1 stuck for 11s! [modprobe:14501]
BUG: soft lockup - CPU#1 stuck for 11s! [modprobe:14501]
BUG: soft lockup - CPU#1 stuck for 11s! [modprobe:14501]
BUG: soft lockup - CPU#1 stuck for 11s! [modprobe:14501]
BUG: soft lockup - CPU#1 stuck for 11s! [modprobe:14501]
...

First compat-wireless-2.6 bug release date - 2008-05-02
(no problems with compat-wireless-2008-05-01.tar.bz2)

Regards,
Oleg Lyashko

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: BUG: loading iwl4965 lockup CPU
  2008-05-09  4:20 BUG: loading iwl4965 lockup CPU Oleg Lyashko
@ 2008-05-09  5:21 ` Zhu Yi
  0 siblings, 0 replies; 2+ messages in thread
From: Zhu Yi @ 2008-05-09  5:21 UTC (permalink / raw)
  To: Oleg Lyashko; +Cc: linux-wireless

[-- Attachment #1: Type: text/plain, Size: 382 bytes --]

On Fri, 2008-05-09 at 08:20 +0400, Oleg Lyashko wrote:
> 
> attempt to load iwl4965 crash laptop:
> 
> # modprobe iwl4965
> BUG: soft lockup - CPU#1 stuck for 11s! [modprobe:14501]
> BUG: soft lockup - CPU#1 stuck for 11s! [modprobe:14501]

This is fixed here. Please use the attached patch for compat-wireless.
http://marc.info/?l=linux-wireless&m=120995431612344&w=2

Thanks,
-yi

[-- Attachment #2: iwlwifi-spinlock-cw-fix.patch --]
[-- Type: text/x-patch, Size: 1160 bytes --]

diff -urp compat-wireless-2008-05-07/drivers/net/wireless/iwlwifi/iwl4965-base.c new/drivers/net/wireless/iwlwifi/iwl4965-base.c
--- compat-wireless-2008-05-07/drivers/net/wireless/iwlwifi/iwl4965-base.c	2008-05-07 12:11:10.000000000 +0800
+++ new/drivers/net/wireless/iwlwifi/iwl4965-base.c	2008-05-09 13:18:06.000000000 +0800
@@ -7102,6 +7102,7 @@ static int iwl4965_pci_probe(struct pci_
 	IWL_DEBUG_INFO("*** LOAD DRIVER ***\n");
 	priv->cfg = cfg;
 	priv->pci_dev = pdev;
+	spin_lock_init(&priv->lock);
 
 #ifdef CONFIG_IWLWIFI_DEBUG
 	iwl_debug_level = priv->cfg->mod_params->debug;
diff -urp compat-wireless-2008-05-07/drivers/net/wireless/iwlwifi/iwl-core.c new/drivers/net/wireless/iwlwifi/iwl-core.c
--- compat-wireless-2008-05-07/drivers/net/wireless/iwlwifi/iwl-core.c	2008-05-07 12:11:10.000000000 +0800
+++ new/drivers/net/wireless/iwlwifi/iwl-core.c	2008-05-09 13:16:51.000000000 +0800
@@ -580,7 +580,6 @@ static int iwlcore_init_drv(struct iwl_p
 	priv->retry_rate = 1;
 	priv->ibss_beacon = NULL;
 
-	spin_lock_init(&priv->lock);
 	spin_lock_init(&priv->power_data.lock);
 	spin_lock_init(&priv->sta_lock);
 	spin_lock_init(&priv->hcmd_lock);

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2008-05-09  5:21 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-05-09  4:20 BUG: loading iwl4965 lockup CPU Oleg Lyashko
2008-05-09  5:21 ` Zhu Yi

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).