linux-bluetooth.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Marcel Holtmann <marcel@holtmann.org>
To: BlueZ development <bluez-devel@lists.sourceforge.net>
Subject: Re: [Bluez-devel] Soft lockup
Date: Sun, 27 May 2007 14:17:09 +0200	[thread overview]
Message-ID: <1180268229.21432.63.camel@aeonflux.holtmann.net> (raw)
In-Reply-To: <1180265456.3030.9.camel@cookie.hadess.net>

Hi Bastien,

> > > Now I have more information about this problem.
> > > 
> > > I had debuggin enabled in net/bluetooth/rfcomm/core.c and I noticed that
> > > for some reson rfcomm_dlc_clear_timer() is called for allready freed
> > > dlc and lock_timer_base() gets stuck because it's trying to use invalid
> > > timer pointer. I also tried to reproduce bug in i386 without success.
> > > Also then debugging is on the bug much harder to reproduse. To me this
> > > looks like dlc locking doens't work as it should work.
> > > 
> > > And other notice. rfcomm_dlc_clear_timeri() uses timer_pending()
> > > together with del_timer() which allready calls timer_pending(). So
> > > timer_pending() is useless in rfcomm_dlc_clear_timer().
> > 
> > this all looks like we are missing a memory barrier somewhere. This
> > could also be the reason why it only gets triggered on OMAP systems. Any
> > further ideas?
> 
> I'm getting the same kind of trace (on both x86-64 and i386) when
> testing the gnome-vfs2-obexftp package with a patch to use the new
> serial service[1].
> 
> It happens on 2.6.19-1.2895.fc6 (x86-64) and 2.6.21-1.3191.fc7 (i386).
> 
> Here's what I could capture from the i386 crash:
> BUG warning at lib/kref.c:32/kref_get()

any chance you can test a 2.6.22-rc3 kernel. We fixed some potential
problems in RFCOMM and Greg pushed some driver model changes that might
make this go away. I really have no idea what triggers this at the
moment. However I would like to see a simple reproducer.

Regards

Marcel



-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Bluez-devel mailing list
Bluez-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-devel

  reply	other threads:[~2007-05-27 12:17 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-02-22  9:12 [Bluez-devel] Soft lockup Ville Tervo
2006-02-22 11:20 ` Marcel Holtmann
2006-02-22 12:54   ` Ville Tervo
2006-02-24 11:03     ` Ville Tervo
2006-03-01  4:48       ` Marcel Holtmann
2007-05-27 11:30         ` Bastien Nocera
2007-05-27 12:17           ` Marcel Holtmann [this message]
2007-05-27 14:43             ` Bastien Nocera
2007-05-27 16:28               ` Marcel Holtmann
2007-05-27 22:16                 ` Bastien Nocera
2007-05-28  8:39                   ` Marcel Holtmann
2007-06-01 14:53                     ` Pierre-Yves Paulus
2007-06-01 15:16                       ` Marcel Holtmann
2007-05-27 22:22               ` Bastien Nocera
2007-05-28  8:40                 ` Marcel Holtmann

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1180268229.21432.63.camel@aeonflux.holtmann.net \
    --to=marcel@holtmann.org \
    --cc=bluez-devel@lists.sourceforge.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).