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

[bluetooth-dev] Trap from kernel when using btcon



Hello,

I am working on uClinux. I ported the stack on it. I can now make the
initialization (bti), and the inquiry (btinq) works.

But When I use btcon, I have a kernel panic. I'm surprised, because I
didn't change anything in the driver (bt.o) part, and the problem doesn't
appear  on 2.0.38 kernel on standard linux.

I use the 0.0.4 version of the stack, and my uClinux works on a DragonBall VZ.

If someone have some tips or information about this kernel panic, I will be
very thankfull, because I don't know where to search.

------ Copy of kernel messages ------

process_return_param, WRITE_LINK_POLICY_SETTINGS   
// Note : I always have had this error with policy settings.
 BT SYS: ERROR :process_return_param, WRITE_LINK_POLICY_SETTINGS: Unknown HCI Command
0x02 0x04 0x00 0x42 0x00 0x00 
0x00 
BT DATA -->|X|     36

-->|X| (36):
0x02 0x01 0x20 0x0e 0x00 0x0a 0x00 0x01 0x00 0x05 0x02 0x06 0x00 0x40 0x00 0x00 
0x00 0x00 0x00 0x02 0x01 0x20 0x0c 0x00 0x08 0x00 0x01 0x00 0x04 0x03 0x04 0x00 
0x40 0x00 0x00 0x00 
BT SYS: l2cap channel (64,66) [RFCOMM] connected
BT SYS: rfcomm_config_cfm: l2cap is now open
BT DATA <--|X|     19

<--|X| (19):
0x02 0x01 0x20 0x0e 0x00 0x0a 0x00 0x01 0x00 0x05 0x03 0x06 0x00 0x42 0x00 0x00 
0x00 0x00 0x00 
BT DATA <--|X|     13

<--|X| (13):
0x02 0x01 0x20 0x08 0x00 0x04 0x00 0x42 0x00 0x03 0x3f 0x01 0x1c 
BT DATA -->|X|     13

-->|X| (13):
0x02 0x01 0x20 0x08 0x00 0x04 0x00 0x40 0x00 0x03 0x73 0x01 0xd7 
KERNEL: Bad trap from supervisor state, vector=3

CURRENT PROCESS:

COMM=swapper PID=0
TEXT=10000400-1007fc6a DATA=00000000-00013908 BSS=00013908-0002e950
USER-STACK=00000000  KERNEL-STACK=000054d4

PC: 10073404
SR: 00002000    SP: 001edd76
d0: 00000000    d1: 00000004    d2: 00000000    d3: 00000007
d4: 0015d039    d5: 00024828    a0: 00000007    a1: ffffffff

USP: fddb85b8   TRAPFRAME: 001edd76

CODE:
100733e4: 102b0026 020000c0 80011740 0026422b 
100733f4: 0027222f 00440281 0000ffff e181202b 
10073404: 00270280 ff0000ff 80812740 00271746 
10073414: 002b422b 002a222b 00272001 e088defc 

KERNEL STACK:
001edd36: 0015d037 0015d018 0002b570 10001b8c 
001edd46: 001edd6e 10001b0c 00000003 10001bec 
001edd56: 00000003 001edd6e 00000001 100071b6 
001edd66: 00000003 001edd6e 00007f00 00000001 
001edd76: 00000004 00000000 00000007 0015d039 
001edd86: 00024828 00000007 ffffffff 00000000 
001edd96: 20350015 d03f202b 20001007 34040015 
001edda6: d0370000 00020015 d0370000 00000000 
001eddb6: 000a0000 00010000 00280000 00400000 
001eddc6: 00040000 00040000 00010002 b570001e 
001eddd6: 59f00000 00081007 16960002 b5700000 
001edde6: 00070000 007f0000 00000000 00000000 

Kernel panic: Trap from supervisor state
In swapper task - not syncing


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