public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* Occational lockups during boot with post 2.6.22 kernels
@ 2007-07-18  0:20 Peter Osterlund
  2007-07-18 14:58 ` Chuck Ebbert
  0 siblings, 1 reply; 3+ messages in thread
From: Peter Osterlund @ 2007-07-18  0:20 UTC (permalink / raw)
  To: linux-kernel, Bcm43xx-dev

Current -git kernels sometimes lock up on my computer during boot. I
guess it happens about 10-20% of the time. I first saw this maybe a
week ago, but never with kernels <= 2.6.22.

The last reported info on the console is that named is started.
SysRq-T still works and reports the non-sleeping tasks below.

My guess is that wpa_supplicant and events/0 deadlock and later the
named thread also hangs when it needs a deadlocked resource.

I'm using the bcm43xx driver.
 
No lockdep errors are reported before the lockup. Earlier during boot
the kernel reports:

  Good, all 218 testcases passed! |

SysRq-T output:

   =======================
  events/0      D 00000001     0     5      2
         dfe0fe64 00000092 935ee27c 00000001 c0345e48 935ee27c 00000001 c0462fc0
         00000001 dcab5040 dcd44de4 dcd44da4 00000246 dfe0cb90 dfe0fea0 c0345df6
         00000000 00000002 c0346026 00000000 dcd44dd0 dcd44dd0 dcd44dd0 dfe0cb90
  Call Trace:
   [<c0345df6>] __mutex_lock_slowpath+0xb2/0x2c6
   [<c0346026>] mutex_lock+0x1c/0x1f
   [<e08b6bab>] ieee80211softmac_assoc_work+0x24/0x51b [ieee80211softmac]
   [<e08b70b5>] ieee80211softmac_assoc_notify_scan+0x13/0x15 [ieee80211softmac]
   [<e08b7653>] ieee80211softmac_notify_callback+0x41/0x7a [ieee80211softmac]
   [<c012a80c>] run_workqueue+0xbb/0x13d
   [<c012b0b1>] worker_thread+0x9a/0xf9
   [<c012d84e>] kthread+0x36/0x58
   [<c0104b87>] kernel_thread_helper+0x7/0x10
 
   =======================
  klogd         R running      0  2771      1
  wpa_supplican D 00000001     0  2806      1
         dc309d7c 00200082 935ecce6 00000001 c0138e84 935ecce6 00000001 00200046
         dc309dbc dcab5040 dc309db8 dc309dbc dc309db8 dcd44fd4 dc309da0 c0344f98
         00000001 dcfdd350 c01186cc dc309de4 dc309de4 dff61740 dcd44fd4 dc309df0
  Call Trace:
   [<c0344f98>] wait_for_completion+0x91/0xc8
   [<c012a98b>] flush_cpu_workqueue+0x47/0x6f
   [<c012ae46>] flush_workqueue+0x1c/0x1f
   [<c012ae56>] flush_scheduled_work+0xd/0xf
   [<e08b699c>] ieee80211softmac_wx_set_essid+0x144/0x188 [ieee80211softmac]
   [<c0343811>] ioctl_standard_call+0x16b/0x350
   [<c0343d51>] wext_handle_ioctl+0x35b/0x3e5
   [<c02e4ea2>] dev_ioctl+0x322/0x33d
   [<c02d8587>] sock_ioctl+0xba/0x1d8
   [<c0171d02>] do_ioctl+0x22/0x71
   [<c0171da6>] vfs_ioctl+0x55/0x28a
   [<c017200e>] sys_ioctl+0x33/0x51
   [<c0103f36>] sysenter_past_esp+0x5f/0x99
 
   =======================
  named         D 00000001     0  2836   2834
         dbdc5e70 00200082 960324f3 00000001 c0345e48 960324f3 00000001 c0462fc0
         00000001 dd0d6300 c0454e20 c0454de0 00200246 c1694fd0 dbdc5eac c0345df6
         00000000 00000002 c0346026 00000000 c0454e0c c0454e0c c0454e0c c1694fd0
  Call Trace:
   [<c0345df6>] __mutex_lock_slowpath+0xb2/0x2c6
   [<c0346026>] mutex_lock+0x1c/0x1f
   [<c02ec08c>] rtnl_lock+0xd/0xf
   [<c02e4c32>] dev_ioctl+0xb2/0x33d
   [<c02d8587>] sock_ioctl+0xba/0x1d8
   [<c0171d02>] do_ioctl+0x22/0x71
   [<c0171da6>] vfs_ioctl+0x55/0x28a
   [<c017200e>] sys_ioctl+0x33/0x51
   [<c0103f36>] sysenter_past_esp+0x5f/0x99

-- 
Peter Osterlund - petero2@telia.com
http://web.telia.com/~u89404340

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

* Re: Occational lockups during boot with post 2.6.22 kernels
  2007-07-18  0:20 Occational lockups during boot with post 2.6.22 kernels Peter Osterlund
@ 2007-07-18 14:58 ` Chuck Ebbert
  2007-07-18 15:51   ` Johannes Berg
  0 siblings, 1 reply; 3+ messages in thread
From: Chuck Ebbert @ 2007-07-18 14:58 UTC (permalink / raw)
  To: Peter Osterlund; +Cc: linux-kernel, Bcm43xx-dev, John W. Linville, Netdev

On 07/17/2007 08:20 PM, Peter Osterlund wrote:
> Current -git kernels sometimes lock up on my computer during boot. I
> guess it happens about 10-20% of the time. I first saw this maybe a
> week ago, but never with kernels <= 2.6.22.
> 
> The last reported info on the console is that named is started.
> SysRq-T still works and reports the non-sleeping tasks below.
> 
> My guess is that wpa_supplicant and events/0 deadlock and later the
> named thread also hangs when it needs a deadlocked resource.
> 
> I'm using the bcm43xx driver.
>  
> No lockdep errors are reported before the lockup. Earlier during boot
> the kernel reports:
> 
>   Good, all 218 testcases passed! |

Try this, it should at least detect the problem:

http://lkml.org/lkml/2007/7/17/202
http://lkml.org/lkml/2007/7/17/204
http://lkml.org/lkml/2007/7/17/203

It's a known bug in wireless/80211, not sure when it will be fixed.

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

* Re: Occational lockups during boot with post 2.6.22 kernels
  2007-07-18 14:58 ` Chuck Ebbert
