|
From: Joe M <jm...@gm...> - 2016-01-12 16:05:29
|
I think I surprised myself again, even though I might missed something, but
after changing here and there now it seems okay with the last problem.
now arise a new problem.
When running ./OpenBTS here's the new error.
how can I fix this?
(Is it because it's not on 52Mhz? if yes, how can I change it? )
Thanks a lot
Cheers,
Joe
Starting the system...
ALERT 1075875840 15:52:10.8 TRXManager.cpp:434:powerOff: POWEROFF failed
with status -1
linux; GNU C++ version 4.5.3 20110311 (prerelease); Boost_104500;
UHD_003.004.000-0-unknown
Using internal clock reference
-- Opening device node /dev/usrp_e0...
-- Initializing FPGA clock to 64.000000MHz...
-- USRP-E100 clock control: 10
-- r_counter: 2
-- a_counter: 0
-- b_counter: 20
-- prescaler: 8
-- vco_divider: 5
-- chan_divider: 5
-- vco_rate: 1600.000000MHz
-- chan_rate: 320.000000MHz
-- out_rate: 64.000000MHz
--
-- Performing wishbone readback test... pass
UHD Warning:
The hardware does not support the requested TX sample rate:
Target sample rate: 1.083333 MSps
Actual sample rate: 1.084746 MSps
UHD Warning:
The hardware does not support the requested RX sample rate:
Target sample rate: 0.270833 MSps
Actual sample rate: 0.271186 MSps
ALERT 1073999872 15:52:15.8 UHDDevice.cpp:443:set_rates: Actual sample rate
differs from desired rate
ALERT 1073999872 15:52:15.8 UHDDevice.cpp:444:set_rates: Tx/Rx
(1.08475e+06/271186)
ALERT 1073999872 15:52:15.8 runTransceiver.cpp:160:main: Transceiver
exiting...
EMERG 1081017440 15:52:15.8 OpenBTS.cpp:156:startTransceiver: Transceiver
quit with status 256. Exiting.
Jan 12 15:52:15 usrp-e1xx openbts: EMERG 1081017440 15:52:15.8
OpenBTS.cpp:156:startTransceiver: Transceiver quit with status 256. Exiting.
On Wed, Jan 13, 2016 at 3:45 AM, Joe M <jm...@gm...> wrote:
> Updates to my previous error somehow I made it works. Tranceiver is
> compiled and installed. But now face another problem
>
> when running ./OpenBTS I have this error
>
> root@usrp-e1xx:~/openbts/openbts/trunk/apps# ./OpenBTS
> ALERT 1074196480 14:41:36.5 OpenBTS.cpp:375:main: OpenBTS (re)starting,
> ver TRUNK build date Jan 12 2016
> 1452609696.576855 1074196480:
>
> OpenBTS
> Copyright 2008, 2009, 2010 Free Software Foundation, Inc.
> Copyright 2010 Kestrel Signal Processing, Inc.
> Copyright 2011, 2012, 2013 Range Networks, Inc.
> Release TRUNK P formal build date Jan 12 2016 rev8925M
> "OpenBTS" is a registered trademark of Range Networks, Inc.
>
> Contributors:
> Range Networks, Inc.:
> David Burgess, Harvind Samra, Donald Kirker, Doug Brown,
> Pat Thompson, Kurtis Heimerl
> Kestrel Signal Processing, Inc.:
> David Burgess, Harvind Samra, Raffi Sevlian, Roshan Baliga
> GNU Radio:
> Johnathan Corgan
> Others:
> Anne Kwong, Jacob Appelbaum, Joshua Lackey, Alon Levy
> Alexander Chemeris, Alberto Escudero-Pascual
> Incorporated L/GPL libraries and components:
> libosip2, LGPL, 2.1 Copyright 2001-2007 Aymeric MOIZARD ja...@at...
> libortp, LGPL, 2.1 Copyright 2001 Simon MORLAT sim...@li...
> libusb, LGPL 2.1, various copyright holders, www.libusb.org
> Incorporated BSD/MIT-style libraries and components:
> A5/1 Pedagogical Implementation, Simplified BSD License, Copyright
> 1998-1999 Marc Briceno, Ian Goldberg, and David Wagner
> Incorporated public domain libraries and components:
> sqlite3, released to public domain 15 Sept 2001, www.sqlite.org
>
>
> This program comes with ABSOLUTELY NO WARRANTY.
>
> Use of this software may be subject to other legal restrictions,
> including patent licensing and radio spectrum licensing.
> All users of this software are expected to comply with applicable
> regulations and laws. See the LEGAL file in the source code for
> more information.
>
>
>
> EMERG 1074196480 14:41:36.6 SubscriberRegistry.cpp:173:init:
> /var/lib/asterisk/sqlite3dir does not exist
> Jan 12 14:41:36 usrp-e1xx openbts: EMERG 1074196480 14:41:36.6
> SubscriberRegistry.cpp:173:init: /var/lib/asterisk/sqlite3dir does not exist
> 1452609696.604931 1074196480:
> Starting the system...
> ALERT 1074196480 14:41:41.6 TRXManager.cpp:434:powerOff: POWEROFF failed
> with status -1
> linux; GNU C++ version 4.5.3 20110311 (prerelease); Boost_104500;
> UHD_003.004.000-0-unknown
>
> Using internal clock reference
> -- Opening device node /dev/usrp_e0...
> -- Initializing FPGA clock to 64.000000MHz...
> -- USRP-E100 clock control: 10
> -- r_counter: 2
> -- a_counter: 0
> -- b_counter: 20
> -- prescaler: 8
> -- vco_divider: 5
> -- chan_divider: 5
> -- vco_rate: 1600.000000MHz
> -- chan_rate: 320.000000MHz
> -- out_rate: 64.000000MHz
> --
> -- Performing wishbone readback test... pass
> ALERT 1096118272 14:41:46.5 UHDDevice.cpp:512:parse_dev_type: Unknown UHD
> device type E-Series Device
> ALERT 1096118272 14:41:46.5 runTransceiver.cpp:160:main: Transceiver
> exiting...
>
> EMERG 1081062496 14:41:46.5 OpenBTS.cpp:156:startTransceiver: Transceiver
> quit with status 256. Exiting.
> Jan 12 14:41:46 usrp-e1xx openbts: EMERG 1081062496 14:41:46.5
> OpenBTS.cpp:156:startTransceiver: Transceiver quit with status 256. Exiting.
>
> anyone seen this problem before? any suggestion? thanks
>
> cheers
> Joe
>
> also here's my other info for uhd_usrp_probe and uhd_usrp_probe --version
>
> root@usrp-e1xx:~/openbts/openbts/trunk/apps# uhd_usrp_probe
> linux; GNU C++ version 4.5.3 20110311 (prerelease); Boost_104500;
> UHD_003.004.000-0-unknown
>
> -- Opening device node /dev/usrp_e0...
> -- Initializing FPGA clock to 64.000000MHz...
> -- USRP-E100 clock control: 10
> -- r_counter: 2
> -- a_counter: 0
> -- b_counter: 20
> -- prescaler: 8
> -- vco_divider: 5
> -- chan_divider: 5
> -- vco_rate: 1600.000000MHz
> -- chan_rate: 320.000000MHz
> -- out_rate: 64.000000MHz
> --
> -- Performing wishbone readback test... pass
> _____________________________________________________
> /
> | Device: E-Series Device
> | _____________________________________________________
> | /
> | | Mboard: E110 (euewanee)
> | | vendor: 3
> | | device: 1
> | | revision: 4
> | | content: 0
> | | model: E110
> | | serial: E5R12XBE2
> | |
> | | Time sources: none, external, _external_
> | | Clock sources: internal, external, auto
> | | Sensors: ref_locked
> | | _____________________________________________________
> | | /
> | | | 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: RFX900 (0x0025)
> | | | Serial: EFR13U0R8
> | | | _____________________________________________________
> | | | /
> | | | | RX Subdev: 0
> | | | | Name: RFX RX
> | | | | Antennas: TX/RX, RX2, CAL
> | | | | Sensors: lo_locked
> | | | | Freq range: 750.000 to 1050.000 Mhz
> | | | | Gain range PGA0: 0.0 to 70.0 step 0.0 dB
> | | | | Connection Type: QI
> | | | | Uses LO offset: No
> | | | _____________________________________________________
> | | | /
> | | | | RX Codec: A
> | | | | Name: ad9522
> | | | | Gain range pga: 0.0 to 20.0 step 1.0 dB
> | | _____________________________________________________
> | | /
> | | | TX DSP: 0
> | | | Freq range: -32.000 to 32.000 Mhz
> | | _____________________________________________________
> | | /
> | | | TX Dboard: A
> | | | ID: RFX900 (0x0029)
> | | | Serial: EFR13U0R8
> | | | _____________________________________________________
> | | | /
> | | | | TX Subdev: 0
> | | | | Name: RFX TX
> | | | | Antennas: TX/RX, CAL
> | | | | Sensors: lo_locked
> | | | | Freq range: 750.000 to 1050.000 Mhz
> | | | | Gain Elements: None
> | | | | Connection Type: IQ
> | | | | Uses LO offset: Yes
> | | | _____________________________________________________
> | | | /
> | | | | TX Codec: A
> | | | | Name: ad9522
> | | | | Gain range pga: -20.0 to 0.0 step 0.1 dB
>
> root@usrp-e1xx:~/openbts/openbts/trunk/apps# uhd_usrp_probe --version
> linux; GNU C++ version 4.5.3 20110311 (prerelease); Boost_104500;
> UHD_003.004.000-0-unknown
>
> 003.004.000-0-unknown
>
>
>
>
> On Wed, Jan 13, 2016 at 1:45 AM, Joe M <jm...@gm...> wrote:
>
>> Hi Tom, Keith and all,
>>
>> There was actually an issue that I missed when I did the make.
>> here's the detail
>>
>>
>> root@usrp-e1xx:~/openbts/openbts/trunk/Transceiver52M# make
>>
>> /bin/bash ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I.
>> -I.. -D'SVN_REV="8925M"' -I../CommonLibs -I../Control -I../GSM -I../GPRS
>> -I../SGSNGGSN -I../SIP -I../SMS -I../TRXManager -I../Globals -I../CLI
>> -I../SR -I../Peering -I../sqlite3 -ldl -lpthread -g -O2 -MT
>> radioInterface.lo -MD -MP -MF .deps/radioInterface.Tpo -c -o
>> radioInterface.lo radioInterface.cpp
>> libtool: compile: g++ -DHAVE_CONFIG_H -I. -I.. -DSVN_REV=\"8925M\"
>> -I../CommonLibs -I../Control -I../GSM -I../GPRS -I../SGSNGGSN -I../SIP
>> -I../SMS -I../TRXManager -I../Globals -I../CLI -I../SR -I../Peering
>> -I../sqlite3 -ldl -lpthread -g -O2 -MT radioInterface.lo -MD -MP -MF
>> .deps/radioInterface.Tpo -c radioInterface.cpp -fPIC -DPIC -o
>> .libs/radioInterface.o
>> mv -f .deps/radioInterface.Tpo .deps/radioInterface.Plo
>> /bin/bash ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I.
>> -I.. -D'SVN_REV="8925M"' -I../CommonLibs -I../Control -I../GSM -I../GPRS
>> -I../SGSNGGSN -I../SIP -I../SMS -I../TRXManager -I../Globals -I../CLI
>> -I../SR -I../Peering -I../sqlite3 -ldl -lpthread -g -O2 -MT
>> radioVector.lo -MD -MP -MF .deps/radioVector.Tpo -c -o radioVector.lo
>> radioVector.cpp
>> libtool: compile: g++ -DHAVE_CONFIG_H -I. -I.. -DSVN_REV=\"8925M\"
>> -I../CommonLibs -I../Control -I../GSM -I../GPRS -I../SGSNGGSN -I../SIP
>> -I../SMS -I../TRXManager -I../Globals -I../CLI -I../SR -I../Peering
>> -I../sqlite3 -ldl -lpthread -g -O2 -MT radioVector.lo -MD -MP -MF
>> .deps/radioVector.Tpo -c radioVector.cpp -fPIC -DPIC -o .libs/radioVector.o
>> mv -f .deps/radioVector.Tpo .deps/radioVector.Plo
>> /bin/bash ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I.
>> -I.. -D'SVN_REV="8925M"' -I../CommonLibs -I../Control -I../GSM -I../GPRS
>> -I../SGSNGGSN -I../SIP -I../SMS -I../TRXManager -I../Globals -I../CLI
>> -I../SR -I../Peering -I../sqlite3 -ldl -lpthread -g -O2 -MT
>> radioClock.lo -MD -MP -MF .deps/radioClock.Tpo -c -o radioClock.lo
>> radioClock.cpp
>> libtool: compile: g++ -DHAVE_CONFIG_H -I. -I.. -DSVN_REV=\"8925M\"
>> -I../CommonLibs -I../Control -I../GSM -I../GPRS -I../SGSNGGSN -I../SIP
>> -I../SMS -I../TRXManager -I../Globals -I../CLI -I../SR -I../Peering
>> -I../sqlite3 -ldl -lpthread -g -O2 -MT radioClock.lo -MD -MP -MF
>> .deps/radioClock.Tpo -c radioClock.cpp -fPIC -DPIC -o .libs/radioClock.o
>> mv -f .deps/radioClock.Tpo .deps/radioClock.Plo
>> /bin/bash ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I.
>> -I.. -D'SVN_REV="8925M"' -I../CommonLibs -I../Control -I../GSM -I../GPRS
>> -I../SGSNGGSN -I../SIP -I../SMS -I../TRXManager -I../Globals -I../CLI
>> -I../SR -I../Peering -I../sqlite3 -ldl -lpthread -g -O2 -MT
>> sigProcLib.lo -MD -MP -MF .deps/sigProcLib.Tpo -c -o sigProcLib.lo
>> sigProcLib.cpp
>> libtool: compile: g++ -DHAVE_CONFIG_H -I. -I.. -DSVN_REV=\"8925M\"
>> -I../CommonLibs -I../Control -I../GSM -I../GPRS -I../SGSNGGSN -I../SIP
>> -I../SMS -I../TRXManager -I../Globals -I../CLI -I../SR -I../Peering
>> -I../sqlite3 -ldl -lpthread -g -O2 -MT sigProcLib.lo -MD -MP -MF
>> .deps/sigProcLib.Tpo -c sigProcLib.cpp -fPIC -DPIC -o .libs/sigProcLib.o
>> mv -f .deps/sigProcLib.Tpo .deps/sigProcLib.Plo
>> /bin/bash ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I.
>> -I.. -D'SVN_REV="8925M"' -I../CommonLibs -I../Control -I../GSM -I../GPRS
>> -I../SGSNGGSN -I../SIP -I../SMS -I../TRXManager -I../Globals -I../CLI
>> -I../SR -I../Peering -I../sqlite3 -ldl -lpthread -g -O2 -MT
>> Transceiver.lo -MD -MP -MF .deps/Transceiver.Tpo -c -o Transceiver.lo
>> Transceiver.cpp
>> libtool: compile: g++ -DHAVE_CONFIG_H -I. -I.. -DSVN_REV=\"8925M\"
>> -I../CommonLibs -I../Control -I../GSM -I../GPRS -I../SGSNGGSN -I../SIP
>> -I../SMS -I../TRXManager -I../Globals -I../CLI -I../SR -I../Peering
>> -I../sqlite3 -ldl -lpthread -g -O2 -MT Transceiver.lo -MD -MP -MF
>> .deps/Transceiver.Tpo -c Transceiver.cpp -fPIC -DPIC -o .libs/Transceiver.o
>> mv -f .deps/Transceiver.Tpo .deps/Transceiver.Plo
>> /bin/bash ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I.
>> -I.. -D'SVN_REV="8925M"' -I../CommonLibs -I../Control -I../GSM -I../GPRS
>> -I../SGSNGGSN -I../SIP -I../SMS -I../TRXManager -I../Globals -I../CLI
>> -I../SR -I../Peering -I../sqlite3 -ldl -lpthread -g -O2 -MT DummyLoad.lo
>> -MD -MP -MF .deps/DummyLoad.Tpo -c -o DummyLoad.lo DummyLoad.cpp
>> libtool: compile: g++ -DHAVE_CONFIG_H -I. -I.. -DSVN_REV=\"8925M\"
>> -I../CommonLibs -I../Control -I../GSM -I../GPRS -I../SGSNGGSN -I../SIP
>> -I../SMS -I../TRXManager -I../Globals -I../CLI -I../SR -I../Peering
>> -I../sqlite3 -ldl -lpthread -g -O2 -MT DummyLoad.lo -MD -MP -MF
>> .deps/DummyLoad.Tpo -c DummyLoad.cpp -fPIC -DPIC -o .libs/DummyLoad.o
>> mv -f .deps/DummyLoad.Tpo .deps/DummyLoad.Plo
>> /bin/bash ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I.
>> -I.. -D'SVN_REV="8925M"' -I../CommonLibs -I../Control -I../GSM -I../GPRS
>> -I../SGSNGGSN -I../SIP -I../SMS -I../TRXManager -I../Globals -I../CLI
>> -I../SR -I../Peering -I../sqlite3 -D'SVN_REV="8925M"' -I../CommonLibs
>> -I../Control -I../GSM -I../GPRS -I../SGSNGGSN -I../SIP -I../SMS
>> -I../TRXManager -I../Globals -I../CLI -I../SR -I../Peering -I../sqlite3
>> -std=gnu99 -march=native -g -O2 -MT convolve.lo -MD -MP -MF
>> .deps/convolve.Tpo -c -o convolve.lo convolve.c
>> libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -DSVN_REV=\"8925M\"
>> -I../CommonLibs -I../Control -I../GSM -I../GPRS -I../SGSNGGSN -I../SIP
>> -I../SMS -I../TRXManager -I../Globals -I../CLI -I../SR -I../Peering
>> -I../sqlite3 -DSVN_REV=\"8925M\" -I../CommonLibs -I../Control -I../GSM
>> -I../GPRS -I../SGSNGGSN -I../SIP -I../SMS -I../TRXManager -I../Globals
>> -I../CLI -I../SR -I../Peering -I../sqlite3 -std=gnu99 -march=native -g -O2
>> -MT convolve.lo -MD -MP -MF .deps/convolve.Tpo -c convolve.c -fPIC -DPIC
>> -o .libs/convolve.o
>> cc1: error: bad value (native) for -march switch
>> make: *** [convolve.lo] Error 1
>>
>>
>> before that I did this
>> root@usrp-e1xx:~/openbts/openbts/trunk# ./configure --with-uhd
>> root@usrp-e1xx:~/openbts/openbts/trunk# make clean
>>
>> Thanks for any help
>>
>> cheers
>> Joe
>>
>>
>>
>>
>>
>> On Fri, Jan 8, 2016 at 7:44 AM, Tom Tsou <tom...@et...> wrote:
>>
>>> On Thu, Jan 7, 2016 at 3:18 AM, Joe M <jm...@gm...> wrote:
>>> > Yes I did that the link is exist.
>>> > but it when I look up at the /Transceiver52M/ there's no executable
>>> named
>>> > "transceiver" . the folder /TransceiverRAD1 has one though.
>>>
>>> What happens when you run 'make' directly from the Transceiver52M
>>> directory?
>>>
>>> -TT
>>>
>>
>>
>
|