hciattach crash in 4.6.7 kernel

cancel
Showing results for 
Search instead for 
Did you mean: 

hciattach crash in 4.6.7 kernel

178 Views
Contributor III

Hello,

    I am working with 4.6.7 kernel :

linux-imx - i.MX Linux kernel 

  and trying to initialize a bluetooth interface but I have the crash log attached.

  Has anyone used ACM functionality successfully on this kernel?

Thanks,

      Mihaita

Labels (1)
0 Kudos
3 Replies

18 Views
Contributor III

I get the following issue mainly:

76.308451] Exception stack(0xdd4d3b28 to 0xdd4d3b70)
[ 76.313535] 3b20: 00000001 00000110 00000000 dd23bc00 a0070013 dda21a84
[ 76.321748] 3b40: ddbb8800 a0070013 00000081 dda21800 dda21a84 dd4d3b8c dd4d3b20 dd4d3b78
[ 76.329954] 3b60: c016bd48 c092782c 20070013 ffffffff
[ 76.335028] r10:dda21a84 r9:dda21800 r8:00000081 r7:dd4d3b5c r6:ffffffff r5:20070013
[ 76.343012] r4:c092782c
[ 76.345612] [<c09277f0>] (_raw_spin_unlock_irqrestore) from [<c05d621c>] (ehci_urb_enqueue+0xe8/0xdbc)
[ 76.354938] r5:00000000 r4:dd4d3bc0
[ 76.358603] [<c05d6134>] (ehci_urb_enqueue) from [<c05bbc10>] (usb_hcd_submit_urb+0xb4/0x86c)
[ 76.367148] r10:de4e0000 r9:00000003 r8:024000c0 r7:00000000 r6:dda21800 r5:ddbb8808
[ 76.375132] r4:ddbb8800
[ 76.377729] [<c05bbb5c>] (usb_hcd_submit_urb) from [<c05bd364>] (usb_submit_urb+0x2a8/0x4fc)
[ 76.386187] r10:de4e0000 r9:00000003 r8:00000204 r7:00000002 r6:dd9ef000 r5:024000c0
[ 76.394171] r4:ddbb8800
[ 76.396769] [<c05bd0bc>] (usb_submit_urb) from [<c05d9ad0>] (acm_submit_read_urb+0x48/0x8c)
[ 76.405140] r10:de4e0000 r9:00000102 r8:dd270800 r7:dd270b60 r6:dd270800 r5:0000000d
[ 76.413125] r4:024000c0
[ 76.415722] [<c05d9a88>] (acm_submit_read_urb) from [<c05db238>] (acm_port_activate+0x13c/0x1a4)
[ 76.424527] r7:0000000d r6:dd270d38 r5:00000000 r4:dd27080c
[ 76.430333] [<c05db0fc>] (acm_port_activate) from [<c04781e0>] (tty_port_open+0x88/0xc8)
[ 76.438444] r9:00000102 r8:c1648ad8 r7:de433140 r6:dd27092c r5:de4e0000 r4:dd27080c
[ 76.446360] [<c0478158>] (tty_port_open) from [<c05dac88>] (acm_tty_open+0x20/0x24)
[ 76.454037] r9:00000102 r8:c1648ad8 r7:dd711650 r6:0a600000 r5:de433140 r4:de4e0000
[ 76.461954] [<c05dac68>] (acm_tty_open) from [<c047098c>] (tty_open+0xbc/0x674)
[ 76.469304] [<c04708d0>] (tty_open) from [<c0218c1c>] (chrdev_open+0xa4/0x180)
[ 76.476550] r10:00000000 r9:00000000 r8:00000000 r7:c0a3b534 r6:de433140 r5:dd711650
[ 76.484533] r4:ddbbab40
[ 76.487127] [<c0218b78>] (chrdev_open) from [<c0211af8>] (do_dentry_open+0x1e4/0x308)
[ 76.494977] r7:c0218b78 r6:de433148 r5:dd711650 r4:de433140
[ 76.500776] [<c0211914>] (do_dentry_open) from [<c0212ce0>] (vfs_open+0x60/0x88)
[ 76.508193] r9:00000000 r8:00000000 r7:dd4d3ea8 r6:dd4d3f5c r5:de433140 r4:dd4d3ea8
[ 76.516111] [<c0212c80>] (vfs_open) from [<c0221d30>] (path_openat+0x4e0/0x1024)
[ 76.523527] r5:00000102 r4:de001508
[ 76.527190] [<c0221850>] (path_openat) from [<c0224434>] (do_filp_open+0x68/0xcc)
[ 76.534693] r10:00000000 r9:dd4d2000 r8:c0107f84 r7:00000001 r6:dd4d3f5c r5:dd4d3ea8
[ 76.542677] r4:00000003
[ 76.545271] [<c02243cc>] (do_filp_open) from [<c0213028>] (do_sys_open+0x108/0x1c8)
[ 76.552948] r7:00000005 r6:dd7bc000 r5:ffffff9c r4:00000003
[ 76.558748] [<c0212f20>] (do_sys_open) from [<c0213108>] (SyS_open+0x20/0x24)
[ 76.565904] r9:dd4d2000 r8:c0107f84 r7:00000005 r6:bef3bd84 r5:bef3ac08 r4:00037390
[ 76.573824] [<c02130e8>] (SyS_open) from [<c0107de0>] (ret_fast_syscall+0x0/0x1c)

When doing: 

#hciattach /dev/ttyACM0 bcsp . BT driver is  for QCA9378 chipset.

  I have this error on 4.6.7 kernel but on older kernels(4.1.15) it works.

  What could be the issue?

Thanks,

      Mihaita

0 Kudos

18 Views
Contributor III

The bluez version is 5.19. Has anyone experienced issues with hciattch for this bluez package?

Thanks,

      Mihaita

0 Kudos

18 Views
Contributor III

Sorry, I meant 5.49 bluez version.

Thanks,

      Mihaita

0 Kudos