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

[bluetooth-dev] Problem to start OpenBT Stack



Hi

   I've problem to start OpenBT stack on devboard. I've attached the log from 
serial port :

Uncompressing Linux...
Done. Now booting the kernel.
Linux version 2.4.14 (jonashg@xxxxxxx.96 20000427 
(experimental)) #1 Fri Dec 7 10:27:00 CET 2001
Setting up paging and the MMU.
On node 0 totalpages: 2048
zone(0): 2048 pages.
zone(1): 0 pages.
zone(2): 0 pages.
Linux/CRIS port on ETRAX 100LX (c) 2001 Axis Communications AB
Kernel command line: root=/dev/mtdblock3
Enabling watchdog...
Calibrating delay loop... 99.73 BogoMIPS
Memory: 14696k/16384k available (830k kernel code, 1688k reserved, 459k data, 
32k init)
kmem_create: Forcing size word alignment - mm_struct
kmem_create: Forcing size word alignment - filp
Dentry-cache hash table entries: 2048 (order: 1, 16384 bytes)
Inode-cache hash table entries: 1024 (order: 0, 8192 bytes)
kmem_create: Forcing size word alignment - inode_cache
Mount-cache hash table entries: 1024 (order: 0, 8192 bytes)
kmem_create: Forcing size word alignment - bdev_cache
kmem_create: Forcing size word alignment - cdev_cache
Buffer-cache hash table entries: 2048 (order: 0, 8192 bytes)
Page-cache hash table entries: 2048 (order: 0, 8192 bytes)
POSIX conformance testing by UNIFIX
Linux NET4.0 for Linux 2.4
Based upon Swansea University Computer Society NET3.039
kmem_create: Forcing size word alignment - sock
Starting kswapd
kmem_create: Forcing size word alignment - file lock cache
JFFS version 1.0, (C) 1999, 2000  Axis Communications AB
kmem_create: Forcing size word alignment - jffs_node
Bluetooth Driver v1.3, Copyright (c) 2000, 2001 Axis Communications AB
BT SYS: Bluetooth driver registered as ttyBT
BT SYS: Bluetooth line discipline registered.
BT (driver) Initialising bt ctrl struct
BT SYS: Registering BT proc files
BT SYS: Bluetooth Driver Using ttyBT[0-6] (data), ttyBTC (ctrl [7])
kmem_create: Forcing size word alignment - blkdev_requests
block: 64 slots per queue, batch=16
RAMDISK driver initialized: 16 RAM disks of 4096K size 1024 blocksize
PPP generic driver version 2.4.1
PPP Deflate Compression module registered
ETRAX 100LX 10/100MBit ethernet v2.0 (c) 2000-2001 Axis Communications AB
eth0 initialized
eth0: changed MAC to 00:40:8C:CD:00:00
ETRAX 100LX serial-driver $Revision: 1.27 $, (c) 2000 Axis Communications AB
ttyS0 at 0xb0000060 is a builtin UART with DMA
ttyS2 at 0xb0000070 is a builtin UART with DMA
ttyS3 at 0xb0000078 is a builtin UART with DMA
Axis flash mapping: 8000000 at f0000000
Axis flash: Found 1 x16 devices at 0x4000000 in 16-bit mode
 Amd/Fujitsu Extended Query Table v1.0 at 0x0040
Axis flash: JEDEC Device ID is 0xC4. Assuming broken CFI table.
Axis flash: Swapping erase regions for broken CFI table.
number of CFI chips: 2
 Found valid partition table at 0xF001000A-0xF0010056.
  /dev/flash1 at 0x10000, size 0x3a0000
  /dev/flash2 at 0x3b0000, size 0x50000
 Adding readonly partition for romfs image:
  /dev/flash3 at 0x92de3, size 0x150000
