From: Kurtis H. <khe...@cs...> - 2011-11-04 04:12:04
|
You have to manually create /var/run/OpenBTS. This is detailed in the wiki. On Thu, Nov 3, 2011 at 9:01 PM, Arghyadip Paul <arg...@gm...> wrote: > Hi Thomas and Kurtis, > Now I am able to run your 2.8 Code with USRP2-UHD. Tx gets detected and CLI > gets started... > > Now once I switch on my GSM device and trying to latch to the BTS..I am > getting the following error(s): > > First this error came: > EMERG 140105297671952 TMSITable.cpp:70:TMSITable: Cannot open TMSITable > database at /var/run/OpenBTS/TMSITable.db: unable to open database file > EMERG 140105297671952 PhysicalStatus.cpp:69:PhysicalStatus: Cannot open > PhysicalStatus database at /var/run/OpenBTS/ChannelTable.db: unable to open > database file > EMERG 140105297671952 SubscriberRegistry.cpp:152:SubscriberRegistry: Cannot > open SubscriberRegistry database: unable to open database file > ALERT 140105297671952 OpenBTS.cpp:141:main: OpenBTS starting, ver P2.8TRUNK > build date Nov 3 2011 > > > Then while latching to the network: > - BTS crashed with the following error msg- > > > 1320364883.384069 140105297671952: > Starting the system... > linux; GNU C++ version 4.4.1; Boost_103800; UHD_003.003.001-f8d66fc > > 1320364888.709307 140105297671952: > > Welcome to OpenBTS. Type "help" to see available commands. > > OpenBTS> sqlite3_prepare_v2 failed for "SELECT TMSI FROM TMSI_TABLE WHERE > IMSI == "310410270465840"": out of memory > OpenBTS: TMSITable.cpp:94: unsigned int Control::TMSITable::assign( > const char*, const GSM::L3LocationUpdatingRequest*): Assertion `mDB' failed. > Aborted > > > Any catch?? > > > On Wed, Nov 2, 2011 at 2:46 PM, Arghyadip Paul <arg...@gm...> wrote: >> >> Dear Thomas, >> >> I get the following info in the terminal when I do a uhd_usrp_probe >> >> linux; GNU C++ version 4.4.1; Boost_103800; UHD_003.20110310224233.4c7cc6b >> >> Target recv sock buff size: 50000000 bytes >> Actual recv sock buff size: 131071 bytes >> >> Warning: >> The recv buffer could not be resized sufficiently. >> See the transport application notes on buffer resizing. >> Please run: sudo sysctl -w net.core.rmem_max=50000000 >> mboard0 MIMO master >> _____________________________________________________ >> / >> | Device: USRP2/N Series device >> | _____________________________________________________ >> | / >> | | Mboard: USRP2-REV4 mboard >> | | rev: 1024 >> | | mac-addr: 00:50:c2:85:33:91 >> | | ip-addr: 255.255.255.255 >> | | serial: 913 >> | | _____________________________________________________ >> | | / >> | | | RX DSP: USRP2-REV4 ddc0 >> | | | Codec Rate: 100.000000 Msps >> | | _____________________________________________________ >> | | / >> | | | TX DSP: USRP2-REV4 duc0 >> | | | Codec Rate: 100.000000 Msps >> | | _____________________________________________________ >> | | / >> | | | RX Dboard: USRP2-REV4 dboard (rx unit) >> | | | _____________________________________________________ >> | | | / >> | | | | RX Subdev: WBX (0x0053) >> | | | | Antennas: TX/RX, RX2 >> | | | | Freq range: 68.750 to 2200.000 Mhz >> | | | | Gain range PGA0: 0.0 to 31.5 step 0.5 dB >> | | | | Connection Type: C >> | | | | Uses LO offset: No >> | | | _____________________________________________________ >> | | | / >> | | | | RX Codec: USRP2-REV4 adc - ltc2284 >> | | | | Gain Elements: None >> | | _____________________________________________________ >> | | / >> | | | TX Dboard: USRP2-REV4 dboard (tx unit) >> | | | _____________________________________________________ >> | | | / >> | | | | TX Subdev: WBX (0x0052) >> | | | | Antennas: TX/RX >> | | | | Freq range: 68.750 to 2200.000 Mhz >> | | | | Gain range PGA0: 0.0 to 25.0 step 0.1 dB >> | | | | Connection Type: C >> | | | | Uses LO offset: No >> | | | _____________________________________________________ >> | | | / >> | | | | TX Codec: USRP2-REV4 dac - ad9777 >> | | | | Gain Elements: None >> >> With this state of firmware do you think I can run the OpenBTS 2.8 >> >> Thanks and Regards, >> Arghyadip >> >> On Tue, Nov 1, 2011 at 5:09 PM, Thomas Tsou <tt...@vt...> wrote: >>> >>> On Tue, Nov 1, 2011 at 7:45 PM, Arghyadip Paul <arg...@gm...> >>> wrote: >>> > Hi Thomas, >>> > >>> > There are no other purpose than get the OpenBTS 2.8 working with my >>> > USRP2-UHD. >>> > >>> > I will wait for the patches from your side. Do let me know once you >>> > check in >>> > the patches for the same. >>> >>> If you have a recent version of UHD installed, you shouldn't need any >>> patches. What I had in mind was a change in the configure script to >>> make release 003.002.000 a minimum requirement. >>> >>> What is listed in the header when you run uhd_usrp_probe? >>> >>> Thomas >> >> >> >> -- >> Arghyadip Paul >> Graduate Student >> Department of Computer Science >> University of California Santa Barbara >> Santa Barbara , CA 93106 USA > > > > -- > Arghyadip Paul > Graduate Student > Department of Computer Science > University of California Santa Barbara > Santa Barbara , CA 93106 USA > |