Re: Kernel oops with bluetooth usb dongle

2008-02-26 Thread Quel Qun
-- Original message -- From: Marcel Holtmann <[EMAIL PROTECTED]> > Hi Quel, > > > Bad news: I still cannot use the device. > > > > hcitool inq, hcitool scan, hcitool name and hcitool info > > > > commands work. > > > > hcitool cc , sdptool , rfcomm connect comm

Re: Kernel oops with bluetooth usb dongle

2008-02-25 Thread Marcel Holtmann
Hi Quel, -- Original message -- From: Thomas Gleixner <[EMAIL PROTECTED]> On Fri, 22 Feb 2008, David Woodhouse wrote: On Fri, 2008-02-22 at 08:23 +0100, Thomas Gleixner wrote: + del_timer(&conn->info_timer); + hcon->l2cap_data = NULL; kfre

Re: Kernel oops with bluetooth usb dongle

2008-02-25 Thread Quel Qun
-- Original message -- From: Thomas Gleixner <[EMAIL PROTECTED]> > On Fri, 22 Feb 2008, David Woodhouse wrote: > > > On Fri, 2008-02-22 at 08:23 +0100, Thomas Gleixner wrote: > > > > > > + del_timer(&conn->info_timer); > > > + > > > hcon->l2cap_data

Re: Kernel oops with bluetooth usb dongle

2008-02-22 Thread Thomas Gleixner
On Fri, 22 Feb 2008, David Woodhouse wrote: > On Fri, 2008-02-22 at 08:23 +0100, Thomas Gleixner wrote: > > > > + del_timer(&conn->info_timer); > > + > > hcon->l2cap_data = NULL; > > kfree(conn); > > Shouldn't that be del_timer_sync() ? Hmm, probably yes. tglx -- To

Re: Kernel oops with bluetooth usb dongle

2008-02-22 Thread David Woodhouse
On Fri, 2008-02-22 at 08:23 +0100, Thomas Gleixner wrote: > > + del_timer(&conn->info_timer); > + > hcon->l2cap_data = NULL; > kfree(conn); Shouldn't that be del_timer_sync() ? -- dwmw2 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the bod

Re: Kernel oops with bluetooth usb dongle