Creating 4 MTD partitions on "Axis flash":
0x00000000-0x00400000 : "part0"
0x00010000-0x003b0000 : "part1"
0x003b0000-0x00400000 : "part2"
0x00092de3-0x001e2de3 : "romfs"
ETRAX 100LX GPIO driver v2.2, (c) 2001 Axis Communications AB
NET4: Linux TCP/IP 1.0 for NET4.0
IP Protocols: ICMP, UDP, TCP, IGMP
kmem_create: Forcing size word alignment - ip_dst_cache
IP: routing cache hash table of 1024 buckets, 8Kbytes
TCP: Hash tables configured (established 2048 bind 2048)
ip_conntrack (128 buckets, 1024 max)
ip_tables: (c)2000 Netfilter core team
NET4: Unix domain sockets 1.0/SMP for Linux NET4.0.
VFS: Mounted root (cramfs filesystem) readonly.
Freeing unused kernel memory: 32k freed
Uncompressing Linux...
Done. Now booting the kernel.
Linux version 2.4.14 (jonashg@xxxxxxx.96 20000427 
(experimental)) #1 Fri Dec 7 10:27:00 CET 2001
Setting up paging and the MMU.
On node 0 totalpages: 2048
zone(0): 2048 pages.
zone(1): 0 pages.
zone(2): 0 pages.
Linux/CRIS port on ETRAX 100LX (c) 2001 Axis Communications AB
Kernel command line: root=/dev/mtdblock3
Enabling watchdog...
Calibrating delay loop... 99.73 BogoMIPS
Memory: 14696k/16384k available (830k kernel code, 1688k reserved, 459k data, 
32k init)
kmem_create: Forcing size word alignment - mm_struct
kmem_create: Forcing size word alignment - filp
Dentry-cache hash table entries: 2048 (order: 1, 16384 bytes)
Inode-cache hash table entries: 1024 (order: 0, 8192 bytes)
kmem_create: Forcing size word alignment - inode_cache
Mount-cache hash table entries: 1024 (order: 0, 8192 bytes)
kmem_create: Forcing size word alignment - bdev_cache
kmem_create: Forcing size word alignment - cdev_cache
Buffer-cache hash table entries: 2048 (order: 0, 8192 bytes)
Page-cache hash table entries: 2048 (order: 0, 8192 bytes)
POSIX conformance testing by UNIFIX
Linux NET4.0 for Linux 2.4
Based upon Swansea University Computer Society NET3.039
kmem_create: Forcing size word alignment - sock
Starting kswapd
kmem_create: Forcing size word alignment - file lock cache
JFFS version 1.0, (C) 1999, 2000  Axis Communications AB
kmem_create: Forcing size word alignment - jffs_node
Bluetooth Driver v1.3, Copyright (c) 2000, 2001 Axis Communications AB
BT SYS: Bluetooth driver registered as ttyBT
BT SYS: Bluetooth line discipline registered.
BT (driver) Initialising bt ctrl struct
BT SYS: Registering BT proc files
BT SYS: Bluetooth Driver Using ttyBT[0-6] (data), ttyBTC (ctrl [7])
kmem_create: Forcing size word alignment - blkdev_requests
block: 64 slots per queue, batch=16
RAMDISK driver initialized: 16 RAM disks of 4096K size 1024 blocksize
PPP generic driver version 2.4.1
PPP Deflate Compression module registered
ETRAX 100LX 10/100MBit ethernet v2.0 (c) 2000-2001 Axis Communications AB
eth0 initialized
eth0: changed MAC to 00:40:8C:CD:00:00
ETRAX 100LX serial-driver $Revision: 1.27 $, (c) 2000 Axis Communications AB
ttyS0 at 0xb0000060 is a builtin UART with DMA
ttyS2 at 0xb0000070 is a builtin UART with DMA
ttyS3 at 0xb0000078 is a builtin UART with DMA
Axis flash mapping: 8000000 at f0000000
Axis flash: Found 1 x16 devices at 0x4000000 in 16-bit mode
 Amd/Fujitsu Extended Query Table v1.0 at 0x0040
Axis flash: JEDEC Device ID is 0xC4. Assuming broken CFI table.
Axis flash: Swapping erase regions for broken CFI table.
number of CFI chips: 2
 Found valid partition table at 0xF001000A-0xF0010056.
  /dev/flash1 at 0x10000, size 0x3a0000
  /dev/flash2 at 0x3b0000, size 0x50000
 Adding readonly partition for romfs image:
  /dev/flash3 at 0x92de3, size 0x150000
