question about test appliction sp02
Harris, Andrew
Andrew.Harris at jhuapl.edu
Mon Aug 25 21:49:01 UTC 2003
Hi -
I am running RTEMS on an MVME2604 with the MVME712 IO board. I am
using the unmodified MVME2307 BSP and things seem to be working. I am able
to get RTEMS to boot and execute the hello and ticker examples, as well as
tests SP01, SP03, SP04 and SP05. However, it seems test SP02 is failing.
The error says TOO_MANY, but I can't seem to find whether it's too many
tasks or too many global objects (it seems that error code is repeated for
both of these conditions in the rtems_task_create case). I looked in
system.h for this test and it had CONFIGURE_MAXIMUM_TASKS set to 4, which
should be enough for this test case...
Does anyone think it could be something that I've not done in the
BSP related code that is causing some strange error? (I tried running the
cdtest.exe file and it crashed when trying to boot, after loading with an
INVALID INSTRUCTION error. I'm wondering if this is all related to the
BSP.)
See the attached output:
PPC1-Bug>nbo
Network Booting from: DEC21140, Controller 0, Device 0
Device Name: /pci at 80000000/pci1011,9 at e,0:0,0
Loading: tests/sp02.exe
Client IP Address = 128.244.239.38
Server IP Address = 128.244.239.39
Gateway IP Address = 128.244.239.1
Subnet IP Address Mask = 255.255.248.0
Boot File Name = tests/sp02.exe
Argument File Name =
Network Boot File load in progress... To abort hit <BREAK>
Bytes Received =&155308, Bytes Loaded =&155308
Bytes/Second =&77654, Elapsed Time =2 Second(s)
Residual-Data Located at: $01F78000
Model: 000000000000000000000000000(e2)
Serial: MOT040D86B
Processor/Bus frequencies (Hz): 333374272/66673768
Time Base Divisor: 4000
Memory Size: 2000000
Original MSR: 3040
Original HID0: 82
Original R31: 0
PCI: Probing PCI hardware
RTEMS 4.x/PPC load:
Uncompressing the kernel...
Kernel at 0x00000000, size=0x38d50
Initrd at 0x00000000, size=0x0
Residual data at 0x00039000
Command line at 0x00040000
done
Now booting...
-----------------------------------------
Welcome to rtems-ss-20030417(PowerPC/PowerPC 604/mvme2307) on MVME 2600 with
MVME712M
-----------------------------------------
OpenPIC found at C1000000.
OpenPIC Version ? (2 CPUs and 17 IRQ sources) at 0xC1000000
OpenPIC Vendor 0 (Motorola), Device 0 (Raven), Stepping 2
OpenPIC timer frequency is 8333592 Hz
Please add code for PCI/ISA bridge init to
libbsp/powerpc/shared/irq/irq_init.c
If your card works correctly please add a test and set known_cpi_isa_bridge
to true
currentBoard = i
Universe II PCI-VME bridge detected at 0xC1041000, IRQ 11
Universe Master Ports:
Port VME-Addr Size PCI-Adrs Mode:
0: 0xFFFFE000 0x00000000 0xFFFFF000 A??, Pgm, Sup
1: 0xFFFE0000 0x00000000 0xFFFF0000 A??, Pgm, Sup
2: 0xFFFE0000 0x00000000 0xFFFF0000 A??, Pgm, Sup
3: 0xFFFE0000 0x00000000 0xFFFF0000 A??, Pgm, Sup
4: 0xFFFFE000 0x00000000 0xFFFFF000 A??, Pgm, Sup
5: 0xFFFE0000 0x00000000 0xFFFF0000 A??, Pgm, Sup
6: 0xFFFE0000 0x00000000 0xFFFF0000 A??, Pgm, Sup
7: 0xFFFE0000 0x00000000 0xFFFF0000 A??, Pgm, Sup
Universe Slave Ports:
Port VME-Addr Size PCI-Adrs Mode:
0: 0xFFFFF000 0x00000000 0xFFFFE000 A??, Pgm, Dat, Sup, Usr
1: 0xFFFF0000 0x00000000 0xFFFE0000 A??, Pgm, Dat, Sup, Usr
2: 0xFFFF0000 0x00000000 0xFFFE0000 A??, Pgm, Dat, Sup, Usr
3: 0xFFFF0000 0x00000000 0xFFFE0000 A??, Pgm, Dat, Sup, Usr
4: 0xFFFFF000 0x00000000 0xFFFFE000 A??, Pgm, Dat, Sup, Usr
5: 0xFFFF0000 0x00000000 0xFFFE0000 A??, Pgm, Dat, Sup, Usr
6: 0xFFFF0000 0x00000000 0xFFFE0000 A??, Pgm, Dat, Sup, Usr
7: 0xFFFF0000 0x00000000 0xFFFE0000 A??, Pgm, Dat, Sup, Usr
Overriding main IRQ line PCI info with 5
Registering /dev/console as minor 0 (==/dev/ttyS0)
/
*** TEST 2 ***
INIT - rtems_task_wake_after - yielding processor
PREEMPT - rtems_task_delete - deleting self
rtems_task_create of TA3 FAILED -- expected (successful completion) got (too
many)
Once again thanks for any help,
-andrew
More information about the users
mailing list