Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 41894 - binding rfcomm to bluetooth hangs kernel 2.6.x !!!
Summary: binding rfcomm to bluetooth hangs kernel 2.6.x !!!
Status: VERIFIED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: x86 Linux
: Highest major (vote)
Assignee: Mobile Herd (OBSOLETE)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-02-17 05:37 UTC by Valerio
Modified: 2004-12-29 06:17 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
log of my pc from the turn on to the hang (syslog.log,27.84 KB, text/plain)
2004-02-17 05:40 UTC, Valerio
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Valerio 2004-02-17 05:37:29 UTC
i've discovered this bug from the test9 version of kernel.. but i was waiting for see this fixed... until now :)
so.. the bug completely hangs the system. you need a shutdown or a reboot for continue using your pc
steps to reproduce:

1) rfcomm bind 2 11:22:33:44:55:66 1    # 11:22:33:44:55:66 is the bluetooth ID of your gprs cellularphone
2) pppd file /etc/ppp/nokia-3650 /dev/rfcomm2 etc ... etcc. etc.. #IF THE PHONE is turned off... the rfcomm hangs, and u need to kill manually the pppd process (or with CTRL+C)
- you now have your rfcomm2 blocked. there are 2 variables of this bug.
A) the rfcomm is blocked so, you turn on your phone, then write "pppd file /etc/ppp/nokia-3650 /dev/rfcomm2" and it will print:
"Failed to open /dev/rfcomm2: Device or resource busy"
B) you turn on the phone, try to connect... and you get a error similar to:
/dev/rfcomm2 is used by pid xxxx
the pid xxxx is the previous pppd instance... and he becomes inkillable! (i tried killall pppd or kill -9 xxxx)

in this two cases if you shutdown the phone, remove the bluetooth adapter or try to close the rfcomm device with "rfcomm release 2" the pc hangs completely :
Comment 1 Valerio 2004-02-17 05:37:29 UTC
i've discovered this bug from the test9 version of kernel.. but i was waiting for see this fixed... until now :)
so.. the bug completely hangs the system. you need a shutdown or a reboot for continue using your pc
steps to reproduce:

1) rfcomm bind 2 11:22:33:44:55:66 1    # 11:22:33:44:55:66 is the bluetooth ID of your gprs cellularphone
2) pppd file /etc/ppp/nokia-3650 /dev/rfcomm2 etc ... etcc. etc.. #IF THE PHONE is turned off... the rfcomm hangs, and u need to kill manually the pppd process (or with CTRL+C)
- you now have your rfcomm2 blocked. there are 2 variables of this bug.
A) the rfcomm is blocked so, you turn on your phone, then write "pppd file /etc/ppp/nokia-3650 /dev/rfcomm2" and it will print:
"Failed to open /dev/rfcomm2: Device or resource busy"
B) you turn on the phone, try to connect... and you get a error similar to:
/dev/rfcomm2 is used by pid xxxx
the pid xxxx is the previous pppd instance... and he becomes inkillable! (i tried killall pppd or kill -9 xxxx)

in this two cases if you shutdown the phone, remove the bluetooth adapter or try to close the rfcomm device with "rfcomm release 2" the pc hangs completely :°

i will include a syslog of the problem.. but... there is nothing interesting
Comment 2 Valerio 2004-02-17 05:40:11 UTC
Created attachment 25762 [details]
log of my pc from the turn on to the hang
Comment 3 Alastair Tse (RETIRED) gentoo-dev 2004-03-06 05:18:30 UTC
improvement with the 2.6.[1234] releases ?

not sure how we can help here, seemsl ike a kernel problem to me.
Comment 4 Heinrich Wendel (RETIRED) gentoo-dev 2004-03-06 05:25:13 UTC
did a newer release of the kernel or ppp fix this?
Comment 5 Henrik Brix Andersen 2004-12-29 06:17:07 UTC
Closing due to lack of feedback.