Creating 4 MTD partitions on "Axis flash":
0x00000000-0x00400000 : "part0"
0x00010000-0x003b0000 : "part1"
0x003b0000-0x00400000 : "part2"
0x00092de3-0x001e2de3 : "romfs"
ETRAX 100LX GPIO driver v2.2, (c) 2001 Axis Communications AB
NET4: Linux TCP/IP 1.0 for NET4.0
IP Protocols: ICMP, UDP, TCP, IGMP
kmem_create: Forcing size word alignment - ip_dst_cache
IP: routing cache hash table of 1024 buckets, 8Kbytes
TCP: Hash tables configured (established 2048 bind 2048)
ip_conntrack (128 buckets, 1024 max)
ip_tables: (c)2000 Netfilter core team
NET4: Unix domain sockets 1.0/SMP for Linux NET4.0.
VFS: Mounted root (cramfs filesystem) readonly.
Freeing unused kernel memory: 32k freed
Uncompressing Linux...
Done. Now booting the kernel.
Linux version 2.4.14 (jonashg@xxxxxxx.96 20000427 
(experimental)) #1 Fri Dec 7 10:27:00 CET 2001
Setting up paging and the MMU.
On node 0 totalpages: 2048
zone(0): 2048 pages.
zone(1): 0 pages.
zone(2): 0 pages.
Linux/CRIS port on ETRAX 100LX (c) 2001 Axis Communications AB
Kernel command line: root=/dev/mtdblock3
Enabling watchdog...
Calibrating delay loop... 99.73 BogoMIPS
Memory: 14696k/16384k available (830k kernel code, 1688k reserved, 459k data, 
32k init)
kmem_create: Forcing size word alignment - mm_struct
kmem_create: Forcing size word alignment - filp
Dentry-cache hash table entries: 2048 (order: 1, 16384 bytes)
Inode-cache hash table entries: 1024 (order: 0, 8192 bytes)
kmem_create: Forcing size word alignment - inode_cache
Mount-cache hash table entries: 1024 (order: 0, 8192 bytes)
kmem_create: Forcing size word alignment - bdev_cache
kmem_create: Forcing size word alignment - cdev_cache
Buffer-cache hash table entries: 2048 (order: 0, 8192 bytes)
Page-cache hash table entries: 2048 (order: 0, 8192 bytes)
POSIX conformance testing by UNIFIX
Linux NET4.0 for Linux 2.4
Based upon Swansea University Computer Society NET3.039
kmem_create: Forcing size word alignment - sock
Starting kswapd
kmem_create: Forcing size word alignment - file lock cache
JFFS version 1.0, (C) 1999, 2000  Axis Communications AB
kmem_create: Forcing size word alignment - jffs_node
Bluetooth Driver v1.3, Copyright (c) 2000, 2001 Axis Communications AB
BT SYS: Bluetooth driver registered as ttyBT
BT SYS: Bluetooth line discipline registered.
BT (driver) Initialising bt ctrl struct
BT SYS: Registering BT proc files
BT SYS: Bluetooth Driver Using ttyBT[0-6] (data), ttyBTC (ctrl [7])
kmem_create: Forcing size word alignment - blkdev_requests
block: 64 slots per queue, batch=16
RAMDISK driver initialized: 16 RAM disks of 4096K size 1024 blocksize
PPP generic driver version 2.4.1
PPP Deflate Compression module registered
ETRAX 100LX 10/100MBit ethernet v2.0 (c) 2000-2001 Axis Communications AB
eth0 initialized
eth0: changed MAC to 00:40:8C:CD:00:00
ETRAX 100LX serial-driver $Revision: 1.27 $, (c) 2000 Axis Communications AB
ttyS0 at 0xb0000060 is a builtin UART with DMA
ttyS2 at 0xb0000070 is a builtin UART with DMA
ttyS3 at 0xb0000078 is a builtin UART with DMA
Axis flash mapping: 8000000 at f0000000
Axis flash: Found 1 x16 devices at 0x4000000 in 16-bit mode
 Amd/Fujitsu Extended Query Table v1.0 at 0x0040
Axis flash: JEDEC Device ID is 0xC4. Assuming broken CFI table.
Axis flash: Swapping erase regions for broken CFI table.
number of CFI chips: 2
 Found valid partition table at 0xF001000A-0xF0010056.
  /dev/flash1 at 0x10000, size 0x3a0000
  /dev/flash2 at 0x3b0000, size 0x50000
 Adding readonly partition for romfs image:
  /dev/flash3 at 0x92de3, size 0x150000
Creating 4 MTD partitions on "Axis flash":
0x00000000-0x00400000 : "part0"
0x00010000-0x003b0000 : "part1"
0x003b0000-0x00400000 : "part2"
0x00092de3-0x001e2de3 : "romfs"
ETRAX 100LX GPIO driver v2.2, (c) 2001 Axis Communications AB
NET4: Linux TCP/IP 1.0 for NET4.0
IP Protocols: ICMP, UDP, TCP, IGMP
kmem_create: Forcing size word alignment - ip_dst_cache
IP: routing cache hash table of 1024 buckets, 8Kbytes
TCP: Hash tables configured (established 2048 bind 2048)
ip_conntrack (128 buckets, 1024 max)
ip_tables: (c)2000 Netfilter core team
NET4: Unix domain sockets 1.0/SMP for Linux NET4.0.
VFS: Mounted root (cramfs filesystem) readonly.
Freeing unused kernel memory: 32k freed
init: starting up.
Mounting proc on /proc
Mounting /dev/flash2 on /mnt/flash

