pand freezes upon disconnect
Quoted 56 lines · Marcel Holtmann
Hi,
Quoted 53 lines
I have a similar problem but my clients are Linux FC2. When I close my connection from Linux clients the server has to be rebooted as it freezes. I also tried shutdown the the following in sequence and the server also freezes.
ifconfig bnep0 down
ifconfig bnep1 down
brctl delif br0 bnep0
brctl delif bro bnep1
hciconfig hci0 down ................My server is Fedora Core 2 with kernel-2.6.8.1-mm4. It is also a bridge-router-firewall (firewall = www.shorewall.net). I also tried patching my server with patch-2.6.8-mh2 with the same results. Can anyone help ?
[root@compaq src]#hci0: Type: USB
BD Address: 00:10:60:A7:DD:45 ACL MTU: 192:8 SCO MTU: 64:8 UP RUNNING PSCAN ISCAN
RX bytes:1484873 acl:44063 sco:0 events:26226 errors:0 TX bytes:5589996 acl:32995 sco:0 commands:29 errors:0
Features:0xff0xff0x0f0x000x000x000x000x00Packet type: DM1 DM3 DM5 DH1 DH3 DH5 HV1 HV2 HV3 Link policy: RSWITCH HOLD SNIFF PARK
Link mode: ACCEPT MASTER
Name: 'compaq.noy.com.au'
Class:0x000100
Service Classes: Unspecified
Device Class: Computer, Uncategorized
HCI Ver: 1.1 (0x1) HCI Rev:0x20dLMP Ver: 1.1 (0x1) LMP
Subver:0x20d
Manufacturer: Cambridge Silicon Radio (10)[root@compaq src]#brctl show
bridge name bridge id STP enabled interfaces br0 8000.00105a67f2a1 yes eth0eth1 bnep0 bnep1
[root@compaq src]#My clients are Fedora Core 2 with kernel-2.6.8.1-mm4
I have:
bluez-sdp-1.5-1
bluez-pan-1.1-1
bluez-firmware-1.0
bluez-hcidump-1.12
bluez-hciemu-1.0
bluez-libs-2.10
bluez-pin-0.24
bluez-utils-2.10
Quoted 6 lines
Quoted 1 line
in my server and clients.
there is no need to have bluez-sdp and bluez-pan installed. Remove them and only use latest bluez-libs and bluez-utils.
I have re-installed bluez. The setup works well as before until a client bluetooth is downed or is temporarily out of range. The server, then freezes with the console going blank.
I tried using Bluetooth on Windows/XP Professional with the same results.
Is there an older version of bluez that does not do this ?
Thanks.
-------------------------------------------------------
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
_______________________________________________
Bluez-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users
Hello
My bluetooth server is Slackware 9.1 and my client is WindowsXp.I perfectly share the internet connection between them.My pand command is 'pand -s -M --role NAP -z' , but when i close the connection from windows, i see that slackware freezes.Any comments?
-------------------------------------------------------
This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170 Project Admins to receive an Apple iPod Mini FREE for your judgement on who ports your project to Linux PPC the best. Sponsored by IBM.
Deadline: Sept. 24. Go here: http://sf.net/ppc_contest.php
_______________________________________________
Bluez-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users
Marcel Holtmann
maintainerHi,
Quoted 4 lines
My bluetooth server is Slackware 9.1 and my client is WindowsXp.I perfectly share the internet connection between them.My pand command is 'pand -s -M --role NAP -z' , but when i close the connection from windows, i see that slackware freezes.
what kernel version is this? What version of the BlueZ packages are installed? Are there any oopses?
Regards
Marcel
-------------------------------------------------------
This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170 Project Admins to receive an Apple iPod Mini FREE for your judgement on who ports your project to Linux PPC the best. Sponsored by IBM.
Deadline: Sept. 24. Go here: http://sf.net/ppc_contest.php
_______________________________________________
Bluez-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users
Quoted 3 lines · Bora
Hello
My bluetooth server is Slackware 9.1 and my client is WindowsXp.I perfectly share the internet connection between them.My pand command is 'pand -s -M --role NAP -z' , but when i close the connection from windows, i see that slackware freezes.Any comments?
I have a similar problem but my clients are Linux FC2. When I close my connection from Linux clients the server has to be rebooted as it freezes. I also tried shutdown the the following in sequence and the server also freezes.
ifconfig bnep0 down
ifconfig bnep1 down
brctl delif br0 bnep0
brctl delif bro bnep1
hciconfig hci0 down ................
My server is Fedora Core 2 with kernel-2.6.8.1-mm4. It is also a bridge-router-firewall (firewall = www.shorewall.net). I also tried patching my server with patch-2.6.8-mh2 with the same results. Can anyone help ?
[root@compaq src]#hci0: Type: USB
BD Address: 00:10:60:A7:DD:45 ACL MTU: 192:8 SCO MTU: 64:8 UP RUNNING PSCAN ISCAN
RX bytes:1484873 acl:44063 sco:0 events:26226 errors:0 TX bytes:5589996 acl:32995 sco:0 commands:29 errors:0
Features: 0xff 0xff 0x0f 0x00 0x00 0x00 0x00 0x00 Packet type: DM1 DM3 DM5 DH1 DH3 DH5 HV1 HV2 HV3 Link policy: RSWITCH HOLD SNIFF PARK
Link mode: ACCEPT MASTER
Name: 'compaq.noy.com.au'
Class: 0x000100
Service Classes: Unspecified
Device Class: Computer, Uncategorized
HCI Ver: 1.1 (0x1) HCI Rev: 0x20d LMP Ver: 1.1 (0x1) LMP
Subver: 0x20d
Manufacturer: Cambridge Silicon Radio (10)
[root@compaq src]#brctl show
bridge name bridge id STP enabled interfaces br0 8000.00105a67f2a1 yes eth0
eth1 bnep0 bnep1
[root@compaq src]#
My clients are Fedora Core 2 with kernel-2.6.8.1-mm4
I have:
bluez-sdp-1.5-1
bluez-pan-1.1-1
bluez-firmware-1.0
bluez-hcidump-1.12
bluez-hciemu-1.0
bluez-libs-2.10
bluez-pin-0.24
bluez-utils-2.10
in my server and clients.
-------------------------------------------------------
This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170 Project Admins to receive an Apple iPod Mini FREE for your judgement on who ports your project to Linux PPC the best. Sponsored by IBM.
Deadline: Sept. 24. Go here: http://sf.net/ppc_contest.php
_______________________________________________
Bluez-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users
Marcel Holtmann
maintainerHi,
Quoted 53 lines
I have a similar problem but my clients are Linux FC2. When I close my connection from Linux clients the server has to be rebooted as it freezes. I also tried shutdown the the following in sequence and the server also freezes.
ifconfig bnep0 down
ifconfig bnep1 down
brctl delif br0 bnep0
brctl delif bro bnep1
hciconfig hci0 down ................My server is Fedora Core 2 with kernel-2.6.8.1-mm4. It is also a bridge-router-firewall (firewall = www.shorewall.net). I also tried patching my server with patch-2.6.8-mh2 with the same results. Can anyone help ?
[root@compaq src]#hci0: Type: USB
BD Address: 00:10:60:A7:DD:45 ACL MTU: 192:8 SCO MTU: 64:8 UP RUNNING PSCAN ISCAN
RX bytes:1484873 acl:44063 sco:0 events:26226 errors:0 TX bytes:5589996 acl:32995 sco:0 commands:29 errors:0
Features:0xff0xff0x0f0x000x000x000x000x00Packet type: DM1 DM3 DM5 DH1 DH3 DH5 HV1 HV2 HV3 Link policy: RSWITCH HOLD SNIFF PARK
Link mode: ACCEPT MASTER
Name: 'compaq.noy.com.au'
Class:0x000100
Service Classes: Unspecified
Device Class: Computer, Uncategorized
HCI Ver: 1.1 (0x1) HCI Rev:0x20dLMP Ver: 1.1 (0x1) LMP
Subver:0x20d
Manufacturer: Cambridge Silicon Radio (10)[root@compaq src]#brctl show
bridge name bridge id STP enabled interfaces br0 8000.00105a67f2a1 yes eth0eth1 bnep0 bnep1
[root@compaq src]#My clients are Fedora Core 2 with kernel-2.6.8.1-mm4
I have:
bluez-sdp-1.5-1
bluez-pan-1.1-1
bluez-firmware-1.0
bluez-hcidump-1.12
bluez-hciemu-1.0
bluez-libs-2.10
bluez-pin-0.24
bluez-utils-2.10
Quoted 1 line
in my server and clients.
there is no need to have bluez-sdp and bluez-pan installed. Remove them and only use latest bluez-libs and bluez-utils.
Regards
Marcel
-------------------------------------------------------
This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170 Project Admins to receive an Apple iPod Mini FREE for your judgement on who ports your project to Linux PPC the best. Sponsored by IBM.
Deadline: Sept. 24. Go here: http://sf.net/ppc_contest.php
_______________________________________________
Bluez-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users
Marcel Holtmann
maintainerHi,
Quoted 9 lines
I have re-installed bluez. The setup works well as before until a client bluetooth is downed or is temporarily out of range. The server, then freezes with the console going blank.
I tried using Bluetooth on Windows/XP Professional with the same results.
Is there an older version of bluez that does not do this ?
go ahead and test it, because everything is working prefect on mine machines.
Regards
Marcel
-------------------------------------------------------
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
_______________________________________________
Bluez-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users
Quoted 4 lines · Marcel Holtmann
go ahead and test it, because everything is working prefect on mine machines.
I made more tests. I put the results here hoping it might assist point to the problem.
I found the ff:
1. Installed bluez NAP server on another Linux-2.6.8.1-mm4-mh2 with nobridge-router-nofirewall-bluez. Result: When client disconnects the server does NOT FREEZE.
2. Installed bluez NAP server on various versions of Linux-2.6.8.1-mm4-mh1 && mh2; Linux-2.6.8.1-mh1 && mh2 on bridge-router-firewall-bluez.
When client disconnects the server FREEZES in any combination.
3. Using any setup in item 2, I can disconnect a client without freezing the server if I disable bluetooth by "rmmod" up till uhci_hcd at the server first. Then, I reloaded the modules to restart pand server so I get the client reconnected successfully.
With these processes, I got the following logs on the server:
br0: port 3(bnep0) entering disabled state
Debug: sleeping function called from invalid context at include/asm/semaphore.h:119 in_atomic():1, irqs_disabled():0
[<c011a45f>] __might_sleep+0x9f/0xb0 [<c01841cb>] sysfs_hash_and_remove+0x2b/0x108 [<ccaff5b8>] br_sysfs_removeif+0x18/0x20 [bridge] [<ccafc671>] br_del_if+0x31/0x56 [bridge] [<ccafd51a>] br_device_event+0xba/0xe0 [bridge] [<c01273a8>] notifier_call_chain+0x18/0x40 [<c02c723e>] unregister_netdevice+0x13e/0x236 [<c025a82f>] unregister_netdev+0xf/0x20 [<cc974c00>] bnep_session+0x6f0/0x790 [bnep] [<c0105d32>] ret_from_fork+0x6/0x14 [<c01197c0>] default_wake_function+0x0/0x10 [<cc974510>] bnep_session+0x0/0x790 [bnep] [<c010429d>] kernel_thread_helper+0x5/0x18
device bnep0 left promiscuous mode
br0: port 3(bnep0) entering disabled stateuhci_hcd 0000:00:14.2: remove, state 1
usb usb1: USB disconnect, address 1
usb 1-2: USB disconnect, address 2uhci_hcd 0000:00:14.2: USB bus 1 deregistered
usbcore: deregistering driver hci_usb
NET: Unregistered protocol family 31
Bluetooth: Core ver 2.6
NET: Registered protocol family 31
Bluetooth: HCI device and connection manager initialized
Bluetooth: HCI socket layer initialized
Bluetooth: HCI USB driver ver 2.7
usbcore: registered new driver hci_usb
Bluetooth: L2CAP ver 2.4
Bluetooth: L2CAP socket layer initialized
Bluetooth: BNEP (Ethernet Emulation) ver 1.2
Bluetooth: BNEP filters: protocol multicast
USB Universal Host Controller Interface driver v2.2
PCI: Found IRQ 11 for device 0000:00:14.2
PCI: Sharing IRQ 11 with 0000:00:0a.0uhci_hcd 0000:00:14.2: UHCI Host Controlleruhci_hcd 0000:00:14.2: irq 11, io base 00002020uhci_hcd 0000:00:14.2: new USB bus registered, assigned bus number 1
Marcel Holtmann
maintainerHi,
Quoted 27 lines
I made more tests. I put the results here hoping it might assist point to the problem.
I found the ff:
1. Installed bluez NAP server on another Linux-2.6.8.1-mm4-mh2 with nobridge-router-nofirewall-bluez. Result: When client disconnects the server does NOT FREEZE.
2. Installed bluez NAP server on various versions of Linux-2.6.8.1-mm4-mh1 && mh2; Linux-2.6.8.1-mh1 && mh2 on bridge-router-firewall-bluez.
When client disconnects the server FREEZES in any combination.
3. Using any setup in item 2, I can disconnect a client without freezing the server if I disable bluetooth by "rmmod" up till
uhci_hcdat the server first. Then, I reloaded the modules to restart pand server so I get the client reconnected successfully.With these processes, I got the following logs on the server:
br0: port 3(bnep0) entering disabled state
Debug: sleeping function called from invalid context atinclude/asm/semaphore.h:119
in_atomic():1, irqs_disabled():0
Quoted 13 lines
[<c011a45f>] __might_sleep+0x9f/0xb0 [<c01841cb>] sysfs_hash_and_remove+0x2b/0x108 [<ccaff5b8>] br_sysfs_removeif+0x18/0x20 [bridge] [<ccafc671>] br_del_if+0x31/0x56 [bridge] [<ccafd51a>] br_device_event+0xba/0xe0 [bridge] [<c01273a8>] notifier_call_chain+0x18/0x40 [<c02c723e>] unregister_netdevice+0x13e/0x236 [<c025a82f>] unregister_netdev+0xf/0x20 [<cc974c00>] bnep_session+0x6f0/0x790 [bnep] [<c0105d32>] ret_from_fork+0x6/0x14 [<c01197c0>] default_wake_function+0x0/0x10 [<cc974510>] bnep_session+0x0/0x790 [bnep] [<c010429d>] kernel_thread_helper+0x5/0x18
I think this is a problem in the Linux bridge code. Please report this to the bridge mailing list or the netdev mailing list.
Stephen, do you have an idea or a patch for it?
Regards
Marcel
-------------------------------------------------------
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
_______________________________________________
Bluez-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users
Fixed in current 2.6 tree (on 7 Sep)
Marcel Holtmann
maintainerHi Stephen,
Quoted 1 line
Fixed in current 2.6 tree (on 7 Sep)
thanks for looking at it. Folks, please retest your setups with 2.6.9-rc3-bk1.
Regards
Marcel
-------------------------------------------------------
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
_______________________________________________
Bluez-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users
linux kernel to compile bluez
Hi all
I installed linux suse 9.1 professional
it ships the kernel 2.6.4-52
I can't compile bluez (other message posted to the users and developer's list), so I'm thinking that the problem could be the kernel version
Have I to update the kernel to version 2.6.5-7.108 (from suse archive)?
Or other patch/versions are available?
thanks
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
Re: [Bluez-users] linux kernel to compile bluez
Download and kompile kernel from www.kernel.org.
M.
Dne so 2. =F8=EDjna 2004 15:59 Massimiliano Cuccia napsal(a):
Quoted 22 lines
Hi all
I installed linux suse 9.1 professional
it ships the kernel 2.6.4-52I can't compile bluez (other message posted to the users and developer's list), so I'm thinking that the problem could be the kernel version
Have I to update the kernel to version 2.6.5-7.108 (from suse archive)?
Or other patch/versions are available?
thanks
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
Quoted 4 lines
-------------------------------------------------------
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out mo=
re
Quoted 5 lines
http://productguide.itmanagersjournal.com/guidepromo.tmpl
_______________________________________________
Bluez-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users
Re: [Bluez-users] linux kernel to compile bluez
In reply to Massimiliano CucciaQuoted 5 lines · Massimiliano Cuccia
I installed linux suse 9.1 professional
it ships the kernel 2.6.4-52
Have I to update the kernel to version 2.6.5-7.108 (from suse archive)?
Or other patch/versions are available?
(other version of OS)
After I installed Fedora core 2, the bluetooth stuff worked out of the box. The latest kernel FC2 has is 2.6.8
Also someone there on the list told he installed fresh RedHat9. Not very good move, unless there were some other important reasons why RH9. RH9 is not supported by RedHat anymore and most of the rpm-packaging volunteers has changed to Fedora and "supports" it.
// jouni
-------------------------------------------------------
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
_______________________________________________
Bluez-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users
Quoted 9 lines · Marcel Holtmann
Hi Stephen,
Quoted 1 line
Fixed in current 2.6 tree (on 7 Sep)
thanks for looking at it. Folks, please retest your setups with 2.6.9-rc3-bk1.
Retesting and thanks.
O Plameras
Quoted 9 lines · Marcel Holtmann
Hi Stephen,
Quoted 1 line
Fixed in current 2.6 tree (on 7 Sep)
thanks for looking at it. Folks, please retest your setups with 2.6.9-rc3-bk1.
Updating to the above kernel release has fixed bluez server's problem of freezing when client disconnects disappeared.
Thanks.
Marcel Holtmann
maintainer[Bluez-users] Re: linux kernel to compile bluez
In reply to Massimiliano CucciaHi Massimiliano,
Quoted 11 lines
I installed linux suse 9.1 professional
it ships the kernel 2.6.4-52I can't compile bluez (other message posted to the users and developer's list), so I'm thinking that the problem could be the kernel version
Have I to update the kernel to version 2.6.5-7.108 (from suse archive)?
Or other patch/versions are available?
go for the upcoming SuSE Linux 9.2 release, because this will have the latest Bluetooth kernel and userspace code.
Regards
Marcel
-------------------------------------------------------
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
_______________________________________________
Bluez-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users