[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bluetooth-dev] problem with ppp in kernel mode



hi,
we r working on ppp in kernel mode.
the log file is as follows:-
kindly guide

Mar 29 14:54:05 localhost kernel: BT (driver) Registering tty on line 7 
(btd)
Mar 29 14:54:05 localhost kernel: BT (driver) Now 1 open fd:s for 
ttyBTC 
[btd]
Mar 29 14:54:05 localhost kernel: BT (driver) bt_close: Line 7
Mar 29 14:54:05 localhost kernel: BT (driver) Unregistering tty on line 
7
Mar 29 14:54:05 localhost kernel: BT (ldisc) bt_tty_open
Mar 29 14:54:05 localhost kernel: BT SYS: Setting BT driver to use 
serial 
tty
Mar 29 14:54:05 localhost btd: Opening dev /dev/ttyBTC
Mar 29 14:54:05 localhost kernel: BT (driver) bt_open: Line 7
Mar 29 14:54:05 localhost kernel: BT (driver) Registering tty on line 7 
(btd)
Mar 29 14:54:05 localhost kernel: BT (driver) Now 1 open fd:s for 
ttyBTC 
[btd]
Mar 29 14:54:05 localhost kernel: BT (driver) bt_flush_buffer: Ignored
Mar 29 14:54:05 localhost kernel: BT SYS: Initialising Bluetooth Stack
Mar 29 14:54:05 localhost kernel: BT SYS: Current HW: Unknown
Mar 29 14:54:05 localhost kernel: BT SYS: Initialising BTMEM [2500 
bytes]
Mar 29 14:54:05 localhost kernel: BT SYS: Initialising HCI
Mar 29 14:54:05 localhost kernel: BT SYS: *** HCI emulator on ***
Mar 29 14:54:05 localhost kernel: BT SYS: Initialising HCI inbuffers 
[800]
Mar 29 14:54:05 localhost kernel: BT SYS: Reading buffer sizes in HW 
module
Mar 29 14:54:07 localhost kernel: cmd_timeout: Timeout when waiting for 
command response
Mar 29 14:54:07 localhost kernel: BT SYS: Reading firmware info in HW 
module
Mar 29 14:54:07 localhost kernel: BT SYS: ERROR: 
hci_read_firmware_rev_info 
[Generic] not supported.
Mar 29 14:54:07 localhost kernel: BT SYS: Host flow control not enabled
Mar 29 14:54:07 localhost kernel: BT SYS: M/S switch disabled
Mar 29 14:54:07 localhost kernel: BT SYS: Force M/S switch set to 0
Mar 29 14:54:07 localhost kernel: BT SYS: Initialising L2CAP
Mar 29 14:54:07 localhost kernel: command_handler: Unknown command 
ogf:0x4,ocf:0x9
Mar 29 14:54:09 localhost kernel: cmd_timeout: Timeout when waiting for 
command response
Mar 29 14:54:09 localhost kernel: BT SYS: ERROR: l2cap_init: Failed to 
get 
local BD addr
Mar 29 14:54:09 localhost kernel: BT SYS: Initialising RFCOMM
Mar 29 14:54:09 localhost kernel: BT SYS: Initialising SDP
Mar 29 14:54:09 localhost kernel: BT SYS: Init SDP as server
Mar 29 14:54:09 localhost kernel: BT SYS: Initialising TCS
Mar 29 14:54:09 localhost kernel: BT SYS: Initialising TEST
Mar 29 14:54:09 localhost kernel: BT (driver) __bt_ioctl: 
HCIWRITECLASSOFDEVICE
Mar 29 14:54:09 localhost kernel: command_handler: Unknown command 
ogf:0x3,ocf:0x24
Mar 29 14:54:11 localhost kernel: cmd_timeout: Timeout when waiting for 
command response
Mar 29 14:54:11 localhost kernel: BT (driver) __bt_ioctl: 
HCISETLOCALNAME
Mar 29 14:54:11 localhost kernel: command_handler: Unknown command 
ogf:0x3,ocf:0x13
Mar 29 14:54:13 localhost kernel: cmd_timeout: Timeout when waiting for 
command response
Mar 29 14:54:13 localhost kernel: BT (ldisc) bt_tty_ioctl: Forwarding 
ioctl 
0x5401 to n_tty line disc
Mar 29 14:54:13 localhost kernel: BT (ldisc) bt_tty_ioctl: Forwarding 
ioctl 
0x5402 to n_tty line disc
Mar 29 14:54:13 localhost kernel: BT (ldisc) bt_tty_ioctl: Forwarding 
ioctl 
0x5401 to n_tty line disc
Mar 29 14:54:13 localhost kernel: BT (ldisc) bt_tty_ioctl: Forwarding 
ioctl 
0x540b to n_tty line disc
Mar 29 14:54:18 localhost kernel: BT (driver) __bt_ioctl: BTCONNECT
Mar 29 14:54:18 localhost kernel: BT (driver) bt_connect: Connecting 
srv ch 
1 on line 0
Mar 29 14:54:18 localhost kernel:
Mar 29 14:54:18 localhost kernel: bd (6):
Mar 29 14:54:18 localhost kernel: 0x06 0x05 0x04 0x03 0x02 0x01
Mar 29 14:54:18 localhost kernel: l2ca_connect_req: wait baseband, 
sleep on 
wq 0xc3afbf68
Mar 29 14:54:18 localhost kernel: lp_connect_cfm (pos), wake up wq 
0xc3afbf68
Mar 29 14:54:18 localhost kernel: lp_connect_cfm, wake up flag not set
Mar 29 14:54:18 localhost kernel: command_handler: Unknown command 
ogf:0x3,ocf:0x24
Mar 29 14:54:18 localhost kernel: l2ca_connect_req: wait baseband, woke 
up !
Mar 29 14:54:18 localhost kernel: l2ca_connect_req: wait rsp, sleep on 
wq 
0xc3afbf68
Mar 29 14:54:18 localhost kernel: l2cap con rsp, wake up wq 0xc3afbf68
Mar 29 14:54:18 localhost kernel:
Mar 29 14:54:18 localhost kernel: l2cap options:  (0):
Mar 29 14:54:18 localhost kernel: l2ca_connect_req: wait rsp, woke up !
Mar 29 14:54:18 localhost kernel: BT SYS: l2cap channel (64,64) 
[RFCOMM] 
connected
Mar 29 14:54:18 localhost kernel: BT SYS: rfcomm_config_cfm: l2cap is 
now 
open
Mar 29 14:54:18 localhost kernel: BT SYS: bt_register_rfcomm: dlci 2 on 
line 
0
Mar 29 14:54:18 localhost kernel: BT (driver) bt_connect_cfm: Line 0 
[RCOMM]
Mar 29 14:54:23 localhost btd: build_pppdopt
Mar 29 14:54:23 localhost btd: IP addresses used : 192.0.0.1:192.0.0.2
Mar 29 14:54:23 localhost btd: start pppd...
Mar 29 14:54:23 localhost btd: Starting ppp client on /dev/ttyBT0
Mar 29 14:54:23 localhost btd: Spawned pppd[2106] in the background
Mar 29 14:54:23 localhost modprobe: modprobe: Can't locate module 
char-major-108
Mar 29 14:54:23 localhost btd: ppp child died, now restart!
Mar 29 14:54:23 localhost pppd[2108]: pppd 2.4.1 started by root, uid 0
Mar 29 14:54:23 localhost kernel: BT (driver) bt_open: Line 2
Mar 29 14:54:23 localhost kernel: BT (driver) Registering tty on line 2 
(pppd)
Mar 29 14:54:23 localhost kernel: BT (driver) bt_set_termios: 
Forwarding to 
serial driver
Mar 29 14:54:23 localhost kernel: BT (driver) bt_open: Line 2
Mar 29 14:54:23 localhost kernel: BT (driver) Registering tty on line 2 
(pppd)
Mar 29 14:54:23 localhost kernel: BT SYS: Warning: bt_register_tty: 
Line 
busy !
Mar 29 14:54:23 localhost kernel: BT (driver) bt_close: Line 2
Mar 29 14:54:23 localhost kernel: BT (driver) Unregistering tty on line 
2
Mar 29 14:54:23 localhost pppd[2108]: Failed to reopen /dev/ttyBT2: 
Device 
or resource busy
Mar 29 14:54:24 localhost pppd[2108]: Exit.
Mar 29 14:54:24 localhost kernel: BT (driver) bt_set_termios: 
Forwarding to 
serial driver
Mar 29 14:54:24 localhost kernel: BT (driver) bt_close: Line 2
Mar 29 14:54:24 localhost kernel: BT (driver) Unregistering tty on line 
2
Mar 29 14:54:24 localhost kernel: BT (driver) bt_unregister_tty: 
Invalid pid
Mar 29 14:55:24 localhost btd: Killing pppd
Mar 29 14:55:24 localhost btd: Shutting down bluetooth stack
Mar 29 14:55:24 localhost kernel: BT SYS: Shutting down bluetooth stack
Mar 29 14:55:24 localhost kernel: BT SYS: Disconnecting dlci 2 on line 
0
Mar 29 14:55:25 localhost kernel: BT SYS: rfcomm_receive_data: RFCOMM 
disconnected ctrl ch (local) on line [0]
Mar 29 14:55:25 localhost kernel: l2ca_disconnect_req, sleep on wq 
0xc3afbf68
Mar 29 14:55:25 localhost kernel: BT (driver) bt_disconnect_ind: RFCOMM 
dlci: 0
Mar 29 14:55:25 localhost kernel: BT (driver) bt_unregister_rfcomm: 
Line 0
Mar 29 14:55:25 localhost kernel: BT (driver) bt_hangupline: Hanging up 
line 
0
Mar 29 14:55:25 localhost kernel: BT SYS: Warning: bt_hangupline: No 
upper 
tty
Mar 29 14:55:25 localhost kernel: BT (driver) bt_disconnect_cfm: PSM 3, 
status 0
Mar 29 14:55:25 localhost kernel: BT SYS: l2cap channel (64,64) 
[RFCOMM] 
disconnected
Mar 29 14:55:25 localhost kernel: l2cap disc rsp, wake up wq 0xc3afbf68
Mar 29 14:55:25 localhost kernel: l2ca_disconnect_req, woke up !
Mar 29 14:55:25 localhost kernel: BT SYS: l2ca_disconnect_req : (C) no 
more 
l2cap cons
Mar 29 14:55:25 localhost kernel: BT SYS: Shutdown baseband
Mar 29 14:55:25 localhost kernel: BT SYS: lp_disconnect_ind: Connection 
handle 0 disconnected
Mar 29 14:55:27 localhost kernel: cmd_timeout: Timeout when waiting for 
command response
Mar 29 14:55:27 localhost kernel: BT SYS: Shutting down RFCOMM
Mar 29 14:55:27 localhost kernel: BT SYS: Shutting down SDP
Mar 29 14:55:27 localhost kernel: BT SYS: Shutting down TCS
Mar 29 14:55:27 localhost kernel: BT SYS: Shutting down L2CAP
Mar 29 14:55:27 localhost kernel: BT SYS: Shutting down BTMEM
Mar 29 14:55:27 localhost btd: Killing pppd
Mar 29 14:55:27 localhost btd: close_device
Mar 29 14:55:27 localhost kernel: BT (driver) bt_close: Line 7
Mar 29 14:55:27 localhost kernel: BT (driver) Unregistering tty on line 
7
Mar 29 14:55:27 localhost kernel: BT (ldisc) bt_tty_ioctl: Forwarding 
ioctl 
0x540b to n_tty line disc
Mar 29 14:55:27 localhost btd: close_device
Mar 29 15:00:55 localhost btd: Initiating signal handler
Mar 29 15:00:55 localhost btd: Opening dev /dev/ttyS0
Mar 29 15:00:55 localhost kernel: BT (driver) bt_open: Line 7
Mar 29 15:00:55 localhost kernel: BT (driver) Registering tty on line 7 
(btd)
Mar 29 15:00:55 localhost kernel: BT (driver) Now 1 open fd:s for 
ttyBTC 
[btd]
Mar 29 15:00:55 localhost kernel: BT (driver) bt_close: Line 7
Mar 29 15:00:55 localhost kernel: BT (driver) Unregistering tty on line 
7
Mar 29 15:00:55 localhost kernel: BT (ldisc) bt_tty_open
Mar 29 15:00:55 localhost kernel: BT SYS: Setting BT driver to use 
serial 
tty
Mar 29 15:00:55 localhost btd: Opening dev /dev/ttyBTC
Mar 29 15:00:55 localhost kernel: BT (driver) bt_open: Line 7
Mar 29 15:00:55 localhost kernel: BT (driver) Registering tty on line 7 
(btd)
Mar 29 15:00:55 localhost kernel: BT (driver) Now 1 open fd:s for 
ttyBTC 
[btd]
Mar 29 15:00:55 localhost kernel: BT (driver) bt_flush_buffer: Ignored
Mar 29 15:00:55 localhost kernel: BT SYS: Initialising Bluetooth Stack
Mar 29 15:00:55 localhost kernel: BT SYS: Current HW: Unknown
Mar 29 15:00:55 localhost kernel: BT SYS: Initialising BTMEM [2500 
bytes]
Mar 29 15:00:55 localhost kernel: BT SYS: Initialising HCI
Mar 29 15:00:55 localhost kernel: BT SYS: *** HCI emulator on ***
Mar 29 15:00:55 localhost kernel: BT SYS: Initialising HCI inbuffers 
[800]
Mar 29 15:00:55 localhost kernel: BT SYS: Reading buffer sizes in HW 
module
Mar 29 15:00:57 localhost kernel: cmd_timeout: Timeout when waiting for 
command response
Mar 29 15:00:57 localhost kernel: BT SYS: Reading firmware info in HW 
module
Mar 29 15:00:57 localhost kernel: BT SYS: ERROR: 
hci_read_firmware_rev_info 
[Generic] not supported.
Mar 29 15:00:57 localhost kernel: BT SYS: Host flow control not enabled
Mar 29 15:00:57 localhost kernel: BT SYS: M/S switch disabled
Mar 29 15:00:57 localhost kernel: BT SYS: Force M/S switch set to 0
Mar 29 15:00:57 localhost kernel: BT SYS: Initialising L2CAP
Mar 29 15:00:57 localhost kernel: command_handler: Unknown command 
ogf:0x4,ocf:0x9
Mar 29 15:00:59 localhost kernel: cmd_timeout: Timeout when waiting for 
command response
Mar 29 15:00:59 localhost kernel: BT SYS: ERROR: l2cap_init: Failed to 
get 
local BD addr
Mar 29 15:00:59 localhost kernel: BT SYS: Initialising RFCOMM
Mar 29 15:00:59 localhost kernel: BT SYS: Initialising SDP
Mar 29 15:00:59 localhost kernel: BT SYS: Init SDP as server
Mar 29 15:00:59 localhost kernel: BT SYS: Initialising TCS
Mar 29 15:00:59 localhost kernel: BT SYS: Initialising TEST
Mar 29 15:00:59 localhost kernel: BT (driver) __bt_ioctl: 
HCIWRITECLASSOFDEVICE
Mar 29 15:00:59 localhost kernel: command_handler: Unknown command 
ogf:0x3,ocf:0x24
Mar 29 15:01:01 localhost kernel: cmd_timeout: Timeout when waiting for 
command response
Mar 29 15:01:01 localhost kernel: BT (driver) __bt_ioctl: 
HCISETLOCALNAME
Mar 29 15:01:01 localhost kernel: command_handler: Unknown command 
ogf:0x3,ocf:0x13
Mar 29 15:01:03 localhost kernel: cmd_timeout: Timeout when waiting for 
command response
Mar 29 15:01:03 localhost kernel: BT (ldisc) bt_tty_ioctl: Forwarding 
ioctl 
0x5401 to n_tty line disc
Mar 29 15:01:03 localhost kernel: BT (ldisc) bt_tty_ioctl: Forwarding 
ioctl 
0x5402 to n_tty line disc
Mar 29 15:01:03 localhost kernel: BT (ldisc) bt_tty_ioctl: Forwarding 
ioctl 
0x5401 to n_tty line disc
Mar 29 15:01:03 localhost kernel: BT (ldisc) bt_tty_ioctl: Forwarding 
ioctl 
0x540b to n_tty line disc
Mar 29 15:01:06 localhost kernel: BT (driver) __bt_ioctl: BTCONNECT
Mar 29 15:01:06 localhost kernel: BT (driver) bt_connect: Connecting 
srv ch 
1 on line 0
Mar 29 15:01:06 localhost kernel:
Mar 29 15:01:06 localhost kernel: bd (6):
Mar 29 15:01:06 localhost kernel: 0x06 0x05 0x04 0x03 0x02 0x01
Mar 29 15:01:06 localhost kernel: l2ca_connect_req: wait baseband, 
sleep on 
wq 0xc15dd248
Mar 29 15:01:07 localhost kernel: lp_connect_cfm (pos), wake up wq 
0xc15dd248
Mar 29 15:01:07 localhost kernel: lp_connect_cfm, wake up flag not set
Mar 29 15:01:07 localhost kernel: command_handler: Unknown command 
ogf:0x3,ocf:0x24
Mar 29 15:01:07 localhost kernel: l2ca_connect_req: wait baseband, woke 
up !
Mar 29 15:01:07 localhost kernel: l2ca_connect_req: wait rsp, sleep on 
wq 
0xc15dd248
Mar 29 15:01:07 localhost kernel: l2cap con rsp, wake up wq 0xc15dd248
Mar 29 15:01:07 localhost kernel:
Mar 29 15:01:07 localhost kernel: l2cap options:  (0):
Mar 29 15:01:07 localhost kernel: l2ca_connect_req: wait rsp, woke up !
Mar 29 15:01:07 localhost kernel: BT SYS: l2cap channel (64,64) 
[RFCOMM] 
connected
Mar 29 15:01:07 localhost kernel: BT SYS: rfcomm_config_cfm: l2cap is 
now 
open
Mar 29 15:01:07 localhost kernel: BT SYS: bt_register_rfcomm: dlci 2 on 
line 
0
Mar 29 15:01:07 localhost kernel: BT (driver) bt_connect_cfm: Line 0 
[RCOMM]
Mar 29 15:01:09 localhost btd: build_pppdopt
Mar 29 15:01:09 localhost btd: IP addresses used : 192.0.0.1:192.0.0.2
Mar 29 15:01:09 localhost btd: start pppd...
Mar 29 15:01:09 localhost btd: Starting ppp client on /dev/ttyBT0
Mar 29 15:01:09 localhost btd: Spawned pppd[2161] in the background
Mar 29 15:01:09 localhost modprobe: modprobe: Can't locate module 
char-major-108
Mar 29 15:01:09 localhost btd: ppp child died, now restart!
Mar 29 15:01:10 localhost pppd[2163]: pppd 2.4.1 started by root, uid 0
Mar 29 15:01:10 localhost kernel: BT (driver) bt_open: Line 2
Mar 29 15:01:10 localhost kernel: BT (driver) Registering tty on line 2 
(pppd)
Mar 29 15:01:10 localhost kernel: BT (driver) bt_set_termios: 
Forwarding to 
serial driver
Mar 29 15:01:10 localhost kernel: BT (driver) bt_open: Line 2
Mar 29 15:01:10 localhost kernel: BT (driver) Registering tty on line 2 
(pppd)
Mar 29 15:01:10 localhost kernel: BT SYS: Warning: bt_register_tty: 
Line 
busy !
Mar 29 15:01:10 localhost kernel: BT (driver) bt_close: Line 2
Mar 29 15:01:10 localhost kernel: BT (driver) Unregistering tty on line 
2
Mar 29 15:01:10 localhost pppd[2163]: Failed to reopen /dev/ttyBT2: 
Device 
or resource busy
Mar 29 15:01:11 localhost pppd[2163]: Exit.
Mar 29 15:01:11 localhost kernel: BT (driver) bt_set_termios: 
Forwarding to 
serial driver
Mar 29 15:01:11 localhost kernel: BT (driver) bt_close: Line 2
Mar 29 15:01:11 localhost kernel: BT (driver) Unregistering tty on line 
2
Mar 29 15:01:11 localhost kernel: BT (driver) bt_unregister_tty: 
Invalid pid

-------------------------------------------------
This mail helped a tree grow. Know more at http://green.sify.com

Take the shortest route to success! 
Click here to know how http://education.sify.com

-
To unsubscribe from this list: send the line "unsubscribe bluetooth-dev" in
the body of a message to majordomo@xxxxxxx.com