Axis Developer Board for Bluetooth release 1.0.0

Mounting tmpfs on /var
Initializing /var
Setting up eth0 with ip 217.9.64.241 and mac 00:40:8C:5B:A4:55
eth0: changed MAC to 00:40:8C:5B:A4:55
Setting up lo with ip 127.0.0.1
Default gateway is 217.9.64.193
Hostname is "axisGW"
Domainname is ""
Nameserver is ""
Masquerading outgoing packets on eth0
IP forwarding started
Jan  1 00:00:05 axisGW syslogd 1.3-3: restart.
boa: servername set to 217.9.64.241.
Jan  1 00:00:06 axisGW boa[60]: starting server
Jan  1 00:00:06 axisGW btdm: Bluetooth daemon starting
BT (driver) bt_open: Line 7
BT (driver) Registering tty on line 7 (btdm)
BT (driver) Now 1 open fd:s for ttyBTC [btdm]
BT (driver) bt_close: Line 7
BT (driver) Unregistering tty on line 7
BT (driver) bt_open: Line 7
BT (driver) Registering tty on line 7 (btdm)
BT (driver) Now 1 open fd:s for ttyBTC [btdm]
BT (driver) BTSETBCSPMODE: -1
BT (driver) bt_close: Line 7
BT (driver) Unregistering tty on line 7
BT (ldisc) bt_tty_open
BT SYS: Setting BT driver to use serial tty
BT SYS: Setting btdm_pid (63)
Jan  1 00:00:07 axisGW btdm: Registered bluetooth line discipline on 
/dev/ttyS3
BT (driver) bt_open: Line 7
BT (driver) Registering tty on line 7 (btdm)
BT (driver) Now 1 open fd:s for ttyBTC [btdm]
BT (ldisc) bt_tty_ioctl: Forwarding ioctl 0x540b to n_tty line disc
BT (driver) bt_open: Line 7
BT (driver) Registering tty on line 7 (btdm)
BT (driver) Now 2 open fd:s for ttyBTC [btdm]
BT (driver) bt_reset_phys_hw: Resetting Bluetooth hardware using pin G11 
(Active High)
BT SYS: ERROR: hci_receive_data: discarding 1 bytes
BT (driver) bt_open: Line 7
BT (driver) Registering tty on line 7 (btconfig)
BT (driver) Now 3 open fd:s for ttyBTC [btconfig]
Jan  1 00:00:07 axisGW sdp_server: SDP Server starting


Axis Developer Board for Bluetooth release 1.0.0
Linux 2.4.14 on a cris (console)

axisGW login: Jan  1 00:00:07 axisGW sftpd[58]: sftpd $Revision: 1.105 $ 
starting up
BT (driver) bt_close: Line 7
BT (driver) Unregistering tty on line 7
Jan  1 00:00:09BT SYS: Initialising Bluetooth Stack
 axisGW btdm: Init stack
