Author Topic: Bluetooth - switching on-off causes kernel panic (solved)  (Read 1135 times)

Offline nixus

  • Full Member
  • ***
  • Posts: 113
Bluetooth - switching on-off causes kernel panic (solved)
« on: February 22, 2012, 06:35:40 PM »
Hey there,

When I first installed PCLinuxOS in July my Bluetooth adapter was recognized properly. After a while I always had to manually switch it off and on again to activate it after booting my laptop. Which was annoying but at least it worked. Since yesterday switching off and on causes kernel panic and my Bluetooth adapter is not recognized after booting

My system is fully updated and I installed following packages before the problem started:
gnokii (0.6.27-7pclos2010)
gnokii-xgnokii (0.6.27-7pclos2010)
libcfitsio0 (3.280-1pclos2011)
libgdal1 (1.9.0-1pclos2012)
libgeos3 (3.3.1-1pclos2011)
libgeos_c1 (3.3.1-1pclos2011)
libgnokii4 (0.6.27-7pclos2010)
libgsl0 (1.15-1pclos2011)
libhdf5_7 (1.8.7-1pclos2011)
libhdf5_hl7 (1.8.7-1pclos2011)
liblwgeom1 (1.3.6-1pclos2010)
libnetcdf7 (4.1.3-1pclos2011)
libogdi3 (3.2.0-0.beta2.1pclos2011)
libopensync-plugin-gnokii (0.22-4pclos2010)
libopensync0 (0.22-5pclos2010)
libpq8.4_5 (8.4.2-2pclos2010)
libproj0 (4.7.0-2pclos2011)
libunixODBC1 (2.3.0-1pclos2011)
libxerces-c3.1 (3.1.1-1pclos2011)
postgis (1.3.6-1pclos2010)
postgresql8.4 (8.4.2-2pclos2010)
postgresql8.4-plpgsql (8.4.2-2pclos2010)
postgresql8.4-server (8.4.2-2pclos2010)
proj (4.7.0-2pclos2011)
python-biopython (1.58-1pclos2011pclos2011)
python-biopython-sql (1.58-1pclos2011pclos2011)
python-egenix-mx-base (3.1.3-2pclos2010)
python-mysql (1.2.3c1-2pclos2010)
python-psycopg2 (2.4.2-1pclos2011)
qgis (1.7.3-1pclos2012)
qgis-python (1.7.3-1pclos2012)
qgis-theme-gis (1.7.1-1pclos2011)
wise (2.2.0-2pclos2011)

and uninstalled because not working:
gnokii (0.6.27-7pclos2010)
gnokii-xgnokii (0.6.27-7pclos2010)
libgnokii4 (0.6.27-7pclos2010)
libopensync-plugin-gnokii (0.22-4pclos2010)

My laptop is a HP ProBook 6450b which has a soft-touch button to manually turn Bluetooth on and off.
I use the 2.6.38.8-pclos3.pae.bfs kernel from the repos.

Thanks for any advice and ideas,
nixus
« Last Edit: February 23, 2012, 09:51:02 PM by nixus »

Offline AS

  • Hero Member
  • *****
  • Posts: 4098
  • Have a nice ... night!
Re: Bluetooth - switching on-off causes kernel panic
« Reply #1 on: February 22, 2012, 06:54:50 PM »
Hey there,

When I first installed PCLinuxOS in July my Bluetooth adapter was recognized properly. After a while I always had to manually switch it off and on again to activate it after booting my laptop.

The next time that should happen, please verify if the daemon bluetoothd is running: from a terminal type
Code: [Select]
ps -ef | grep bluetoothdif it is not running, try to launch it:
Code: [Select]
/sbin/bluetoothd &
Quote
Which was annoying but at least it worked. Since yesterday switching off and on causes kernel panic and my Bluetooth adapter is not recognized after booting

try to look in /var/log/messages, /var/log/syslog, /var/log/dmesg, /var/log/dmesg.old for panic log messages ...

Also, instead of switch bluetooth on/off, try to install and use rfkill

AS

Offline nixus

  • Full Member
  • ***
  • Posts: 113
Re: Bluetooth - switching on-off causes kernel panic
« Reply #2 on: February 22, 2012, 08:02:33 PM »
Thank you AS!!

this is what I got:

