[Cbe-oss-dev] kernel exception on ps3

Martin Schreiber martin.schreiber at in.tum.de
Tue Apr 10 11:46:28 EST 2007


hi!

i got a kernel exception and hope that this mailing list is the right to send exception:

i used the recent ps3 kernel version (git clone
git://git.kernel.org/pub/scm/linux/kernel/git/geoff/ps3-linux.git) but
the same kernel exception also occures with the original kernel version
2.6.16.

the distribution is fc5

at the end of the email, you'll find the kernel exception.

the exception was produced about 30 percent with the uncommenting of the
following piece of code on spus.

        for (i = 0; i < SPU_NUMS; i++)
        {
                if (spe_data_block.spe_id == i)
                {
                        for (a = i+1; a < SPU_NUMS; a++)
                        {
                                send_to_spu(a, 600+spe_data_block.spe_id);      // send spu_id + 600 to other spu
                                read_from_mbox();                               // read pong from other spu
                        }
                }
                else
                {
                        if (spe_data_block.spe_id > i)
                        {
                                read_from_mbox();
                                send_to_spu(i, 600+spe_data_block.spe_id);      // send pong
                        }
                }
        }


the functions send_to_spu just writes to the according control_area of the other spu (via dma operations).

can i help you in another way?

ciao & thx,
  martin



ps3 kernel: ------------[ cut here ]------------
Apr  9 07:38:27 ps3 ainit: 
Apr  9 07:40:46 ps3 kernel: ------------[ cut here ]------------
Apr  9 07:40:46 ps3 kernel: Badness at arch/powerpc/platforms/cell/spufs/inode.c:371
Apr  9 07:40:46 ps3 kernel: Call Trace:
Apr  9 07:40:46 ps3 kernel: [C0006C006124B350] [C00000000000F27C] .show_stack+0x68/0x1b0 (unreliable)
Apr  9 07:40:46 ps3 kernel: [C0006C006124B3F0] [C00000000017D670] .report_bug+0x94/0xe8
Apr  9 07:40:46 ps3 kernel: [C0006C006124B480] [C00000000001EF24] .program_check_exception+0x138/0x570
Apr  9 07:40:46 ps3 kernel: [C0006C006124B550] [C0000000000044FC] program_check_common+0xfc/0x100
Apr  9 07:40:46 ps3 kernel: --- Exception: 700 at .spufs_gang_close+0x2c/0x58
Apr  9 07:40:46 ps3 kernel:     LR = .spufs_gang_close+0x2c/0x58
Apr  9 07:40:46 ps3 kernel: [C0006C006124B8D0] [C0000000000A05E0] .__fput+0x114/0x204
Apr  9 07:40:46 ps3 kernel: [C0006C006124B980] [C00000000009CEC4] .filp_close+0xac/0xd4
Apr  9 07:40:46 ps3 kernel: [C0006C006124BA10] [C0000000000471F8] .put_files_struct+0xb4/0x13c
Apr  9 07:40:46 ps3 kernel: [C0006C006124BAB0] [C000000000048BC4] .do_exit+0x274/0x8b4
Apr  9 07:40:46 ps3 kernel: [C0006C006124BB70] [C0000000000492B8] .sys_exit_group+0x0/0x8
Apr  9 07:40:46 ps3 kernel: [C0006C006124BC00] [C0000000000544A8] .get_signal_to_deliver+0x3dc/0x42c
Apr  9 07:40:46 ps3 kernel: [C0006C006124BCB0] [C000000000016948] .do_signal+0xa4/0x88c
Apr  9 07:40:46 ps3 kernel: [C0006C006124BE30] [C000000000008BF0] do_work+0x28/0x2c




Martin Schreiber
Im Muehltal 48
91171 Greding
- Germany -

http://www.martin-schreiber.net
SchreiberX at Altmuehlnet.de 



 -- 
 -- 


-----BEGIN GEEK CODE BLOCK-----
Version: 3.12
GCS d s+: a-- C++ UL++ P+ L+++ E-- W+++ N o K- w---
O- M- V- PS+++ PE+ Y PGP++ t 5+ X R+ tv++ b+ DI- D++
G e h-- r-- y+
------END GEEK CODE BLOCK------
Martin Schreiber
Enzianstrasse 3 00/06
D-85748 Garching

HTTP: www.martin-schreiber.net
MAIL: schreibm at in.tum.de






More information about the cbe-oss-dev mailing list