discuss-gnuradio
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Discuss-gnuradio] gnuradio on ARM: gr_vmcircbuf_sysv_shm: shmat (3)


From: Monahan-Mitchell, Tim
Subject: Re: [Discuss-gnuradio] gnuradio on ARM: gr_vmcircbuf_sysv_shm: shmat (3): Invalid argument
Date: Thu, 18 Apr 2013 16:55:36 +0000

>On Thu, Apr 18, 2013 at 8:57 AM, Philip Balister <address@hidden> wrote:
>> On 04/17/2013 07:28 PM, Monahan-Mitchell, Tim wrote:
>>> gnuradio maint branch, v.3.6.4.1
>>>
>>> 'make test' fails, due to gr-core-test-all failing.
>>>
>>> At first, I was getting an error due to the "shmat (2)" line above where 
>>> this error occurs, but it has settled on (3).
>>> I added a couple lines of extra debug output (source code is below the 
>>> error output).
>>
>> I am digging into repressed memories here, so people cirrect me if I am
>> wrong.
>>
>> GNU Radio allocates a large buffer to use for block input/output
>> buffers. It has about three ways to do this, one of which uses shmem
>> calls. These calls fail on arm due to some internal difference between
>> x86 and arm. (I forget what the detail is)
>>
>> Since this fails, it tries another allocator that succeeds and saves
>> this info in a dot file. I think you see the message from gnuradio once,
>> then you do not see it again.
>>
>> Philip
>
>Yep, that's right.
>
>Tom

OK, so I ran 'ctest -V' twice in a row without code changes or building, and 
got the
same error output below for gr-core-test-all each time:

test 6
        Start   6: gr-core-test-all

6: Test command: /bin/sh 
"/src/gnuradio/build/gnuradio-core/src/tests/gr-core-test-all_test.sh"
6: Test timeout computed to be: 9.99988e+06
6: Testing gr_vmcircbuf_createfilemapping_factory...
6: gr_vmcircbuf_createfilemapping: createfilemapping is not available
6: ....... gr_vmcircbuf_createfilemapping_factory: Doesn't work
6: Testing gr_vmcircbuf_sysv_shm_factory...
6: gr_vmcircbuf_sysv_shm: shmat (2): Invalid argument
6: ....... gr_vmcircbuf_sysv_shm_factory: Doesn't work
6: Testing gr_vmcircbuf_mmap_shm_open_factory...
6: ....... gr_vmcircbuf_mmap_shm_open_factory: OK
6: Testing gr_vmcircbuf_mmap_tmpfile_factory...
6: ....... gr_vmcircbuf_mmap_tmpfile_factory: OK
6: ...........................NOTICE: test from c++ NOTICE
6: DEBUG: test from c++ DEBUG
6: INFO: test from c++ INFO
6: WARN: test from c++ WARN
6: ERROR: test from c++ ERROR
6: FATAL: test from c++ FATAL
6: .....Using Volk machine: generic
6:
6: NOTE: This is supposed to produce an error from gr_block_executor
6: Error: gr_block_executor: propagation_policy 'ONE-TO-ONE' requires ninputs 
== noutputs
6:  [generic] [armv7_a]
6:  [generic] [armv7_a]
6:  [generic]
6:  [generic]
6:  [generic]
6:  [generic] [armv7_a]
6: >>> gr_fir_fff: using armv7_a
6: >>> gr_fir_ccf: using armv7_a
6: 
........................................................................F........
6:
  6/222 Test   #6: gr-core-test-all .................***Failed   44.44 sec

So what is the real error here?

Thanks,
Tim



reply via email to

[Prev in Thread] Current Thread [Next in Thread]