On 12/18/2017 12:25 PM, Disco Daniele via USRP-users wrote:
Hi!.
When I have to use my X310, executing the command “uhd_usrp_probe” I
obtain the following message:
$> uhd_usrp_probe
[INFO] [UHDlinux; GNU C++ version 5.4.0 20160609; Boost_105800;
UHD_3.11.0.git-0-unknown]
[INFO] [X300] X300 initialization sequence...
[INFO] [X300] Determining maximum frame size...
[INFO] [X300] Maximum frame size: 1472 bytes.
[INFO] [X300] Setup basic communication...
[INFO] [X300] Loading values from EEPROM...
[INFO] [X300] Setup RF frontend clocking...
[INFO] [X300] Radio 1x clock:200
[INFO] [X300] Detecting internal GPSDO....
[INFO] [GPS] No GPSDO found
_[WARNING] [UDP] The recv buffer could not be resized sufficiently._
_Target sock buff size: 576000 bytes._
_Actual sock buff size: 212992 bytes._
_See the transport application notes on buffer resizing._
_Please run: sudo sysctl -w net.core.rmem_max=576000_
_[WARNING] [UDP] The send buffer could not be resized sufficiently._
_Target sock buff size: 576000 bytes._
_Actual sock buff size: 212992 bytes._
_See the transport application notes on buffer resizing._
_Please run: sudo sysctl -w net.core.wmem_max=576000_
_[WARNING] [UDP] The recv buffer could not be resized sufficiently._
_Target sock buff size: 576000 bytes._
_Actual sock buff size: 212992 bytes._
_See the transport application notes on buffer resizing._
_Please run: sudo sysctl -w net.core.rmem_max=576000_
_[WARNING] [UDP] The send buffer could not be resized sufficiently._
_Target sock buff size: 576000 bytes._
_Actual sock buff size: 212992 bytes._
_See the transport application notes on buffer resizing._
_Please run: sudo sysctl -w net.core.wmem_max=576000_
[INFO] [RFNOC] [DMA FIFO] Running BIST for FIFO 0...
[INFO] [RFNOC] pass (Throughput: 1304.0MB/s)
[INFO] [RFNOC] [DMA FIFO] Running BIST for FIFO 1...
[INFO] [RFNOC] pass (Throughput: 1298.1MB/s)
_[WARNING] [UDP] The recv buffer could not be resized sufficiently._
_Target sock buff size: 576000 bytes._
_Actual sock buff size: 212992 bytes._
_See the transport application notes on buffer resizing._
_Please run: sudo sysctl -w net.core.rmem_max=576000_
_[WARNING] [UDP] The send buffer could not be resized sufficiently._
_Target sock buff size: 576000 bytes._
_Actual sock buff size: 212992 bytes._
_See the transport application notes on buffer resizing._
_Please run: sudo sysctl -w net.core.wmem_max=576000_
_[WARNING] [UDP] The recv buffer could not be resized sufficiently._
_Target sock buff size: 576000 bytes._
_Actual sock buff size: 212992 bytes._
_See the transport application notes on buffer resizing._
_Please run: sudo sysctl -w net.core.rmem_max=576000_
_[WARNING] [UDP] The send buffer could not be resized sufficiently._
_Target sock buff size: 576000 bytes._
_Actual sock buff size: 212992 bytes._
_See the transport application notes on buffer resizing._
_Please run: sudo sysctl -w net.core.wmem_max=576000_
[INFO] [RFNOC RADIO] Register loopback test passed
[INFO] [RFNOC RADIO] Register loopback test passed
_[WARNING] [UDP] The recv buffer could not be resized sufficiently._
_Target sock buff size: 576000 bytes._
_Actual sock buff size: 212992 bytes._
_See the transport application notes on buffer resizing._
_Please run: sudo sysctl -w net.core.rmem_max=576000_
_[WARNING] [UDP] The send buffer could not be resized sufficiently._
_Target sock buff size: 576000 bytes._
_Actual sock buff size: 212992 bytes._
_See the transport application notes on buffer resizing._
_Please run: sudo sysctl -w net.core.wmem_max=576000_
_[WARNING] [UDP] The recv buffer could not be resized sufficiently._
_Target sock buff size: 576000 bytes._
_Actual sock buff size: 212992 bytes._
_See the transport application notes on buffer resizing._
_Please run: sudo sysctl -w net.core.rmem_max=576000_
_[WARNING] [UDP] The send buffer could not be resized sufficiently._
_Target sock buff size: 576000 bytes._
_Actual sock buff size: 212992 bytes._
_See the transport application notes on buffer resizing._
_Please run: sudo sysctl -w net.core.wmem_max=576000_
[INFO] [RFNOC RADIO] Register loopback test passed
[INFO] [RFNOC RADIO] Register loopback test passed
_[WARNING] [UDP] The recv buffer could not be resized sufficiently._
_Target sock buff size: 576000 bytes._
_Actual sock buff size: 212992 bytes._
_See the transport application notes on buffer resizing._
_Please run: sudo sysctl -w net.core.rmem_max=576000_
_[WARNING] [UDP] The send buffer could not be resized sufficiently._
_Target sock buff size: 576000 bytes._
_Actual sock buff size: 212992 bytes._
_See the transport application notes on buffer resizing._
_Please run: sudo sysctl -w net.core.wmem_max=576000_
_[WARNING] [UDP] The recv buffer could not be resized sufficiently_.
_Target sock buff size: 576000 bytes._
_Actual sock buff size: 212992 bytes._
_See the transport application notes on buffer resizing._
_Please run: sudo sysctl -w net.core.rmem_max=576000_
_[WARNING] [UDP] The send buffer could not be resized sufficiently._
_Target sock buff size: 576000 bytes._
_Actual sock buff size: 212992 bytes._
_See the transport application notes on buffer resizing._
_Please run: sudo sysctl -w net.core.wmem_max=576000_
_[WARNING] [UDP] The recv buffer could not be resized sufficiently._
_Target sock buff size: 576000 bytes._
_Actual sock buff size: 212992 bytes._
_See the transport application notes on buffer resizing._
_Please run: sudo sysctl -w net.core.rmem_max=576000_
_[WARNING] [UDP] The send buffer could not be resized sufficiently._
_Target sock buff size: 576000 bytes._
_Actual sock buff size: 212992 bytes._
_See the transport application notes on buffer resizing._
_Please run: sudo sysctl -w net.core.wmem_max=576000_
_[WARNING] [UDP] The recv buffer could not be resized sufficiently._
_Target sock buff size: 576000 bytes._
_Actual sock buff size: 212992 bytes._
_See the transport application notes on buffer resizing._
_Please run: sudo sysctl -w net.core.rmem_max=576000_
_[WARNING] [UDP] The send buffer could not be resized sufficiently._
_Target sock buff size: 576000 bytes._
_Actual sock buff size: 212992 bytes._
_See the transport application notes on buffer resizing._
_Please run: sudo sysctl -w net.core.wmem_max=576000_
_[WARNING] [UDP] The recv buffer could not be resized sufficiently._
_Target sock buff size: 576000 bytes._
_Actual sock buff size: 212992 bytes._
_See the transport application notes on buffer resizing._
_Please run: sudo sysctl -w net.core.rmem_max=576000_
_[WARNING] [UDP] The send buffer could not be resized sufficiently._
_Target sock buff size: 576000 bytes._
_Actual sock buff size: 212992 bytes._
_See the transport application notes on buffer resizing._
_Please run: sudo sysctl -w net.core.wmem_max=576000_
_[WARNING] [UDP] The recv buffer could not be resized sufficiently._
_Target sock buff size: 576000 bytes._
_Actual sock buff size: 212992 bytes._
_See the transport application notes on buffer resizing._
_Please run: sudo sysctl -w net.core.rmem_max=576000_
_[WARNING] [UDP] The send buffer could not be resized sufficiently._
_Target sock buff size: 576000 bytes._
_Actual sock buff size: 212992 bytes._
_See the transport application notes on buffer resizing._
_Please run: sudo sysctl -w net.core.wmem_max=576000_
[INFO] [CORES] Performing timer loopback test...
[INFO] [CORES] Timer loopback test passed
[INFO] [CORES] Performing timer loopback test...
[INFO] [CORES] Timer loopback test passed
_____________________________________________________
/
| Device: X-Series Device
| _____________________________________________________
| /
| | Mboard: X310
| | revision: 11
| | revision_compat: 7
| | product: 30818
| | mac-addr0: 00:80:2f:17:40:89
| | mac-addr1: 00:80:2f:17:40:8a
| | gateway: 192.168.10.1
| | ip-addr0: 192.168.1.2
| | subnet0: 255.255.255.0
| | ip-addr1: 192.168.20.2
| | subnet1: 255.255.255.0
| | ip-addr2: 192.168.30.2
| | subnet2: 255.255.255.0
| | ip-addr3: 192.168.40.2
| | subnet3: 255.255.255.0
| | serial: 311EF8F
| | FW Version: 5.1
| | FPGA Version: 33.0
| | FPGA git hash: 000000f
| | RFNoC capable: Yes
| |
| | Time sources: internal, external, gpsdo
| | Clock sources: internal, external, gpsdo
| | Sensors: ref_locked
| | _____________________________________________________
| | /
| | | RX Dboard: A
| | | ID: UBX-160 v2 (0x007e)
| | | Serial: 3107666
| | | _____________________________________________________
| | | /
| | | | RX Frontend: 0
| | | | Name: UBX RX
| | | | Antennas: TX/RX, RX2, CAL
| | | | Sensors: lo_locked
| | | | Freq range: 10.000 to 6000.000 MHz
| | | | Gain range PGA0: 0.0 to 31.5 step 0.5 dB
| | | | Bandwidth range: 160000000.0 to 160000000.0 step 0.0 Hz
| | | | Connection Type: IQ
| | | | Uses LO offset: No
| | | _____________________________________________________
| | | /
| | | | RX Codec: A
| | | | Name: ads62p48
| | | | Gain range digital: 0.0 to 6.0 step 0.5 dB
| | _____________________________________________________
| | /
| | | RX Dboard: B
| | | ID: UBX-160 v2 (0x007e)
| | | Serial: 310768D
| | | _____________________________________________________
| | | /
| | | | RX Frontend: 0
| | | | Name: UBX RX
| | | | Antennas: TX/RX, RX2, CAL
| | | | Sensors: lo_locked
| | | | Freq range: 10.000 to 6000.000 MHz
| | | | Gain range PGA0: 0.0 to 31.5 step 0.5 dB
| | | | Bandwidth range: 160000000.0 to 160000000.0 step 0.0 Hz
| | | | Connection Type: IQ
| | | | Uses LO offset: No
| | | _____________________________________________________
| | | /
| | | | RX Codec: B
| | | | Name: ads62p48
| | | | Gain range digital: 0.0 to 6.0 step 0.5 dB
| | _____________________________________________________
| | /
| | | TX Dboard: A
| | | ID: UBX-160 v2 (0x007d)
| | | Serial: 3107666
| | | _____________________________________________________
| | | /
| | | | TX Frontend: 0
| | | | Name: UBX TX
| | | | Antennas: TX/RX, CAL
| | | | Sensors: lo_locked
| | | | Freq range: 10.000 to 6000.000 MHz
| | | | Gain range PGA0: 0.0 to 31.5 step 0.5 dB
| | | | Bandwidth range: 160000000.0 to 160000000.0 step 0.0 Hz
| | | | Connection Type: QI
| | | | Uses LO offset: No
| | | _____________________________________________________
| | | /
| | | | TX Codec: A
| | | | Name: ad9146
| | | | Gain Elements: None
| | _____________________________________________________
| | /
| | | TX Dboard: B
| | | ID: UBX-160 v2 (0x007d)
| | | Serial: 310768D
| | | _____________________________________________________
| | | /
| | | | TX Frontend: 0
| | | | Name: UBX TX
| | | | Antennas: TX/RX, CAL
| | | | Sensors: lo_locked
| | | | Freq range: 10.000 to 6000.000 MHz
| | | | Gain range PGA0: 0.0 to 31.5 step 0.5 dB
| | | | Bandwidth range: 160000000.0 to 160000000.0 step 0.0 Hz
| | | | Connection Type: QI
| | | | Uses LO offset: No
| | | _____________________________________________________
| | | /
| | | | TX Codec: B
| | | | Name: ad9146
| | | | Gain Elements: None
| | _____________________________________________________
| | /
| | | RFNoC blocks on this device:
| | |
| | | * DmaFIFO_0
| | | * Radio_0
| | | * Radio_1
| | | * DDC_0
| | | * DDC_1
| | | * DUC_0
| | | * DUC_1
I receive a lot of warning with the request to run the command:
Please run: sudo sysctl -w net.core.rmem_max=576000.
After that I run twice this command, all the warnings disappear and I
can use the board.
If I switch off my linux box and I restart all, the command
“uhd_usrp_probe” produces the same warnings how reported here.
There is a way to “hard write” in the linux box this configuration
command to avoid every time to check if the board is ready or not?
My linux box is:
Ubuntu 16.04: uname –a :
Linux name-linux-box 4.4.0-103-generic #126-Ubuntu SMP Mon Dec 4
16:23:28 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux
Thank You.
Daniele
Questo messaggio e i suoi allegati sono indirizzati esclusivamente
alle persone indicate. La diffusione, copia o qualsiasi altra azione
derivante dalla conoscenza di queste informazioni sono rigorosamente
vietate. Qualora abbiate ricevuto questo documento per errore siete
cortesemente pregati di darne immediata comunicazione al mittente e di
provvedere alla sua distruzione, Grazie.
/This e-mail and any attachments is confidential and may contain
privileged information intended for the addressee(s) only.
Dissemination, copying, printing or use by anybody else is
unauthorised. If you are not the intended recipient, please delete
this message and any attachments and advise the sender by return
e-mail, Thanks. /
*Rispetta l'ambiente. Non stampare questa mail se non è necessario.*
_______________________________________________
USRP-users mailing list
USRP-users@lists.ettus.com
http://lists.ettus.com/mailman/listinfo/usrp-users_lists.ettus.com
Look at the man page for sysctl.conf
SYSCTL.CONF(5) File Formats SYSCTL.CONF(5)
NAME
sysctl.conf - sysctl preload/configuration file
DESCRIPTION
sysctl.conf is a simple file containing sysctl values to be read
in and
set by sysctl. The syntax is simply as follows:
# comment
; comment
token = value
Note that blank lines are ignored, and whitespace before and
after a
token or value is ignored, although a value can contain
whitespace
within. Lines which begin with a # or ; are considered
comments and
ignored.
EXAMPLE
_______________________________________________
USRP-users mailing list
USRP-users@lists.ettus.com
http://lists.ettus.com/mailman/listinfo/usrp-users_lists.ettus.com