FAQ: [#6731] mcapi packet stress test fails(2011)

Document created by Aaronwu Employee on Sep 12, 2013
Version 1Show Document
  • View in full screen mode

[#6731] mcapi packet stress test fails

Submitted By: Mingquan Pan

Open Date

2011-08-16 02:16:47     Close Date

2011-09-01 02:43:46

Priority:

Medium     Assignee:

steven miao

Status:

Closed     Fixed In Release:

N/A

Found In Release:

2011R1     Release:

Category:

N/A     Board:

N/A

Processor:

ALL     Silicon Revision:

Is this bug repeatable?:

Yes     Resolution:

Fixed

Uboot version or rev.:

    Toolchain version or rev.:

5013

App binary format:

N/A     

Summary: mcapi packet stress test fails

Details:

 

mcapi packet stress test fails when continuous data buffer being sent to coreB.

 

like following , it fails at the 5th data being sent from coreA.

 

pkt1:

 

sm_debug:sm_send_packet: 0 027b0800

sm_debug:sm_send_packet: len 32 type 5000000 dst 1 dstep 5 src 0 srcep 100

sm_debug:alloc buffer 27ca960

sm_debug:sm_default_sendmsg session type 5

sm_debug:sm_default_sendmsg: len 32 type 5000000 dst 1 dstep 5 src 0 srcep 100

sm_debug:sm_send_packet: len 32 type 5000000 dst 1 dstep 5 src 0 srcep 100

sm_debug:sm_send_message_internal: dst 1 src 0

sm_debug:send message cpu 1 sent 7

coreA: The 1 time sending, status 1sm_debug:ioctl type 0

sm_debug:sm_send_packet: 0 027b0800_trans_pktchan_send_i send_handle 100

MCAPI_DEBUG:domain 0 node 0 endpoint 100

MCAPI_DEBUG:index 100 100

MCAPI_DEBUG:domain 0 node 1 endpoint 5

MCAPI_DEBUG:index 0, re 5, rn 1

 

sm_debug:sm_send_packet: len 32 type 5000000 dst 1 dstep 5 src 0 srcep 100

sm_debug:feb1f300 COREB: sm_handle_control_message type 5000006

sm_debug:       55 : 54

sm_debug:received 55

sm_debug:alloc buffer 27ca9a0

sm_debug:sm_default_sendmsg session type 5

sm_debug:sm_default_sendmsg: len 32 type 5000000 dst 1 dstep 5 src 0 srcep 100

sm_debug:sm_send_packet: len 32 type 5000000 dst 1 dstep 5 src 0 srcep 100

sm_debug:sm_send_message_internal: dst 1 src 0

sm_debug:send message cpu 1 sent 8

coreA: The 2 time sending, status 1sm_debug:ioctl type 0

 

pktchan send i

MCAPI_DEBUG:mcapi_trans_pktchan_send_i send_handle 100

MCAPI_DEBUG:domain 0 node 0 endpoint 100

MCAPI_DEBUG:index 100 100

MCAPI_DEBUG:domain 0 node 1 endpoint 5

MCAPI_DEBUG:index 0, re 5, rn 1

sm_debug:sm_send_packet: 0 027b0800

sm_debug:sm_send_packet: len 32 type 5000000 dst 1 dstep 5 src 0 srcep 100

sm_debug:alloc buffer 27ca9e0

sm_debug:sm_default_sendmsg session type 5

sm_debug:sm_default_sendmsg: len 32 type 5000000 dst 1 dstep 5 src 0 srcep 100

sm_debug:sm_send_packet: len 32 type 5000000 dst 1 dstep 5 src 0 srcep 100

sm_debug:sm_send_message_internal: dst 1 src 0

sm_debug:send message cpu 1 sent 9

coreA: The 3 time sending, status 1sm_debug:ioctl type 0

sm_debug:sm_send_packet: 0 027b0800_trans_pktchan_send_i send_handle 100

MCAPI_DEBUG:domain 0 node 0 endpoint 100

MCAPI_DEBUG:index 100 100

MCAPI_DEBUG:domain 0 node 1 endpoint 5

MCAPI_DEBUG:index 0, re 5, rn 1

 

sm_debug:sm_send_packet: len 32 type 5000000 dst 1 dstep 5 src 0 srcep 100

sm_debug:alloc buffer 27caa20

sm_debug:sm_default_sendmsg session type 5

sm_debug:sm_default_sendmsg: len 32 type 5000000 dst 1 dstep 5 src 0 srcep 100

sm_debug:sm_send_packet: len 32 type 5000000 dst 1 dstep 5 src 0 srcep 100

sm_debug:sm_send_message_internal: dst 1 src 0

sm_debug:send message cpu 1 sent 10

coreA: The 4 time sending, status 1sm_debug:ioctl type 0

trans_pktchan_send_i send_handle 100

MCAPI_DEBUG:domain 0 node 0 endpoint 100

MCAPI_DEBUG:index 100 100

MCAPI_DEBUG:domain 0 node 1 endpoint 5

MCAPI_DEBUG:index 0, re 5, rn 1

 

sm_debug:sm_send_packet: len 32 type 5000000 dst 1 dstep 5 src 0 srcep 100

sm_debug:feb1f380 COREB: sm_handle_control_message type 5000006

sm_debug:       56 : 55

sm_debug:received 56

sm_debug:alloc buffer 27caa60

sm_debug:sm_default_sendmsg session type 5

sm_debug:sm_default_sendmsg: len 32 type 5000000 dst 1 dstep 5 src 0 srcep 100

sm_debug:sm_send_packet: len 32 type 5000000 dst 1 dstep 5 src 0 srcep 100

sm_debug:sm_send_message_internal: dst 1 src 0

sm_debug:send message cpu 1 sent 11

coreA: The 5 time sending, status 1sm_debug:ioctl type 0

trans_pktchan_send_i send_handle 100

MCAPI_DEBUG:domain 0 node 0 endpoint 100

MCAPI_DEBUG:index 100 100

MCAPI_DEBUG:domain 0 node 1 endpoint 5

MCAPI_DEBUG:index 0, re 5, rn 1

 

sm_debug:sm_send_packet: len 32 type 5000000 dst 1 dstep 5 src 0 srcep 100

sm_debug:alloc buffer 27caaa0

sm_debug:sm_default_sendmsg session type 5

sm_debug:sm_default_sendmsg: len 32 type 5000000 dst 1 dstep 5 src 0 srcep 100

sm_debug:sm_send_packet: len 32 type 5000000 dst 1 dstep 5 src 0 srcep 100

sm_debug:sm_send_message_internal: dst 1 src 0

sm_debug:over run

sm_debug:feb1f000 COREB: sm_handle_control_message type 5000006

sm_debug:       57 : 56

sm_debug:received 57

sm_debug:feb1f080 COREB: @@@ wake up

sm_debug:       58 : 57

sm_debug:received 58

sm_debug:feb1f100 COREB: index 0 ,local ep 5

sm_debug:       59 : 58

sm_debug:received 59

sm_debug:feb1f180 COREB: index 1 ,local ep 6

sm_debug:       60 : 59

sm_debug:received 60

sm_debug:feb1f200 COREB: msg type 5000006 index 1 session type 5

sm_debug:       61 : 60

sm_debug:received 61

sm_debug:feb1f280 COREB: type 5000006, dstep 6, srcep 200

sm_debug:       62 : 61

sm_debug:received 62

sm_debug:feb1f300 COREB: connected 1 200

sm_debug:       63 : 62

sm_debug:received 63

sm_debug:feb1f380 COREB: index 0 ,local ep 5

sm_debug:       64 : 63

sm_debug:received 64

sm_debug:feb1f000 COREB: msg type 5000000 index 0 session type 5

sm_debug:       65 : 64

sm_debug:received 65

sm_debug:feb1f080 COREB: type 5000000, dstep 5, srcep 100

sm_debug:       66 : 65

sm_debug:received 66

sm_debug:feb1f100 COREB: recved packet msg handle0

sm_debug:       67 : 66

sm_debug:received 67

sm_debug:feb1f180 COREB: msg_recv_internal msg type 5000000 alloc 3d40000

sm_debug:       68 : 67

sm_debug:received 68

sm_debug:feb1f200 COREB: avail 1

sm_debug:       69 : 68

sm_debug:received 69

sm_debug:feb1f280 COREB: index 0 avail 1

sm_debug:       70 : 69

sm_debug:received 70

sm_debug:feb1f300 COREB: mcapi_trans_valid_endpoint ep 65541 index 0 valid 1

sm_debug:       71 : 70

sm_debug:received 71

sm_debug:feb1f380 COREB: open recv chan status 1  

sm_debug:       72 : 71

sm_debug:received 72

sm_debug:feb1f000 COREB:  sm_recv_packet session type 5 localep5

sm_debug:       73 : 72

sm_debug:received 73

sm_debug:feb1f080 COREB: sm_recv_packet() mcapi_pkt1

sm_debug:       74 : 73

sm_debug:received 74

sm_debug:feb1f100 COREB:  sm_recv_packet msg

sm_debug:       75 : 74

sm_debug:received 75

sm_debug:feb1f180 COREB: index 0, se 100, sn 0

sm_debug:       76 : 75

sm_debug:received 76

sm_debug:feb1f200 COREB: endpoint=65541 has received: [mcapi_pkt1]

sm_debug:       77 : 76

sm_debug:received 77

sm_debug:feb1f280 COREB: mcapi_trans_valid_endpoint ep 65542 index 1 valid 1

sm_debug:       78 : 77

sm_debug:received 78

sm_debug:feb1f300 COREB: mcapi_trans_channel_connected 519 1 remote200

sm_debug:       79 : 78

sm_debug:received 79

sm_debug:feb1f380 COREB: index 0 ,local ep 5

sm_debug:       80 : 79

sm_debug:received 80

sm_debug:feb1f000 COREB: index 1 ,local ep 6

sm_debug:       81 : 80

sm_debug:received 81

sm_debug:feb1f080 COREB: open pktchan send

sm_debug:       82 : 81

sm_debug:received 82

sm_debug:feb1f100 COREB: mcapi_trans_valid_endpoint ep 65542 index 1 valid 1

sm_debug:       83 : 82

sm_debug:received 83

sm_debug:feb1f180 COREB: open send chan status 1  

sm_debug:       84 : 83

sm_debug:received 84

sm_debug:feb1f200 COREB: sm_default_sendmsg msg type 5000000

sm_debug:       85 : 84

sm_debug:received 85

sm_debug:feb1f280 COREB: sm_send_message_internal() dst 0 src 1 5000000

sm_debug:       86 : 85

sm_debug:received 86

sm_debug:sm_find_session bits 00000003 localep 200

sm_debug:index 0 ,local ep 100 type 5

sm_debug:index 1 ,local ep 200 type 5

sm_debug:session 027b083c index 1 msg type5000000

sm_debug:sm_default_recvmsg msg type 5000000

INFO: task iccqd:148 blocked for more than 120 seconds.

"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.

iccqd           D ffa00aac     0   148      2 0x00000000

Stack info:

SP: [0x027b5ea8] <0x027b5ea8> /* kernel dynamic memory */

FP: (0x027b5fa0)

Memory from 0x027b5ea0 to 027b6000

027b5ea0: 00000001  ffffffc0 [00123214] 0204c430  00000000  0204c2e0  0018bba0  02798ae0

027b5ec0: 0018d858  027b5ee4  ffa01eea  027b4000  027b5f00  0000e618  027b4008  027b4000

027b5ee0: 027b4000  027b0f9c  ffa02862  027b0f98  0204c2e0  0018d0e4  00000002  ffffffc0

027b5f00: ffffffff  0000003f  020000c0  00189854  027b083c  027b0f9c  027b0f9c  0204c2e0

027b5f20: 027b5f7c  000c8dd2  00189854  027cac40  027b083c  00000798  00000000  00000001

027b5f40: 00000000  feb18064  00000000  00000000  00000001  000c8fce  027b083c  00189854

027b5f60: feb18064  00000000  000c8bf6  0012e668  05000000  00000001  05000000  00000000

027b5f80: 000c8d3c  027b4000  00189854  00000000  00000000  00000007  027b4000  027b4000

027b5fa0:(00000000)

0201bf68  000c8cd8  00000000  feb18000  00000000  00000000

027b5fc0: 00000000  00000000  00000000  0002490c  00000000  feb18000  00000000  027b5fdc

027b5fe0: 027b5fdc

00000000  00000000  00000000  00000000  ffffffff  00000006

Return addresses in stack:

   frame  1 : <0x00024968> { _kthread + 0x5c }

    address : <0x00001556> { _kernel_thread_helper + 0x6 }

INFO: task iccqd:148 blocked for more than 120 seconds.

"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.

iccqd           D ffa00aac     0   148      2 0x00000000

Stack info:

SP: [0x027b5ea8] <0x027b5ea8> /* kernel dynamic memory */

FP: (0x027b5fa0)

Memory from 0x027b5ea0 to 027b6000

027b5ea0: 00000001  ffffffc0 [00123214] 0204c430  00000000  0204c2e0  0018bba0  02798ae0

027b5ec0: 0018d858  027b5ee4  ffa01eea  027b4000  027b5f00  0000e618  027b4008  027b4000

027b5ee0: 027b4000  027b0f9c  ffa02862  027b0f98  0204c2e0  0018d0e4  00000002  ffffffc0

027b5f00: ffffffff  0000003f  020000c0  00189854  027b083c  027b0f9c  027b0f9c  0204c2e0

027b5f20: 027b5f7c  000c8dd2  00189854  027cac40  027b083c  00000798  00000000  00000001

027b5f40: 00000000  feb18064  00000000  00000000  00000001  000c8fce  027b083c  00189854

027b5f60: feb18064  00000000  000c8bf6  0012e668  05000000  00000001  05000000  00000000

027b5f80: 000c8d3c  027b4000  00189854  00000000  00000000  00000007  027b4000  027b4000

027b5fa0:(00000000)

0201bf68  000c8cd8  00000000  feb18000  00000000  00000000

027b5fc0: 00000000  00000000  00000000  0002490c  00000000  feb18000  00000000  027b5fdc

027b5fe0: 027b5fdc

00000000  00000000  00000000  00000000  ffffffff  00000006

Return addresses in stack:

   frame  1 : <0x00024968> { _kthread + 0x5c }

    address : <0x00001556> { _kernel_thread_helper + 0x6 }

INFO: task iccqd:148 blocked for more than 120 seconds.

"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.

iccqd           D ffa00aac     0   148      2 0x00000000

Stack info:

SP: [0x027b5ea8] <0x027b5ea8> /* kernel dynamic memory */

FP: (0x027b5fa0)

Memory from 0x027b5ea0 to 027b6000

027b5ea0: 00000001  ffffffc0 [00123214] 0204c430  00000000  0204c2e0  0018bba0  02798ae0

027b5ec0: 0018d858  027b5ee4  ffa01eea  027b4000  027b5f00  0000e618  027b4008  027b4000

027b5ee0: 027b4000  027b0f9c  ffa02862  027b0f98  0204c2e0  0018d0e4  00000002  ffffffc0

027b5f00: ffffffff  0000003f  020000c0  00189854  027b083c  027b0f9c  027b0f9c  0204c2e0

027b5f20: 027b5f7c  000c8dd2  00189854  027cac40  027b083c  00000798  00000000  00000001

027b5f40: 00000000  feb18064  00000000  00000000  00000001  000c8fce  027b083c  00189854

027b5f60: feb18064  00000000  000c8bf6  0012e668  05000000  00000001  05000000  00000000

027b5f80: 000c8d3c  027b4000  00189854  00000000  00000000  00000007  027b4000  027b4000

027b5fa0:(00000000)

0201bf68  000c8cd8  00000000  feb18000  00000000  00000000

027b5fc0: 00000000  00000000  00000000  0002490c  00000000  feb18000  00000000  027b5fdc

027b5fe0: 027b5fdc

00000000  00000000  00000000  00000000  ffffffff  00000006

Return addresses in stack:

   frame  1 : <0x00024968> { _kthread + 0x5c }

    address : <0x00001556> { _kernel_thread_helper + 0x6 }

INFO: task iccqd:148 blocked for more than 120 seconds.

"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.

iccqd           D ffa00aac     0   148      2 0x00000000

Stack info:

SP: [0x027b5ea8] <0x027b5ea8> /* kernel dynamic memory */

FP: (0x027b5fa0)

Memory from 0x027b5ea0 to 027b6000

027b5ea0: 00000001  ffffffc0 [00123214] 0204c430  00000000  0204c2e0  0018bba0  02798ae0

027b5ec0: 0018d858  027b5ee4  ffa01eea  027b4000  027b5f00  0000e618  027b4008  027b4000

027b5ee0: 027b4000  027b0f9c  ffa02862  027b0f98  0204c2e0  0018d0e4  00000002  ffffffc0

027b5f00: ffffffff  0000003f  020000c0  00189854  027b083c  027b0f9c  027b0f9c  0204c2e0

027b5f20: 027b5f7c  000c8dd2  00189854  027cac40  027b083c  00000798  00000000  00000001

027b5f40: 00000000  feb18064  00000000  00000000  00000001  000c8fce  027b083c  00189854

027b5f60: feb18064  00000000  000c8bf6  0012e668  05000000  00000001  05000000  00000000

027b5f80: 000c8d3c  027b4000  00189854  00000000  00000000  00000007  027b4000  027b4000

027b5fa0:(00000000)

0201bf68  000c8cd8  00000000  feb18000  00000000  00000000

027b5fc0: 00000000  00000000  00000000  0002490c  00000000  feb18000  00000000  027b5fdc

027b5fe0: 027b5fdc

00000000  00000000  00000000  00000000  ffffffff  00000006

Return addresses in stack:

   frame  1 : <0x00024968> { _kthread + 0x5c }

    address : <0x00001556> { _kernel_thread_helper + 0x6 }

INFO: task iccqd:148 blocked for more than 120 seconds.

"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.

iccqd           D ffa00aac     0   148      2 0x00000000

Stack info:

SP: [0x027b5ea8] <0x027b5ea8> /* kernel dynamic memory */

FP: (0x027b5fa0)

Memory from 0x027b5ea0 to 027b6000

027b5ea0: 00000001  ffffffc0 [00123214] 0204c430  00000000  0204c2e0  0018bba0  02798ae0

027b5ec0: 0018d858  027b5ee4  ffa01eea  027b4000  027b5f00  0000e618  027b4008  027b4000

027b5ee0: 027b4000  027b0f9c  ffa02862  027b0f98  0204c2e0  0018d0e4  00000002  ffffffc0

027b5f00: ffffffff  0000003f  020000c0  00189854  027b083c  027b0f9c  027b0f9c  0204c2e0

027b5f20: 027b5f7c  000c8dd2  00189854  027cac40  027b083c  00000798  00000000  00000001

027b5f40: 00000000  feb18064  00000000  00000000  00000001  000c8fce  027b083c  00189854

027b5f60: feb18064  00000000  000c8bf6  0012e668  05000000  00000001  05000000  00000000

027b5f80: 000c8d3c  027b4000  00189854  00000000  00000000  00000007  027b4000  027b4000

027b5fa0:(00000000)

0201bf68  000c8cd8  00000000  feb18000  00000000  00000000

027b5fc0: 00000000  00000000  00000000  0002490c  00000000  feb18000  00000000  027b5fdc

027b5fe0: 027b5fdc

00000000  00000000  00000000  00000000  ffffffff  00000006

Return addresses in stack:

   frame  1 : <0x00024968> { _kthread + 0x5c }

    address : <0x00001556> { _kernel_thread_helper + 0x6 }

INFO: task iccqd:148 blocked for more than 120 seconds.

"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.

iccqd           D ffa00aac     0   148      2 0x00000000

Stack info:

SP: [0x027b5ea8] <0x027b5ea8> /* kernel dynamic memory */

FP: (0x027b5fa0)

Memory from 0x027b5ea0 to 027b6000

027b5ea0: 00000001  ffffffc0 [00123214] 0204c430  00000000  0204c2e0  0018bba0  02798ae0

027b5ec0: 0018d858  027b5ee4  ffa01eea  027b4000  027b5f00  0000e618  027b4008  027b4000

027b5ee0: 027b4000  027b0f9c  ffa02862  027b0f98  0204c2e0  0018d0e4  00000002  ffffffc0

027b5f00: ffffffff  0000003f  020000c0  00189854  027b083c  027b0f9c  027b0f9c  0204c2e0

027b5f20: 027b5f7c  000c8dd2  00189854  027cac40  027b083c  00000798  00000000  00000001

027b5f40: 00000000  feb18064  00000000  00000000  00000001  000c8fce  027b083c  00189854

027b5f60: feb18064  00000000  000c8bf6  0012e668  05000000  00000001  05000000  00000000

027b5f80: 000c8d3c  027b4000  00189854  00000000  00000000  00000007  027b4000  027b4000

027b5fa0:(00000000)

0201bf68  000c8cd8  00000000  feb18000  00000000  00000000

027b5fc0: 00000000  00000000  00000000  0002490c  00000000  feb18000  00000000  027b5fdc

027b5fe0: 027b5fdc

00000000  00000000  00000000  00000000  ffffffff  00000006

Return addresses in stack:

   frame  1 : <0x00024968> { _kthread + 0x5c }

    address : <0x00001556> { _kernel_thread_helper + 0x6 }

INFO: task iccqd:148 blocked for more than 120 seconds.

"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.

iccqd           D ffa00aac     0   148      2 0x00000000

Stack info:

SP: [0x027b5ea8] <0x027b5ea8> /* kernel dynamic memory */

FP: (0x027b5fa0)

Memory from 0x027b5ea0 to 027b6000

027b5ea0: 00000001  ffffffc0 [00123214] 0204c430  00000000  0204c2e0  0018bba0  02798ae0

027b5ec0: 0018d858  027b5ee4  ffa01eea  027b4000  027b5f00  0000e618  027b4008  027b4000

027b5ee0: 027b4000  027b0f9c  ffa02862  027b0f98  0204c2e0  0018d0e4  00000002  ffffffc0

027b5f00: ffffffff  0000003f  020000c0  00189854  027b083c  027b0f9c  027b0f9c  0204c2e0

027b5f20: 027b5f7c  000c8dd2  00189854  027cac40  027b083c  00000798  00000000  00000001

027b5f40: 00000000  feb18064  00000000  00000000  00000001  000c8fce  027b083c  00189854

027b5f60: feb18064  00000000  000c8bf6  0012e668  05000000  00000001  05000000  00000000

027b5f80: 000c8d3c  027b4000  00189854  00000000  00000000  00000007  027b4000  027b4000

027b5fa0:(00000000)

0201bf68  000c8cd8  00000000  feb18000  00000000  00000000

027b5fc0: 00000000  00000000  00000000  0002490c  00000000  feb18000  00000000  027b5fdc

027b5fe0: 027b5fdc

00000000  00000000  00000000  00000000  ffffffff  00000006

Return addresses in stack:

   frame  1 : <0x00024968> { _kthread + 0x5c }

    address : <0x00001556> { _kernel_thread_helper + 0x6 }

INFO: task iccqd:148 blocked for more than 120 seconds.

"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.

iccqd           D ffa00aac     0   148      2 0x00000000

Stack info:

SP: [0x027b5ea8] <0x027b5ea8> /* kernel dynamic memory */

FP: (0x027b5fa0)

Memory from 0x027b5ea0 to 027b6000

027b5ea0: 00000001  ffffffc0 [00123214] 0204c430  00000000  0204c2e0  0018bba0  02798ae0

027b5ec0: 0018d858  027b5ee4  ffa01eea  027b4000  027b5f00  0000e618  027b4008  027b4000

027b5ee0: 027b4000  027b0f9c  ffa02862  027b0f98  0204c2e0  0018d0e4  00000002  ffffffc0

027b5f00: ffffffff  0000003f  020000c0  00189854  027b083c  027b0f9c  027b0f9c  0204c2e0

027b5f20: 027b5f7c  000c8dd2  00189854  027cac40  027b083c  00000798  00000000  00000001

027b5f40: 00000000  feb18064  00000000  00000000  00000001  000c8fce  027b083c  00189854

027b5f60: feb18064  00000000  000c8bf6  0012e668  05000000  00000001  05000000  00000000

027b5f80: 000c8d3c  027b4000  00189854  00000000  00000000  00000007  027b4000  027b4000

027b5fa0:(00000000)

0201bf68  000c8cd8  00000000  feb18000  00000000  00000000

027b5fc0: 00000000  00000000  00000000  0002490c  00000000  feb18000  00000000  027b5fdc

027b5fe0: 027b5fdc

00000000  00000000  00000000  00000000  ffffffff  00000006

Return addresses in stack:

   frame  1 : <0x00024968> { _kthread + 0x5c }

    address : <0x00001556> { _kernel_thread_helper + 0x6 }

INFO: task iccqd:148 blocked for more than 120 seconds.

"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.

iccqd           D ffa00aac     0   148      2 0x00000000

Stack info:

SP: [0x027b5ea8] <0x027b5ea8> /* kernel dynamic memory */

FP: (0x027b5fa0)

Memory from 0x027b5ea0 to 027b6000

027b5ea0: 00000001  ffffffc0 [00123214] 0204c430  00000000  0204c2e0  0018bba0  02798ae0

027b5ec0: 0018d858  027b5ee4  ffa01eea  027b4000  027b5f00  0000e618  027b4008  027b4000

027b5ee0: 027b4000  027b0f9c  ffa02862  027b0f98  0204c2e0  0018d0e4  00000002  ffffffc0

027b5f00: ffffffff  0000003f  020000c0  00189854  027b083c  027b0f9c  027b0f9c  0204c2e0

027b5f20: 027b5f7c  000c8dd2  00189854  027cac40  027b083c  00000798  00000000  00000001

027b5f40: 00000000  feb18064  00000000  00000000  00000001  000c8fce  027b083c  00189854

027b5f60: feb18064  00000000  000c8bf6  0012e668  05000000  00000001  05000000  00000000

027b5f80: 000c8d3c  027b4000  00189854  00000000  00000000  00000007  027b4000  027b4000

027b5fa0:(00000000)

0201bf68  000c8cd8  00000000  feb18000  00000000  00000000

027b5fc0: 00000000  00000000  00000000  0002490c  00000000  feb18000  00000000  027b5fdc

027b5fe0: 027b5fdc

00000000  00000000  00000000  00000000  ffffffff  00000006

Return addresses in stack:

   frame  1 : <0x00024968> { _kthread + 0x5c }

    address : <0x00001556> { _kernel_thread_helper + 0x6 }

INFO: task iccqd:148 blocked for more than 120 seconds.

"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.

iccqd           D ffa00aac     0   148      2 0x00000000

Stack info:

SP: [0x027b5ea8] <0x027b5ea8> /* kernel dynamic memory */

FP: (0x027b5fa0)

Memory from 0x027b5ea0 to 027b6000

027b5ea0: 00000001  ffffffc0 [00123214] 0204c430  00000000  0204c2e0  0018bba0  02798ae0

027b5ec0: 0018d858  027b5ee4  ffa01eea  027b4000  027b5f00  0000e618  027b4008  027b4000

027b5ee0: 027b4000  027b0f9c  ffa02862  027b0f98  0204c2e0  0018d0e4  00000002  ffffffc0

027b5f00: ffffffff  0000003f  020000c0  00189854  027b083c  027b0f9c  027b0f9c  0204c2e0

027b5f20: 027b5f7c  000c8dd2  00189854  027cac40  027b083c  00000798  00000000  00000001

027b5f40: 00000000  feb18064  00000000  00000000  00000001  000c8fce  027b083c  00189854

027b5f60: feb18064  00000000  000c8bf6  0012e668  05000000  00000001  05000000  00000000

027b5f80: 000c8d3c  027b4000  00189854  00000000  00000000  00000007  027b4000  027b4000

027b5fa0:(00000000)

0201bf68  000c8cd8  00000000  feb18000  00000000  00000000

027b5fc0: 00000000  00000000  00000000  0002490c  00000000  feb18000  00000000  027b5fdc

027b5fe0: 027b5fdc

00000000  00000000  00000000  00000000  ffffffff  00000006

Return addresses in stack:

   frame  1 : <0x00024968> { _kthread + 0x5c }

    address : <0x00001556> { _kernel_thread_helper + 0x6 }

 

 

Follow-ups

 

--- steven miao                                              2011-08-24 05:27:05

coreb will send response once after all 100 pkts is received

 

--- Mingquan Pan                                             2011-08-25 22:53:10

Yes, with fixing, the stress test runs much better and core B can receive 99

pkts, but after that when it send back, there is still failure existing and

kernel have dump.

...

CAPI_DEBUG:mcapi_trans_msg_available avail = 0

COREB: mcapi_trans_valid_endpoint ep 65541 index 0 valid 1

COREB: open recv chan status 1  

COREB:  sm_recv_packet session type 5 localep5

COREB: sm_recv_packet() mcapi_pkt1 98

COREB:  sm_recv_packet msg

COREB: index 0, se 100, sn 0

COREB: buffer mcapi_pkt1 98 len 32 se 100 sn 0

COREB: sm_send_message_internal() dst 0 src 1 5000001

sm_debug:sm_find_session bits 00000003 localep 100

sm_debug:index 0 ,local ep 100 type 5

sm_debug:session 02a05828 index 0 msg type5000001

sm_debug:sm_default_recvmsg msg type 5000001

sm_debug:ack matched free buf 2a139e0 message 02a13a00 02a05830 02a139c0

COREB: free message 3d40000

COREB: endpoint=65541 has received: [mcapi_pkt1 98]

COREB: free pkt buffer 03e7a820

COREB:

CoreB: mcapi pktchan test. The 98 time send back ok.

COREB: index 0 ,local ep 5

COREB: msg type 5000000 index 0 session type 5

COREB: type 5000000, dstep 5, srcep 100

COREB: recved packet msg handle0

COREB: msg_recv_internal msg type 5000000 alloc 3d40000

COREB: avail 1

COREB: index 0 avail 1

COREB: mcapi_trans_valid_endpoint ep 65541 index 0 valid 1

COREB: open recv chan status 1  

COREB:  sm_recv_packet session type 5 localep5

COREB: sm_recv_packet() mcapi_pkt1 99

COREB:  sm_recv_packet msg

COREB: index 0, se 100, sn 0

COREB: buffer mcapi_pkt1 99 len 32 se 100 sn 0

MCAPI_DEBUG:domain 0 node 0 endpoint 200sm_debug:session status index 1, avail

0

 

MCAPI_DEBUG:index 100 200

MCAPI_DEBUG:index 200 200

MCAPI_DEBUG:mcapi_trans_msg_available avail = 0

COREB: sm_send_message_internal() dst 0 src 1 5000001

sm_debug:sm_find_session bits 00000003 localep 100

sm_debug:index 0 ,local ep 100 type 5

sm_debug:session 02a05828 index 0 msg type5000001

sm_debug:sm_default_recvmsg msg type 5000001

sm_debug:ack matched free buf 2a139a0 message 02a139c0 02a05830 02a05830

COREB: free message 3d40000

COREB: endpoint=65541 has received: [mcapi_pkt1 99]

COREB: free pkt buffer 03e7a820

COREB:

CoreB: mcapi pktchan test. The 99 time send back ok.

COREB: open pktchan send

COREB: mcapi_trans_valid_endpoint ep 65542 index 1 valid 1

COREB: open send chan status 1  

COREB: sm_default_sendmsg msg type 5000000

COREB: sm_send_message_internal() dst 0 src 1 5000000

sm_debug:sm_find_session bits 00000003 localep 200

sm_debug:index 0 ,local ep 100 type 5

sm_debug:index 1 ,local ep 200 type 5

sm_debug:session 02a05864 index 1 msg type5000000

sm_debug:sm_default_recvmsg msg type 5000000

sm_debug:msg_recv_internal wakeup wait thread

COREB: endpoint=65542 has sent: [mcapi_pkt response]

COREB: mcapi_trans_valid_endpoint ep 65541 index 0 valid 1

COREB: mcapi_trans_endpoint_delete 817 d 0 n 1 e 5 index 0

COREB: sm_send_message_internal() dst 0 src 1 5000009

sm_debug:sm_find_session bits 00000003 localep 29555

sm_debug:index 0 ,local ep 100 type 5

sm_debug:index 1 ,local ep 200 type 5

sm_debug:session   (null) index -22 msg type5000009

COREB: mcapi_trans_valid_endpoint ep 65542 index 1 valid 1

COREB: mcapi_trans_endpoint_delete 817 d 0 n 1 e 6 index 1

COREB: sm_send_message_internal() dst 0 src 1 5000009

sm_debug:sm_find_session bits 00000003 localep 29555

sm_debug:index 0 ,local ep 100 type 5

sm_debug:index 1 ,local ep 200 type 5

sm_debug:session   (null) index -22 msg type5000009

COREB:    Test PASSED

MCsm_debug:session status index 1, avail 1

 

MCAPI_DEBUG:index 100 200

MCAPI_DEBUG:index 200 200

sm_debug:recv sleep on queue index sm_recv_packet index 1

MCAPI_DEBUG:mcapi_trans_msg_available avail = 1

MCAPI_DEBUG:domain 0 node 0 endpoint 200

MCAPI_DEBUG:index 100 200

MCAPI_DEBUG:index 200 200

session_idx 1

sm_debug:recv mcapi_pkt response

sm_debug:sm_send_message_internal: dst 1 src 0

sm_debug:send message cpu 1 sent 106

COREB: sm_handle_control_message type 5000001

MCAPI_DEBUG:index 1, se 6, sn 1NULL pointer access

Kernel OOPS in progress

Deferred Exception context

CURRENT PROCESS:

COMM=pkt1 PID=182  CPU=0

TEXT = 0x02be0040-0x02be8680        DATA = 0x02be86a0-0x02beaf28

BSS = 0x02beaf28-0x02beb1d0  USER-STACK = 0x02becf7c

 

return address: [0x000c87a0]; contents of:

0x000c8780:  63a8  0806  1ff3  2d29  6038  b228  6038  e140

0x000c8790:  0700  2dae  67f9  6300  5641  6409  2f01  3217

0x000c87a0: [a57a] 3044  a451  e3ff  fad1  2ee1  304e  c682

0x000c87b0:  0199  4f68  3210  6000  e123  0048  325e  3075

 

ADSP-BF561-0.3(Detected 0.5) 600(MHz CCLK) 100(MHz SCLK) (mpu off)

Linux version 3.0.0-ADI-2011R1-pre-svn10064 (test@adsl) (gcc version 4.3.5

(ADI-2010R1-RC4) ) #167 Fri Aug 26 09:32:34 CST 2011

 

SEQUENCER STATUS:               Not tainted

SEQSTAT: 00002027  IPEND: 8008  IMASK: ffff  SYSCFG: 0006

  EXCAUSE   : 0x27

  physical IVG3 asserted : <0xffa00834> { _trap + 0x0 }

  physical IVG15 asserted : <0xffa01118> { _evt_system_call + 0x0 }

  logical irq   6 mapped  : <0xffa00448> { _bfin_coretmr_interrupt + 0x0

}

  logical irq  35 mapped  : <0x000ac60c> { _bfin_serial_dma_rx_int + 0x0

}

  logical irq  36 mapped  : <0x000ac354> { _bfin_serial_dma_tx_int + 0x0

}

  logical irq  69 mapped  : <0x0000ac48> { _ipi_handler_int0 + 0x0 }

  logical irq  70 mapped  : <0x0000abfc> { _ipi_handler_int1 + 0x0 }

  logical irq  82 mapped  : <0x000c64d0> { _smc_interrupt + 0x0 }

RETE: <0x00000000> /* Maybe null pointer? */

RETN: <0x02077df8> /* kernel dynamic memory (maybe user-space) */

RETX: <0x00000480> /* Maybe fixed code section */

RETS: <0x000c8566> { _icc_ioctl + 0x43e }

PC  : <0x000c87a0> { _icc_ioctl + 0x678 }

DCPLB_FAULT_ADDR: <0x0000000a> /* Maybe null pointer? */

ICPLB_FAULT_ADDR: <0x000c87a0> { _icc_ioctl + 0x678 }

PROCESSOR STATE:

R0 : 00000001    R1 : ffffffc0    R2 : 00000001    R3 : 00000000

R4 : 02beb19c    R5 : 027f9960    R6 : 00000000    R7 : 00000000

P0 : 00000000    P1 : 02a05808    P2 : 00000000    P3 : 02a05800

P4 : 02a05828    P5 : 02a05828    FP : 00000000    SP : 02077d1c

LB0: ffa01836    LT0: ffa01836    LC0: 00000000

LB1: 02be68b9    LT1: 02be686e    LC1: 00000000

B0 : 00000000    L0 : 00000000    M0 : 00000000    I0 : 02beacb4

B1 : 00000000    L1 : 00000000    M1 : 00000000    I1 : 02beb1c8

B2 : 00000000    L2 : 00000000    M2 : 00000000    I2 : 00000000

B3 : 00000000    L3 : 00000000    M3 : 00000000    I3 : 00000000

A0.w: 00000000   A0.x: 00000000   A1.w: 00000000   A1.x: 00000000

USP : 02bece80  ASTAT: 02003065

 

Hardware Trace:

   0 Target : <0x00004058> { _trap_c + 0x0 }

     Source : <0xffa007c8> { _exception_to_level5 + 0xa4 } JUMP.L

   1 Target : <0xffa00724> { _exception_to_level5 + 0x0 }

     Source : <0xffa005d8> { _bfin_return_from_exception + 0x20 } RTX

   2 Target : <0xffa005b8> { _bfin_return_from_exception + 0x0 }

     Source : <0xffa0067c> { _ex_trap_c + 0x74 } JUMP.S

   3 Target : <0xffa00608> { _ex_trap_c + 0x0 }

     Source : <0xffa004e0> { _ex_workaround_261 + 0x1c } JUMP.S

   4 Target : <0xffa004c4> { _ex_workaround_261 + 0x0 }

     Source : <0xffa0089c> { _trap + 0x68 } JUMP (P4)

   5 Target : <0xffa00852> { _trap + 0x1e }

     Source : <0xffa0084e> { _trap + 0x1a } IF CC JUMP pcrel

   6 Target : <0xffa00834> { _trap + 0x0 }

      FAULT : <0x000c87a0> { _icc_ioctl + 0x678 } P2 = [P7 + 5]

     Source : <0xffa005d8> { _bfin_return_from_exception + 0x20 } RTX

   7 Target : <0xffa005b8> { _bfin_return_from_exception + 0x0 }

     Source : <0xffa004d6> { _ex_workaround_261 + 0x12 } IF !CC JUMP

pcrel

   8 Target : <0xffa004c4> { _ex_workaround_261 + 0x0 }

     Source : <0xffa0089c> { _trap + 0x68 } JUMP (P4)

   9 Target : <0xffa00852> { _trap + 0x1e }

     Source : <0xffa0084e> { _trap + 0x1a } IF CC JUMP pcrel

  10 Target : <0xffa00834> { _trap + 0x0 }

     Source : <0x000c879e> { _icc_ioctl + 0x676 } 0x3217

  11 Target : <0x000c879e> { _icc_ioctl + 0x676 }

     Source : <0x000c856a> { _icc_ioctl + 0x442 } IF CC JUMP pcrel

  12 Target : <0x000c8566> { _icc_ioctl + 0x43e }

     Source : <0xffa027f6> { _mutex_unlock + 0x26 } RTS

  13 Target : <0xffa027d0> { _mutex_unlock + 0x0 }

     Source : <0x000c8562> { _icc_ioctl + 0x43a } CALL pcrel

  14 Target : <0x000c8556> { _icc_ioctl + 0x42e }

     Source : <0x000c826e> { _icc_ioctl + 0x146 } JUMP.S

  15 Target : <0x000c8268> { _icc_ioctl + 0x140 }

     Source : <0xffa02afa> { _mutex_lock + 0x36 } RTS

Kernel Stack

Stack info:

SP: [0x02077f24] <0x02077f24> /* kernel dynamic memory (maybe

user-space) */

Memory from 0x02077f20 to 02078000

02077f20: 02becf04 [02be4088] 00008000  00002000  00000000  02078000  02be4088

02be4088

02077f40: 02be2bca  ffa0117c  02003065  02be68b9  02be5389  02be686e  02be5388

00000000

02077f60: 00000000  00000000  00000000  00000000  00000000  00000000  00000000

00000000

02077f80: 00000000  00000000  00000000  00000000  00000000  00000000  00000000

00000000

02077fa0: 00000000  00000000  00000000  02af3dec  02beacb4  02bece80  02bece8c

00000064

02077fc0: 000000c8  02beade8  02beb1c8  02beb19c  00000036  00000000  00000000

02becf04

02077fe0: 00010005  02d003b4  02beb19c  00006d07  00000003  00000003  00000036

00000006

Return addresses in stack:

Modules linked in:

Kernel panic - not syncing: Kernel exception

Hardware Trace:

Stack info:

SP: [0x02077c24] <0x02077c24> /* kernel dynamic memory (maybe

user-space) */

FP: (0x02077ef4)

Memory from 0x02077c20 to 02078000

02077c20: 00000013 [0014f37c] 00122140  02077d1c  0014f37c  001814bb  001814bb

001814bb

02077c40: 02077c6c  00000000  00004528  02077d1c  ffe02014  02a05800  00008008

0000000b

02077c60: 00000027  00000013  02077d1c  0000003f  ffffffff  00000000  00f199b9

0003000b

02077c80: 00000000  00000000  00000000  00000000  00000000  00000000  00000000

00000000

02077ca0: 00000000  00000000  00000000  00000004  00000000  00000000  0015f06c

02a139e0

02077cc0: 02bece34  0018de58  0018599b  02a139a0  001859c0  0018d0e4  0018ddfc

000009c2

02077ce0: 00000003  00000003  0000002b  02077d20  0002c9c3  ffffffff  ffa007cc

0017e000

02077d00: 00008008  00002027  027f9960  02beb19c  029e07e0  02a0e040  00000480

00000480

02077d20: 00008008  00002027  00000000  02077df8  00000480  000c87a0  000c8566

00000001

02077d40: 02003065  02be68b9  ffa01836  02be686e  ffa01836  00000000  00000000

00000000

02077d60: 00000000  00000000  00000000  00000000  00000000  00000000  00000000

00000000

02077d80: 00000000  00000000  00000000  00000000  00000000  00000000  00000000

00000000

02077da0: 00000000  02beb1c8  02beacb4  02bece80  00000000  02a05828  02a05828

02a05800

02077dc0: 00000000  02a05808  00000000  00000000  00000000  027f9960  02beb19c

00000000

02077de0: 00000001  ffffffc0  00000001  00000001  00000000  00000006  00000000

03d01000

02077e00: 000a3d78  0000000a  02a05000  02a0d400  02077e48  0000c300  02a61250

02a0d400

02077e20: 00189854  00000000  00000000  00000000  00000000  0000001a  00000000

02a0e040

02077e40: 00000000  00000000  02077ec0 <0005686e> 026a2ac0  00000036

02beade8  00000003

02077e60: 00000003  02beb19c  00006d07  00000000  00000001  02077ef8  01a05000

00000001

02077e80: 00000000  00000000  00000000  02becc44  0004c7bc  02777de0  02a61250

0000000d

02077ea0: 02777de8  0000001a  00000002  00000000  02a0e84c  00000002  02777de8

00000001

02077ec0: 02bece8c  00056c98  00056c70  00000036  02beade8  026a2ac0  00000003

02beb19c

02077ee0: 00006d07  00010005  02076008  02077ef0  02beb19c

(00000000)<ffa009d6> 00000000

02077f00: ffffe000  02becf04  00010005  ffffe000  02bece9c  0000fffe  02d003b4

00010005

02077f20: 02becf04  02be4088  00008000  00002000  00000000  02078000  02be4088

02be4088

02077f40: 02be2bca  ffa0117c  02003065  02be68b9  02be5389  02be686e  02be5388

00000000

02077f60: 00000000  00000000  00000000  00000000  00000000  00000000  00000000

00000000

02077f80: 00000000  00000000  00000000  00000000  00000000  00000000  00000000

00000000

02077fa0: 00000000  00000000  00000000  02af3dec  02beacb4  02bece80  02bece8c

00000064

02077fc0: 000000c8  02beade8  02beb1c8  02beb19c  00000036  00000000  00000000

02becf04

02077fe0: 00010005  02d003b4  02beb19c  00006d07  00000003  00000003  00000036

00000006

Return addresses in stack:

    address : <0x0005686e> { _do_vfs_ioctl + 0x62 }

   frame  1 : <0xffa009d6> { _system_call + 0x6a }

 

 

U-Boot 2010.06 (ADI-2010R1-RC2) (Oct 20 2010 - 04:41:42)

 

CPU:   ADSP bf561-0.3 (Detected Rev: 0.5) (bypass boot)

Board: ADI BF561 EZ-Kit Lite board

       Support: http://blackfin.uclinux.org/

Clock: VCO: 600 MHz, Core: 600 MHz, System: 100 MHz

RAM:   64 MiB

Flash: 8 MiB

In:    serial

Out:   serial

Err:   serial

KGDB:  [on serial] ready

Net:   SMC91111-0

Hit any key to stop autoboot:  0

SMC91111: MAC 00:11:22:33:44:55

Using SMC91111-0 device

TFTP from server 10.100.4.174; our IP address is 10.100.4.50

Filename 'uImage'.

Load address: 0x1000000

Loading: #################################################################

         #################################################################

         #################################################################

         #################################################################

         #################################################################

         ######

done

Bytes transferred = 4847694 (49f84e hex)

## Booting kernel from Legacy Image at 01000000 ...

   Image Name:   bf561-0.3-3.0.0-ADI-2011R1-pre-s

   Image Type:   Blackfin Linux Kernel Image (gzip compressed)

   Data Size:    4847630 Bytes = 4.6 MiB

   Load Address: 00001000

   Entry Point:  001a4ed4

   Verifying Checksum ... OK

   Uncompressing Kernel Image ... OK

Starting Kernel at = 001a4ed4

Linux version 3.0.0-ADI-2011R1-pre-svn10064 (test@adsl) (gcc version 4.3.5

(ADI-2010R1-RC4) ) #167 Fri Aug 26 09:32:34 CST 2011

register early platform devices

bootconsole [early_shadow0] enabled

bootconsole [early_BFuart0] enabled

early printk enabled on early_BFuart0

Limiting kernel memory to 56MB due to anomaly 05000263

Board Memory: 64MB

Kernel Managed Memory: 60MB

Memory map:

  fixedcode = 0x00000400-0x00000490

  text      = 0x00001000-0x001222f8

  rodata    = 0x001222f8-0x0017b110

  bss       = 0x0017c000-0x0018bb8c

  data      = 0x0018bb8c-0x0019e000

    stack   = 0x0019c000-0x0019e000

  init      = 0x0019e000-0x00989000

  available = 0x00989000-0x03800000

  DMA Zone  = 0x03b00000-0x03c00000

Hardware Trace active and enabled

Boot Mode: 0

Recovering from Watchdog event

Blackfin support (C) 2004-2010 Analog Devices, Inc.

Compiled for ADSP-BF561 Rev 0.3

Warning: Compiled for Rev 3, but running on Rev 5

Blackfin Linux support by http://blackfin.uclinux.org/

Processor Speed: 600 MHz core clock and 100 MHz System Clock

NOMPU: setting up cplb tables

Instruction Cache Enabled for CPU0

  External memory: cacheable in instruction cache

  L2 SRAM        : uncacheable in instruction cache

Data Cache Enabled for CPU0

  External memory: cacheable (write-through) in data cache

  L2 SRAM        : uncacheable in data cache

Built 1 zonelists in Zone order, mobility grouping off.  Total pages: 14224

Kernel command line: root=/dev/mtdblock0 rw clkin_hz=30000000

earlyprintk=serial,uart0,57600 console=ttyBF0,57600 mem=60M max_mem=64M

ip=10.100.4.50:10.100.4.174:192.168.0.1:255.255.255.0:bf561-ezkit:eth0:f

PID hash table entries: 256 (order: -2, 1024 bytes)

Dentry cache hash table entries: 8192 (order: 3, 32768 bytes)

Inode-cache hash table entries: 4096 (order: 2, 16384 bytes)

Memory available: 46972k/61440k RAM, (8108k init code, 1156k kernel code, 496k

data, 1024k dma, 3684k reserved)

NR_IRQS:153

Configuring Blackfin Priority Driven Interrupts

console [ttyBF0] enabled, bootconsole disabled

console [ttyBF0] enabled, bootconsole disabled

Calibrating delay loop... 1191.93 BogoMIPS (lpj=2383872)

pid_max: default: 32768 minimum: 301

Mount-cache hash table entries: 512

Blackfin Scratchpad data SRAM: 4 KB

Blackfin L1 Data A SRAM: 16 KB (16 KB free)

Blackfin L1 Data B SRAM: 16 KB (16 KB free)

Blackfin L1 Instruction SRAM: 16 KB (3 KB free)

Blackfin L2 SRAM: 128 KB (128 KB free)

NET: Registered protocol family 16

Blackfin DMA Controller

ezkit_init(): registering device resources

bio: create slab <bio-0> at 0

bfin-spi bfin-spi.0: Blackfin on-chip SPI Controller Driver, Version 1.0,

regs@ffc00500, dma channel@16

Switching to clocksource bfin_cs_cycles

NET: Registered protocol family 2

IP route cache hash table entries: 1024 (order: 0, 4096 bytes)

TCP established hash table entries: 2048 (order: 2, 16384 bytes)

TCP bind hash table entries: 2048 (order: 1, 8192 bytes)

TCP: Hash tables configured (established 2048 bind 2048)

TCP reno registered

UDP hash table entries: 256 (order: 0, 4096 bytes)

UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)

NET: Registered protocol family 1

debug-mmrs: setting up Blackfin MMR debugfs

msgmni has been set to 91

io scheduler noop registered (default)

bfin-uart: Blackfin serial driver

bfin-uart.0: ttyBF0 at MMIO 0xffc00400 (irq = 35) is a BFIN-UART

brd: module loaded

physmap platform flash device: 00800000 at 20000000

physmap-flash.0: Found 1 x16 devices at 0x0 in 16-bit bank. Manufacturer ID

0x000020 Chip ID 0x0022ed

Amd/Fujitsu Extended Query Table at 0x0040

  Amd/Fujitsu Extended Query version 1.3.

physmap-flash.0: Swapping erase regions for top-boot CFI table.

number of CFI chips: 1

Using physmap partition information

Creating 5 MTD partitions on "physmap-flash.0":

0x000000000000-0x000000040000 : "bootloader(nor)"

0x000000040000-0x000000200000 : "linux kernel(nor)"

0x000000200000-0x0000007f0000 : "file system(nor)"

0x0000007f0000-0x0000007fe000 : "config(nor)"

0x0000007fe000-0x000000800000 : "u-boot env(nor)"

smc91x.c: v1.1, sep 22 2004 by Nicolas Pitre <nico@fluxnic.net>

eth0: SMC91C11xFD (rev 1) at 2c010300 IRQ 82 [nowait]

eth0: Ethernet addr: 00:11:22:33:44:55

bfin-wdt: initialized: timeout=20 sec (nowayout=0)

TCP cubic registered

NET: Registered protocol family 17

smc91x smc91x.0: eth0: link down

smc91x smc91x.0: eth0: link up, 100Mbps, full-duplex, lpa 0x41E1

IP-Config: Gateway not on directly connected network.

dma_alloc_init: dma_page @ 0x02a1c000 - 256 pages at 0x03b00000

Freeing unused kernel memory: 8108k freed

                           _____________________________________

        a8888b.           / Welcome to the uClinux distribution \

       d888888b.         /       _     _                         \

       8P"YP"Y88        /       | |   |_|            __  __ (TM)  |

       8|o||o|88  _____/        | |    _ ____  _   _ \ \/ /       |

       8'    .88       \        | |   | |  _ \| | | | \  /        |

       8`._.' Y8.       \       | |__ | | | | | |_| | /  \        |

      d/      `8b.       \      \____||_|_| |_|\____|/_/\_\       |

     dP   .    Y8b.       \   For embedded processors including   |

    d8:'  "  `::88b        \    the Analog Devices Blackfin      /

   d8"         'Y88b        \___________________________________/

  :8P    '      :888

   8a.   :     _a88P         For further information, check out:

._/"Yaa_:   .| 88P|            - http://blackfin.uclinux.org/

\    YP"    `| 8P  `.          - http://docs.blackfin.uclinux.org/

/     \.___.d|    .'           - http://www.uclinux.org/

`--..__)8888P`._.'  jgs/a:f    - http://www.analog.com/blackfin

 

Have a lot of fun...

 

 

BusyBox v1.18.4 (2011-08-10 10:15:19 CST) hush - the humble shell

 

root:/>

CTRL-A Z for help | 57600 8N1 | NOR | Minicom 2.3    | VT102 |      Offline  

                                                                               

                                           

 

--- Mingquan Pan                                             2011-09-01 02:43:46

It now can send back packet data after stress receiving case finishes, log is

like:

 

COREB: free message 3d40000

COREB: endpoint=65541 has received: [mcapi_pkt1 97]

COREB: free pkt buffer 03e7a820

COREB:

CoreB: mcapi pktchan test. The 97 time send back ok.

COREB: index 0 ,local ep 5

COREB: msg type 5000000 index 0 session type 5

COREB: type 5000000, dstep 5, srcep 100

COREB: recved packet msg handle0

COREB: msg_recv_internal msg type 5000000 alloc 3d40000

COREB: avail 1

MCAPI_DEBUG:domain 0 node 0 endpoint 200sm_debug:session status index 1, avail

0

 

MCAPI_DEBUG:index 100 200

MCAPI_DEBUG:index 200 200

COREB: index 0 avail 1

MCAPI_DEBUG:mcapi_trans_msg_available avail = 0

COREB: mcapi_trans_valid_endpoint ep 65541 index 0 valid 1

COREB: open recv chan status 1  

COREB:  sm_recv_packet session type 5 localep5

COREB: sm_recv_packet() mcapi_pkt1 98

COREB:  sm_recv_packet msg

COREB: index 0, se 100, sn 0

COREB: buffer mcapi_pkt1 98 len 32 se 100 sn 0

COREB: sm_send_message_internal() dst 0 src 1 5000001

sm_debug:sm_find_session bits 00000003 localep 100

sm_debug:index 0 ,local ep 100 type 5

sm_debug:session 02913828 index 0 msg type5000001

sm_debug:sm_default_recvmsg msg type 5000001

sm_debug:ack matched free buf 292b960 message 0292bd80 02913830 0292b980

COREB: free message 3d40000

COREB: endpoint=65541 has received: [mcapi_pkt1 98]

COREB: free pkt buffer 03e7a820

COREB:

CoreB: mcapi pktchan test. The 98 time send back ok.

COREB: index 0 ,local ep 5

COREB: msg type 5000000 index 0 session type 5

COREB: type 5000000, dstep 5, srcep 100

COREB: recved packet msg handle0

COREB: msg_recv_internal msg type 5000000 alloc 3d40000

COREB: avail 1

COREB: index 0 avail 1

COREB: mcapi_trans_valid_endpoint ep 65541 index 0 valid 1

COREB: open recv chan status 1  

COREB:  sm_recv_packet session type 5 localep5

COREB: sm_recv_packet() mcapi_pkt1 99

COREB:  sm_recv_packet msg

COREB: index 0, se 100, sn 0

COREB: buffer mcapi_pkt1 99 len 32 se 100 sn 0

MCsm_debug:session status index 1, avail 0

 

MCAPI_DEBUG:index 100 200

MCAPI_DEBUG:index 200 200

MCAPI_DEBUG:mcapi_trans_msg_available avail = 0

COREB: sm_send_message_internal() dst 0 src 1 5000001

sm_debug:sm_find_session bits 00000003 localep 100

sm_debug:index 0 ,local ep 100 type 5

sm_debug:session 02913828 index 0 msg type5000001

sm_debug:sm_default_recvmsg msg type 5000001

sm_debug:ack matched free buf 292b9a0 message 0292b980 02913830 02913830

COREB: free message 3d40000

COREB: endpoint=65541 has received: [mcapi_pkt1 99]

COREB: free pkt buffer 03e7a820

COREB:

CoreB: mcapi pktchan test. The 99 time send back ok.

COREB: open pktchan send

COREB: mcapi_trans_valid_endpoint ep 65542 index 1 valid 1

COREB: open send chan status 1  

COREB: sm_default_sendmsg msg type 5000000

COREB: sm_send_message_internal() dst 0 src 1 5000000

sm_debug:sm_find_session bits 00000003 localep 200

sm_debug:index 0 ,local ep 100 type 5

sm_debug:index 1 ,local ep 200 type 5

sm_debug:session 02913864 index 1 msg type5000000

sm_debug:sm_default_recvmsg msg type 5000000

sm_debug:msg_recv_internal wakeup wait thread

COREB: endpoint=65542 has sent: [mcapi_pkt response]

COREB: mcapi_trans_valid_endpoint ep 65541 index 0 valid 1

COREB: mcapi_trans_endpoint_delete 817 d 0 n 1 e 5 index 0

COREB: sm_send_message_internal() dst 0 src 1 5000009

sm_debug:sm_find_session bits 00000003 localep 29555

sm_debug:index 0 ,local ep 100 type 5

sm_debug:index 1 ,local ep 200 type 5

sm_debug:session   (null) index -22 msg type5000009

COREB: mcapi_trans_valid_endpoint ep 65542 index 1 valid 1

COREB: mcapi_trans_endpoint_delete 817 d 0 n 1 e 6 index 1

COREB: sm_send_message_internal() dst 0 src 1 5000009

sm_debug:sm_find_session bits 00000003 localep 29555

sm_debug:index 0 ,local ep 100 type 5

sm_debug:index 1 ,local ep 200 type 5

sm_debug:session   (null) index -22 msg type5000009

COREB:    Test PASSED

MCsm_debug:session status index 1, avail 1

 

MCAsm_debug:recv sleep on queue index sm_recv_packet index 1

MCAPI_DEBUG:mcapi_trans_msg_available avail = 1

MCAPI_DEBUG:domain 0 node 0 endpoint 200

MCAPI_DEBUG:index 100 200

MCAPI_DEBUG:index 200 200

session_idx 1

sm_debug:recv mcapi_pkt response

sm_debug:sm_send_message_internal: dst 1 src 0

sm_debug:send message cpu 1 sent 106

COREB: sm_handle_control_message type 5000001

MCAPIsm_debug:sm_send_message_internal: dst 1 src 0

6m_debug:send message cpu 1 sent 107

CoreA :pktchan recv on coreA ok buffer mcapi_pkt response, The 1 time receiving

ok, status 1

MCAPI_DEBUG:domain 0 node 0 endpoint 200

MCAPI_DEBUG:index 100 200

MCAPI_DEBUG:index 200 200

MCAPI_DEBUG:domain 0 node 0 endpoint 200

MCAPI_DEBUG:index 100 200

MCAPI_DEBUG:index 200 200

MCAPI_DEBUG:dom

               in 0 nodeCOREB: @@@ wake upCAPI_DEBUG:index 100 100

MCAPI_DEBUG:mcapi_trans_valid_endpoint endpoint=0x64 (database indices:

n=0,e=100) rc=1

MCAPI_DEBUG:domain 0 node 0 endpoint 100

MCAPI_DEBUG:index 100 100

MCAPI_DEBUG:domain 0 node 0 endpoint 100

MCAPI_DEBUG:index 100 100

 

COREB: sm_handle_control_message type 5000001

MCAPsm_debug:sm_send_message_internal: dst 1 src 0

sm_debug:send message cpu 1 sent 108UG:index 200 200

MCAPI_DEBUG:mcapi_trans_valid_endpoint endpoint=0xc8 (database indices:

n=0,e=200) rc=1

MCAPI_DEBUG:domain 0 node 0 endpoint 200

MCAPI_DEBUG:index 0 200

MCAPI_DEBUG:index 200 200

MCAPI_DEBUG:domain 0 node 0 endpoint 200

MCAPI_DEBUG:index 0 200

MCAPI_DEBUG:index 200 200

 

COREB: sm_handle_control_message type 5000001

root:/bin> COREB: before run task

COREB: before run task

COREB: before run task

COREB: before run task

 

 

 

 

    Files

    Changes

    Commits

    Dependencies

    Duplicates

    Associations

    Tags

 

File Name     File Type     File Size     Posted By

No Files Were Found

Attachments

    Outcomes