Gr_fir_fff: using 3DNow! core dump

I have a program that uses gnuradio to work with a HiQSDR.

The first time I fired up qsdr it worked.
Closing it down and re-opening later I got the error. A reboot of the
system didn’t solve it.

$ qsdr
starting server
Using Volk machine: sse4_a_64

gr_fir_fff: using 3DNow!
terminate called after throwing an instance of ‘std::runtime_error’
what(): unpaired unlock() call
Aborted (core dumped)
73 … Sid.


Sid B. … Hamradio License G3VBV, Licensed Private Pilot
Emeritus IBM/Amdahl Mainframes and Sun/Fujitsu Servers Tech Support
Senior Staff Specialist, Cricket Coach
Microsoft Windows Free Zone - Linux used for all Computing Tasks

On Tue, Mar 19, 2013 at 9:20 PM, Sid B. [email protected]
wrote:

terminate called after throwing an instance of ‘std::runtime_error’
what(): unpaired unlock() call
Aborted (core dumped)
73 … Sid.

Sid,

What version of GNU Radio are you using for this? You should try to
pull in the filter from the filter module instead of from gr:

from gnuradio import filter
fir = filter.fir_filter_ccf(decim, taps)

Also, what is your processor?

Tom

On 20/03/13 13:08, Tom R. wrote:

gr_fir_fff: using 3DNow!
from gnuradio import filter
fir = filter.fir_filter_ccf(decim, taps)

Also, what is your processor?

Tom

Thanks,
That was information I first thought of supplying but forgot when
submitting.
AMD x86_64 Quad-Core.

root@sdrbox1:~# cat /proc/cpuinfo
processor : 0
vendor_id : AuthenticAMD
cpu family : 16
model : 4
model name : AMD Phenom™ II X4 965 Processor
stepping : 3
microcode : 0x10000c8
cpu MHz : 3400.000
cache size : 512 KB
physical id : 0
siblings : 4
core id : 0
cpu cores : 4
apicid : 0
initial apicid : 0
fpu : yes
fpu_exception : yes
cpuid level : 5
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge
mca cmov pat pse36 clflush mmx fxsr sse sse2 ht syscall nx mmxext
fxsr_opt pdpe1gb rdtscp lm 3dnowext 3dnow constant_tsc rep_good nopl
nonstop_tsc extd_apicid pni monitor cx16 popcnt lahf_lm cmp_legacy svm
extapic cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw ibs skinit
wdt hw_pstate npt lbrv svm_lock nrip_save
bogomips : 6823.67
TLB size : 1024 4K pages
clflush size : 64
cache_alignment : 64
address sizes : 48 bits physical, 48 bits virtual
power management: ts ttp tm stc 100mhzsteps hwpstate

root@sdrbox1:~# cat /etc/lsb-release
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=12.10
DISTRIB_CODENAME=quantal
DISTRIB_DESCRIPTION=“Ubuntu 12.10”

root@sdrbox1:~# uname -r
3.9.0-rc3+

The qsdr program runs on openSUSE 13.1 Milestone 0 x86_64 with 3.9.0-rc3
kernels on AMD 8-core and 6-core boxes without errors.
73 … Sid.


Sid B. … Hamradio License G3VBV, Licensed Private Pilot
Emeritus IBM/Amdahl Mainframes and Sun/Fujitsu Servers Tech Support
Senior Staff Specialist, Cricket Coach
Microsoft Windows Free Zone - Linux used for all Computing Tasks

On 20/03/13 13:08, Tom R. wrote:

gr_fir_fff: using 3DNow!
from gnuradio import filter
fir = filter.fir_filter_ccf(decim, taps)

Also, what is your processor?

Tom

This is the output from the openSUSE boxes and the CPU flags which don’t
include sse4_a.
Later I’ll try rebuilding gnuradio with “-msse3” to see if that helps.

qsdr

starting server
gri_fftw: can’t import wisdom from /root/.gr_fftw_wisdom
Using Volk machine: avx_64_mmx_orc

