public inbox for linux-bluetooth@vger.kernel.org
 help / color / mirror / Atom feed
* [Bluez-users] Kernel panic when unplugging USB dongle
@ 2004-05-04 10:51 Arthur Dent
  2004-05-04 15:57 ` Marcel Holtmann
  0 siblings, 1 reply; 5+ messages in thread
From: Arthur Dent @ 2004-05-04 10:51 UTC (permalink / raw)
  To: bluez-users

I have been using the Bluez architecture for quite some
time now in combination with a bluetooth modem and
everything has been working nicely. Now I decided to
update my system: I have downloaded the 2.4.26 kernel
from kernel.org, patched the kernel (2.4.26-mh1) and
additionally installed: bluez-libs-2.6, bluez-utils-2.6
and bluez-pan-1.1
When I plugged in the USB dongle everything worked nicely
and "hcitool dev" reports the address so bluetooth should be
working. However, when I unplug the dongle the kernel freezes
instantly and I am also not able to obtain any hint from
/var/log/messages and stuff.

When I additionally install the outdated bluez-kernel-2.3
package the kernel does not freeze...
What did I do wrong, can anybody give me a hint? This is
beyond my capabilities.
I am using SuSE 9.0 on a Toshiba Satellite.

_________________________________________________________________
MSN Messenger - sehen, welche Freunde online sind! 
http://www.msn.de/messenger Jetzt kostenlos downloaden und mitmachen!



-------------------------------------------------------
This SF.Net email is sponsored by: Oracle 10g
Get certified on the hottest thing ever to hit the market... Oracle 10g. 
Take an Oracle 10g class now, and we'll give you the exam FREE.
http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click
_______________________________________________
Bluez-users mailing list
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [Bluez-users] Kernel panic when unplugging USB dongle
  2004-05-04 10:51 Arthur Dent
@ 2004-05-04 15:57 ` Marcel Holtmann
  0 siblings, 0 replies; 5+ messages in thread
From: Marcel Holtmann @ 2004-05-04 15:57 UTC (permalink / raw)
  To: Arthur Dent; +Cc: BlueZ Mailing List

Hi Arthur,

> I have been using the Bluez architecture for quite some
> time now in combination with a bluetooth modem and
> everything has been working nicely. Now I decided to
> update my system: I have downloaded the 2.4.26 kernel
> from kernel.org, patched the kernel (2.4.26-mh1) and
> additionally installed: bluez-libs-2.6, bluez-utils-2.6
> and bluez-pan-1.1
> When I plugged in the USB dongle everything worked nicely
> and "hcitool dev" reports the address so bluetooth should be
> working. However, when I unplug the dongle the kernel freezes
> instantly and I am also not able to obtain any hint from
> /var/log/messages and stuff.
> 
> When I additionally install the outdated bluez-kernel-2.3
> package the kernel does not freeze...
> What did I do wrong, can anybody give me a hint? This is
> beyond my capabilities.
> I am using SuSE 9.0 on a Toshiba Satellite.

with the 2.4.26 this is a bad behaviour and I've never seen this problem
before. Please check if it matters if CONFIG_BLUEZ_HCIUSB_SCO is enabled
or not.

Regards

Marcel




-------------------------------------------------------
This SF.Net email is sponsored by: Oracle 10g
Get certified on the hottest thing ever to hit the market... Oracle 10g. 
Take an Oracle 10g class now, and we'll give you the exam FREE.
http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click
_______________________________________________
Bluez-users mailing list
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [Bluez-users] Kernel panic when unplugging USB dongle
       [not found] <BAY18-F13k1Ed28kIN400001802@hotmail.com>
@ 2004-05-05 13:17 ` Marcel Holtmann
  0 siblings, 0 replies; 5+ messages in thread
From: Marcel Holtmann @ 2004-05-05 13:17 UTC (permalink / raw)
  To: Arthur Dent; +Cc: BlueZ Mailing List

Hi Arthur,

> I compiled the kernel with the SCO variables set and I
> compiled the kernel where I disabled _any_ kernel variable
> containing SCO in ".config". The behavior did not change.
> I have looked through the mailing lists and I have found
> the hint to shut down the USB device before removing
> it, but when I execute "hciconfig hci0 down" the system
> instantly freezes just as in the case of removing the dongle
> by hand.
> Note, that additionally installing the bluez-kernel-2.3
> package removes the kernel panics.
> Unfortunately the hook-ups are so complete that I am not able
> to obtain any information about the reason from the log files.
> Could you give me a hint how to trace the reason...

installing bluez-kernel-2.3 don't counts, because this code it totally
outdated. What kind of dongle do you use? What do hciconfig -a say?

Do anyone else has problems with hci_usb and 2.4.26, because my test
machine with 2.4.26-mh1 works perfect.

Regards

Marcel




-------------------------------------------------------
This SF.Net email is sponsored by: Oracle 10g
Get certified on the hottest thing ever to hit the market... Oracle 10g. 
Take an Oracle 10g class now, and we'll give you the exam FREE.
http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click
_______________________________________________
Bluez-users mailing list
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [Bluez-users] Kernel panic when unplugging USB dongle
       [not found] <BAY18-F24coCru4efxI0000356f@hotmail.com>
@ 2004-05-10 20:41 ` Marcel Holtmann
  0 siblings, 0 replies; 5+ messages in thread
