FAQ: [#6714] kernel has dump info after mcapi packet 1 test case finished running(2011)

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

[#6714] kernel has dump info after mcapi packet 1 test case finished running

Submitted By: Mingquan Pan

Open Date

2011-08-03 00:57:16     Close Date

2011-09-01 04:01:44

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:

Assigned (Not Start)

Uboot version or rev.:

    Toolchain version or rev.:

5013

App binary format:

N/A     

Summary: kernel has dump info after mcapi packet 1 test case finished running

Details:

 

kernel has dump info after mcapi2.0 packet 1 test case finished running.

 

sm_debug:received 86

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

sm_debug:       87 : 85

sm_debug:received 87

sm_debug:session status index 1, avail 1

MCAPI_DEBUG:mcapi_trans_msg_available avail = 1sm_debug:ioctl type 0

 

MCAPI_DEBUG:domain 0 node 0 endpoint 200

MCAPI_DEBUG:index 101 200

MCAPI_DEBUG:index 200 200

session_idx 1

sm_debug:recv sleep on queue index sm_recv_packet index 1

sm_debug:recv mcapi_pkt response

sm_debug:sm_send_message_internal: dst 1 src 0

sm_debug:send message cpu 1 sent 7

sm_debug:feb1f1c0 COREB: sm_handle_control_message type 5000001

sm_debug:       88 : 87

sm_debug:received 88

MCAPI_DEBUG:index 1, se 6, sn 1

MCAPI_DEBUG:buffer

node=1, port=6

pktchan recv on coreA ok buffer mcapi_pkt response, status 1

   Test PASSED

root:/bin> sm_debug:feb1f000 COREB: index 0 ,local ep 5

sm_debug:       89 : 88

sm_debug:received 89

sm_debug:feb1f040 COREB: index 1 ,local ep 6

sm_debug:       90 : 89

sm_debug:received 90

sm_debug:feb1f080 COREB: msg type 5000001 index 1 session type 5

sm_debug:       91 : 90

sm_debug:received 91

sm_debug:feb1f0c0 COREB: type 5000001, dstep 6, srcep 200

sm_debug:       92 : 91

sm_debug:received 92

sm_debug:feb1f100 COREB: ack matched free buf 3d01000

sm_debug:       93 : 92

sm_debug:received 93

sm_debug:feb1f140 COREB: free buffer 3d01000

sm_debug:       94 : 93

sm_debug:received 94

NULL pointer access

Kernel OOPS in progress

Deferred Exception context

CURRENT PROCESS:

COMM=kworker/0:0 PID=4  CPU=0

invalid mm

return address: [0x000483ac]; contents of:

0x00048380:  4f28  9109  5041  3211  9110  4878  1c02  acd2

0x00048390:  0000  9110  4838  183d  e120  1001  4f40  6003

0x000483a0:  add5  3214  6001  ac69  9154  916a [bc51] 934a

0x000483b0:  9328  e149  0020  a0e8  e109  0200  bc69  5202

 

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

Linux version 2.6.39.2-ADI-2011R1-pre-svn9998 (test@adsl) (gcc version 4.3.5 (ADI-2010R1-RC4) ) #231 Wed Aug 3 10:49:14 CST 2011

 

SEQUENCER STATUS:               Not tainted

SEQSTAT: 00002027  IPEND: 8008  IMASK: 001f  SYSCFG: 0006

  Peripheral interrupts masked off

  Kernel interrupts masked off

  EXCAUSE   : 0x27

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

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

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

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

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

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

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

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

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

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

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

RETS: <0x0004848a> { _drain_array + 0x76 }

PC  : <0x000483ac> { _free_block + 0x80 }

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

ICPLB_FAULT_ADDR: <0x000483ac> { _free_block + 0x80 }

PROCESSOR STATE:

R0 : 00100100    R1 : 00000000    R2 : 02088000    R3 : 00000000

R4 : 020035ac    R5 : 00183740    R6 : 00000001    R7 : 00000000

P0 : 0200b22c    P1 : feb1f180    P2 : 00000001    P3 : 020089b4

P4 : 020072a0    P5 : 0294d340    FP : 02003560    SP : 02025de8

LB0: 00097a3e    LT0: 00097a3e    LC0: 00000000

LB1: 02af0201    LT1: 02af01fa    LC1: 00000013

B0 : 00000000    L0 : 00000000    M0 : 00000000    I0 : 0200b24c

B1 : 00000000    L1 : 00000000    M1 : 00000000    I1 : 0018b9ac

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

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

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

USP : 00000000  ASTAT: 02002000

 

Hardware Trace:

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

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

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

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

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

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

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

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

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

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

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

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

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

      FAULT : <0x000483ac> { _free_block + 0x80 } W[P2 + 1] = P1

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

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

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

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

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

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

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

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

     Source : <0x000483aa> { _free_block + 0x7e } P2 = [P5]

  11 Target : <0x00048390> { _free_block + 0x64 }

     Source : <0x0004838c> { _free_block + 0x60 } IF CC JUMP pcrel (BP)

  12 Target : <0x00048378> { _free_block + 0x4c }

     Source : <0x00048350> { _free_block + 0x24 } JUMP.S

  13 Target : <0x0004832c> { _free_block + 0x0 }

     Source : <0x00048486> { _drain_array + 0x72 } CALL pcrel

  14 Target : <0x0004843e> { _drain_array + 0x2a }

     Source : <0x00048438> { _drain_array + 0x24 } IF CC JUMP pcrel (BP)

  15 Target : <0x00048414> { _drain_array + 0x0 }

     Source : <0x000485de> { _cache_reap + 0x66 } CALL pcrel

Kernel Stack

Stack info:

SP: [0x02025f28] <0x02025f28> /* kernel dynamic memory (maybe user-space) */

FP: (0x02025fa0)

Memory from 0x02025f20 to 02026000

02025f20: 00000001  00000000 [00000000] 00190ba4  0018be7c <0001fb98> 00189f30  00190ba4

02025f40: 02007de0  0200d205  00048578  0200d200  00000000  0201868c  02024008  02024000

02025f60: 02024000  00189f30  00020534  02007de0  0018be7c  00000000  02007df0  02007df0

02025f80: 0018bffc  00182f30  0201bf1c  0002040c  00000000  02024000  02024000  02024000

02025fa0:(00000000)<000240a8> 0201bf1c  0002040c  00000000  02007de0  00000000  00000000

02025fc0: 00000000  00000000  00000000  0002404c  00000000  02007de0  00000000  02025fdc

02025fe0: 02025fdc

00000000  00000000  00000000  00000000  ffffffff  00000006

Return addresses in stack:

    address : <0x0001fb98> { _process_one_work + 0x120 }

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

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

Modules linked in:

Kernel panic - not syncing: Kernel exception

Hardware Trace:

Stack info:

SP: [0x02025cf0] <0x02025cf0> /* kernel dynamic memory (maybe user-space) */

FP: (0x02025fa0)

Memory from 0x02025cf0 to 02026000

02025cf0:[0014ba88] 0011f13c  02025de8  0014ba88  0017d4bb  0017d4bb  0017d4bb  02025d38

02025d10: 02003560  00004528  02025de8  ffe02014  020089b4  00008008  0000000b  00000027

02025d30: 00000013  02025de8  0000003f  ffffffff  02018540  0201856c  0003000b  0000b25e

02025d50: 00000000  0018a65c  0000ced2  0018a6a8  00000001  0018a6a8  02025d94 <0000bbcc>

02025d70: 02018540  0205c820  0018a6a8  00000001  0000003f  00000000  02048280  00193908

02025d90: 00000000  02025db4  0000e41c  0205c820  029034d4  00000001  00194efc  00000000

02025db0: 00000000  02025e04  000569ca  029034c8  00000000  ffa007d4  0017a000  00008008

02025dd0: 00002027  00183740  020035ac  00000000  0205c820  00000480  00000480  00008008

02025df0: 00002027  00000000  02025ec4  00000480  000483ac  0004848a  00100100  02002000

02025e10: 02af0201  00097a3e  02af01fa  00097a3e  00000013  00000000  00000016  00000000

02025e30: 00000016  00000000  00000000  00000000  00000000  00000000  00000000  00000000

02025e50: 00000000  00000000  00000000  00000000  00000000  00000000  00000000  00000000

02025e70: 0018b9ac  0200b24c  00000000  02003560  0294d340  020072a0  020089b4  00000001

02025e90: feb1f180  0200b22c  00000000  00000001  00183740  020035ac  00000000  02088000

02025eb0: 00000000  00100100  00100100  0200b22c  00000006  0200348c  00000000  00200200

02025ed0: 00000000  00183788  0004848a  00000001  020089a0  0018b9ac  020089b0  00000044

02025ef0: ffffffbc  000003e8  00048626  02007260  02003500  00000000  000485e2  020072a0

02025f10: 02003560  00000000  02018540  0018a6a8  00000001  00000000  00000000  00190ba4

02025f30: 0018be7c <0001fb98> 00189f30  00190ba4  02007de0  0200d205  00048578  0200d200

02025f50: 00000000  0201868c  02024008  02024000  02024000  00189f30  00020534  02007de0

02025f70: 0018be7c  00000000  02007df0  02007df0  0018bffc  00182f30  0201bf1c  0002040c

02025f90: 00000000  02024000  02024000  02024000 (00000000)<000240a8> 0201bf1c  0002040c

02025fb0: 00000000  02007de0  00000000  00000000  00000000  00000000  00000000  0002404c

02025fd0: 00000000  02007de0  00000000  02025fdc  02025fdc

00000000  00000000

02025ff0: 00000000  00000000  ffffffff  00000006

Return addresses in stack:

    address : <0x0000bbcc> { _check_preempt_curr + 0x74 }

    address : <0x0001fb98> { _process_one_work + 0x120 }

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

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

 

 

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 = 4532127 (45279f hex)

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

   Image Name:   bf561-0.3-2.6.39.2-ADI-2011R1-pr

   Image Type:   Blackfin Linux Kernel Image (gzip compressed)

   Data Size:    4532063 Bytes = 4.3 MiB

   Load Address: 00001000

   Entry Point:  001a0f48

   Verifying Checksum ... OK

   Uncompressing Kernel Image ... OK

Starting Kernel at = 001a0f48

Linux version 2.6.39.2-ADI-2011R1-pre-svn9998 (test@adsl) (gcc version 4.3.5 (ADI-2010R1-RC4) ) #231 Wed Aug 3 10:49:14 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-0x0011f2f0

  rodata    = 0x0011f2f0-0x00177480

  bss       = 0x00178000-0x001889f0

  data      = 0x001889f0-0x0019a000

    stack   = 0x00198000-0x0019a000

  init      = 0x0019a000-0x008cb000

  available = 0x008cb000-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: 47732k/61440k RAM, (7364k init code, 1144k kernel code, 492k 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 93

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

RedBoot partition parsing not available

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

IP-Config: Gateway not on directly connected network.

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

Freeing unused kernel memory: 7364k freed

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

                           _____________________________________

        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...

 

 

Follow-ups

 

--- Mingquan Pan                                             2011-09-01 04:01:44

It looks not happening now. So close.

 

 

 

    Files

    Changes

    Commits

    Dependencies

    Duplicates

    Associations

    Tags

 

File Name     File Type     File Size     Posted By

No Files Were Found

Attachments

    Outcomes