2008-02-21 Thread Thomas Gleixner
Quel, On Fri, 22 Feb 2008, Quel Qun wrote: > $ addr2line -e vmlinux c012d51d > /usr/src/linux-2.6.25-rc2-git5kk1/kernel/timer.c:770 > > Crap, that is on the next list_for_each_entry in timer.c :( > > I tried to make a similar test loop as you did a few lines above: Cool. > I thought I got it

Re: Kernel oops with bluetooth usb dongle

2008-02-21 Thread Dave Young
On Fri, Feb 22, 2008 at 02:40:41AM +, Quel Qun wrote: > > -- Original message -- > From: Thomas Gleixner <[EMAIL PROTECTED]> > > On Thu, 21 Feb 2008, Quel Qun wrote: > > > > > > Not that I'm aware off, but this might as well be some old use > > > > > after >

Re: Kernel oops with bluetooth usb dongle

2008-02-21 Thread Quel Qun
-- Original message -- From: Thomas Gleixner <[EMAIL PROTECTED]> > On Thu, 21 Feb 2008, Quel Qun wrote: > > > > > Not that I'm aware off, but this might as well be some old use after > > > > > free bug which got exposed by some unrelated change. The good news is

Re: Kernel oops with bluetooth usb dongle

2008-02-21 Thread Thomas Gleixner
On Thu, 21 Feb 2008, Quel Qun wrote: > > > > Not that I'm aware off, but this might as well be some old use after > > > > free bug which got exposed by some unrelated change. The good news is > > > > that it is reproducible. I'll hack up some nasty debug patch which > > > > lets us - hopefully

Re: Kernel oops with bluetooth usb dongle

2008-02-21 Thread Quel Qun
-- Original message -- From: "Dave Young" <[EMAIL PROTECTED]> > On Wed, Feb 20, 2008 at 4:11 PM, Thomas Gleixner <[EMAIL PROTECTED]> wrote: > > On Wed, 20 Feb 2008, Thomas Gleixner wrote: > > > On Tue, 19 Feb 2008, Marcel Holtmann wrote: > > > > > > I don't really

Re: Kernel oops with bluetooth usb dongle

2008-02-20 Thread Dave Young
On Wed, Feb 20, 2008 at 4:11 PM, Thomas Gleixner <[EMAIL PROTECTED]> wrote: > On Wed, 20 Feb 2008, Thomas Gleixner wrote: > > On Tue, 19 Feb 2008, Marcel Holtmann wrote: > > > > I don't really have any idea. Nothing has been changed in this area for a > > > couple of years. The command TX timeout

Re: Kernel oops with bluetooth usb dongle

2008-02-20 Thread Thomas Gleixner
On Wed, 20 Feb 2008, Thomas Gleixner wrote: > On Tue, 19 Feb 2008, Marcel Holtmann wrote: > > I don't really have any idea. Nothing has been changed in this area for a > > couple of years. The command TX timeout is the timeout that indicates a > > missing answer to a command sent down to the Blueto

Re: Kernel oops with bluetooth usb dongle

2008-02-19 Thread Thomas Gleixner
On Tue, 19 Feb 2008, Marcel Holtmann wrote: > > > hci_cmd_task: hci0 command tx timeout > > > BUG: unable to handle kernel paging request at 6b6b6b6b > > > > We got some more info --- > > #define POISON_FREE 0x6b/* for use-after-free poisoning */ > > > > S

Re: Kernel oops with bluetooth usb dongle

2008-02-19 Thread Marcel Holtmann
Hi Thomas, Can you please enable CONFIG_SLUB_DEBUG=y and CONFIG_SLUB_DEBUG_ON=y and give it another try? If we can not catch it that way, I'll whip up a patch which points us to the code which added the offending timer. Hi, Note: I switched to 2.6.25-rc2. The only new thing I see is this

Re: Kernel oops with bluetooth usb dongle

2008-02-18 Thread Thomas Gleixner
On Mon, 18 Feb 2008, Quel Qun wrote: Added bluetooth wizards to CC > > Can you please enable CONFIG_SLUB_DEBUG=y and CONFIG_SLUB_DEBUG_ON=y > > and give it another try? > > > > If we can not catch it that way, I'll whip up a patch which points us > > to the code which added the offending timer.

Re: Kernel oops with bluetooth usb dongle

2008-02-18 Thread Sebastian Siewior
* Quel Qun | 2008-02-18 00:01:21 [+]: Please send me your .config file and process list (ps uax > ps_list) after the crash. I have a dongle with the same usb id as yours and I can't reproduce the crash. So it is either some .config magic or one of your programs is accessing the dongle. Sebast

Re: Kernel oops with bluetooth usb dongle

2008-02-17 Thread Quel Qun
-- Original message -- From: Thomas Gleixner <[EMAIL PROTECTED]> > On Sat, 16 Feb 2008, Quel Qun wrote: > Unfortunately we only see that the list is corrupted but not which > code caused it. This looks like something forgot to delete the timer > before freeing the d

Re: Kernel oops with bluetooth usb dongle

2008-02-16 Thread Thomas Gleixner
On Sat, 16 Feb 2008, Quel Qun wrote: > > Please also enable CONFIG_DEBUG_LIST=y, which should catch the place > > where a list corruption happens. > > Thank you for the hand holding. I must admit I do not anything > about kernel debugging. > > With or without nohz=off, the crashes are very similar.

Re: Kernel oops with bluetooth usb dongle

2008-02-16 Thread Quel Qun
-- Original message -- From: Thomas Gleixner <[EMAIL PROTECTED]> > On Sat, 16 Feb 2008, Jiri Kosina wrote: > > [ Ingo and Thomas added to CC, as this is apparently nohz stuff ] > > Well, it explodes there :) I can not exactly decode the source line, > but it's eith

Re: Kernel oops with bluetooth usb dongle

2008-02-16 Thread Thomas Gleixner
On Sat, 16 Feb 2008, Jiri Kosina wrote: > [ Ingo and Thomas added to CC, as this is apparently nohz stuff ] Well, it explodes there :) I can not exactly decode the source line, but it's either list corruption or something is fiddling with an enqueued timer. > Quel, does the problem go away when y

Re: Kernel oops with bluetooth usb dongle

2008-02-16 Thread Jiri Kosina
[ Ingo and Thomas added to CC, as this is apparently nohz stuff ] Quel, does the problem go away when you boot with nohz=off? Original message left below for reference. On Sat, 16 Feb 2008, Quel Qun wrote: > Hi, > > Since the rc's of 2.6.24, my machine crashes when I try to use the USB > dong

Kernel oops with bluetooth usb dongle

2008-02-15 Thread Quel Qun
Hi, Since the rc's of 2.6.24, my machine crashes when I try to use the USB dongle. No other activity seems to create a crash. The system is stable with 2.6.23.1. It is a Dell Dimension 8400 updated daily to mandriva cooker. I am not subscribed to this list, so please CC me if there is any more