From: Marcel Holtmann @ 2004-05-10 20:41 UTC (permalink / raw)
  To: Arthur Dent; +Cc: BlueZ Mailing List

Hi Arthur,

> Here are some system parameters:
> 
> linux:~# hciconfig -a
> hci0:   Type: USB
>         BD Address: 00:0A:9A:00:37:68 ACL MTU: 339:4  SCO MTU: 64:0
>         UP RUNNING PSCAN ISCAN
>         RX bytes:490986 acl:18311 sco:0 events:1891 errors:0
>         TX bytes:160980 acl:1868 sco:0 commands:20 errors:0
>         Features: 0xff 0xff 0x3d 0x00 0x00 0x00 0x00 0x00
>         Packet type: DM1 DM3 DM5 DH1 DH3 DH5 HV1 HV2 HV3
>         Link policy: HOLD SNIFF PARK
>         Link mode: SLAVE ACCEPT
>         Name: 'BlueZ (0)'
>         Class: 0x000100
>         Service Classes: Unspecified
>         Device Class: Computer, Uncategorized
>         HCI Ver: 1.1 (0x1) HCI Rev: 0x8a LMP Ver: 1.1 (0x1) LMP Subver: 0x8a
>         Manufacturer: Transilica, Inc. (24)

I will try to find my Transilica based dongle and boot up a machine with
2.4.26-mh1, but this can take some time. In the meantime send us the
output of /proc/bus/usb/devices and if you enabled BLUEZ_HCIUSB_SCO
kernel options, then please try without it.

Regards

Marcel




-------------------------------------------------------
This SF.Net email is sponsored by Sleepycat Software
Learn developer strategies Cisco, Motorola, Ericsson & Lucent use to deliver
higher performing products faster, at low TCO.
http://www.sleepycat.com/telcomwpreg.php?From=osdnemail3
_______________________________________________
Bluez-users mailing list
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [Bluez-users] Kernel panic when unplugging USB dongle
       [not found] <BAY18-F40mWAFsTmICl00001a52@hotmail.com>
@ 2004-06-23  8:58 ` Marcel Holtmann
  0 siblings, 0 replies; 5+ messages in thread
From: Marcel Holtmann @ 2004-06-23  8:58 UTC (permalink / raw)
  To: Arthur Dent; +Cc: BlueZ Mailing List

Hi Arthur,

> sorry for bugging you about an outdated kernel release,
> but my system is built on the 2.4 kernel architecture...
> 
> Did you find out anything about a possible reason for
> the kernel freeze of 2.4.26-mh3 upon unplugging the
> USB dongle? Setting or unsetting CONFIG_BLUEZ_HCIUSB_SCO
> has no influence on this behavior. This kernel freeze
> also occures for different USB dongles so it is not restricted
> to a specific hardware. Thanks a lot!

as I said before, I never seen such a problem. Check the latest
2.4.27-rc1 or update to 2.6.

Regards

Marcel




-------------------------------------------------------
This SF.Net email sponsored by Black Hat Briefings & Training.
Attend Black Hat Briefings & Training, Las Vegas July 24-29 - 
digital self defense, top technical experts, no vendor pitches, 
unmatched networking opportunities. Visit www.blackhat.com
_______________________________________________
Bluez-users mailing list
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2004-06-23  8:58 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <BAY18-F40mWAFsTmICl00001a52@hotmail.com>
2004-06-23  8:58 ` [Bluez-users] Kernel panic when unplugging USB dongle Marcel Holtmann
     [not found] <BAY18-F24coCru4efxI0000356f@hotmail.com>
2004-05-10 20:41 ` Marcel Holtmann
     [not found] <BAY18-F13k1Ed28kIN400001802@hotmail.com>
2004-05-05 13:17 ` Marcel Holtmann
2004-05-04 10:51 Arthur Dent
2004-05-04 15:57 ` Marcel Holtmann

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox