Skip to contentSkip to conversation

Oops on PPC405EP

Xenomai-help Dirk Eibach 2 participants 2 messages Aug 21, 2006

lore
Share & tools
lore
#0 lore raw

Hello,

I am using ftp://ftp.denx.de/pub/linux/linux-2.6.14.tar.bz2 Kernelsources, xenomai-2.2.0.
My hardware is Dave PPChameleon (PPC404EP).

I have built and installed kernel and xenomai successfully.

When I run xeno-test I end up with:

Oops: Exception in kernel mode, sig: 4 [#1]
NIP: C016772C LR: C003C7B0 SP: C1A19E50 REGS: c1a19da0 TRAP: 0700    Not

tainted
MSR: 0002b030 EE: 1 PR: 0 FP: 1 ME: 1 IR/DR: 11
TASK = c1a10b60[500] 'sampling-497' THREAD: c1a18000
Last syscall: 50332203
GPR00: C1A10D48 C1A19E50 C1A10B60 C1A10D48 C0005940 0002B030 0007C45F C1A10B5F
GPR08: 00000001 00400000 00000001 C0260040 00000000 10020184 01FEF400 00000000
GPR16: 00000001 FFFFFFFF 00000000 00000000 0FFAC420 00000000 C1A19F50 C021C420
GPR24: 0000000E C0250000 C0260000 00000000 00000018 C0261350 C0362768 C0261380

Call trace: [c00421fc]  [c0042668]  [c0043530]  [c0035708]  [c000b418]

[c0002bf4]

Attached is the full log.

Cheers.

Signature · 5 lines
Dirk Eibach <[email protected]>
Guntermann & Drunck Systementwicklung GmbH
F & E
Dortmunder Str. 4a, D-57234 Wilnsdorf
Tel.: +49 (0) 2739 8901 100, Fax.: +49 (0) 2739 8901 120

/home/de/src/xenomai/xenomai-2.2.0/install/bin # ./xeno-test
xeno-test: started
withBusybox is 1
xeno-test: running tests

Thu Jan 1 01:01:15 CET 1970
running: ./xeno-config --verbose
xeno-config --verbose

    --version="2.2.0"
    --cc="powerpc-405-linux-gnu-gcc"
    --arch="powerpc"
    --prefix="/home/de/src/xenomai/xenomai-2.2.0/install/"
    --xeno-cflags="-I. -I/home/de/src/xenomai/xenomai-2.2.0/install//include -O2 -D_GNU_SOURCE -D_REENTRANT -D__XENO__ -Wall -pipe"
    --xeno-ldflags="-L/home/de/src/xenomai/xenomai-2.2.0/install//lib -lpthread -rdynamic"
    --posix-cflags="-I. -I/home/de/src/xenomai/xenomai-2.2.0/install//include -I/home/de/src/xenomai/xenomai-2.2.0/install//include/posix -O2 -"
    --posix-ldflags="-L/home/de/src/xenomai/xenomai-2.2.0/install//lib -lpthread_rt -lpthread -lrt -rdynamic"
    --uvm-cflags="-I. -I/home/de/src/xenomai/xenomai-2.2.0/install//include -O2 -D_GNU_SOURCE -D_REENTRANT -D__XENO__ -Wall -pipe -D__XENO_UVM_"
    --uvm-ldflags="-u__xeno_skin_init -L/home/de/src/xenomai/xenomai-2.2.0/install//lib -luvm -lnucleus_uvm -lpthread"
    --library-dir="/home/de/src/xenomai/xenomai-2.2.0/install//lib"

Thu Jan 1 01:01:15 CET 1970
running: ./xeno-info
If some fields are empty or look unusual you may have an old version. Compare to the current minimal requirements in Documentation/Changes.

BusyBox v1.1.0 (2006.08.21-11:31+0000) multi-call binary Linux CATCenterOS 2.6.14 #3 Mon Aug 21 11:31:05 CEST 2006 ppc unknown

module-init-tools found
Modules Loaded

Thu Jan 1 01:01:16 CET 1970
running: cat /proc/cpuinfo
processor : 0
cpu : 405EP
clock : 133MHz
revision : 9.80 (pvr 5121 0950)
bogomips : 133.12
machine : DAVE PPChameleonEVB
plb bus clock : 133MHz
pci bus clock : 33MHz

Thu Jan 1 01:01:17 CET 1970
running: md5sum /proc/cpuinfo # cpuinfo fingerprint bd5c627d3bd83dbdff0ffba66167c3b3 /proc/cpuinfo

Thu Jan 1 01:01:17 CET 1970
running: cat /proc/ipipe/Linux
Priority=100, Id=0x00000000
irq0-31: accepted
irq32: accepted, virtual
irq33-34: grabbed, virtual
irq35: passed, virtual

Thu Jan 1 01:01:17 CET 1970
running: cat /proc/ipipe/Xenomai
Invariant head, Id=0x58454e4f
irq0-31: passed
irq32: wired, virtual
irq33-34: passed, virtual
irq35: wired, virtual

Thu Jan 1 01:01:17 CET 1970
running: cat /proc/ipipe/version
1.3-05

Thu Jan 1 01:01:17 CET 1970
running: generate_loads 1
dd workload started, pids 233 stored in /var/lock/xeno-test.43.pids

Thu Jan 1 01:01:17 CET 1970
running: cat /proc/interrupts
CPU0

 10:          0  UIC0 Level     MAL SERR
 11:       2850  UIC0 Level     MAL TX EOB
 12:       3507  UIC0 Level     MAL RX EOB
 13:          0  UIC0 Level     MAL TX DE
 14:          0  UIC0 Level     MAL RX DE
 15:          0  UIC0 Level     EMAC

BAD: 0

Thu Jan 1 01:01:18 CET 1970
running: cat /proc/loadavg
0.08 0.02 0.01 3/22 248

Thu Jan 1 01:01:18 CET 1970

running: cat /proc/meminfo
MemTotal:        29964 kB
MemFree:         24376 kB
Buffers:             0 kB
Cached:           2328 kB
SwapCached:          0 kB
Active:           1928 kB
Inactive:         1180 kB
HighTotal:           0 kB
HighFree:            0 kB
LowTotal:        29964 kB
LowFree:         24376 kB
SwapTotal:           0 kB
SwapFree:            0 kB
Dirty:               0 kB
Writeback:           0 kB
Mapped:           1716 kB
Slab:             1616 kB
CommitLimit:     14980 kB
Committed_AS:     3868 kB
PageTables:        144 kB
VmallocTotal:   606136 kB
VmallocUsed:      4488 kB
VmallocChunk:   601524 kB

Thu Jan 1 01:01:18 CET 1970
running: cat /proc/xenomai/apc
APC CPU0

  0:            0    (pipe_wakeup)
  1:            0    (lostage_handler)
  2:            0    (registry_export)
  3:            0    (pipe_flush)
  4:            0    (posix_signals_handler)

Thu Jan 1 01:01:18 CET 1970
running: cat /proc/xenomai/faults
TRAP CPU0

  0:            0    (Data or instruction access)
  1:            0    (Alignment)
  2:            0    (Altivec unavailable)
  3:            0    (Program check exception)
  4:            0    (Machine check exception)
  5:            0    (Unknown)
  6:            0    (Instruction breakpoint)
  7:            0    (Run mode exception)
  8:            0    (Single-step exception)
  9:            0    (Non-recoverable exception)
 10:            0    (Software emulation)
 11:            0    (Debug)
 12:            0    (SPE)
 13:            0    (Altivec assist)

Thu Jan 1 01:01:18 CET 1970
running: cat /proc/xenomai/hal
1.3-05

Thu Jan 1 01:01:18 CET 1970
running: cat /proc/xenomai/irq
IRQ CPU0
32: 7843
35: 0

Thu Jan 1 01:01:18 CET 1970
running: cat /proc/xenomai/latency
9495

Thu Jan 1 01:01:19 CET 1970
running: cat /proc/xenomai/sched

CPU  PID    PRI      TIMEOUT  STAT       NAME
  0  0       -1      0        R          ROOT

Mem: 5892K used, 24072K free, 0K shrd, 0K buff, 2376K cached
Load average: 0.31, 0.07, 0.02 (State: S=sleeping R=running, W=waiting)

  PID USER     STATUS   RSS  PPID %CPU %MEM COMMAND
  233 root     R        432     1 96.9  1.4 dd
  387 root     R        788   386  3.8  2.6 top
   41 root     S        876     1  0.0  2.9 sh
   43 root     S        628    41  0.0  2.0 xeno-test
   40 root     S        624     1  0.0  2.0 dropbear
    1 root     S        560     0  0.0  1.8 init

Thu Jan 1 01:01:22 CET 1970
running: ./run -- -sh -T 120 -t0
*
*
* Type ^C to stop this application.
*
*
== Sampling period: 100 us
== Test mode: periodic user-mode task
== All results in microseconds

Oops: Exception in kernel mode, sig: 4 [#1]
NIP: C016772C LR: C003C7B0 SP: C1A19E50 REGS: c1a19da0 TRAP: 0700    Not tainted

MSR: 0002b030 EE: 1 PR: 0 FP: 1 ME: 1 IR/DR: 11
TASK = c1a10b60[500] 'sampling-497' THREAD: c1a18000
Last syscall: 50332203
GPR00: C1A10D48 C1A19E50 C1A10B60 C1A10D48 C0005940 0002B030 0007C45F C1A10B5F
GPR08: 00000001 00400000 00000001 C0260040 00000000 10020184 01FEF400 00000000
GPR16: 00000001 FFFFFFFF 00000000 00000000 0FFAC420 00000000 C1A19F50 C021C420
GPR24: 0000000E C0250000 C0260000 00000000 00000018 C0261350 C0362768 C0261380

Call trace: [c00421fc]  [c0042668]  [c0043530]  [c0035708]  [c000b418]  [c0002bf4]
#1 lore raw
Quoted 14 lines · Dirk Eibach
Oops: Exception in kernel mode, sig: 4 [#1]
NIP: C016772C LR: C003C7B0 SP: C1A19E50 REGS: c1a19da0 TRAP: 0700

Not tainted
MSR: 0002b030 EE: 1 PR: 0 FP: 1 ME: 1 IR/DR: 11
TASK = c1a10b60[500] 'sampling-497' THREAD: c1a18000
Last syscall: 50332203
GPR00: C1A10D48 C1A19E50 C1A10B60 C1A10D48 C0005940 0002B030 0007C45F C1A10B5F
GPR08: 00000001 00400000 00000001 C0260040 00000000 10020184 01FEF400 00000000
GPR16: 00000001 FFFFFFFF 00000000 00000000 0FFAC420 00000000 C1A19F50 C021C420
GPR24: 0000000E C0250000 C0260000 00000000 00000018 C0261350 C0362768 C0261380

Quoted 3 lines
Call trace: [c00421fc]  [c0042668]  [c0043530]  [c0035708]  [c000b418]

[c0002bf4]

Oops indeed. Could you objdump the kernel, and locate the symbols close to the addresses 0xC016772C and 0xC003C7B0? TIA,

Signature · 1 line
Philippe.