gr_fir_fff: using SSE
connection from “127.0.0.1”
TCP: conneced

gr_fir_ccc: using SSE
gr_fir_ccf: using SSE
gr_fir_fcc: gr_fir_fcc: using SSE

flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge
mca cmov pat pse36 clflush mmx fxsr sse sse2 ht syscall nx mmxext
fxsr_opt pdpe1gb rdtscp lm constant_tsc rep_good nopl nonstop_tsc
extd_apicid aperfmperf pni pclmulqdq monitor ssse3 cx16 sse4_1 sse4_2
popcnt aes xsave avx lahf_lm cmp_legacy svm extapic cr8_legacy abm sse4a
misalignsse 3dnowprefetch osvw ibs xop skinit wdt lwp fma4 nodeid_msr
topoext perfctr_core perfctr_nb arat cpb hw_pstate npt lbrv svm_lock
nrip_save tsc_scale vmcb_clean flushbyasid decodeassists pausefilter
pfthreshold
73 … Sid.


Sid B. … Hamradio License G3VBV, Licensed Private Pilot
Emeritus IBM/Amdahl Mainframes and Sun/Fujitsu Servers Tech Support
Senior Staff Specialist, Cricket Coach
Microsoft Windows Free Zone - Linux used for all Computing Tasks

On Wed, Mar 20, 2013 at 10:58 AM, Sid B. [email protected]
wrote:

Also, what is your processor?

gr_fir_fff: using SSE
avx lahf_lm cmp_legacy svm extapic cr8_legacy abm sse4a misalignsse
Microsoft Windows Free Zone - Linux used for all Computing Tasks
Sid,

Have you tried using the filters out of the filter module, yet? Those
filters use VOLK for SIMD instead of the hand-crafted stuff that in
the gr filters. That might help. Besides which, we’re removing those
filters, so moving to the new filter module will keep you more
compatible as we go forward.

Tom

On Wed, Mar 20, 2013 at 10:10 PM, Sid B. [email protected]
wrote:

I have a program that uses gnuradio to work with a HiQSDR.

gr_fir_fff: using 3DNow!
pull in the filter from the filter module instead of from gr:
include sse4_a.

avx lahf_lm cmp_legacy svm extapic cr8_legacy abm sse4a misalignsse
Microsoft Windows Free Zone - Linux used for all Computing Tasks

Thanks Tom,
The qsdr design is not mine.
I’ll pass this info on to the author.

73 … Sid.

Can’t you change the code in qsdr yourself? If it’s based on GNU
Radio, you should have the source code and making this change is
pretty trivial (the interface to the filter functions is the same; you
just get them from a different module).

Tom

On 21/03/13 13:14, Tom R. wrote:

Closing it down and re-opening later I got the error. A reboot of the
73 … Sid.
Also, what is your processor?

gr_fir_fff: using SSE
xsave
Senior Staff Specialist, Cricket Coach

Tom

OK Tom,
I’ll have a check.
73 … Sid.


Sid B. … Hamradio License G3VBV, Licensed Private Pilot
Emeritus IBM/Amdahl Mainframes and Sun/Fujitsu Servers Tech Support
Senior Staff Specialist, Cricket Coach
Microsoft Windows Free Zone - Linux used for all Computing Tasks

On 20/03/13 23:50, Tom R. wrote:

$ qsdr
What version of GNU Radio are you using for this? You should try to
This is the output from the openSUSE boxes and the CPU flags which don’t

gr_fir_ccf: using SSE
73 … Sid.
the gr filters. That might help. Besides which, we’re removing those
filters, so moving to the new filter module will keep you more
compatible as we go forward.

Tom

Thanks Tom,
The qsdr design is not mine.
I’ll pass this info on to the author.
73 … Sid.


Sid B. … Hamradio License G3VBV, Licensed Private Pilot
Emeritus IBM/Amdahl Mainframes and Sun/Fujitsu Servers Tech Support
Senior Staff Specialist, Cricket Coach
Microsoft Windows Free Zone - Linux used for all Computing Tasks