Try recompiling gr-uhd and reinstalling.

--n

On Thu, Feb 2, 2012 at 2:42 PM, Jiri Pittner <jiri.pitt...@jh-inst.cas.cz>wrote:

> I have installed git version of UHD drivers and images from
> UHD-images-003.004.000-**322fb97.tar.gz.
> uhd_usrp_probe runs again well but,
> unfortunately, the problem persists:
> usrp_wfm_rcv.py
> linux; GNU C++ version 4.5.3; Boost_104700; UHD_003.004.000-5b06adb
> ...
> Segmentation fault (core dumped)
> ...
> exactly the same behavior as before.
> From the backtrace the problem seems to be in threaded boost, which is
> called from uhd drivers.
> Any ideas how to fix it? Thanks,
> Jiri
>
>
> On Thu, 2 Feb 2012, mle...@ripnet.com wrote:
>
>
>>
>> There was an ABI change between Gnu Radio and UHD, so you have to
>> be running a newer UHD--current master is what I'd recommend.
>>
>> Also,
>> you'll find your world is better if you use build-gnuradio, if you're on
>> Ubuntu or Fedora.
>>
>> On Thu, 2 Feb 2012 21:41:50 +0100 (CET),
>> jiri.pitt...@jh-inst.cas.cz wrote:
>>
>>  Hello,
>>>
>>> I would like to ask
>>>
>> for an advice - I have troubles running current
>>
>>> gnuradio git version
>>>
>> with USRP1 using UHD.
>>
>>>
>>> I have installed UHD drivers with downloaded
>>>
>> firmware and FPGA images and compiled the host code; uhd_usrp_probe
>> seems to work:
>>
>>> linux; GNU C++ version 4.5.3; Boost_104700;
>>>
>> UHD_003.003.002-unknown
>>
>>>
>>> -- Loading firmware image:
>>>
>> /usr/local/share/uhd/images/**usrp1_fw.ihx... done
>>
>>> -- Opening a USRP1
>>>
>> device...
>>
>>> -- Loading FPGA image:
>>>
>> /usr/local/share/uhd/images/**usrp1_fpga.rbf... done
>>
>>> -- Using FPGA clock
>>>
>> rate of 64.000000MHz...
>>
>>>
>>>  ______________________________**_______________________
>>
>>> /
>>> | Device:
>>>
>> USRP1 Device
>>
>>> | ______________________________**_______________________
>>>
>>>  | /
>>
>>> | | Mboard: USRP1 (Classic)
>>> | | serial: 46390f8b
>>> | |
>>> | |
>>>
>> Time sources: none
>>
>>> | | Clock sources: internal
>>> | | Sensors:
>>> | |
>>>
>> ______________________________**_______________________
>>
>>> | | /
>>> | | | RX
>>>
>> DSP: 0
>>
>>> | | | Freq range: -32.000 to 32.000 Mhz
>>> | |
>>>
>> ______________________________**_______________________
>>
>>> | | /
>>> | | | RX
>>>
>> DSP: 1
>>
>>> | | | Freq range: -32.000 to 32.000 Mhz
>>> | |
>>>
>> ______________________________**_______________________
>>
>>> | | /
>>> | | | RX
>>>
>> Dboard: A
>>
>>> | | | ID: WBX, WBX + Simple GDB (0x0053)
>>> | | |
>>>
>> ______________________________**_______________________
>>
>>> | | | /
>>> | | |
>>>
>> | RX Subdev: 0
>>
>>> | | | | Name: WBX RX + Simple GDB
>>> | | | | Antennas:
>>>
>> TX/RX, RX2
>>
>>> | | | | Sensors: lo_locked
>>> | | | | Freq range: 68.750 to
>>>
>> 2200.000 Mhz
>>
>>> | | | | Gain range PGA0: 0.0 to 31.5 step 0.5 dB
>>> | | |
>>>
>> | Connection Type: IQ
>>
>>> | | | | Uses LO offset: No
>>> | | |
>>>
>> ______________________________**_______________________
>>
>>> | | | /
>>> | | |
>>>
>> | RX Codec: A
>>
>>> | | | | Name: ad9522
>>> | | | | Gain range pga: 0.0 to
>>>
>> 20.0 step 1.0 dB
>>
>>> | |
>>>
>> ______________________________**_______________________
>>
>>> | | /
>>> | | | RX
>>>
>> Dboard: B
>>
>>> | | | ID: DBSRX (0x0002)
>>> | | |
>>>
>> ______________________________**_______________________
>>
>>> | | | /
>>> | | |
>>>
>> | RX Subdev: 0
>>
>>> | | | | Name: DBSRX (0x0002)
>>> | | | | Antennas: J3
>>> |
>>>
>> | | | Sensors: lo_locked
>>
>>> | | | | Freq range: 800.000 to 2400.000 Mhz
>>>
>>>  | | | | Gain range GC1: 0.0 to 56.0 step 0.5 dB
>>
>>> etc..
>>>
>>> Then I
>>>
>> installed gnuradio from git clone and configured it as:
>>
>>> ./configure
>>>
>> --enable-gr-uhd --enable-gr-noaa --enable-usrp2 --enable-usrp
>> --enable-gr-usrp --enable-grc --enable-gr-audio-alsa --enable-gr-trellis
>> --disable-volk
>>
>>> I had to disable volk due to compilation errors (some
>>>
>> 32-64 bit code mismatch I guess).
>>
>>> It seems that old USRP (non-UHD)
>>>
>> support has been already removed and when I trysome UHD example, it
>> always coredumps:
>>
>>>
>>> AFTER USRP POWER CYCLE
>>>
>>>  jiri@jp:/scratch/jiri/**gnuradio/gr-uhd/examples/ ./usrp_wfm_rcv_pll.py
>>
>>>
>>>  linux; GNU C++ version 4.5.3; Boost_104700; UHD_003.003.002-unknown
>>
>>>
>>>
>>>  -- Loading firmware image: /usr/local/share/uhd/images/**
>> usrp1_fw.ihx...
>> done
>>
>>> -- Opening a USRP1 device...
>>> -- Loading FPGA image:
>>>
>> /usr/local/share/uhd/images/**usrp1_fpga.rbf... done
>>
>>> (gdb) bt
>>> #0
>>>
>> 0x00000000034b0018 in ?? ()
>>
>>> #1 0x00007fbb65892cb2 in thread_proxy ()
>>>
>> from /usr/lib64/libboost_thread-mt-**1_42.so.1.42.0
>>
>>> #2
>>>
>> 0x00007fbb671c5ca8 in start_thread () from /lib64/libpthread.so.0
>>
>>> #3
>>>
>> 0x00007fbb66f0c1ad in clone () from /lib64/libc.so.6
>>
>>>
>>> WITHOUT POWER
>>>
>> CYCLE
>>
>>> -- Opening a USRP1 device...
>>> -- Using FPGA clock rate of
>>>
>> 64.000000MHz...
>>
>>> Segmentation fault (core dumped)
>>> #0
>>>
>> 0x00007ffb61a855a4 in boost::thread::start_thread() () from
>> /usr/lib64/libboost_thread-mt-**1_42.so.1.42.0
>>
>>> (gdb) bt
>>> #0
>>>
>> 0x00007ffb61a855a4 in boost::thread::start_thread() () from
>> /usr/lib64/libboost_thread-mt-**1_42.so.1.42.0
>>
>>> #1 0x00007ffb5839d71b in
>>>
>> boost::thread* boost::thread_group::create_**thread const&>,
>> boost::_bi::list2, boost::_bi::value > > > >(boost::_bi::bind_t const&>,
>> boost::_bi::list2, boost::_bi::value > > >) () from
>> /usr/local/lib64/libuhd.so.003
>>
>>> #2 0x00007ffb5839e5ca in
>>>
>> task_impl::task_impl(boost::**function const&) () from
>> /usr/local/lib64/libuhd.so.003
>>
>>> #3 0x00007ffb5839bd71 in
>>>
>> uhd::task::make(boost::**function const&) () from
>> /usr/local/lib64/libuhd.so.003
>>
>>> #4 0x00007ffb582d40c6 in
>>>
>> usrp1_impl::io_init() () from /usr/local/lib64/libuhd.so.003
>>
>>> #5
>>>
>> 0x00007ffb582f440c in usrp1_impl::usrp1_impl(uhd::**device_addr_t const&)
>> () from /usr/local/lib64/libuhd.so.003
>>
>>> #6 0x00007ffb582f5871 in
>>>
>> usrp1_make(uhd::device_addr_t const&) () from
>> /usr/local/lib64/libuhd.so.003
>>
>>> #7 0x00007ffb582f952c in
>>>
>> boost::detail::function::**function_invoker1 (*)(uhd::device_addr_t
>> const&), boost::shared_ptr, uhd::device_addr_t
>> const&>::invoke(boost::detail:**:function::function_buffer&,
>> uhd::device_addr_t const&) () from /usr/local/lib64/libuhd.so.003
>>
>>> #8
>>>
>> 0x00007ffb583a34c3 in uhd::device::make(uhd::device_**addr_t const&,
>> unsigned long) () from /usr/local/lib64/libuhd.so.003
>>
>>> #9
>>>
>> 0x00007ffb581e9b49 in uhd::usrp::multi_usrp::make(**uhd::device_addr_t
>> const&) () from /usr/local/lib64/libuhd.so.003
>>
>>> #10 0x00007ffb5868c3bb
>>>
>> in uhd_usrp_source_impl::uhd_**usrp_source_impl (this=0x2f90950,
>> device_addr=..., stream_args=...,
>>
>>> __in_chrg=, __vtt_parm=) at
>>>
>> gr_uhd_usrp_source.cc:68
>>
>>> #11 0x00007ffb5868322c in
>>>
>> uhd_make_usrp_source (device_addr=..., stream_args=...) at
>> gr_uhd_usrp_source.cc:473
>>
>>> #12 0x00007ffb588f572e in
>>>
>> _wrap_usrp_source__SWIG_1 (args=) at python/uhd_swig.cc:30153
>>
>>> #13
>>>
>> _wrap_usrp_source (self=, args=) at python/uhd_swig.cc:30188
>>
>>> #14
>>>
>> 0x00007ffb636b1062 in PyEval_EvalFrameEx () from
>> /usr/lib64/libpython2.7.so.1.0
>>
>>> #15 0x00007ffb636b2f27 in
>>>
>> PyEval_EvalCodeEx () from /usr/lib64/libpython2.7.so.1.0
>>
>>> .....
>>>
>>> On
>>>
>> the other hand, I have also funcube-dongle, and the same version of
>> gnuradio
>>
>>> works fine with that device.
>>> I have python 2.7, boost
>>>
>> 1.42.0 (with both 1.46 and 1.47 I got compilation errors in gnuradio),
>> gcc (Gentoo 4.5.3-r1 p1.0, pie-0.4.5) 4.5.3,
>>
>>> running 3.1.5-gentoo #2
>>>
>> SMP on x86_64 Intel(R) Core(TM) i7 CPU Q 740 @ 1.73GHz
>>
>>> HP 8540w
>>>
>> laptop.
>>
>>>
>>> I tried also to install gnuradio-3.4.2: this has still the
>>>
>> old USRP support, which works fine, but UHD segfaults as well (and
>> funcube does not work).
>>
>>>
>>> Do you have any idea what to do?
>>> Thanks
>>>
>> very much for help.
>>
>>> Best regards,
>>> Jiri Pittner
>>>
>>>
>>>  ______________________________**_________________
>>
>>> Discuss-gnuradio
>>>
>> mailing list
>>
>>> Discuss-gnuradio@gnu.org [1]
>>>
>>>  
>>> https://lists.gnu.org/mailman/**listinfo/discuss-gnuradio<https://lists.gnu.org/mailman/listinfo/discuss-gnuradio>[2]
>>
>>
>>
>>
>> Links:
>> ------
>> [1] mailto:Discuss-gnuradio@gnu.**org <Discuss-gnuradio@gnu.org>
>> [2]
>> https://lists.gnu.org/mailman/**listinfo/discuss-gnuradio<https://lists.gnu.org/mailman/listinfo/discuss-gnuradio>
>>
>>
> ______________________________**_________________
> Discuss-gnuradio mailing list
> Discuss-gnuradio@gnu.org
> https://lists.gnu.org/mailman/**listinfo/discuss-gnuradio<https://lists.gnu.org/mailman/listinfo/discuss-gnuradio>
>
_______________________________________________
Discuss-gnuradio mailing list
Discuss-gnuradio@gnu.org
https://lists.gnu.org/mailman/listinfo/discuss-gnuradio

Reply via email to