@ 2007-07-18 15:51   ` Johannes Berg
  0 siblings, 0 replies; 3+ messages in thread
From: Johannes Berg @ 2007-07-18 15:51 UTC (permalink / raw)
  To: Chuck Ebbert
  Cc: Peter Osterlund, linux-kernel, Bcm43xx-dev, John W. Linville,
	Netdev

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

On Wed, 2007-07-18 at 10:58 -0400, Chuck Ebbert wrote:
> On 07/17/2007 08:20 PM, Peter Osterlund wrote:
> > Current -git kernels sometimes lock up on my computer during boot. I
> > guess it happens about 10-20% of the time. I first saw this maybe a
> > week ago, but never with kernels <= 2.6.22.
> > 
> > The last reported info on the console is that named is started.
> > SysRq-T still works and reports the non-sleeping tasks below.
> > 
> > My guess is that wpa_supplicant and events/0 deadlock and later the
> > named thread also hangs when it needs a deadlocked resource.
> > 
> > I'm using the bcm43xx driver.
> >  
> > No lockdep errors are reported before the lockup. Earlier during boot
> > the kernel reports:
> > 
> >   Good, all 218 testcases passed! |
> 
> Try this, it should at least detect the problem:
> 
> http://lkml.org/lkml/2007/7/17/202
> http://lkml.org/lkml/2007/7/17/204
> http://lkml.org/lkml/2007/7/17/203
> 
> It's a known bug in wireless/80211, not sure when it will be fixed.

Heh, yes, that's the patchset that came from this bug :)
A patch for this is available but due to process issues hasn't
percolated up yet. See
http://thread.gmane.org/gmane.linux.kernel.wireless.general/3315/focus=3319

johannes

[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 190 bytes --]

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

end of thread, other threads:[~2007-07-18 16:15 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-07-18  0:20 Occational lockups during boot with post 2.6.22 kernels Peter Osterlund
2007-07-18 14:58 ` Chuck Ebbert
2007-07-18 15:51   ` Johannes Berg

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox