public inbox for linux-bluetooth@vger.kernel.org
 help / color / mirror / Atom feed
* [Bluez-devel] pand problem
@ 2005-08-23  6:50 Vijayakumar
  2005-08-23  7:04 ` Marcel Holtmann
  0 siblings, 1 reply; 3+ messages in thread
From: Vijayakumar @ 2005-08-23  6:50 UTC (permalink / raw)
  To: bluez-devel

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 
<maxk@qualcomm.com>
Aug 22 20:45:19 test1 kernel: BlueZ RFCOMM ver 0.4
Aug 22 20:45:19 test1 kernel: Copyright (C) 2002 Maxim Krasnyansky 
<maxk@qualcomm.com>
Aug 22 20:45:19 test1 kernel: Copyright (C) 2002 Marcel Holtmann 
<marcel@holtmann.org>
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 
<clement.moreau@inventel.fr>
Aug 22 20:45:29 test1 kernel: Written 2001,2002 by David Libault 
<david.libault@inventel.fr>
Aug 22 20:45:29 test1 kernel: Copyright (C) 2002 Maxim Krasnyanskiy 
<maxk@qualcomm.com>
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
Bluez-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-devel

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

* Re: [Bluez-devel] pand problem
  2005-08-23  6:50 [Bluez-devel] pand problem Vijayakumar
@ 2005-08-23  7:04 ` Marcel Holtmann
  2005-08-24  5:05   ` Vijayakumar
  0 siblings, 1 reply; 3+ messages in thread
From: Marcel Holtmann @ 2005-08-23  7:04 UTC (permalink / raw)
  To: bluez-devel

Hi Vijayakumar,

> 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?

>       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.

> 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
Bluez-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-devel

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

* Re: [Bluez-devel] pand problem
  2005-08-23  7:04 ` Marcel Holtmann
@ 2005-08-24  5:05   ` Vijayakumar
  0 siblings, 0 replies; 3+ messages in thread
From: Vijayakumar @ 2005-08-24  5:05 UTC (permalink / raw)
  To: bluez-devel

Hi Marcel,
>> 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.

> 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

> 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
> 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 )

> 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
Bluez-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-devel

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

end of thread, other threads:[~2005-08-24  5:05 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-08-23  6:50 [Bluez-devel] pand problem Vijayakumar
2005-08-23  7:04 ` Marcel Holtmann
2005-08-24  5:05   ` Vijayakumar

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