Distribution: Gentoo Experimental Hardware Environment: P4-2.6GHz, SMT, PE i865 chipset, uhci-hcd, hci-usb, usb2 hub/card reader Software Environment: bluez-utils 2.5, xfree was running Problem Description: Solid freeze after removing a bluetooth usb dongle while scanning bluetooth neighbourhood. Steps to reproduce: after modprobing hci-usb, I insert the dongle in the usb port of the card reader. Than I run "hciconfig hci0 up" to initialize the interface and start "hcitool scan". While it is running, I remove the dongle. The computer freezes. Nothing in logs, no network. Hcitool manages to write some error (sorry, can't remember). The scan hasn't found any devices. It didn't reported them, and there were none, afaik.
Created attachment 2507 [details] oops Got the oops by booting in a clean (no X, no nothin) environment.
Same problem here, it started with kernel 2.6.4 while with the previous kernels the unplug worked well. On the bluez-devel mailing list Marcel Holtmann says that this is a usb problem and not a hci_usb problem. It seems that this problem happen only with uhci usb controllers. If any info is needed let me know Bye!
Created attachment 2560 [details] Patch for hci_usb Bluetooth driver Since both of you have indicated that this patch fixes the problem, I will mark this bug closed.