2010-01-27 06:13:41 Audio Device or Linphone problems ???
Mike Bunke (GERMANY)
Message: 85202
I am using BF518F-EZBRD and the 2009R1.1-rc4 kernel, built with changes only in device drivers (audio), bf canned demos (linphone) and bf build option - binary format (FDPIC).
I get an error everytime I make a call and this call is answered:
Linphone crashes...
root:/> linphone
linphone: not found
root:/> linphonec
NLS disabled.
ALSA lib ../../alsa-lib-1.0.18/src/conf.c:3952:(snd_config_expand) Unknown param
eters 0
ALSA lib ../../../alsa-lib-1.0.18/src/control/control.c:909:(snd_ctl_open_noupda
te) Invalid CTL default:0
Ready
Warning: video is disabled in linphonec, use -V or -C or -D to enable.
linphonec> call sip:toto@192.168.1.11
ortp-error-Error in connect: Network is unreachable
DEBUG: [get_output_if] connect: Network is unreachable
ortp-error-Could not find default routable ip address !
DEBUG: [get_output_if] connect: Network is unreachable
DEBUG: [get_output_if] connect: Network is unreachable
Contacting sip:toto@192.168.1.11
linphonec> linphonec>
<<<------------------------ If the call is answered an error occurs
...
00788f80: 0052009e ff7dffa3 000affac 00230055 ff99ffd5 fff50002 ffd30024
ffdc00a0
00788fa0: ffacffb0 002a0011 0018ffdc 0014001e ff94ffb9 00650066 ffff0011
ffc9fff0
00788fc0: 0030ff63 ffe40086 ff86ffb5 ff88ff62 ff97ffc6 ffdfffff fffc0032
ffbbffeb
00788fe0: 002c001f <00070042> 0028002d 0034002c 0060004f 00770077 ff73ff70
ffcfffbf
Return addresses in stack:
address : <0x0047fffe> /* kernel dynamic memory */
address : <0x00003b9e> { _dump_bfin_process + 0x136 }
address : <0x000079ae> { _module_frob_arch_sections + 0x36e }
address : <0x00009f12> { _dequeue_rt_stack + 0x96 }
address : <0x00005210> { _trap_c + 0x478 }
address : <0x0000bc3e> { _sched_debug_show + 0x5ce }
address : <0x000109da> { _session_of_pgrp + 0x32 }
address : <0x0000673a> { _bfin_gpio_free + 0x12 }
address : <0x00003efe> { _show_regs + 0x6e }
address : <0x0021002e> /* kernel dynamic memory */
address : <0x00010000> { _do_syslog + 0x26c }
address : <0x00640046> [ /lib/libstdc++.so.6 + 0x40046 ]
address : <0x00070042> { _debugfs_create_file + 0x17a }
Bus error
:/>
With <soundcard list> i can see 3 devices, the ALSA default, SSM2602 and OSS and i am using the SSM2602.
Could it have to do with audio driver or is it a linphone problem???
I tried with linphone 3.2.1 as well as version 3.0.0, but it's the same. Only difference: With 3.0.0 there are no messages about ALSA:
--- ALSA lib ../../alsa-lib-1.0.18/src/conf.c:3952:(snd_config_expand) Unknown param
--- eters 0
--- ALSA lib ../../../alsa-lib-1.0.18/src/control/control.c:909:(snd_ctl_open_noupda
--- te) Invalid CTL default:0
TranslateQuoteReplyEditDelete
2010-01-27 10:29:53 Re: Audio Device or Linphone problems ???
Robin Getz (UNITED STATES)
Message: 85207
Mike:
How are you setting up your network?
You shouldn't get the networking error messages (or at least I don't)
QuoteReplyEditDelete
2010-01-27 12:18:46 Re: Audio Device or Linphone problems ???
Cameron Barfield (UNITED STATES)
Message: 85209
If I recall correctly, those network error messages are thrown if the default gateway isn't set on eth0. I can't remember if that would cause crashes or not, though.
The alsa conf and control are normal and aren't indicative of a problem, necessarily. There's some kind of incompatibility with linphone 3.x and the version of alsa that comes in the distro, but we have no problems with our development.
QuoteReplyEditDelete
2010-01-28 02:23:37 Re: Audio Device or Linphone problems ???
Mike Bunke (GERMANY)
Message: 85213
Hi,
in uBoot I use <dhcp> and <run addip>, then I boot uClinux.. In uClinux I do the following steps:
root:/> route
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
192.168.1.0 * 255.255.255.0 U 0 0 0 eth0
root:/> route add 192.168.1.3 gw 192.168.1.254
root:/> ifconfig
eth0 Link encap:Ethernet HWaddr 00:E0:22:FE:5F:94
inet addr:192.168.1.46 Bcast:192.168.1.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:12 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:1354 (1.3 KiB) TX bytes:0 (0.0 B)
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
root:/> route
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
192.168.1.3 192.168.1.254 255.255.255.255 UGH 0 0 0 eth0
192.168.1.0 * 255.255.255.0 U 0 0 0 eth0
root:/> linphonec
NLS disabled.
ALSA lib ../../alsa-lib-1.0.18/src/conf.c:3952:(snd_config_expand) Unknown param
eters 0
ALSA lib ../../../alsa-lib-1.0.18/src/control/control.c:909:(snd_ctl_open_noupda
te) Invalid CTL default:0
Ready
Warning: video is disabled in linphonec, use -V or -C or -D to enable.
linphonec> soundcard list
0: ALSA: default device
1: ALSA: bf5xx_ssm2602
2: OSS: /dev/dsp
linphonec> soundcard use 1
Using sound device ALSA: bf5xx_ssm2602
linphonec> call sip:toto@192.168.1.11
ortp-error-Error in connect: Network is unreachable
DEBUG: [get_output_if] connect: Network is unreachable
ortp-error-Could not find default routable ip address !
DEBUG: [get_output_if] connect: Network is unreachable
DEBUG: [get_output_if] connect: Network is unreachable
Contacting sip:toto@192.168.1.11
linphonec> linphonec>
... <<<------------------- some more messages, but only if called one answers the call.
00768fc0: 0001ff53 ffe4006c ff70ffae ff47ff35 ff8affc6 ffc5ffdc fffc0026
ffb6ffea
00768fe0: 0022000b 00150042 0037003d 0034003f 007d005b 00ab00a1 ff53ff70
ff9bff80
Return addresses in stack:
address : <0x004c0002> [ linphonec + 0x2 ]
address : <0x004c0002> [ linphonec + 0x2 ]
address : <0x004c0002> [ linphonec + 0x2 ]
address : <0x00004642> { _dump_bfin_mem + 0x182 }
address : <0x000014da> { _kernel_thread_helper + 0xa }
address : <0x000134d2> { _irq_exit + 0x2a }
address : <0x00001e9c> { _get_cclk + 0x68 }
address : <0x001b0062> { _do_header + 0x66 }
Bus error
:/>
TranslateQuoteReplyEditDelete
2010-01-28 02:24:29 Re: Audio Device or Linphone problems ???
Mike Bunke (GERMANY)
Message: 85214
Hi,
I also tried with linphone 2.1.1, but same problem.
TranslateQuoteReplyEditDelete
2010-01-28 02:38:46 Re: Audio Device or Linphone problems ???
Mike Frysinger (UNITED STATES)
Message: 85215
the crashes you're posting arent useful because they're incomplete. you need to read the system log (or run like `dmesg`) to see the whole thing.
however, linphone has known issues when the networking isnt 100%. the fact that you're getting warnings about "network unreachable" indicates this. verify both the board and the system you're talking to have a simple sane network setup.
QuoteReplyEditDelete
2010-01-29 02:58:46 Re: Audio Device or Linphone problems ???
Mike Bunke (GERMANY)
Message: 85281
Hi, I tested several things and set up the whole network in a new way. Now there is no more network problem and no <network unreachable> message occurs.
But same problem (here the complete steps and messages ):
U-Boot 2008.10 (ADI-2009R1.1-rc1) (Dec 4 2009 - 03:18:46)
CPU: ADSP bf518-0.0 (Detected Rev: 0.1) (parallel flash boot)
Board: ADI BF518F EZ-Board board
Support: blackfin.uclinux.org/
Clock: VCO: 400 MHz, Core: 400 MHz, System: 80 MHz
RAM: 64 MB
Flash: 4 MB
In: serial
Out: serial
Err: serial
Net: Blackfin EMAC
MAC: 00:E0:22:FE:5F:94
Hit any key to stop autoboot: 0
CID information:
Manufacturer ID: 03
OEM/Application ID: 5344
Product name: SD256
Product Revision: 8.0
Product Serial Number: 555548002
Manufacturing Date: 03/11
SD Card detected (RCA 43004)
CSD information:
CSD structure version: 1.0
Card command classes: 5f5
Max trans speed: 25MHz
Read block length: 512
Write block length: 16
Card capacity: 252968960 bytes
reading uimage118
4434274 bytes read
## Booting kernel from Legacy Image at 01000000 ...
Image Name: Linux-2.6.28.10-ADI-2009R1.1
Created: 2010-01-29 7:27:15 UTC
Image Type: Blackfin Linux Kernel Image (gzip compressed)
Data Size: 4434210 Bytes = 4.2 MB
Load Address: 00001000
Entry Point: 001b8e10
Verifying Checksum ... OK
Uncompressing Kernel Image ... OK
runk/git-11fe486) ) #16 Fri Jan 29 08:27:10 CET 2010
bootconsole [early_shadow0] enabled
bootconsole [early_BFuart0] enabled
early printk enabled on early_BFuart0
Board Memory: 64MB
Kernel Managed Memory: 64MB
Memory map:
fixedcode = 0x00000400-0x00000490
text = 0x00001000-0x0012d5c0
rodata = 0x0012d5c0-0x00183798
bss = 0x00184000-0x00196ad4
data = 0x00196ad4-0x001ac000
stack = 0x001aa000-0x001ac000
init = 0x001ac000-0x00866000
available = 0x00866000-0x03eff000
DMA Zone = 0x03f00000-0x04000000
Hardware Trace Active and Enabled
Boot Mode: 1
Blackfin support (C) 2004-2009 Analog Devices, Inc.
Compiled for ADSP-BF518 Rev 0.0
Warning: Compiled for Rev 0, but running on Rev 1
Blackfin Linux support by blackfin.uclinux.org/
Processor Speed: 400 MHz core clock and 80 MHz System Clock
NOMPU: setting up cplb tables
Instruction Cache Enabled for CPU0
Data Cache Enabled for CPU0 (write-back)
Built 1 zonelists in Zone order, mobility grouping off. Total pages: 16001
Kernel command line: root=/dev/mtdblock0 rw clkin_hz=25000000 earlyprintk=serial
,uart0,57600 console=ttyBF0,57600
Configuring Blackfin Priority Driven Interrupts
PID hash table entries: 256 (order: 8, 1024 bytes)
Console: colour dummy device 80x25
console [ttyBF0] enabled, bootconsole disabled
console [ttyBF0] enabled, bootconsole disabled
Dentry cache hash table entries: 8192 (order: 3, 32768 bytes)
Inode-cache hash table entries: 4096 (order: 2, 16384 bytes)
Memory available: 55336k/65536k RAM, (6888k init code, 1201k kernel code, 507k d
ata, 1024k dma, 576k reserved)
Calibrating delay loop... 796.67 BogoMIPS (lpj=1593344)
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: 32 KB (26 KB free)
net_namespace: 288 bytes
NET: Registered protocol family 16
Blackfin DMA Controller
ezbrd_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 108
io scheduler noop registered (default)
Serial: Blackfin serial driver
bfin-uart.1: ttyBF0 at MMIO 0xffc00400 (irq = 29) is a BFIN-UART
brd: module loaded
bfin_mii_bus: probed
bfin_mac: attached PHY driver [Generic PHY] (mii_bus:phy_addr=0:01, irq=-1, mdc_
clk=2500000Hz(mdc_div=15)@sclk=80MHz)
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_b
ase@ffc00500, dma channel@7
bfin-spi bfin-spi.1: Blackfin on-chip SPI Controller Driver, Version 1.0, regs_b
ase@ffc03400, dma channel@5
rtc-bfin rtc-bfin: rtc core: registered rtc-bfin as rtc0
i2c /dev entries driver
i2c-bfin-twi i2c-bfin-twi.0: Blackfin BF5xx on-chip I2C TWI Contoller, regs_base
@ffc01400
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:15, regs:ffc00800
ssm2602 Audio Codec 0.1<6>dma_alloc_init: dma_page @ 0x03a78000 - 256 pages at 0
x03f00000
asoc: SSM2602 <-> bf5xx-i2s mapping ok
ALSA device list:
#0: bf5xx_ssm2602 (SSM2602)
TCP cubic registered
NET: Registered protocol family 17
rtc-bfin rtc-bfin: setting system clock to 1970-01-01 11:18:44 UTC (40724)
Freeing unused kernel memory: 6888k freed
root:/> ifconfig eth0 192.168.19.3 netmask 255.255.255.0
root:/> PHY: 0:01 - Link is Up - 100/Full
root:/> route add default gw 192.168.19.1
root:/> ifconfig
eth0 Link encap:Ethernet HWaddr 82:1D:F9:74:AE:7C
inet addr:192.168.19.3 Bcast:192.168.19.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:1 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:243 (243.0 B) TX bytes:0 (0.0 B)
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
root:/> route
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
192.168.19.0 * 255.255.255.0 U 0 0 0 eth0
default 192.168.19.1 0.0.0.0 UG 0 0 0 eth0
root:/> ping -c 3 209.85.135.147
PING 209.85.135.147 (209.85.135.147): 56 data bytes
64 bytes from 209.85.135.147: seq=0 ttl=54 time=24.000 ms
64 bytes from 209.85.135.147: seq=1 ttl=54 time=20.000 ms
64 bytes from 209.85.135.147: seq=2 ttl=54 time=16.000 ms
--- 209.85.135.147 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 16.000/20.000/24.000 ms
root:/> linphonec
NLS disabled.
ALSA lib ../../alsa-lib-1.0.18/src/conf.c:3952:(snd_config_expand) Unknown param
eters 0
ALSA lib ../../../alsa-lib-1.0.18/src/control/control.c:909:(snd_ctl_open_noupda
te) Invalid CTL default:0
Ready
Warning: video is disabled in linphonec, use -V or -C or -D to enable.
linphonec> soundcard use 1
Using sound device ALSA: bf5xx_ssm2602
linphonec> call sip:toto@192.168.1.11
Contacting sip:toto@192.168.1.11
linphonec> linphonec> Call declined. <<<<------------ if call IS NOT answered
linphonec>
linphonec> call sip:toto@192.168.1.11
Contacting sip:toto@192.168.1.11
linphonec> linphonec> <<<<----------------- if call IS answered
Destination Gateway
Contacting sip:toto@192.168.1.11Ref Use Ifaceon 4.3.4 (ADI-t5
linphonec> linphonec> Connected.5 KB free)ffdcKe
TCP cub
OEM
192
linphonec> Data access misaligned address violation 0 0 eth0256et stu
rtc-bfin
- Attempted misaligned data memory or data cache access. 192.168.19.1 0.0.0.0 UG 0 0
Deferred Exception context 03/11 unused ke
early pri
CURRENT PROCESS:rly_BFuart0CA
r
COMM=linphonec PID=276.135.147
Board Memory
CPU = 0_______
TEXT = 0x00300000-0x00343adc DATA = 0x002e8adc-0x002ee428Memory map:classes:
fixedcode = 0x00
64 bytes from 209.85.1
BSS = 0x002ee428-0x00380000 USER-STACK = 0x003bfeb0-0x0012d5c0
NET: Registered protoc
64 bytes from
return address: [0x006833f2]; contents of:d capacity:
bss = 0x00184
0x006833d0: b9a0 308b 32a2 6c0d bbcd 0908 1763 a3bbme=16.000 msd4-0x001ac000read
Built 1 z
RETN: <0x0078e000> /* kernel dynamic memory */Total pages: 16001nabled on early_BFuart0uclinu
RETX: <0x00000480> /* Maybe fixed code section */el command line: root=/dev/mtdblock0 rw clkin_hz=2
RETS: <0x006832ee> [ /usr/lib/libspeex.so.1 + 0x32ee ]e = 0x00000400-0x00000490
/
,uar
PC : <0x006833f2> [ /usr/lib/libspeex.so.1 + 0x33f2 ]
a
Configuring Blackfin Priority Driven Interrupts9
DCPLB_FAULT_ADDR: <0x007a95f0> [ linphonec + 0x95f0 ]h table entries: 256 (order: 8, 1024 bytes)bfin as rt
ICPLB_FAULT_ADDR: <0x006833f2> [ /usr/lib/libspeex.so.1 + 0x33f2 ]ce 80x25 stack = 0x001aa000-0x001ac000lt
console [ttyBF0] enable
PROCESSOR STATE:abled 0x001ac000
R0 : 00000000 R1 : 00000200 R2 : 00000001 R3 : 00000028console disabled
root:
DMA Zone
De
R4 : 00000001 R5 : 00000005 R6 : 00000000 R7
Hardware Trace Active and E
Write bl
Source : <0xffa0061a> { _exception_to_level5 + 0xae }2, 16384 bytes)968960 bytes
R0 : 0
consol
1 Target : <0xffa0056c> { _exception_to_level5 + 0x0 }rder: 1, 8192 bytes)
F
##
Dentry cache hash table entr
Source : <0xffa00428> { _bfin_return_from_exception + 0x18 }bind 2048)age Name: Linux-
Inode-cache hash table entries: 4096
2 Target : <0xffa00410> { _bfin_return_from_exception + 0x0 } family 1
Memory available: 5533
msgmni has been set t
Source : <0xffa004c4> { _ex_trap_c + 0x6c } registered (default)ackfin / Image N
3 Target : <0xffa00458> { _ex_trap_c + 0x0 }d) MB
i2c /dev entries driver
8 Target : <0x00683441> [ /usr/lib/libspeex.so.1 + 0x3441 ]xx on-chip I2C TWI Contoller, regs_base00866000tp:/OK
Source : <0x0068344a> [ /usr/lib/libspeex.so.1 + 0x344a ] IF CC JUMP1)
bfin-wdt: initialized: timeout=20 sec (nowayout=0)
8|o|
9 Target : <0x00683429> [ /usr/lib/libspeex.so.1 + 0x3429 ]e Driver Version 1.0.18rc3.de: 1
Blackfin suppor
Source : <0x00683434> [ /usr/lib/libspeex.so.1 + 0x3434 ] IF CC JUMPx:4, err irq:15, regs:ffc00800BF518 Rev 0.0
8`.
ss
10 Target : <0x0068340a> [ /usr/lib/libspeex.so.1 + 0x340a ] 256 pages at 0
Blackfin Linux suppo
Source : <0x006832f4> [ /usr/lib/libspeex.so.1 + 0x32f4 ] IF CC JUMPxx-i2s mapping oksor Speed: 400 MHz core clock and 80 M
ALSA device list:
11 Target : <0x006832ee> [ /usr/l2 (SSM26
SP: [0x007a8344] <0x007a8344> [ linphonec + 0x8344 ]roduct name: SD256 03:18:46) 5f5 5f5 byte
Memory from 0x007a8340 to 007a900025MHz
CPU: ADSP
Product Serial
007a8340: 00000005 [00691f8d] 007a94a0 007a9264 00000100 007a8460 00000001
Read
Board:
SD Card detected (RCA 43004)960 bytes
007a92b0D inform
007a8360: 007a92ac 00000000 00000200 00000200 fffffa00 fffffa00 00000200
Card command classes: 5f500 MHz, System: 80 MHz0 ...
Max trans speed: 25M
0000020052968960
007a8380: 00000200 fffffa00 fffffa00 00000200 00000200 00000200 fffffa00ngth: 16erial
Cre
Err: s
Card capacity: 252968960 byt
fffffa00
007a83a0: 00000200 00000200 00000200 fffffa00 fffffa00 00434274 bytes readot: 0 serial.1 +
00007769 Type:
007a84a0: 0000284d 00001eee 000071f5 0000510d 0000a13e 00004c2b 0000481bMemory: 64MB 8.0work initia
Data S
Memory map:210 Bytes =
fixedcode = 0
000041fd-0x00000
007a84c0: 0000393d 000021c3 0000297e 0000395f 0000c2fa 00024db7 0000be75nt: 001b8e10A 43004)
rodata = 0x0012d5c0-0x00183798Keading uima
000046ebstructur
007a84e0: 000040d9 00011853 000270ed 00003fd7 000070f3 000029bf 00009fa1 data = 0x00196ad4-0x001ac000peed: 25MHzl from L
Linux version 2
stac
000033bf01aa000-
007a8500: 0000512d 000197e8 000064a5 0000fcae 0000545f 0000b9cb 00009bfc00
Card capacity: 2529689
available = 0x00866000-0x03eff00029 08
00007465T 2010 u
007a8520: 000011d2 000004a8 00000c36 0000182e 00002b4b 00004b1f shadow0] enabl
Hardware Trace Active and E
00003c3b7600 con
007a8600: 000053c1 000021ca 00013256 00001107 00001e4c 00003d86 000010f6y Driven Interruptsr ADSP-BF518 Rev 0.0
Board Memory: 6
PID hash ta
00006e89es: 256
007a8620: 000040f1 0000284f 00004e5f 0000bcd9 00003557 00005f5f 00005569e: colour dummy device 80x25/blackfin.uclinux.org/490: 0007cce
console [ttyBF0
00006dc1, bootco
007a8640: 00003bae <0001a8a8> 0000754a 000083a2 00003316 0003fd1f 000044benabled, bootconsole disabled
bss = 0x00
NOMPU: setting up cplb t
Den
00004e19 hash ta
007a8660: 00005e9b 0003fe6a 00007ea5 00001f47 0000169a 000078fd 0000b03d
Data Cache Enabled
Inode-cache hash table entries: 4096 (order: 2, 16384
000052d6ilt 1 zo
007a8680: 0000222d <0000475c> 000014ca 00011e82 000122d6 0000dd0f <00006f8a>k RAM, (6888k init code, 1201k kernel code, 507k d 0x03f0000
Kernel command lin
00004e0ddev/mtdb
007a86a0: 00002309 00000921 00006897 0000637d 00007252 000071de
Boot Mode: 1
0000630f free)ta
007a8720: 0000144d 00003e2e 00000a02 0000266a 00000aa5 0000762b 000136b9uar
Data Cache E
NET: Registered protocol family 16ies: 4096 (order: 2, 16384
00005ae3lackfin
007a8740: 00006b8a 000051d6 00001c62 0000809f 0000bb67 000155d3 00005781sk RAM, (6888k init code, 1201k kernel code
NET: Registered protocol family 2l
00001e2b=/dev/mt
007a8760: 000031c5 0001054a 0001189e 0001670b 000045f1 000107c8 6 bytes
007a87c0: 000055de 0000dc9f 0000417a <00003446> 00000fde 0000df1a 000086c3nabled,
Board: AD
msgmni has been set to 108
io sche
000096a1p regist
007a87e0: 0000bb71 00014b9f 00005409 0000739b 00011e61 0000192a 000086a2iverMHz, Core: 400 MHz, System: 80
bfin-uart.1: ttyBF0 at MMIO 0xffc00400 (irq
00004d3f a BFIN-
007a8800: 0000ddbf 000093a1 00006f59 00001c2a 00007701 00010f70 00005f4be loaded(6888k ini
Err:
bfin_mii_bus: probedet: Blackfin EMACh
bfin_mac:
000084cdPHY driv
007a8820: 00000603 000012a9 00000b82 00004cce 0000b5da 00003a2b 0a9c9 \__
CID information:
000fffc400 MHz,
007a8920: ffcc0072 ffc7001e 0072001e 0098006c ffc5fffe 0054ffc9 001f0009x:4, err irq:15, regs:ffc00800dress: 00001000rialduler noop re
Out:
ssm2602
ff9dffd8dec 0.1<
007a8940: 006b0024 ffeb0043 ffc0001c ffceffc4 002c0045 ffb00022 ffc90036FE:5
Uncompressing Kernel Image ... OKkey to stop auto
x03f00000tc-bfin r
a
fffc0022602 <->
007a8960: 0028ffd3 00330031 000fffbe 00360032 ffb00019 ffd5ffdb fff3ffba(root@linux-yy
#0: bf5xx_ssm2602 (SSM2602)
Product na
TCP
ff7d0024istered
007a8980: ff9bff7e ffccffbe ff55ff92 ff0fff23 00690024 00540080 0062007210duct Se
rtc-bfin rtc-bfin: setting system clock to 1970-01-01 11:19:13 UTC (
000e0011led11TWI
007a89a0: ffc90047 ff98003c 001e0021 0048000e 00ac005f 005d008b g unused kernel memory: 6888k f
00410046 8|o
007a8a20: 0020ffff 005a006b 008b006a ffd70055 00000012 ff52ffaa 0004ffd4 init = 0x001ac000-0x008660007:15 UTCfcc
8' .88 \
ffb9ffe2 _ \| |
007a8a40: 005c007c ffe9fffa ffdb0012 ffeeffd0 0009fff1 ffeb000b fff4ffe4008000
8`._.' Y8. \ | |__ | | | | | |_| | / \ |B
ffe5fff6
007a8a60: ffd20025 ffe2002f 0002001f 002d0034 ffbfffe9 0054ffd8 \ \____||_|_| |_8e10
0051007e
Dat
ffadffb1nabled f
007a8ae0: ffeb000a 00950062 00b000a8 002e00b1 0077004e 00f000b0 ffafff78n.uclinux.org/ mobility grouping off. Total pages: 16001ard Memory: 64MB89.
008d0045 `| 8P
007a8b00: ffe40093 ff4effbc ffdcff63 002d0086 ffb1ffd1 ffbeffd3 0031ffcdrw clkin_hz=25000000 earlyprintk=seri
/ \.___.d| .' - http:/
ffa2002fnux.org/
007a8b20: 004e0050 fff4006a ff86ffc8 fff70047 fff00028 ffce0014 8P`._.' jgs/a:f - http:/
U-Boot 2008.10 (ADI-2009R1.1-rc1) (Dec 4 2009 - 03:18:46)
ffd6fffd
consol
007a8b80: ffca0070 ffe3003a ffc2fffe 0008fffc 003c0025 00230034 0012ffe4lel flash boot)cache hash table entries: 8192 (order: 3, 32768 bytes)1fe4
Bla
00440011DI BF518
007a8ba0: 00760063 0041005a 008e005a ffea006e ff8dff94 0042ff91 000affe8n.uclinux.org/es)ADSP-BF518 Rev 0.0 speed: 25MHza ffda001
Clock: VCO: 400 MHz
0007000400 MHz,
007a8bc0: 00b90010 ffed003d ffcaffee ffeafff3 fffc001f ffe4004a fff1004f Linux sup
Flash: 4 MB//blackfin.u
In: serial
Out: serialdm
00260012es
Err:
007a8be0: ffec000d 00a80053 0024fff6 ffd50016 ffcaffd0 00350025 00:E0:22:FE:5F:94
Kern
007a8c40: 00020016 ffef0051 004affb0 00ef00bc 004700ae ffaefffd ffceff71 detected (RCA 43004)
net_namespace: 288
CSD information:
fffd0027structur
007a8c60: 005cffe2 00200080 002affd1 ffb3003d 00360021 000cfffe 0023007a Driven Interrupts
Max trans speed: 25MHzng device resourcesf
P
Read block
ffc6ffb8 51
007a8c80: 0003ffec 003d0022 ff5aff2e 0039fffa ffde003b ffdffff3 ffdbffe8IP ro
Card capacity: 252968960 bytesr: 0, 4096 bytes)console [ttyBF0]
00050008eading u
007a8ca0: 000f0031 001a0047 00300028 ffa70039 001a002e ffd90002 ting kernel from Legacy Image a
ezbrd_in
003c005d
Kernel
007a8da0: 002e0006 ff660020 ff90ff79 ffb5ffe2 0024001d ffbcffc8 0005ffe2ode = 0x00000400-0x000004904
IP r
Hit any k
text = 0
fff40008-0x0012d
007a8dc0: 000dffd5 0041006d fff6ffcc fffd0032 ffe80003 00810052 008e00ab03 established hash table e
OE
bss = 0x00184000-0x00196ad43 ffb8003f
ff55ffb4uct name
007a8de0: ffa8ff4e 002c0003 009e0097 ffad0001 0062ffe8 ff8b000e ffd6ffbd stack = 0x001aa000-0x001ac000Number: 555548002onsole [early_s
TC
init
ffc8ffd201ac000-
007a8e00: ff8f000e fff4000c ffbeffe1 fff2ffc6 <0000fffe> 001d0024 ffb2ff7400ena
TCP reno register
CSD informati
DMA Zone = 0x03f00000-0x04000000rsion
fffbffe7
007a8e20: 00260015 ffacffeb 0080fff4 007e0022 0038002f 006c0053 io sc
Max
Boot Mode: 125MHz (defan
ffecfff1
007a8f60: ff9e0004 fff3fffa 0004fffd 0025000a 000efffa 0010ffe0 ff9fff8f
0040003d
007a8f80: 006e009e ff70ffc7 000aff78 00330057 ff91ffe6 fff50002 ffd80022
ffdc009d
007a8fa0: ff99ffaa 0028fff9 0012ffdc 001f001d ff94ffc2 00690053 00120037
ffc6fff0
007a8fc0: 000dff57 ffe4007d ff75ffb0 ff61ff43 ff8cffc6 ffd4ffe5 fffc0036
ffb7ffeb
007a8fe0: 00290010 00120042 002e0038 00340035 00760059 00920091 ff59ff70
ffb8ff92
Return addresses in stack:
address : <0x0001a8a8> { _sys_setgid + 0x3c }
address : <0x0000475c> { _show_stack + 0x88 }
address : <0x00006f8a> { _request_dma + 0x62 }
address : <0x0000ac7a> { _check_preempt_wakeup + 0x102 }
address : <0x00003446> { _do_rt_sigreturn + 0x332 }
address : <0x0058ffe8> [ /usr/lib/libasound.so.2 + 0x8ffe8 ]
address : <0x004cfffc> [ linphonec + 0xfffc ]
address : <0x001efff2> [ /lib/libc.so.0 + 0x2fff2 ]
address : <0x0000fffe> { _do_syslog + 0x26a }
address : <0x00380000> [ linphonec + 0x0 ]
Bus error
:/>
I don't know what to do to make it run.
TranslateQuoteReplyEditDelete
2010-01-29 09:44:31 Re: Audio Device or Linphone problems ???
Robin Getz (UNITED STATES)
Message: 85327
Mike:
Does your console really look that garbled?
if so -- i need to fix that.
-Robin
QuoteReplyEditDelete
2010-01-29 09:45:38 Re: Audio Device or Linphone problems ???
Robin Getz (UNITED STATES)
Message: 85328
Mike:
Until I fix it - could you telnet into the device, and run linphone from a telnet session (while capturing things on the serial port?) that will seperate the output from Linphone and the kernel.
Thanks
QuoteReplyEditDelete
2010-02-01 01:44:26 Re: Audio Device or Linphone problems ???
Mike Bunke (GERMANY)
Message: 85387
Hi Robin,
I am using the HyperTerminal (Windows). I think that's why it looks so bad. But I am new with all this linux stuff so I did not try to communicate to the Board from a Linux system.
But I see that it would be better if I have to give some error messages or something.
I'll try to do it with Linux Console to make it readable.
TranslateQuoteReplyEditDelete
2010-02-01 01:48:50 Re: Audio Device or Linphone problems ???
Mike Bunke (GERMANY)
Message: 85388
Let me first try it with console.
TranslateQuoteReplyEditDelete
2010-02-01 05:12:58 Re: Audio Device or Linphone problems ???
Mike Bunke (GERMANY)
Message: 85410
Okay, now I got it (sorry for the useless **** before):
Before linphone started all messages are like commited before.
root:/> linphonec
NLS disabled.
ALSA lib ../../alsa-lib-1.0.18/src/conf.c:3952:(snd_config_expand) Unknown parameters 0
ALSA lib ../../../alsa-lib-1.0.18/src/control/control.c:909:(snd_ctl_open_noupdate) Invalid CTL default:0
Ready
Warning: video is disabled in linphonec, use -V or -C or -D to enable.
linphonec> soundcard list
0: ALSA: default device
1: ALSA: bf5xx_ssm2602
2: OSS: /dev/dsp
linphonec> soundcard use 1
Using sound device ALSA: bf5xx_ssm2602
linphonec> call sip:toto@192.168.1.11
Contacting sip:toto@192.168.1.11
linphonec> linphonec> Connected.
linphonec> Data access misaligned address violation
- Attempted misaligned data memory or data cache access.
Deferred Exception context
CURRENT PROCESS:
COMM=linphonec PID=273
CPU = 0
TEXT = 0x00300000-0x00343adc DATA = 0x002c0adc-0x002c6428
BSS = 0x002c6428-0x00380000 USER-STACK = 0x003bfeb0
return address: [0x004e33f2]; contents of:
0x004e33d0: b9a0 308b 32a2 6c0d bbcd 0908 1763 a3bb
0x004e33e0: 0d03 180b b948 aff9 3213 3440 e0b2 2005
0x004e33f0: 9108 [9c01] 5008 9208 e438 0013 0c00 1049
0x004e3400: b93e e801 0000 05a4 0010 3043 40e8 3200
ADSP-BF518-0.0(Detected 0.1) 400(MHz CCLK) 80(MHz SCLK) (mpu off)
Linux version 2.6.28.10-ADI-2009R1.1
Built with gcc version 4.3.4 (ADI-trunk/git-11fe486)
SEQUENCER STATUS: Not tainted
SEQSTAT: 00000024 IPEND: 0030 SYSCFG: 0006
EXCAUSE : 0x24
interrupts disabled
physical IVG5 asserted : <0xffa00bbc> { _evt_ivhw + 0x0 }
RETE: <0x00000000> /* Maybe null pointer? */
RETN: <0x0073c000> /* kernel dynamic memory */
RETX: <0x00000480> /* Maybe fixed code section */
RETS: <0x004e32ee> [ /usr/lib/libspeex.so.1 + 0x32ee ]
PC : <0x004e33f2> [ /usr/lib/libspeex.so.1 + 0x33f2 ]
DCPLB_FAULT_ADDR: <0x007995f0> [ linphonec + 0x95f0 ]
ICPLB_FAULT_ADDR: <0x004e33f2> [ /usr/lib/libspeex.so.1 + 0x33f2 ]
PROCESSOR STATE:
R0 : 00000000 R1 : 00000200 R2 : 00000001 R3 : 00000028
R4 : 00000001 R5 : 00000005 R6 : 00000000 R7 : 00000005
P0 : 00798368 P1 : 007995f0 P2 : 00000028 P3 : 000000d1
P4 : 00000028 P5 : 00000009 FP : 007992b4 SP : 0073bf24
LB0: 004e7aa5 LT0: 004e7a7e LC0: 00000000
LB1: 004e33f7 LT1: 004e33f0 LC1: 00000027
B0 : 00000000 L0 : 0000000a M0 : 00000023 I0 : 00798362
B1 : 0079845c L1 : 00000000 M1 : 00000005 I1 : 007994ac
B2 : 007992b0 L2 : 00000000 M2 : 00798452 I2 : 00000028
B3 : 007992ac L3 : 00000000 M3 : 0000000a I3 : 00000008
A0.w: 00000b0c A0.x: 00000000 A1.w: 00000c88 A1.x: 00000000
USP : 00798344 ASTAT: 02002000
Hardware Trace:
0 Target : <0x00004d98> { _trap_c + 0x0 }
Source : <0xffa0061a> { _exception_to_level5 + 0xae }
1 Target : <0xffa0056c> { _exception_to_level5 + 0x0 }
Source : <0xffa00428> { _bfin_return_from_exception + 0x18 }
2 Target : <0xffa00410> { _bfin_return_from_exception + 0x0 }
Source : <0xffa004c4> { _ex_trap_c + 0x6c }
3 Target : <0xffa00458> { _ex_trap_c + 0x0 }
Source : <0xffa006e6> { _trap + 0x5a }
4 Target : <0xffa0068c> { _trap + 0x0 }
Source : <0x004e33f0> [ /usr/lib/libspeex.so.1 + 0x33f0 ] 0x9108
5 Target : <0x004e3375> [ /usr/lib/libspeex.so.1 + 0x3375 ]
Source : <0x004e33cc> [ /usr/lib/libspeex.so.1 + 0x33cc ] IF CC JUMP
6 Target : <0x004e33c6> [ /usr/lib/libspeex.so.1 + 0x33c6 ]
Source : <0x004e3391> [ /usr/lib/libspeex.so.1 + 0x3391 ]
7 Target : <0x004e3340> [ /usr/lib/libspeex.so.1 + 0x3340 ]
Source : <0x004e344c> [ /usr/lib/libspeex.so.1 + 0x344c ] JUMP.S
8 Target : <0x004e3441> [ /usr/lib/libspeex.so.1 + 0x3441 ]
Source : <0x004e344a> [ /usr/lib/libspeex.so.1 + 0x344a ] IF CC JUMP
9 Target : <0x004e3429> [ /usr/lib/libspeex.so.1 + 0x3429 ]
Source : <0x004e3434> [ /usr/lib/libspeex.so.1 + 0x3434 ] IF CC JUMP
10 Target : <0x004e340a> [ /usr/lib/libspeex.so.1 + 0x340a ]
Source : <0x004e32f4> [ /usr/lib/libspeex.so.1 + 0x32f4 ] IF CC JUMP
11 Target : <0x004e32ee> [ /usr/lib/libspeex.so.1 + 0x32ee ]
Source : <0x004e7f66> [ /usr/lib/libspeex.so.1 + 0x7f66 ] RTS
12 Target : <0x004e7f5a> [ /usr/lib/libspeex.so.1 + 0x7f5a ]
Source : <0x004e7f76> [ /usr/lib/libspeex.so.1 + 0x7f76 ] JUMP.S
13 Target : <0x004e7f68> [ /usr/lib/libspeex.so.1 + 0x7f68 ]
Source : <0x004e7f52> [ /usr/lib/libspeex.so.1 + 0x7f52 ] IF !CC JUMP
14 Target : <0x004e7ef8> [ /usr/lib/libspeex.so.1 + 0x7ef8 ]
Source : <0x004e2aea> [ /usr/lib/libspeex.so.1 + 0x2aea ] JUMP (P1)
15 Target : <0x004e2ae2> [ /usr/lib/libspeex.so.1 + 0x2ae2 ]
Source : <0x004e32ea> [ /usr/lib/libspeex.so.1 + 0x32ea ] CALL pcrel
Userspace Stack
Stack info:
SP: [0x00798344] <0x00798344> [ linphonec + 0x8344 ]
Memory from 0x00798340 to 00799000
00798340: 00000005 [004f1f8d] 007994a0 00799264 00000100 00798460 00000001 007992b0
00798360: 007992ac 00000000 00000200 00000200 fffffa00 fffffa00 00000200 00000200
00798380: 00000200 fffffa00 fffffa00 00000200 00000200 00000200 fffffa00 fffffa00
007983a0: 00000200 00000200 00000200 fffffa00 fffffa00 00000200 00000200 00000200
007983c0: fffffa00 fffffa00 00000200 00000200 00000200 fffffa00 fffffa00 00000200
007983e0: 00000200 00000200 fffffa00 fffffa00 00000200 00000200 00000200 fffffa00
00798400: fffffa00 00000200 0006fdf8 0047fffe 001a0034 00020089 00350049 008b001c
00798420: 004b0004 001e0037 0004008c 0037004b 008c001e 004b0004 001e0037 0004008c
00798440: 0037004b 008c001e 004b0004 001e0037 0004008c 0037004b 008c001e 0003821b
00798460: 0000751e 0002a6b1 0000d1b6 00001753 000013e5 00005049 0001c0de 000052be
00798480: 000046bd 0000a93f 00004ebf 00013a1f 000109a1 00008433 0000257e 00007769
007984a0: 0000284d 00001eee 0000717e 0000510f 0000a0d6 00004bee 00004846 00004143
007984c0: 0000393d 000021c3 0000297e 0000395f <0000c1ae> 00024942 0000bceb 000046eb
007984e0: 000040d9 0001152e 00026e09 00003fd7 000070f0 00002a06 00009f5e 000033bf
00798500: 00005194 00019625 0000654f 0000faf9 0000545f 0000b84f 00009ba5 00007465
00798520: 000011d2 000004a8 00000c36 000017f1 00002ad2 00004b1f 00008a51 0000537c
00798540: 00002225 0001041b 00005a66 000023b2 00005cbf 0000b740 0000286f 0000367c
00798560: 0001dc8f 0001ad2e 00011567 0000f5f6 0000769f 00005070 00006978 00005566
00798580: 000032b8 00000f11 0000e852 000071f9 00008860 0000fcf9 000064a2 000043e1
007985a0: 00001f85 00002302 00003dce 0000d38b 0000c27e 000013e9 000097e7 000011cb
007985c0: 0000325d 000090ed 00001791 00009e4a <000052e6> 00005326 000007e9 000019a5
007985e0: 00005615 000053b7 0000209e 0000492a 0001f147 000079e3 000070f6 00003d43
00798600: 00005452 00002151 00013249 000010c6 00001e4c 00003d15 000010f3 00006de9
00798620: 00004072 000027ee 00004eae 0000bcd9 00003557 00005fce 00005569 00006cb9
00798640: 00003ca3 0001a534 0000755b 000083a2 0000336d 0003f6ec 000044be 00004e19
00798660: 00005d92 0003f491 00007d91 00001f10 0000169a 00007857 0000b03d 000052d6
00798680: 000021fd 00004777 000014b7 00011c12 00011f6f 0000dd0e 00007075 00004e0d
007986a0: 00002309 00000921 0000683d 000064a9 00007186 000071de 0000fe34 0000126c
007986c0: 00006178 0000a67a 00004598 00008bf9 0001c482 0000e67d 00001e02 00002dfb
007986e0: 00004a36 000127b1 00008e0a 00003661 00007e75 00007c4e 00005c1b 0000429e
00798700: 00005e12 000226a5 00005c85 00002dc2 000051fa 00007d22 00007c48 000062aa
00798720: 0000144d 00003e3b 00000a02 0000264a 00000aa5 0000762b 0001373e 00005ae3
00798740: 00006b8a 000050fc 00001c62 0000809f 0000bc7d 0001531d 00005781 00001e2b
00798760: 000030ed 0001016a 00011734 000163a6 000045aa 0001061a 00006079 0000497a
00798780: 0000580a 0000992b 0000801f 000028e9 0000ac42 0000e2f0 000040b4 000038e4
007987a0: 000020ec 00000087 00003968 00002a3a 00004011 0000ab3f 0000c081 00007c8f
007987c0: 000055ff <0000db7c> 000040c3 00003427 00000fde 0000dcda 000086c3 000096a1
007987e0: 0000bae6 00014a7a 00005409 0000739b 00011d6a 000019a5 000085f6 <00004d10>
00798800:<0000de8e> 000092d6 00006f43 00001c4f 000076a2 00010f70 00005f4b 000084e8
00798820: 00000603 0000123e 00000b82 00004cce 0000b41e 00003a2b 00005cad 000051ab
00798840: 000044b7 <0000b976> 00010206 0000aa4b 00007deb 0001900b 0000413e 000017a5
00798860: 0006fde8 ffaafff0 ff88ffcd 0092ffb7 00ea00e1 007600b6 ff69ff86 0012ff9b
00798880: fffa004a ffdf001d 003ffffa 001a0028 00080007 fff20034 ffebff9a ffe6005e
007988a0: 00180028 ff29ffce ff80ff03 fffeffdb ffcf0020 ff88fff6 ffd8ffdd ffc6ffe4
007988c0: 0035ffd8 004b00ad 0009ffe0 005a0049 001c004b 00b200bd 002d0065 ffe0ffe8
007988e0:<0058ffe8> 003a00f1 0003003f ff6fffb6 000cffe2 ffadffd9 0004fff4 00030004
00798900: ff580030 003c002e ffec0028 0012ffcd fff50016 00320043 ffa0ffc8 000fffc5
00798920: ffcc0072 ffc7001f 0072001d 0098006c ffc5fffd 0054ffca 001e0009 ff9dffd8
00798940:<006b0024> ffea0043 ffc0001c ffcfffc4 002b0045 ffb00022 ffc90036 fffc0022
00798960: 0028ffd3 00330031 000fffbe 00360032 ffb00019 ffd5ffdb fff3ffba ff7d0024
00798980: ff9cff7e ffccffbf ff55ff93 ff10ff24 00690024 00530080 00620071 000e0011
007989a0: ffc90047 ff98003c 001e0021 0048000e 00ab005f 005c008a ff1eff58 ff66ff29
007989c0: ffa8ff9c ffba002b 000dffd7 001e008e 004a0010 ffca002e 0024ffcb fffc003d
007989e0: ffe8ffb2 ff7cffdf ffd8ff83 ffde0031 ffa7fff3 0010ffe4 ffcc006c ffe2ffb6
00798a00:<004cfffc> 00e100d8 ffe9ff78 00120051 ff30fffb ffbaff86 ffe8ffe7 00410046
00798a20: 0020ffff 005a006b 008b0069 ffd70054 00000012 ff52ffaa 0004ffd5 ffb9ffe2
00798a40: 005c007c ffe9fffa ffdb0012 ffeeffd0 0009fff1 ffeb000b fff4ffe4 ffe5fff6
00798a60: ffd20025 ffe2002f 0002001e 002c0034 ffbfffe8 0054ffd9 ffd5ffc3 002e0043
00798a80: 003a0036 ff80ffc0 0024ffa3 00230073 ffcd0037 fffe0006 ffbb0020 ffb00036
00798aa0: ffc8ff69 00910073 0024ff9e 00030058 ffb8ffbd 00070018 ffccffe7 0016006c
00798ac0: ffc9ffad ffc60029 ff8aff96 ffaeff94 ffc5ffd2 ffc40017 0010ffe7 ffadffb1
00798ae0: ffeb000b 00950062 00b000a7 002e00b1 0076004e 00ef00af ffafff78 008d0045
00798b00: ffe40092 ff4effbc ffddff63 002d0086 ffb1ffd1 ffbeffd4 0031ffcd ffa1002f
00798b20: 004e0050 fff4006a ff86ffc8 fff70047 fff00028 ffce0014 00000046 0014ffb8
00798b40: ffdaffda fff3ffec ffa5ff72 ff80ffae ffd0ffa7 ff9a0007 ffb8ff96 ffa4ffc6
00798b60: ff8affa2 0088ffee 006100ba ffd2fff4 fffafff6 ff63fffc fff4001f ffd6fffd
00798b80: ffca0070 ffe3003a ffc2fffe 0008fffc 003c0025 00230034 0012ffe4 00440011
00798ba0: 00760063 00410059 008e0059 ffea006e ff8dff93 0042ff92 000affe8 00070004
00798bc0: 00b90010 ffed003d ffcaffee ffeafff3 fffb001f ffe4004a fff1004e 00260012
00798be0: ffec000c 00a80053 0024fff6 ffd50016 ffcaffd0 00350025 009e005c ffbf0018
00798c00: ffa4ffa7 000efffa ffc0ffe9 ff9fffac ffe70016 00040000 002e001e 000ffff8
00798c20: fff80040 ffda008e fff8fff2 002cfff3 00460037 0049004f ffd9ffe0 ffd8ffc3
00798c40: 00020016 ffef0051 004affb0 00ef00bc 004600ad ffaefffd ffceff71 fffd0027
00798c60: 005cffe2 001f0080 002affd1 ffb2003d 00370021 000cfffe 0023007a ffc6ffb7
00798c80: 0003ffec 003c0022 ff5aff2e 003afffb ffde003a ffe0fff3 ffdbffe8 00050008
00798ca0: 000f0031 001a0047 00300028 ffa70038 001a002e ffd90001 00680005 00040079
00798cc0: 002a001e 00420050 002a003f fff20003 ffcbffcc ffd1ffd0 0058ffd6 ffd8005f
00798ce0: ff880003 ff77ffc0 ffaeffbe 00090032 ffe8ffd5 0020ffa3 0053ffde ffc8006f
00798d00: 0060003c ffa8001b ffe8ffe8 005a005c 00210062 001b004e ffcd0005 ff50004e
00798d20: ff75ff15 0019ffd7 ffd7ffb6 0059007a ff5efff7 ffc2fff8 ffd3ffd9 00170062
00798d40:<001efff2> ff84002c feffff33 ff03fef3 000d001e ff99004c 0032fff4 0016000d
00798d60: 003e0072 ffbd0054 ffa9ffea 0072ffbe 00f600be 01110112 ffc2ffac 004afff4
00798d80: 001e007d 001b0047 0015001d 0028003e 0006000f ff80fff7 002affe9 003b005d
00798da0: 002e0006 ff660020 ff90ff79 ffb5ffe2 0024001d ffbcffc8 0006ffe3 fff40008
00798dc0: 000effd5 0041006d fff7ffcc fffd0032 ffe80003 00810052 008d00aa ff56ffb4
00798de0: ffa9ff4f 002c0003 009e0097 ffad0000 0062ffe8 ff8a000e ffd6ffbd ffc8ffd2
00798e00: ff8f000e fff4000c ffbeffe1 fff2ffc6 <0000fffe> 001d0024 ffb2ff74 fffbffe8
00798e20: 00260014 ffacffea 0081fff4 007e0022 0037002e 006c0053 00690010 001b004a
00798e40: 00a500a0 002f0051 fff8003b ffc80006 ffde0012 fff30092 ffe9002f fffc001b
00798e60: 0032ffd3 0095007e ffd3ffca ffc1ffd7 ff9effab ff86ffb4 0028ffc1 ff5fffda
00798e80: ff52ff24 001aff9d ffb5fff4 ff58ff64 0023001e fff7004a <00380000> ffb7fffb
00798ea0: fff00037 ffdb004e 0028000c fff80063 00d40058 000c0097 ff81ff92 ffcfffb6
00798ec0: ffacfff0 000e0028 0023ffc2 00600088 00100039 ffe2ffde 002aff86 00390069
00798ee0: fff1ffca ffd20029 ffb6ff7f ffa7000b ffd40028 fffa0004 002b0086 000e0041
00798f00: 00cc0063 00ba00ea 0002ff82 ffbc0022 ffaeffd3 ffdeffdf ffcdfff4 0068004a
00798f20: ffd3ffda fffe0023 ffebffc6 ff5fffd0 ffecffe4 ffa2ffaa fffa0078 ff6cffe9
00798f40: ffceffef ffec0006 0020003d ffe8fffc 00290014 fff90073 ffd9ffec ffecfff1
00798f60: ff9e0004 fff4fffa 0003fffd 0025000a 000efffa 0010ffe0 ff9fff8f 0040003d
00798f80: 006e009e ff6fffc6 000aff79 00330057 ff91ffe6 fff50002 ffd80022 ffdc009d
00798fa0: ff9affaa 0028fffa 0012ffdc 001f001d ff94ffc2 00690053 00120037 ffc6fff0
00798fc0: 000eff57 ffe4007e ff75ffb0 ff62ff44 ff8cffc6 ffd4ffe5 fffc0036 ffb7ffeb
00798fe0: 00290010 00120042 002e0037 00340034 00750058 00910090 ff59ff70 ffb9ff93
Return addresses in stack:
address : <0x0000c1ae> { _sched_show_task + 0xb2 }
address : <0x000052e6> { _show_interrupts + 0xb2 }
address : <0x0000db7c> { _copy_process + 0xc0 }
address : <0x00004d10> { _double_fault_c + 0x5c }
address : <0x0000de8e> { _copy_process + 0x3d2 }
address : <0x0000b976> { _sched_debug_show + 0x306 }
address : <0x0058ffe8> [ /usr/lib/libasound.so.2 + 0x8ffe8 ]
address : <0x006b0024> [ linphonec + 0x24 ]
address : <0x004cfffc> [ linphonec + 0xfffc ]
address : <0x001efff2> [ /lib/libc.so.0 + 0x2fff2 ]
address : <0x0000fffe> { _do_syslog + 0x26a }
address : <0x00380000> [ linphonec + 0x0 ]
Bus error
:/>
TranslateQuoteReplyEditDelete
2010-02-01 11:38:48 Re: Audio Device or Linphone problems ???
Robin Getz (UNITED STATES)
Message: 85422
Mike:
Thanks - that is much easier to understand.
Now, follow the instructions at:
https://docs.blackfin.uclinux.org/doku.php?id=uclinux-dist:analyzing_traces#unaligned_data_access
to find out the line of source which is causing the problem (something in libspeex).
-Robin
QuoteReplyEditDelete
2010-02-02 04:03:22 Re: Audio Device or Linphone problems ???
Mike Bunke (GERMANY)
Message: 85465
That's what I got:
linux-yyc2:/home/mike # bfin-linux-uclibc-addr2line -f -e uClinux-dist/lib/speex/build-speex-svn-14525//libspeex/.libs/libspeex.so.1 0x33f2
split_cb_search_shape_sign_N1
../../speex-svn-14525/libspeex/cb_search.c:225
linux-yyc2:/home/mike/uClinux-dist # awk '{print FNR "\t" $0}' lib/speex/speex-svn-14525/libspeex/cb_search.c | sed -n '220,230p'
220 }
221
222 /* Update excitation */
223 /* FIXME: We could update the excitation directly above */
224 for (j=0;j<nsf;j++)
225 exc[j]=ADD32(exc[j],e[j]);
226
227 /* Update target: only update target if necessary */
228 if (update_target)
229 {
230 VARDECL(spx_word16_t *r2);
linux-yyc2:/home/mike/uClinux-dist #
TranslateQuoteReplyEditDelete
2010-02-02 11:55:32 Re: Audio Device or Linphone problems ???
Robin Getz (UNITED STATES)
Message: 85471
Mike:
OK -- the problem is with :
exc[j]=ADD32(exc[j],e[j]);
The error you are getting is : Attempted misaligned data memory or data cache access.
This is because:
spx_sig_t *exc,
VARDECL(spx_sig_t *e);
ALLOC(e, nsf, spx_sig_t);
From libspeex/stack_alloc.h
#if defined(VAR_ARRAYS)
#define VARDECL(var)
#define ALLOC(var, size, type) type var[size]
#elif ....
and the build directories config.h
/* Use C99 variable-size arrays */
#define VAR_ARRAYS /**/
So, we have two spx_sig_t, which are being passed to ADD32.
From libspeex/arch.h
typedef spx_int16_t spx_word16_t;
typedef spx_int32_t spx_word32_t;
typedef spx_word32_t spx_mem_t;
typedef spx_word16_t spx_coef_t;
typedef spx_word16_t spx_lsp_t;
typedef spx_word32_t spx_sig_t;
And then back to the build dir - ./include/speex/speex_config_types.h
/* these are filled in by configure */
typedef short spx_int16_t;
typedef unsigned short spx_uint16_t;
typedef int spx_int32_t;
typedef unsigned int spx_uint32_t;
So - it should be 2 ints.
#define ADD32(a,b) ((spx_word32_t)(a)+(spx_word32_t)(b))
Hmm -- can you dump the assembly around where it is failing? (0x33f2)
just with bfin-linux-uclibc-objdump -d uClinux-dist/lib/speex/build-speex-svn-14525//libspeex/.libs/libspeex.so.1 | less
QuoteReplyEditDelete
2010-02-03 01:56:29 Re: Audio Device or Linphone problems ???
Mike Bunke (GERMANY)
Message: 85503
Yes Robin:
33d8: cd bb [FP -0x10] = P5;
33da: 08 09 CC = R0 <= R1;
33dc: 63 17 IF !CC JUMP 0x32a2 <_split_cb_search_shape_sign_N1+0xda> (BP);
33de: bb a3 R3 = [FP + 0x38];
33e0: 03 0d CC = R3 <= 0x0;
33e2: 0b 18 IF CC JUMP 0x33f8 <_split_cb_search_shape_sign_N1+0x230>;
33e4: 48 b9 P0 = [FP -0x30];
33e6: f9 af P1 = [FP + 0x3c];
33e8: 13 32 P2 = R3;
33ea: 40 34 I0 = P0;
33ec: b2 e0 05 20 LSETUP(0x33f0 <_split_cb_search_shape_sign_N1+0x228>, 0x33f6 <_split_cb_search_shape_sign_N1+0x22e>) LC1 = P2;
33f0: 08 91 R0 = [P1];
33f2: 01 9c R1 = [I0++];
33f4: 08 50 R0 = R0 + R1;
33f6: 08 92 [P1++] = R0;
33f8: 38 e4 13 00 R0 = [FP + 0x4c];
33fc: 00 0c CC = R0 == 0x0;
33fe: 49 10 IF !CC JUMP 0x3490 <_split_cb_search_shape_sign_N1+0x2c8>;
3400: 3e b9 SP = [FP -0x34];
3402: 01 e8 00 00 UNLINK;
3406: a4 05 (R7:4, P5:4) = [SP++];
3408: 10 00 RTS;
340a: 43 30 R0 = P3;
340c: e8 40 R0 *= R5;
340e: 00 32 P0 = R0;
3410: 79 b9 P1 = [FP -0x24];
3412: b8 e4 b7 ff R0 = B[FP + -0x49] (Z);
3416: 08 02 CC = R0;
3418: 41 5c P1 = P1 + (P0 << 0x1);
341a: 49 30 R1 = P1;
341c: 2c 18 IF CC JUMP 0x3474 <_split_cb_search_shape_sign_N1+0x2ac>;
The orange marked line should be the cause of the crash.
I hope this is what you need.
TranslateQuoteReplyEditDelete
2010-02-03 13:56:16 Re: Audio Device or Linphone problems ???
Robin Getz (UNITED STATES)
Message: 85550
Mike:
Just to confirm (so I can try to replicate) - can you run "version" on the hardware, and paste what it gives you?
Thanks
QuoteReplyEditDelete
2010-02-04 03:35:32 Re: Audio Device or Linphone problems ???
Mike Bunke (GERMANY)
Message: 85603
Hi, this is what <version> says:
bfin> version
U-Boot 2008.10 (ADI-2009R1.1-rc1) (Dec 4 2009 - 03:18:46)
bfin>
...
root:/> version
kernel: Linux release 2.6.28.10-ADI-2009R1.1, build #29 Thu Feb 4 09:17:35 CET 2010
toolchain: bfin-linux-uclibc-gcc release gcc version 4.3.4 (ADI-trunk/git-11fe486)
user-dist: release 2009R1.1, build #14 Thu Feb 4 09:16:28 CET 2010
root:/>
TranslateQuoteReplyEditDelete
2010-02-04 03:37:17 Re: Audio Device or Linphone problems ???
Mike Bunke (GERMANY)
Message: 85604
For addition: This is a new build but with same kernel and application settings as before and same crash / error.
TranslateQuoteReplyEditDelete
2010-02-04 05:45:32 Re: Audio Device or Linphone problems ???
Mike Bunke (GERMANY)
Message: 85608
Another addition (maybe helpful):
Board is BF518F EZBRD,
ADSP-BF518F-EZ-BOARD REV 1.0 (C) 2009 , BOM 1.6.
TranslateQuoteReplyEditDelete
2010-02-15 02:07:56 Re: Audio Device or Linphone problems ???
Mike Bunke (GERMANY)
Message: 86086
Hi,
did you find out something new?
TranslateQuoteReplyEditDelete
2010-03-01 04:31:21 Re: Audio Device or Linphone problems ???
Mike Bunke (GERMANY)
Message: 86663
This thread is now
Linphone crashes when answering call (libspeex)