Skip to contentSkip to conversation

pand problem

Bluez-devel Vijayakumar 2 participants 3 messages Aug 23, 2005 – Aug 24, 2005 Bluetooth drivers

lore
Share & tools
lore
#0 lore raw

Hi all,

My linux kernel version is 2.4.20-8
Applied 2.4.18 mh patch

My pand connection gets disconnected after about 4-5 hrs. I
established pand connection between 2 dongles and ran multiple telnet sessions (each running ls -lR in an infinite loop) and an ftp session(transfers files repeatedly between the machines in an infinite loop).After some 4-5 hrs i found that the pand onnection no longer existed.

And I found "NET unregister event not supported" in my system log messages....Below is my system log...

Aug 22 20:45:14 test1 kernel: BlueZ L2CAP ver 2.1 Copyright (C) 2000,2001 Qualcomm Inc
Aug 22 20:45:14 test1 kernel: Written 2000,2001 by Maxim Krasnyansky <[email protected]>
Aug 22 20:45:19 test1 kernel: BlueZ RFCOMM ver 0.4
Aug 22 20:45:19 test1 kernel: Copyright (C) 2002 Maxim Krasnyansky <[email protected]>
Aug 22 20:45:19 test1 kernel: Copyright (C) 2002 Marcel Holtmann <[email protected]>
Aug 22 20:45:29 test1 kernel: BlueZ BNEP ver 1.1
Aug 22 20:45:29 test1 kernel: Copyright (C) 2001,2002 Inventel Systemes
Aug 22 20:45:29 test1 kernel: Written 2001,2002 by Clement Moreau <[email protected]>
Aug 22 20:45:29 test1 kernel: Written 2001,2002 by David Libault <[email protected]>
Aug 22 20:45:29 test1 kernel: Copyright (C) 2002 Maxim Krasnyanskiy <[email protected]>
Aug 22 20:45:50 test1 hcid[27188]: Bluetooth HCI daemon
Aug 22 20:45:50 test1 hcid[27188]: Starting security manager 0
Aug 22 20:45:52 test1 sdpd[27192]: Bluetooth SDP daemon
Aug 22 20:46:59 test1 pand[27198]: Bluetooth PAN daemon version 2.17
Aug 22 20:47:16 test1 hcid[27188]: link_key_request (sba=00:0F:3D:4C:4D:C6, dba=00:0B:91:FF:FF:41)
Aug 22 20:47:16 test1 hcid[27188]: pin_code_request (sba=00:0F:3D:4C:4D:C6, dba=00:0B:91:FF:FF:41)
Aug 22 20:47:16 test1 hcid[27188]: link_key_notify (sba=00:0F:3D:4C:4D:C6, dba=00:0B:91:FF:FF:41)
Aug 22 20:47:16 test1 pand[27199]: New connection from 00:0B:91:FF:FF:41 bnep0
Aug 22 20:47:16 test1 /etc/hotplug/net.agent: invoke ifup bnep0
Aug 22 20:47:17 test1 kernel: ip_tables: (C) 2000-2002 Netfilter core team
Aug 22 20:54:42 test1 login(pam_unix)[4647]: session opened for user root by LOGIN(uid=0)
Aug 23 01:01:35 test1 /etc/hotplug/net.agent: NET unregister event not supported
Aug 23 04:22:32 test1 su(pam_unix)[28881]: session opened for user news by (uid=0)
Aug 23 04:22:32 test1 su(pam_unix)[28881]: session closed for user news

Regards,
Vijayakumar.

-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
_______________________________________________
Bluez-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-devel

maintainer
#1 lore raw

Hi Vijayakumar,

Quoted 2 lines

My linux kernel version is 2.4.20-8
Applied 2.4.18 mh patch

this kernel is quite old and the -mh patch for 2.4.18 can't be applied to a 2.4.20 kernel. Why don't you switch to the latest 2.6 kernel?

Quoted 5 lines

My pand connection gets disconnected after about 4-5 hrs. I
established pand connection between 2 dongles and ran multiple telnet sessions (each running ls -lR in an infinite loop) and an ftp session(transfers files repeatedly between the machines in an infinite loop).After some 4-5 hrs i found that the pand onnection no longer existed.

Run "hcidump -X -V" and see why the connection gets terminated.

Quoted 2 lines

And I found "NET unregister event not supported" in my system log messages....Below is my system log...

This is hotplug stuff and not Bluetooth related.

Regards

Marcel

-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
_______________________________________________
Bluez-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-devel

#2 lore raw

Hi Marcel,

Quoted 2 lines
Quoted 2 lines

My linux kernel version is 2.4.20-8
Applied 2.4.18 mh patch

Sorry for the incorrect information, my kernel is 2.4.18.

Quoted 3 lines

this kernel is quite old and the -mh patch for 2.4.18 can't be applied to a 2.4.20 kernel. Why don't you switch to the latest 2.6 kernel?

Upgrading to a latest kernel is not possible right now, it is beyond my control

Quoted 2 lines

Run "hcidump -X -V" and see why the connection gets terminated.

I got the following on my board side (2.4.18 kernel)

< ACL data: handle 42 flags 0x02 dlen 192
< ACL data: handle 42 flags 0x02 dlen 192
< ACL data: handle 42 flags 0x01 dlen 192

Quoted 3 lines

ACL data: handle 42 flags 0x02 dlen 512
ACL data: handle 42 flags 0x01 dlen 512
HCI Event: Disconn Complete (0x05) plen 4

status 0x00 handle 42 reason 0x08
Reason: Connection Timeout

and on the pc side (running redhat linux )

Quoted 2 lines

ACL data: handle 41 flags 0x01 dlen 192
HCI Event: Disconn Complete (0x05) plen 4

status 0x00 handle 41 reason 0x08
Reason: Connection Timeout

Can you give some clues?
Regards,
Vijayakumar.

-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
_______________________________________________
Bluez-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-devel