Re: Kernel oops with bluetooth usb dongle

From: Marcel Holtmann
Date: Mon Feb 25 2008 - 22:14:02 EST


Hi Quel,

-------------- Original message ----------------------
From: Thomas Gleixner <tglx@xxxxxxxxxxxxx>
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.

Hi,

Great news: only adding adding del_timer_sync() to 2.6.25-rc3 does prevent the crash.

Bad news: I still cannot use the device.

hcitool inq, hcitool scan, hcitool name <btaddr> and hcitool info <btaddr>
commands work.

hcitool cc <btaddr>, sdptool <btaddr>, rfcomm connect command fail, most of them
with a 'Connection reset by peer' error.

what does "hciconfig hci0 version" tell you about your device? Some of the none major based Bluetooth chips are broken and might need an extra tweak within the USB driver.

Regards

Marcel

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/