BT SYS: Current HW: CSR
BT SYS: Initialising BTMEM [20000 bytes]
BT SYS: Initialising HCI
BT SYS: HCI emulator off
BT SYS: Initialising HCI inbuffers [16386]
BT SYS: Reading buffer sizes in HW module
cmd_timeout: Timeout when waiting for command response
BT SYS: Reading firmware info in HW module
cmd_timeout: Timeout when waiting for command response
cmd_timeout: Timeout when waiting for command response
cmd_timeout: Timeout when waiting for command response
BT SYS: Host flow control not enabled
BT SYS: M/S switch enabled
BT SYS: Force M/S switch set to 1
BT SYS: ERROR: HCI failed to initialise
BT SYS: Shutting down BCSP
BT SYS: Shutting down BTMEM
BT SYS: Initialising Bluetooth Stack
BT SYS: Current HW: CSR
BT SYS: Initialising BTMEM [20000 bytes]
BT SYS: Initialising HCI
BT SYS: HCI emulator off
BT SYS: Initialising HCI inbuffers [16386]
BT SYS: Reading buffer sizes in HW module
cmd_timeout: Timeout when waiting for command response
BT SYS: Reading firmware info in HW module
cmd_timeout: Timeout when waiting for command response
cmd_timeout: Timeout when waiting for command response
cmd_timeout: Timeout when waiting for command response
BT SYS: Host flow control not enabled
BT SYS: M/S switch enabled
BT SYS: Force M/S switch set to 1
BT SYS: ERROR: HCI failed to initialise
BT SYS: Shutting down BCSP
BT SYS: Shutting down BTMEM
BT (driver) BTSETBCSPMODE: -1
Jan  1 00:00:17 axisGW btdm: Init stack
Jan  1 00:00:26 axisGW btdm: Changing CSR host IF: BCSP -> H4
BT (driver) BTSETBCSPMODE: 1
BT (ldisc) bt_tty_ioctl: Forwarding ioctl 0x5401 to n_tty line disc
BT (driver) bt_open: Line 7
BT (driver) Registering tty on line 7 (btdm)
BT (driver) Now 3 open fd:s for ttyBTC [btdm]
BT (driver) BTSETBCSPMODE: -1
BT (driver) bt_close: Line 7
BT (driver) Unregistering tty on line 7
BT (ldisc) bt_tty_ioctl: Forwarding ioctl 0x5402 to n_tty line disc
BT (ldisc) bt_tty_ioctl: Forwarding ioctl 0x5401 to n_tty line disc
BT (driver) bt_open: Line 7
BT (driver) Registering tty on line 7 (btdm)
BT (driver) Now 3 open fd:s for ttyBTC [btdm]
BT (driver) bt_reset_phys_hw: Resetting Bluetooth hardware using pin G11 
(Active High)
BT (driver) bt_close: Line 7
BT (driver) Unregistering tty on line 7
BT (driver) BTINITBCSP
BT SYS: Initializing BCSP
BT SYS: ERROR: bcsp_sync_timeout: sync failed
Sync failed
BT SYS: Shutting down BCSP
csr_bcsp_to_h4: Connection timed out
waitpid sdp server: No child processes
BT SYS: Shutting down bluetooth stack
Shutting down Bluetooth stack
BT SYS: Disabling page scan
Jan  1 00:00:33 axisGW btdm: Shutting down bluetooth stack
cmd_timeout: Timeout when waiting for command response
BT SYS: Shutting down BCSP
BT SYS: Shutting down BTMEM
Bluetooth stack shut down
BT (driver) bt_close: Line 7
BT (driver) Unregistering tty on line 7
BT (ldisc) bt_tty_ioctl: Forwarding ioctl 0x540b to n_tty line disc
Jan  1 00:00:35 axisGW btdm: Bluetooth daemon starting
BT (driver) bt_open: Line 7
BT (driver) Registering tty on line 7 (btdm)
BT (driver) Now 2 open fd:s for ttyBTC [btdm]
BT (driver) bt_close: Line 7
BT (driver) Unregistering tty on line 7
BT (driver) bt_open: Line 7
BT (driver) Registering tty on line 7 (btdm)
BT (driver) Now 2 open fd:s for ttyBTC [btdm]
BT (driver) BTSETBCSPMODE: -1
BT (driver) bt_close: Line 7
BT (driver) Unregistering tty on line 7
BT (ldisc) bt_tty_open
BT SYS: Setting BT driver to use serial tty
BT SYS: Setting btdm_pid (66)
Jan  1 00:00:35 axisGW btdm: Registered bluetooth line discipline on 
/dev/ttyS3
BT (driver) bt_open: Line 7
Jan  1 00:00:35 axisGW sdp_server: SDP Server starting
BT (driver) Registering tty on line 7 (btdm)
BT (driver) Now 2 open fd:s for ttyBTC [btdm]
BT (ldisc) bt_tty_ioctl: Forwarding ioctl 0x540b to n_tty line disc
BT (driver) bt_open: Line 7
BT (driver) Registering tty on line 7 (btdm)
BT (driver) Now 3 open fd:s for ttyBTC [btdm]
BT (driver) bt_reset_phys_hw: Resetting Bluetooth hardware using pin G11 
(Active High)
BT (driver) bt_close: Line 7
BT (driver) Unregistering tty on line 7
Jan  1 00:00:37BT SYS: Initialising Bluetooth Stack
 axisGW btdm: Init stack
BT SYS: Current HW: CSR
BT SYS: Initialising BTMEM [20000 bytes]
BT SYS: Initializing BCSP
BT SYS: ERROR: bcsp_sync_timeout: sync failed
BT SYS: Shutting down BCSP
BT SYS: Shutting down BTMEM
BT SYS: Initialising Bluetooth Stack
BT SYS: Current HW: CSR



After the initialization the devboard goes in a infinite loop trying to start 
the OpenBT stack.
Can someone help me to find where is the error? I havent make any changes
to initial configuration of the board.

Tnx in advance,
Fabio Cornevilli
 

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