[#4890] run linphone with ad73322 would make kernel panic

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

[#4890] run linphone with ad73322 would make kernel panic

Submitted By: Mingquan Pan

Open Date

2009-02-11 05:36:43     Close Date

2009-05-20 23:51:18

Priority:

Medium High     Assignee:

Cliff Cai

Status:

Closed     Fixed In Release:

N/A

Found In Release:

N/A     Release:

Category:

N/A     Board:

N/A

Processor:

ALL     Silicon Revision:

Is this bug repeatable?:

Yes     Resolution:

Not reproducible

Uboot version or rev.:

    Toolchain version or rev.:

4.1 toolchain of Jan 16

App binary format:

N/A     

Summary: run linphone with ad73322 would make kernel panic

Details:

 

run linphone with ad73322 would make kernel panic, while using linphone with ad1981 looks has no this issue.

 

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

   Image Name:   Linux-2.6.28.3-ADI-2009R1-pre-sv

   Created:      2009-02-11  18:02:51 UTC

   Image Type:   Blackfin Linux Kernel Image (gzip compressed)

   Data Size:    4999852 Bytes =  4.8 MB

   Load Address: 00001000

   Entry Point:  001ae35c

   Verifying Checksum ... OK

   Uncompressing Kernel Image ... OK

Starting Kernel at = 001ae35c

Linux version 2.6.28.3-ADI-2009R1-pre-svn6088 (test@uclinux56-ad73322) (gcc version 4.1.2 (ADI svn)) #7 Wed Feb 11 18:02:41 GMT 2009

console [early_BFuart0] enabled

early printk enabled on early_BFuart0

Warning: limiting memory to 56MB due to hardware anomaly 05000263

Board Memory: 64MB

Kernel Managed Memory: 64MB

Memory map:

  fixedcode = 0x00000400-0x00000490

  text      = 0x00001000-0x00127640

  rodata    = 0x00127640-0x00180204

  bss       = 0x00180210-0x0018f8b0

  data      = 0x0018f8b0-0x001a0000

    stack   = 0x0019e000-0x001a0000

  init      = 0x001a0000-0x009a7000

  available = 0x009a7000-0x037ff000

  DMA Zone  = 0x03e00000-0x04000000

Hardware Trace Active and Enabled

Boot Mode: 0

Reset caused by Software reset

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

Compiled for ADSP-BF537 Rev 0.2

Blackfin Linux support by   blackfin.uclinux.org/

Processor Speed: 500 MHz core clock and 125 MHz System Clock

NOMPU: setting up cplb tables

Instruction Cache Enabled for CPU0

Data Cache Enabled for CPU0 (write-through)

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

Kernel command line: root=/dev/mtdblock0 rw earlyprintk=serial,uart0,57600 ip=10.100.4.50:10.100.4.174:10.100.4.174:255.255.255.0:bf537-stamp:eth0:off

Configuring Blackfin Priority Driven Interrupts

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

console handover: boot [early_BFuart0] -> real [ttyBF0]

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

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

Memory available: 46876k/65536k RAM, (8220k init code, 1177k kernel code, 483k data, 2048k dma, 6732k reserved)

Calibrating delay loop... 995.32 BogoMIPS (lpj=1990656)

Security Framework initialized

Mount-cache hash table entries: 512

Blackfin Scratchpad data SRAM: 4 KB

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

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

Blackfin L1 Instruction SRAM: 48 KB (41 KB free)

PDA for CPU0 reserved at 001812f8

net_namespace: 288 bytes

NET: Registered protocol family 16

Blackfin GPIO Controller

Blackfin DMA Controller

stamp_init(): registering device resources

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

NET: Registered protocol family 1

msgmni has been set to 91

io scheduler noop registered

io scheduler anticipatory registered (default)

io scheduler cfq registered

Serial: Blackfin serial driver

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

brd: module loaded

bfin_mii_bus: probed

bfin_mac: attached PHY driver [SMSC LAN83C185] (mii_bus:phy_addr=0:01, irq=-1, mdc_clk=2500000Hz(mdc_div=24)@sclk=125MHz)

bfin_mac bfin_mac.0: Blackfin on-chip Ethernet MAC driver, Version 1.1

rtc-bfin rtc-bfin: rtc core: registered rtc-bfin as rtc0

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

Advanced Linux Sound Architecture Driver Version 1.0.18rc3.

dma_alloc_init: dma_page @ 0x00ca9000 - 512 pages at 0x03e00000

ALSA device list:

  #0: Analog Devices AD73322 at PF10 SPORT0,rx/tx dma ch:3/4,err irq:45

TCP cubic registered

NET: Registered protocol family 17

rtc-bfin rtc-bfin: setting system clock to 2004-06-06 21:21:13 UTC (1086556873)

IP-Config: Complete:

     device=eth0, addr=10.100.4.50, mask=255.255.255.0, gw=10.100.4.174,

     host=bf537-stamp, domain=, nis-domain=(none),

     bootserver=10.100.4.174, rootserver=10.100.4.174, rootpath=

Freeing unused kernel memory: 8220k 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|            -   blackfin.uclinux.org/

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

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

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

 

Have a lot of fun...

 

 

BusyBox v1.13.2 (2009-02-11 17:49:12 GMT) built-in shell (msh)

Enter 'help' for a list of built-in commands.

 

root:/> successful boot attempt

 

*******************************************************************

STEP 3: Start LINPHONE AD73322 TEST

 

 

ifconfig eth0 10.100.4.50

root:/> PHY: 0:01 - Link is Up - 100/Full

ifconfig set success.

 

route add -net default gw 10.100.4.174

route: SIOCADDRT: File exists

root:/> route

Kernel IP routing table

Destination     Gateway         Genmask         Flags Metric Ref    Use Iface

10.100.4.0      *               255.255.255.0   U     0      0        0 eth0

default         10.100.4.174    0.0.0.0         UG    0      0        0 eth0

root:/> Add route success.

 

spawn linphonec

Ready.

linphonec>

Case 1 ...PASS

linphonec

NLS disabled.

Ready

Warning: video is disabled in linphonec.

linphonec>

Case 1 ...PASS

<sip:toto@10.100.4.50> is calling you.

 

Case 2 ...PASS

answer

Connected.

 

Case 2 ...PASS

call sip:test@10.100.4.174

Contacting sip:test@10.100.4.174

linphonec> linphonec> Connected.

linphonec>

Case 2 ...PASS

Data access misaligned address violation

- Attempted misaligned data memory or data cache access.

Deferred Exception context

CURRENT PROCESS:

COMM=linphonec PID=208

CPU = 0

TEXT = 0x00dc0000-0x00df7898        DATA = 0x00a68898-0x00a6d474

BSS = 0x00a6d474-0x00da0000  USER-STACK = 0x00dbfeb0

 

return address: [0x0026eaac]; contents of:

0x0026ea80:  1402  2bab  6001  b849  e522  0011  6409  9448

0x0026ea90:  090a  9610  17fc  0d02  1402  2b9f  3204  6001

0x0026eaa0:  b8d9  e502  0012  6409  9448  090a [9610] 17fc

0x0026eab0:  2b94  a2b8  b88b  6001  601a  e3ff  a1c3  2b6f

 

SEQUENCER STATUS:               Not tainted

SEQSTAT: 00062024  IPEND: 0030  SYSCFG: 0006

  EXCAUSE   : 0x24

  interrupts disabled

  physical IVG5 asserted : <0xffa00ba4> { _evt_ivhw + 0x0 }

RETE: <0x00000000> { _do_one_initcall + 0xfffff000 }

RETN: <0x00ef4000> [ linphonec + 0x0 ]

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

RETS: <0x0026e1cc> [ /usr/lib/libspeex.so.1 + 0xe1cc ]

PC  : <0x0026eaac> [ /usr/lib/libspeex.so.1 + 0xeaac ]

DCPLB_FAULT_ADDR: <0x00eefffc> [ linphonec + 0x3ffc ]

ICPLB_FAULT_ADDR: <0x0026eaac> [ /usr/lib/libspeex.so.1 + 0xeaac ]

 

PROCESSOR STATE:

R0 : 00000c40    R1 : 00000001    R2 : 00000008    R3 : 00000bdb

R4 : 00ee3360    R5 : 00271f5c    R6 : 00000003    R7 : 00000000

P0 : 00ee3360    P1 : 00eee84e    P2 : 00eefffd    P3 : 00d81330

P4 : 00ee3360    P5 : 00eeec44    FP : 00eee988    SP : 00ef3f24

LB0: 0026c6b5    LT0: 0026c686    LC0: 00000000

LB1: 00268ec1    LT1: 00268e88    LC1: 00000000

B0 : 00eee84c    L0 : 00000000    M0 : 00000000    I0 : 00eee84c

B1 : 00eee7bc    L1 : 00000000    M1 : 0004b938    I1 : 00eee7bc

B2 : 00eee870    L2 : 00000000    M2 : 000486ac    I2 : 00271aa2

B3 : 00000008    L3 : 00000000    M3 : 00eee77c    I3 : 00000036

A0.w: 1c000000   A0.x: 00000000   A1.w: 0000027a   A1.x: 00000000

USP : 00eee7f0  ASTAT: 02003044

 

Hardware Trace:

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

     Source : <0xffa0062a> { _exception_to_level5 + 0x9e } CALL pcrel

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

     Source : <0xffa0045a> { _bfin_return_from_exception + 0xe } RTX

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

     Source : <0xffa004e2> { _ex_trap_c + 0x66 } JUMP.S

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

     Source : <0xffa006c4> { _trap + 0x38 } JUMP (P4)

   4 Target : <0xffa006aa> { _trap + 0x1e }

     Source : <0xffa006a6> { _trap + 0x1a } IF !CC JUMP

   5 Target : <0xffa0068c> { _trap + 0x0 }

     Source : <0x0026eaaa> [ /usr/lib/libspeex.so.1 + 0xeaaa ] 0x090a

   6 Target : <0x0026ea9c> [ /usr/lib/libspeex.so.1 + 0xea9c ]

     Source : <0x0026ea98> [ /usr/lib/libspeex.so.1 + 0xea98 ] IF CC JUMP

   7 Target : <0x0026ea8c> [ /usr/lib/libspeex.so.1 + 0xea8c ]

     Source : <0x0026ea94> [ /usr/lib/libspeex.so.1 + 0xea94 ] IF CC JUMP

   8 Target : <0x0026ea8c> [ /usr/lib/libspeex.so.1 + 0xea8c ]

     Source : <0x0026ea94> [ /usr/lib/libspeex.so.1 + 0xea94 ] IF CC JUMP

   9 Target : <0x0026ea8c> [ /usr/lib/libspeex.so.1 + 0xea8c ]

     Source : <0x0026ea94> [ /usr/lib/libspeex.so.1 + 0xea94 ] IF CC JUMP

  10 Target : <0x0026ea8c> [ /usr/lib/libspeex.so.1 + 0xea8c ]

     Source : <0x0026ea94> [ /usr/lib/libspeex.so.1 + 0xea94 ] IF CC JUMP

  11 Target : <0x0026ea8c> [ /usr/lib/libspeex.so.1 + 0xea8c ]

     Source : <0x0026ea94> [ /usr/lib/libspeex.so.1 + 0xea94 ] IF CC JUMP

  12 Target : <0x0026ea8c> [ /usr/lib/libspeex.so.1 + 0xea8c ]

     Source : <0x0026ea94> [ /usr/lib/libspeex.so.1 + 0xea94 ] IF CC JUMP

  13 Target : <0x0026ea8c> [ /usr/lib/libspeex.so.1 + 0xea8c ]

     Source : <0x0026ea94> [ /usr/lib/libspeex.so.1 + 0xea94 ] IF CC JUMP

  14 Target : <0x0026ea84> [ /usr/lib/libspeex.so.1 + 0xea84 ]

     Source : <0x0026ea80> [ /usr/lib/libspeex.so.1 + 0xea80 ] IF CC JUMP

  15 Target : <0x0026ea7a> [ /usr/lib/libspeex.so.1 + 0xea7a ]

     Source : <0x0026e1d2> [ /usr/lib/libspeex.so.1 + 0xe1d2 ] JUMP.S

Userspace Stack

Stack info:

SP: [0x00eee7f0] <0x00eee7f0> [ linphonec + 0x27f0 ]

FP: (0x00eee838)

Memory from 0x00eee7f0 to 00eef000

00eee7f0:[00eee860] 00000000  cad745a3  00eeec44  00001999  00000000  00eee7a4  ffff0002

00eee810: 00000000  00000000  00000000  00ee0000  000000f0  00000003 <00264e68> 00000004

00eee830: 00000012  fffd000c (00eee870)<00269876> 00eee8ca  00d81330  00000078  18100c40

00eee850: 2cc022a0  42f03870  58904ea0  00000000  16dc0b76  2d6b2221  439d3888  59914e9d

00eee870:(00eee988)<0026e00e> 00eee8d0  00ee3360  00000000  00a6a838  00eeec44  00ee3360

00eee890: 00eee988 <0026df96> 00eeeaf4  00ee3360  00000000  00a6a838  00eeec44  002e9be0

00eee8b0: 0053033b  00000008  00000000  00000000  00000000  004f0001  000e0010  00000140

00eee8d0: 0000312c  0000312c  0000312c  0000312c  00000214  004e0002  0004000b  002e9530

00eee8f0: 00eee80c  002e9be0  41000000  00eee8bc  002e9530  002e9530  002e9530  002e9a18

00eee910: 002e9be0  00eee934  00eee860  00eee8c4  00eee8d0  00eee8e4  00d81330  00d80dc4

00eee930: 00eee89c  00eee888  00eee874  00eee84c  00eee838  00eee824  00eee7f0  00eee978

00eee950:<001ef664> 00eeec44  00000000  000002f4  00000000  002e9be0  00000280  00000280

00eee970: 0000000c  00eeeaa4  00eee998  00000003  00d81330  00000000 (00eeec68)<00dd5d0c>

00eee990: 00ee30e8  00ee1a18  00000000  00a6a838  00eeec44  00000280  00000000  00eee9b4

00eee9b0: 00eeec44  02f20000  02f402f3  02f202f3  02f402f3  02f402f4  02f402f4  02f402f4

00eee9d0: 02f602f4  02f502f6  02f302f3  02f602f5  02f302f4  02f402f3  02f402f4  02f402f4

00eee9f0: 02f402f5  02f402f5  02f602f4  02f402f5  02f602f4  02f402f6  02f302f2  02f402f3

00eeea10: 02f402f4  02f302f4  02f202f2  02f202f2  02f302f4  02f202f2  02f302f4  02f002f1

00eeea30: 02f302f1  02f202f2  02f402f4  02f402f4  02f602f6  02f802f8  02f402f7  02f602f6

00eeea50: 02f202f5  02f402f3  02f302f4  02f402f3  02f002f3  02f402f2  02f402f4  02f402f4

00eeea70: 02f202f5  02f502f3  02f502f4  02f402f4  02f602f4  02f302f7  02f602f3  02f602f8

00eeea90: 02f302f5  02f402f3  02f202f3  02f002f0  02f302f2  00000000  00000000  00000000

00eeeab0: 00000000  00000000  00010000  00000000  00000000  00000000  ffff0000  0000ffff

00eeead0: 00000000  00000000  00000000  00000000  00000000  00010000  0000ffff  00000000

00eeeaf0: 00000000  00000000  00000000  00000001  0000ffff  00000000  00000000  00000000

00eeeb10: 00000000  00010000  ffff0001  00000000  00010000  0000ffff  00000000  00000000

00eeeb30: 00000001  00000001  00000001  00000001  00000000  ffff0000  00010000  0000ffff

00eeeb50: 00000000  00010000  00000000  00000000  00010000  00000000  00000000  00000001

00eeeb70: 00010000  00010000  00000000  00000000  00000000  00000000  00000000  00000000

00eeeb90: 00000000  00000000  00010000  0000ffff  00000000  00000001  00000000  00000000

00eeebb0: 00000001  00010000  00010000  00000000  00010000  00000000  00010000  00000000

00eeebd0: 00000001  00000000  00000001  00000000  00000000  ffff0001  00000001  00000000

00eeebf0: 00000000  00010000  00000000  00000000  00010000  00000000  00000000  00000000

00eeec10: ffff0001  00000000  00000000  00010000  00000001  00000001  00000000  00000000

00eeec30: 00000000  0000001b  00eeec2c  00eee9b4  00000001  00f108d4  0000017c  0000002f

00eeec50: 00000004  00000001  00000000  000007d0 <00dd45b2> 00efb548 (00eeec9c)<00deb0f4>

00eeec70: 00000000  00ee3090  00a6a838  00000001  00ee32c8  00eeed00  00ee3090  0000007f

00eeec90: 00000100  00000200  00000000 (00eeecd0)<00deb16a> 00000000  00ee1fbc  00a6a838

00eeecb0: 00000000  00ee32c8  00eeed00  00ee1fbc  002d4e20  002d77fc  00000000  00000000

00eeecd0:(00eeed04)<00deb1a8> 00ee3350  00000004  00000000  00a6a838  00eeed00  00ee32c8

00eeecf0: 00000004  00a6a838  00000000  00000000  00000000 (00eeed38)<00deb218> 00ee32c8

00eeed10: 00000000  00000004  00a6a838  00000000  00000000  00000034  00000000  00000000

00eeed30: 00000000  007a1200 (00eeee00)<002c5740> 00eeee24  00eeee24  002d5548  00000030

00eeed50: 002d5548  037c87e0  616d2074  69206b73  6f6e2073  61762074  2064696c  29732528

00eeed70: 0000000a  6c637865  76697375  6d752065  20732520  61666564  20746c75  756c6176

00eeed90: 73692065  746f6e20  6c617620  28206469  0a297325  00000000  6e657665  616d5f74

00eeedb0: 6e697070  00007367  6f72706f  656c6966  6f63203a  20646c75  20746f6e  6e65706f

00eeedd0: 65766520  6d20746e  69707061  6620676e  20656c69  000a7325  6c707564  74616369

00eeedf0: 76652065  20746e65  00676174  72636d6d (00000000)<001cbd90> 00eeee24  00dbf8ec

00eeee10:<00003000> 00000030  72636d6d  00000031  6c707564  00ecbe24  002d4c40  00000000

00eeee30: 00000000  00000c03  000000d0  00000000  002d0c3c  00000000  00000000  00000000

00eeee50: 00000000  00000000  00000000  00000000  00000000  00000000  00eeee6c  0000000b

00eeee70: 00eeee74  00000000  00000000  00000000  037c87e0  00ee32c8  80000000  00000000

00eeee90: 00000008  00dbf9e0  00ee1d90  00000000  00000000  00000000  00dbf8b4 <002af5aa>

00eeeeb0: 00000000  c0000000  00d52250  00001388  00dbf8a4 <002c654e> 002e9530  002e9a18

00eeeed0: 002e9be0  00dbf8a4 <002c6160> 002e9530  00dbf8b0 <002c6160> 00dbf8cc <002c654e>

00eeeef0: 00dbf8d4  00dbf8d8 <001ef5a8> 00ee328c  002e9be0  00dbf8d4  00000000  00000000

00eeef10: 00000000  00000000  00000000  00000000  00000000  00000000  00000000  00000000

00eeef30: 00000000  00000000  00000000  00000000  00000000  00000000  00000000  00000000

00eeef50: 00000000  00000000  00000000  00000000  00000000  00000000  00000000  00000000

00eeef70: 00000000  00000000  00000000  00000000  00000000  00000000  00000000  00000000

00eeef90: 00000000  00000000  00000000  00000000  00000000  00000000  00000000  00000000

00eeefb0: 00000000  00000000  00eeee24  00000003  00000000  00000000  00000000  00000000

00eeefd0: 00000000  00000000  00000000  00000000  00000000  00000000  00000000  00000000

00eeeff0: 00000000  00000000  00000000  00000000  00000000

Return addresses in stack:

    address : <0x00264e68> [ /usr/lib/libspeex.so.1 + 0x4e68 ]

   frame  1 : <0x00269876> [ /usr/lib/libspeex.so.1 + 0x9876 ]

   frame  2 : <0x0026e00e> [ /usr/lib/libspeex.so.1 + 0xe00e ]

    address : <0x0026df96> [ /usr/lib/libspeex.so.1 + 0xdf96 ]

    address : <0x001ef664> [ /lib/libc.so.0 + 0x2f664 ]

   frame  3 : <0x00dd5d0c> [ /usr/bin/linphonec + 0x15d0c ]

    address : <0x00dd45b2> [ /usr/bin/linphonec + 0x145b2 ]

   frame  4 : <0x00deb0f4> [ /usr/bin/linphonec + 0x2b0f4 ]

   frame  5 : <0x00deb16a> [ /usr/bin/linphonec + 0x2b16a ]

   frame  6 : <0x00deb1a8> [ /usr/bin/linphonec + 0x2b1a8 ]

   frame  7 : <0x00deb218> [ /usr/bin/linphonec + 0x2b218 ]

   frame  8 : <0x002c5740> [ /lib/libpthread.so.0 + 0x5740 ]

   frame  9 : <0x001cbd90> [ /lib/libc.so.0 + 0xbd90 ]

    address : <0x00003000> { _do_signal + 0x450 }

    address : <0x002af5aa> [ /lib/libm.so.0 + 0xf5aa ]

    address : <0x002c654e> [ /lib/libpthread.so.0 + 0x654e ]

    address : <0x002c6160> [ /lib/libpthread.so.0 + 0x6160 ]

    address : <0x002c6160> [ /lib/libpthread.so.0 + 0x6160 ]

    address : <0x002c654e> [ /lib/libpthread.so.0 + 0x654e ]

    address : <0x001ef5a8> [ /lib/libc.so.0 + 0x2f5a8 ]

Bus error

 

 

 

Follow-ups

 

--- Mingquan Pan                                             2009-02-18 02:31:19

In the logs of these days, linphone with ad1981 has problem too.

 

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

   Image Name:   Linux-2.6.28.5-ADI-2009R1-pre-sv

   Created:      2009-02-17   1:25:06 UTC

   Image Type:   Blackfin Linux Kernel Image (gzip compressed)

   Data Size:    4712316 Bytes =  4.5 MB

   Load Address: 00001000

   Entry Point:  001b636c

   Verifying Checksum ... OK

   Uncompressing Kernel Image ... OK

Starting Kernel at = 001b636c

Linux version 2.6.28.5-ADI-2009R1-pre-svn6101

(test@uclinux54-adv7393-ad1981-usb1362) (gcc version 4.1.2 (ADI svn)) #6 Tue Feb

17 09:24:52 CST 2009

console [early_BFuart0] enabled

early printk enabled on early_BFuart0

Warning: limiting memory to 56MB due to hardware anomaly 05000263

Board Memory: 64MB

Kernel Managed Memory: 64MB

Memory map:

  fixedcode = 0x00000400-0x00000490

  text      = 0x00001000-0x0012cc00

  rodata    = 0x0012cc00-0x00187a7c

  bss       = 0x00187a80-0x00197110

  data      = 0x00197110-0x001a8000

    stack   = 0x001a6000-0x001a8000

  init      = 0x001a8000-0x00931000

  available = 0x00931000-0x037ff000

  DMA Zone  = 0x03e00000-0x04000000

Hardware Trace Active and Enabled

Boot Mode: 0

Reset caused by Software reset

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

Compiled for ADSP-BF537 Rev 0.2

Blackfin Linux support by   blackfin.uclinux.org/

Processor Speed: 500 MHz core clock and 125 MHz System Clock

NOMPU: setting up cplb tables

Instruction Cache Enabled for CPU0

Data Cache Enabled for CPU0 (write-through)

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

Kernel command line: root=/dev/mtdblock0 rw earlyprintk=serial,uart0,57600

ip=10.100.4.50:10.100.4.174:10.100.4.174:255.255.255.0:BF537:eth0:off

Configuring Blackfin Priority Driven Interrupts

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

console handover: boot [early_BFuart0] -> real [ttyBF0]

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

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

Memory available: 47348k/65536k RAM, (7716k init code, 1199k kernel code, 493k

data, 2048k dma, 6732k reserved)

Calibrating delay loop... 997.37 BogoMIPS (lpj=1994752)

Security Framework initialized

Mount-cache hash table entries: 512

Blackfin Scratchpad data SRAM: 4 KB

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

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

Blackfin L1 Instruction SRAM: 48 KB (41 KB free)

PDA for CPU0 reserved at 00188b68

net_namespace: 288 bytes

NET: Registered protocol family 16

Blackfin GPIO Controller

Blackfin DMA Controller

stamp_init(): registering device resources

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

NET: Registered protocol family 1

msgmni has been set to 92

io scheduler noop registered

io scheduler anticipatory registered (default)

io scheduler cfq registered

Serial: Blackfin serial driver

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

brd: module loaded

bfin_mii_bus: probed

bfin_mac: attached PHY driver [SMSC LAN83C185] (mii_bus:phy_addr=0:01, irq=-1,

mdc_clk=2500000Hz(mdc_div=24)@sclk=125MHz)

bfin_mac bfin_mac.0: Blackfin on-chip Ethernet MAC driver, Version 1.1

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

regs_base@ffc00500, dma channel@7

rtc-bfin rtc-bfin: rtc core: registered rtc-bfin as rtc0

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

Advanced Linux Sound Architecture Driver Version 1.0.18rc3.

ASoC version 0.13.2

dma rx:3 tx:4, err irq:45, regs:ffc00800

AD1980 SoC Audio Codec

dma_alloc_init: dma_page @ 0x033a7000 - 512 pages at 0x03e00000

asoc: AC97 <-> bf5xx-ac97 mapping ok

bf5xx_ac97_cold_reset: Not implemented

ad1980: Found AD1981 - only 2/2 IN/OUT Channels supported

ALSA device list:

  #0: bf5xx-board (AD1980)

TCP cubic registered

NET: Registered protocol family 17

rtc-bfin rtc-bfin: setting system clock to 1972-05-04 19:40:49 UTC (73856449)

IP-Config: Complete:

     device=eth0, addr=10.100.4.50, mask=255.255.255.0, gw=10.100.4.174,

     host=BF537, domain=, nis-domain=(none),

     bootserver=10.100.4.174, rootserver=10.100.4.174, rootpath=

Freeing unused kernel memory: 7716k 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|            -   blackfin.uclinux.org/

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

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

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

 

Have a lot of fun...

 

 

BusyBox v1.13.2 (2009-02-17 09:19:11 CST) built-in shell (msh)

Enter 'help' for a list of built-in commands.

 

root:/>

************** STEP 3: Start LINPHONE AD1981B TEST

 

ifconfig eth0 10.100.4.50

root:/> PHY: 0:01 - Link is Up - 100/Full

route add -net default gw 10.100.4.174

route: SIOCADDRT: File exists

root:/> route

Kernel IP routing table

Destination     Gateway         Genmask         Flags Metric Ref    Use Iface

10.100.4.0      *               255.255.255.0   U     0      0        0 eth0

default         10.100.4.174    0.0.0.0         UG    0      0        0 eth0

root:/> Ready.

linphonec>

Case 1 ...PASS

 

Case 1 ...PASS

linphonec

NLS disabled.

Ready

Warning: video is disabled in linphonec.

linphonec>

Case 1 ...PASS

 

Case 1 ...PASS

<sip:toto@10.100.4.50> is calling you.

 

Case 2 ...PASS

 

Case 2 ...PASS

answer

Connected.

 

Case 2 ...PASS

 

Case 2 ...PASS

call sip:test@10.100.4.174

Contacting sip:test@10.100.4.174

linphonec> linphonec> Connected.

linp

Case 2 ...PASS

 

Case 2 ...PASS

honec> Illegal use of supervisor resource

- Attempted to use a Supervisor register or instruction from User mode.

   Supervisor resources are registers and instructions that are reserved

   for Supervisor use: Supervisor only registers, all MMRs, and Supervisor

   only instructions.

Deferred Exception context

CURRENT PROCESS:

COMM=linphonec PID=196

CPU = 0

TEXT = 0x00340000-0x00377898        DATA = 0x037d0898-0x037d5474

BSS = 0x037d5474-0x002e0000  USER-STACK = 0x002ffeb0

 

return address: [0x0045707e]; contents of:

0x00457050:  e515  0040  e52a  0033  0c42  1807  0000  9151

0x00457060:  ac53  e428  002f  0061  6000  b1a8  e628  003d

0x00457070:  e801  0000  0485  0010  3210  e800  0000 [e512]

0x00457080:  0040  e410  003d  0c00  1805  e801  0000  6018

 

SEQUENCER STATUS:               Not tainted

SEQSTAT: 0006202e  IPEND: 0030  SYSCFG: 0006

  EXCAUSE   : 0x2e

  interrupts disabled

  physical IVG5 asserted : <0xffa00ba4> { _evt_ivhw + 0x0 }

RETE: <0x00000000> { _do_one_initcall + 0xfffff000 }

RETN: <0x0064e000> [ linphonec + 0x0 ]

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

RETS: <0x00447488> [ /usr/lib/libasound.so.2 + 0x47488 ]

PC  : <0x0045707e> [ /usr/lib/libasound.so.2 + 0x5707e ]

DCPLB_FAULT_ADDR: <0xfffdda4c> /* kernel dynamic memory */

ICPLB_FAULT_ADDR: <0x0045707e> [ /usr/lib/libasound.so.2 + 0x5707e ]

 

PROCESSOR STATE:

R0 : fffdd94c    R1 : 0064ac50    R2 : 00000000    R3 : 00000010

R4 : 0063d94c    R5 : 00000100    R6 : 00316a00    R7 : 00000100

P0 : 00000001    P1 : 00457078    P2 : fffdd94c    P3 : 00316a00

P4 : 00000000    P5 : 0063d94c    FP : 0064ac00    SP : 0064df24

LB0: 009d0335    LT0: 009d0328    LC0: 00000000

LB1: 00440c37    LT1: 00440c2e    LC1: 00000000

B0 : 70000000    L0 : 00000180    M0 : 00001999    I0 : 03ea3000

B1 : 00642b10    L1 : 00000000    M1 : 00000008    I1 : 00000000

B2 : 0064a870    L2 : 00000000    M2 : 00000008    I2 : ffffc420

B3 : 00000008    L3 : 00000000    M3 : 0064a77c    I3 : 0064a7ca

A0.w: 00020000   A0.x: 00000000   A1.w: 00000422   A1.x: 00000000

USP : 0064ac00  ASTAT: 02002000

 

Hardware Trace:

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

     Source : <0xffa0062a> { _exception_to_level5 + 0x9e } CALL pcrel

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

     Source : <0xffa0045a> { _bfin_return_from_exception + 0xe } RTX

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

     Source : <0xffa004e2> { _ex_trap_c + 0x66 } JUMP.S

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

     Source : <0xffa006c4> { _trap + 0x38 } JUMP (P4)

   4 Target : <0xffa006aa> { _trap + 0x1e }

     Source : <0xffa006a6> { _trap + 0x1a } IF !CC JUMP

   5 Target : <0xffa0068c> { _trap + 0x0 }

     Source : <0x0045707a> [ /usr/lib/libasound.so.2 + 0x5707a ] 0xe800

   6 Target : <0x00457078> [ /usr/lib/libasound.so.2 + 0x57078 ]

     Source : <0x004436b0> [ /usr/lib/libasound.so.2 + 0x436b0 ] JUMP

(P1)

   7 Target : <0x0044368c> [ /usr/lib/libasound.so.2 + 0x4368c ]

     Source : <0x00426b40> [ /usr/lib/libasound.so.2 + 0x26b40 ] JUMP

(P1)

   8 Target : <0x00426b38> [ /usr/lib/libasound.so.2 + 0x26b38 ]

     Source : <0x00447484> [ /usr/lib/libasound.so.2 + 0x47484 ] CALL

pcrel

   9 Target : <0x00447470> [ /usr/lib/libasound.so.2 + 0x47470 ]

     Source : <0x00427ce8> [ /usr/lib/libasound.so.2 + 0x27ce8 ] JUMP

(P1)

  10 Target : <0x00427ce0> [ /usr/lib/libasound.so.2 + 0x27ce0 ]

     Source : <0x0044ef9c> [ /usr/lib/libasound.so.2 + 0x4ef9c ] CALL

pcrel

  11 Target : <0x0044ef8a> [ /usr/lib/libasound.so.2 + 0x4ef8a ]

     Source : <0x00440c3c> [ /usr/lib/libasound.so.2 + 0x40c3c ] RTS

  12 Target : <0x00440c0c> [ /usr/lib/libasound.so.2 + 0x40c0c ]

     Source : <0x00427824> [ /usr/lib/libasound.so.2 + 0x27824 ] JUMP

(P1)

  13 Target : <0x0042781c> [ /usr/lib/libasound.so.2 + 0x2781c ]

     Source : <0x0044ef86> [ /usr/lib/libasound.so.2 + 0x4ef86 ] CALL

pcrel

  14 Target : <0x0044ef64> [ /usr/lib/libasound.so.2 + 0x4ef64 ]

     Source : <0x00442d06> [ /usr/lib/libasound.so.2 + 0x42d06 ] JUMP

(P1)

  15 Target : <0x00442cb4> [ /usr/lib/libasound.so.2 + 0x42cb4 ]

     Source : <0x0034cbc4> [ /usr/bin/linphonec + 0xcbc4 ] JUMP (P1)

Userspace Stack

Stack info:

SP: [0x0064ac00] <0x0064ac00> [ linphonec + 0x2c00 ]

FP: (0x0064abfc)

Memory from 0x0064ac00 to 0064b000

0064ac00:[0064ac1c]<00447488><0064ac3c><001ef5a8> 00651bc0

<00611be0><0064ac20><0064ac60>

0064ac20:<0044efa0> 0063d94c  0063df7c <00316a00> 0064ac50

00000100  0064ac4c <037d2838>

0064ac40: 0064ac50  0063fdfc  00000100  00314830  00668a1c  00000000  00000010

0064ac9c

0064ac60: 0064ac9c <00354582> 00651bc4  0065997c  0065997c

<037d2838> 00668a1c  00000000

0064ac80: 0063fd74  0064ad00  0063de28  0000007f  00000100  00000200  00000000

0064acd0

0064aca0:<0036b140> 0063fdfc  0063df30 <037d2838><037d2838>

0063fd74  0064ad00  0063df30

0064acc0: 0030ce20  0030f7fc  0030cc40  00000000  0064ad04 <0036b1a8>

0063fdfc  00000004

0064ace0: 00000000 <037d2838> 0064ad00  0063fd74  00000004

<037d2838> 00000000  00000000

0064ad00: 00000000  0064ad38 <0036b218> 0063fd74  00000000  00000004

<037d2838> 00000000

0064ad20: 00000000  00000090  00000000  00000000  00000000  007a1200  0064ae00

<00525740>

0064ad40: 0064ae24  0064ae24 <0030d548> 00000030 <0030d548>

037a27e0  00000004  00000008

0064ad60: 000000b3  00000001  00000003  00050b80  0004cb80  0000022c  00000000

00000000

0064ad80: 00000004  00000000  000000b9  00000001  00000003  00050db0  0004cdb0

00001738

0064ada0: 00000000  00000000  00000008  00000000  000000be  00000008  00000003

000524e8

0064adc0: 0004e4e8  000001ac  00000000  00000000  00000004  00000000  00000001

00000003

0064ade0: 00000000  00000000  0004e4e8  000000c3  00000000  00000000  00000001

00000000

0064ae00: 00000000 <001cbd90> 0064ae24 <002ff8ec><00003000>

00000030  30303030  30303030

0064ae20: 30303030  0062be24  0030cc40  00000000  00000000  00000c03  000000c4

00000000

0064ae40:<00308c3c> 00000000  00000000  00000000  00000000  00000000

00000000  00000000

0064ae60: 00000000  00000000 <0064ae6c> 0000000b <0064ae74>

00000000  00000000  00000000

0064ae80: 037a27e0  0063fd74  80000000  00000000  00000008  002ff9e0  0063dd4c

00000000

0064aea0: 00000000  00000000  002ff8b4 <0050f5aa> 00000000  c0000000

<002ae250> 00001388

0064aec0: 002ff8a4 <0052654e> 00611530 <00611a18><00611be0>

002ff8a4 <00526160> 00611530

0064aee0: 002ff8b0 <00526160><002ff8cc><0052654e> 002ff8d4

002ff8d8 <001ef5a8> 0063fd38

0064af00:<00611be0> 002ff8d4  00000000  00000000  00000000  00000000

00000000  00000000

0064af20: 00000000  00000000  00000000  00000000  00000000  00000000  00000000

00000000

0064af40: 00000000  00000000  00000000  00000000  00000000  00000000  00000000

00000000

0064af60: 00000000  00000000  00000000  00000000  00000000  00000000  00000000

00000000

0064af80: 00000000  00000000  00000000  00000000  00000000  00000000  00000000

00000000

0064afa0: 00000000  00000000  00000000  00000000  00000000  00000000  0064ae24

00000003

0064afc0: 00000000  00000000  00000000  00000000  00000000  00000000  00000000

00000000

0064afe0: 00000000  00000000  00000000  00000000  00000000  00000000  00000000

00000000

0064b000: 00000000

Return addresses in stack:

    address : <0x0064ac1c> [ linphonec + 0x2c1c ]

    address : <0x00447488> [ /usr/lib/libasound.so.2 + 0x47488 ]

    address : <0x0064ac3c> [ linphonec + 0x2c3c ]

    address : <0x001ef5a8> [ /lib/libc.so.0 + 0x2f5a8 ]

    address : <0x00611be0> [ linphonec + 0x1be0 ]

    address : <0x0064ac20> [ linphonec + 0x2c20 ]

    address : <0x0064ac60> [ linphonec + 0x2c60 ]

    address : <0x0044efa0> [ /usr/lib/libasound.so.2 + 0x4efa0 ]

    address : <0x00316a00> [ linphonec + 0x6a00 ]

    address : <0x037d2838> [ /usr/bin/linphonec + 0x39838 ]

    address : <0x00354582> [ /usr/bin/linphonec + 0x14582 ]

    address : <0x037d2838> [ /usr/bin/linphonec + 0x39838 ]

    address : <0x0036b140> [ /usr/bin/linphonec + 0x2b140 ]

    address : <0x037d2838> [ /usr/bin/linphonec + 0x39838 ]

    address : <0x037d2838> [ /usr/bin/linphonec + 0x39838 ]

    address : <0x0036b1a8> [ /usr/bin/linphonec + 0x2b1a8 ]

    address : <0x037d2838> [ /usr/bin/linphonec + 0x39838 ]

    address : <0x037d2838> [ /usr/bin/linphonec + 0x39838 ]

    address : <0x0036b218> [ /usr/bin/linphonec + 0x2b218 ]

    address : <0x037d2838> [ /usr/bin/linphonec + 0x39838 ]

    address : <0x00525740> [ /lib/libpthread.so.0 + 0x5740 ]

    address : <0x0030d548> [ linphonec + 0x5548 ]

    address : <0x0030d548> [ linphonec + 0x5548 ]

    address : <0x001cbd90> [ /lib/libc.so.0 + 0xbd90 ]

    address : <0x002ff8ec> [ linphonec + 0x1f8ec ]

    address : <0x00003000> { _do_signal + 0x450 }

    address : <0x00308c3c> [ linphonec + 0xc3c ]

    address : <0x0064ae6c> [ linphonec + 0x2e6c ]

    address : <0x0064ae74> [ linphonec + 0x2e74 ]

    address : <0x0050f5aa> [ /lib/libm.so.0 + 0xf5aa ]

    address : <0x002ae250> [ linphonec + 0x250 ]

    address : <0x0052654e> [ /lib/libpthread.so.0 + 0x654e ]

    address : <0x00611a18> [ linphonec + 0x1a18 ]

    address : <0x00611be0> [ linphonec + 0x1be0 ]

    address : <0x00526160> [ /lib/libpthread.so.0 + 0x6160 ]

    address : <0x00526160> [ /lib/libpthread.so.0 + 0x6160 ]

    address : <0x002ff8cc> [ linphonec + 0x1f8cc ]

    address : <0x0052654e> [ /lib/libpthread.so.0 + 0x654e ]

    address : <0x001ef5a8> [ /lib/libc.so.0 + 0x2f5a8 ]

    address : <0x00611be0> [ linphonec + 0x1be0 ]

Illegal instruction

 

--- Cliff Cai                                                2009-04-08 03:34:08

This seems a userspace problem,I've just tried it on ad1980/ad73322,it works for

me.Dist revision:7966; Kernel revision:6247; Toolchain:09r1-rc5.

 

Cliff

 

--- Mingquan Pan                                             2009-05-20 23:51:18

This issue is gone now. So close.

 

 

 

    Files

    Changes

    Commits

    Dependencies

    Duplicates

    Associations

    Tags

 

File Name     File Type     File Size     Posted By

No Files Were Found

Attachments

    Outcomes