Code: [Select]
[dummy@dummyHP ~]$ ps -ef | grep bluetoothd
500      15545 15500  0 12:51 pts/1    00:00:00 grep --color [color=red]bluetoothd[/color]
[dummy@dummyHP ~]$ /sbin/bluetoothd &
[1] 16125
[dummy@dummyHP ~]$


not sure what it means, however it didn't turn on Bluetooth.

will check the log files later.

regards,
nixus

Offline AS

  • Hero Member
  • *****
  • Posts: 4098
  • Have a nice ... night!
Re: Bluetooth - switching on-off causes kernel panic
« Reply #3 on: February 22, 2012, 08:16:58 PM »
Code: [Select]
[dummy@dummyHP ~]$ ps -ef | grep bluetoothd
500      15545 15500  0 12:51 pts/1    00:00:00 grep --color [color=red]bluetoothd[/color]
[dummy@dummyHP ~]$ /sbin/bluetoothd &
[1] 16125
[dummy@dummyHP ~]$
not sure what it means, however it didn't turn on Bluetooth.

It means that bluetoothd wasn't running ... I assumed you are running KDE ...
try rfkill, basic commands:
Code: [Select]
rfkill list
rfkill unblock all

Offline nixus

  • Full Member
  • ***
  • Posts: 113
Re: Bluetooth - switching on-off causes kernel panic
« Reply #4 on: February 22, 2012, 10:38:54 PM »
Yes I am running KDE

This it what I get:

Code: [Select]
[dummy@dummyHP ~]$ rfkill list
0: hci0: Bluetooth
        Soft blocked: no
        Hard blocked: no
[dummy@dummyHP ~]$ rfkill unblock all
[dummy@dummyHP ~]$ rfkill list
0: hci0: Bluetooth
        Soft blocked: no
        Hard blocked: no

Offline nixus

  • Full Member
  • ***
  • Posts: 113
Re: Bluetooth - switching on-off causes kernel panic (solved)
« Reply #5 on: February 23, 2012, 04:24:48 PM »
I kind of solved it. I managed to switch off Bluetooth during boot-up and interestingly it doesn't cause kernel panic when I, once PCLOS is booted, switch it on. I can without any problems turn it on and off and on and off. However when Bluetooth is activated (at least as indicated by a light) during boot-up, the adapter is not recognized and it causes kernel panic when switched off and on again as mentioned in a previous post. So obviously this is specifically linked to this soft-touch key of my HP laptop.

In this sense I always have to make sure that Bluetooth is switched off when I turn off my Computer ;-)

Thanks for your advice anyway.

regards,
nixus

Offline AS

  • Hero Member
  • *****
  • Posts: 4098
  • Have a nice ... night!
Re: Bluetooth - switching on-off causes kernel panic (solved)
« Reply #6 on: February 23, 2012, 07:25:52 PM »
I kind of solved it. I managed to switch off Bluetooth during boot-up and interestingly it doesn't cause kernel panic when I, once PCLOS is booted, switch it on. I can without any problems turn it on and off and on and off. However when Bluetooth is activated (at least as indicated by a light) during boot-up, the adapter is not recognized and it causes kernel panic when switched off and on again as mentioned in a previous post. So obviously this is specifically linked to this soft-touch key of my HP laptop.

In this sense I always have to make sure that Bluetooth is switched off when I turn off my Computer ;-)

Thanks for your advice anyway.

regards,
nixus

Glad you have found at least a workaround.  :)
The symptoms you describe let me think at some kernel module, specific to your bluetooth adapter, that could be the cause of the kernel panic. You should identify your hardware and the related modules, eventually other users using the same hardware may confirm (or not) the same behavior ... eventually a solutions.

AS

Offline nixus

  • Full Member
  • ***
  • Posts: 113
Re: Bluetooth - switching on-off causes kernel panic (solved)
« Reply #7 on: February 23, 2012, 10:18:59 PM »
Thanks AS

I just post the hardware info of the Bluetooth adapter for further reference:

Broadcom Corp
HP Integrated Module
Wireless|Radio Frequency|Bluetooth
Bus: ‎USB
Bus PCI #: ‎1
PCI-Gerät #: ‎7
ID: ‎0x03f0
ID: ‎0x231d
Others
Module: ‎btusb