Ps3 gnuradio

Here’s what I found on the ps3 system so far:

Current system software is 2.35 and had to use a later
‘CELL-Linux-CL-20080201-ADDON.iso’ otherwise got a blank screen on
‘start other os’. 20071023 is the version in the wiki, I’ll try to
update things at some time.

Kernel 2.6.21 works fine but has the shutdown hang issue. Kernel 2.6.24
reboots ok but is missing nfsd.ko, or I just could not otherwise get nfs
to work. Turning off all unnecessary services and modules got 160 out of
217MB free :wink:

Plow through cross compile, build failed with -j6, but worked with just
‘make’. Wiki says -j2.

‘make check’ fails with a segfault in ‘gcell/src/apps/test_all’.
Commenting out ‘runner.addTest(qa_gcell_wrapper::suite());’ makes it
work again.

Played around with some of the other apps and got this nice chart:

Went ahead and did ‘make install’, set PYTHONPATH and imported gr and
audio. Tried dialtone but got ‘audio_alsa_sink[hw:0,0]: failed to set
access mask: Invalid argument’. Used a file sink and got
‘gr_vmcircbuf_createfilemapping: createfilemapping is not available’ but
got a bunch of output that plots correctly on a big-endian machine.

Finally found that ‘audio.sink(48000,“plughw:0,0”)’ works.

–Chuck

On Sat, 2008-05-31 at 13:45 -0400, Charles S. wrote:

‘make check’ fails with a segfault in ‘gcell/src/apps/test_all’.

played around with gdb and finally found this while stepping:

Breakpoint 17, ~worker_ctx (this=0xf7e0071c) at
gc_job_manager_impl.cc:1241
1241 if (spe_ctx){
(gdb)
1242 int r = spe_context_destroy(spe_ctx);
(gdb)
1241 if (spe_ctx){
(gdb)
1242 int r = spe_context_destroy(spe_ctx);
(gdb)
1243 if (r != 0){
(gdb)
1246 spe_ctx = 0;
(gdb)
1248 state = WS_FREE;
(gdb)
1249 }
(gdb)
1248 state = WS_FREE;
(gdb)
1249 }
(gdb)
~gc_job_manager_impl (this=0xf7e006e8)
at /mnt/cell-root/usr/include/boost/detail/shared_count.hpp:159
159 if( pi_ != 0 ) pi_->release();
(gdb)
74 );
(gdb)
151 if( atomic_decrement( &use_count_ ) == 0 )
(gdb)
335 }
(gdb)
~gc_job_manager (this=0xf7e006e8) at gc_job_manager.cc:58
58 gc_job_manager::~gc_job_manager()
(gdb)
61 }
(gdb)
58 gc_job_manager::~gc_job_manager()
(gdb)
61 }
(gdb)
boost::detail::sp_counted_impl_p<gc_job_manager_impl>::dispose (
this=)
at /mnt/cell-root/usr/include/boost/detail/sp_counted_impl.hpp:76
76 boost::checked_delete( px_ );
(gdb)
qa_gcell_general::generic_test_body (this=,
proc_name=@0xffad5288)

at
/mnt/cell-root/usr/include/boost/detail/sp_counted_base_gcc_ppc.hpp:74
74 );
(gdb)
165 if( atomic_decrement( &weak_count_ ) == 0 )
(gdb)
167 destroy();
(gdb)
boost::detail::sp_counted_base::destroy (this=0xf7e17bb0)

at
/mnt/cell-root/usr/include/boost/detail/sp_counted_base_gcc_ppc.hpp:134
134 delete this;
(gdb)
~sp_counted_impl_p (this=0xf7e17bb0)
at /mnt/cell-root/usr/include/boost/detail/sp_counted_impl.hpp:52
52 {
(gdb)
122 {
(gdb)
52 {
(gdb)
122 {
(gdb)
52 {
(gdb)
boost::detail::sp_counted_base::destroy (this=0xfa3ca00)

at
/mnt/cell-root/usr/include/boost/detail/sp_counted_base_gcc_ppc.hpp:135
135 }
(gdb)
qa_gcell_general::generic_test_body (this=,
proc_name=@0xffad5288)
at /mnt/cell-root/usr/include/boost/shared_ptr.hpp:253
253 BOOST_ASSERT(px != 0);
(gdb)
63 if (!mgr->wait_job(jd.get())){
(gdb)

Program received signal SIGSEGV, Segmentation fault.
0x00000000 in ?? ()