All of lore.kernel.org
 help / color / mirror / Atom feed
From: Bing Zhao <bzhao@marvell.com>
To: Marcel Holtmann <marcel@holtmann.org>
Cc: "linux-bluetooth@vger.kernel.org" <linux-bluetooth@vger.kernel.org>
Subject: RE: BUG: sleeping function called from invalid context at mm/slub.c:1595 --- "hcitool cc" or "l2ping"
Date: Tue, 5 May 2009 11:45:54 -0700	[thread overview]
Message-ID: <477F20668A386D41ADCC57781B1F704301E6294CCF@SC-VEXCH1.marvell.com> (raw)
In-Reply-To: 1241070186.3389.29.camel@localhost.localdomain

> >
> > > > > > > > > I'm getting this error whenever I use "hcitool cc" or "l2=
ping
> > > > > > xx:xx:xx:xx:xx:xx"
> > > > > > > > command.
> > > > > > > > >
> > > > > > > > > Kernel: version 2.6.30-rc3 from bluetooth-testing tree
> > > > > > > > > HCI Tool: version 3.20
> > > > > > > > > Laptop: Lenovo X61s
> > > > > > > >
> > > > > > > > can you rebase the bluetooth-testing.git tree from a few ho=
urs ago and
> > > > > > > > test again.
> > > > > > >
> > > > > > > "git log" shows the last commit was ad4751fcada51292bb2967748=
667b582281647d0.
> > > > > > > Bluetooth: Fix errors and warnings in L2CAP reported by check=
patch.pl
> > > > > > >
> > > > > > > Is it the latest one?
> > > > > >
> > > > > > yes, that one is the latest. What happens if you revert:
> > > > > >
> > > > > > commit d97ebf3798fb5745953230e049011f5b20b7c6d9
> > > > > > Author: Roger Quadros <ext-roger.quadros@nokia.com>
> > > > > > Date:   Thu Apr 23 14:50:54 2009 +0300
> > > > > >
> > > > > >     Bluetooth: Ensure that HCI sysfs add/del is preempt safe
> > > > > >
> > > > > > Does this one introduces your problem?
> > > > > >
> > > > > > What is your kernel config and hardware you are running this on=
e? Seems
> > > > > > not everybody is seeing this one.
> > > > > >
> > > > > Reverting d97ebf3798fb5745953230e049011f5b20b7c6d9 doesn't help.
> > > > >
> > > > > Today I got a chance to test it with some old tags.
> > > > >
> > > > > Tags:
> > > > > v2.6.29:                no issue
> > > > > v2.6.30-rc1:    no issue
> > > > > v2.6.30-rc2:    BUG: sleeping function called from invalid contex=
t at mm/slub.c:1595
> > > > > v2.6.30-rc3:    BUG: sleeping function called from invalid contex=
t at mm/slub.c:1595
> > > > >
> > > > > It happens on my laptops, Lenovo X61s and Fujitsu Lifebook A6110,=
 with both v2.6.30-rc2 and
> > > > v2.6.30-rc3.
> > > > >
> > > > >
> > > > > The followings are from my Lifebook A6110,
> > > > > with blutooth-test git tag: v2.6.30-rc2 (commit 0882e8dd).
> > > >
> > > > so I really think this is a kernel issue and not a Bluetooth issue.=
 Can
> > > > clone Linus' tree from today. All the important Bluetooth fixes for
> > > > 2.6.30 went in today.
> > > >
> > > > I did double check the flush_workqueue() and as far as I can tell w=
e can
> > > > sleep in that context. So for some reason we are in the wrong conte=
xt. I
> > > > really don't know why.
> > >
> > > OK. I'll clone Linus's tree and give it a try when I get a chance.
> >
> > I re-based bluetooth-testing.git against 2.6.30-rc4 and that is as
> > recent as it gets right now.
> >
> > Regards
> >
> > Marcel
> >
>=20
> Hi Marcel,
>=20
> Just tested the latest 2.6.30-rc4 code from bluetooth-testing.git
> and Linus's linux-2.6.git
>=20
> This error still occurs in both git trees when I do an "hcitool cc" or l2=
ping:
>=20
> BUG: sleeping function called from invalid context at mm/slub.c:1595
>=20

Hi Marvel,

The patch you sent to Davide yesterday, actually fixed my problem as well.

Thanks a lot for the nice job.

Bing



Best regards,
Bing

  parent reply	other threads:[~2009-05-05 18:45 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-04-29  1:02 BUG: sleeping function called from invalid context at mm/slub.c:1595 --- "hcitool cc" or "l2ping" Bing Zhao
2009-04-29  0:56 ` Marcel Holtmann
2009-04-29  1:14   ` Bing Zhao
2009-04-29  1:47     ` Gustavo F. Padovan
2009-04-29  1:47       ` Gustavo F. Padovan
2009-04-29  2:13       ` Bing Zhao
2009-04-29  2:13         ` Bing Zhao
2009-04-29 14:20     ` Marcel Holtmann
2009-04-29 22:18       ` Bing Zhao
2009-04-29 22:38         ` Marcel Holtmann
2009-04-30  2:55           ` Bing Zhao
2009-04-30  5:43             ` Marcel Holtmann
2009-05-01  0:54               ` Bing Zhao
2009-05-05 18:45               ` Bing Zhao [this message]
2009-05-05 19:14                 ` 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=477F20668A386D41ADCC57781B1F704301E6294CCF@SC-VEXCH1.marvell.com \
    --to=bzhao@marvell.com \
    --cc=linux-bluetooth@vger.kernel.org \
    --cc=marcel@holtmann.org \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.