I think I have isolated the issue to uhd. I used the following procedure and the benchmark_rx_rate test program appears to show the issue I've been experiencing. I have performed the same test with a USRP2 and a WBX daughterboard and no errors occurred.
git clone git://code.ettus.com/ettus/uhd.git cd {UHD_ROOT} git remote update git branch --track next origin/next git checkout next cd {UHD_ROOT}/host mkdir build cd build cmake ../ make make test sudo make install sudo ldconfig cd /usr/local/share/uhd/examples ./benchmark_rx_rate linux; GNU C++ version 4.4.1; Boost_103800; UHD_003.20110226000831.77641c6 Creating the usrp device with: ... Current recv sock buff size: 50000000 bytes mboard0 MIMO master Using Device: Single USRP: Device: USRP2/N Series device Mboard 0: USRP-N210 mboard RX DSP 0: USRP-N210 ddc0 RX Channel: 0 RX Dboard: USRP-N210 dboard (rx unit) RX Subdev: RFX2200 (0x002c) TX DSP 0: USRP-N210 duc0 TX Channel: 0 TX Dboard: USRP-N210 dboard (tx unit) TX Subdev: RFX2200 (0x002d) Testing receive rate 0.500000 Msps (10.000000 second run) Error code: 1 Unexpected error on recv, exit test... Testing receive rate 1.000000 Msps (10.000000 second run) Error code: 1 Unexpected error on recv, exit test... Testing receive rate 2.000000 Msps (10.000000 second run) Error code: 1 Unexpected error on recv, exit test... Testing receive rate 4.000000 Msps (10.000000 second run) Error code: 1 Unexpected error on recv, exit test... Warning: The hardware does not support the requested RX sample rate: Target sample rate: 8.000000 MSps Actual sample rate: 8.333333 MSps Testing receive rate 8.333333 Msps (10.000000 second run) Error code: 1 Unexpected error on recv, exit test... Testing receive rate 16.666667 Msps (10.000000 second run) Error code: 1 Unexpected error on recv, exit test... Warning: The hardware does not support the requested RX sample rate: Target sample rate: 33.333333 MSps Actual sample rate: 25.000000 MSps Testing receive rate 25.000000 Msps (10.000000 second run) Error code: 1 Unexpected error on recv, exit test... Warning: The hardware does not support the requested RX sample rate: Target sample rate: 50.000000 MSps Actual sample rate: 25.000000 MSps Done! On Tue, Mar 1, 2011 at 1:07 PM, Josh Blum <j...@ettus.com> wrote: > > > On 03/01/2011 12:50 PM, Phelps Williams wrote: > > Hmm, when running git branch --track gr_uhd_next jblum/gr_uhd_next > > > > I get the error fatal: Not a valid object name: 'jblum/gr_uhd_next'. > > > > Has something changed within the past few days? > > > > It has been merged into gnuradio.git/next branch. > > Thanks, > -josh > > > -Phelps > > > > On Thu, Feb 24, 2011 at 10:15 PM, Josh Blum <j...@ettus.com> wrote: > > > >> > >> > >> On 02/24/2011 09:43 PM, Phelps Williams wrote: > >>> I'm using grc to generate some extremely simple flowgraphs but I'm > seeing > >>> very odd performance. Any idea why I can't seem to get this > combination > >> to > >>> work? I have had success with a GRC + USRP2 + WBX + UHD, anybody know > >> why > >>> I'm having issues here? > >>> > >> > >> Are you saying that if you run the same flow graph, host pc, ethernet > >> port, and software install on the USRP2 + WBX, you do not see this > problem? > >> > >> I am confused about the one hardware not working while the other does, > >> because its functionally identical. Just wondering if we can isolate > >> this problem to a particular machine, software install, etc... instead. > >> > >>> UHD source block got error code 0x1 > >>> gr_block_executor: source <gr_block uhd single_usrp source (2)> > produced > >> no > >>> output. We're marking it DONE. > >>> > >> > >> This is the call to recv() on the udp socket timing out. Either data > >> isnt coming over the ethernet cable for some reason recv()/select() > >> error-ed. > >> > >> In any case, do you mind trying the next branch? > >> > >> In the uhd repo: > >> git remote update > >> git branch --track next origin/next > >> git checkout next > >> cd host/build && make install.. > >> > >> and for gnuradio > >> git remote add jblum git://gnuradio.org/jblum.git > >> git remote update > >> git branch --track gr_uhd_next jblum/gr_uhd_next > >> git checkout gr_uhd_next > >> make install... > >> > >> -josh > >> > >> _______________________________________________ > >> Discuss-gnuradio mailing list > >> Discuss-gnuradio@gnu.org > >> http://lists.gnu.org/mailman/listinfo/discuss-gnuradio > >> > > >
_______________________________________________ Discuss-gnuradio mailing list Discuss-gnuradio@gnu.org http://lists.gnu.org/mailman/listinfo/discuss-gnuradio