Author Topic: USRP x310, no connection to transceiver  (Read 20153 times)

johnnyboy

  • Newbie
  • *
  • Posts: 9
    • View Profile
USRP x310, no connection to transceiver
« on: August 31, 2015, 08:12:19 AM »
Hi,

I'm trying to use USRP X310 from ettus to work with yateBTS.
I downloaded latest git version of yateBTS.
I added the PATH=./transceiver-uhd to my ybts.conf.
Is there anything more to do within configuration and compilation of yateBTS to support uhd device ?
Like openBTS ./configure --with-uhd or something ?
uhd_usrp_probe is working and I have added a rule for 192.168.10.0 in my iptables.



Here is the log of the fail:

2015-08-31_16:06:41.008295 <ybts:NOTE> State changed WaitHandshake -> Running
2015-08-31_16:06:41.008309 <gsmtrx:GOON> Failed to create radio interface: Message not handled
2015-08-31_16:06:41.008320 <ybts-signalling:INFO> Sending [0xa42c30]
-----
Primitive: Handshake
Info: 0
-----
ALERT 139678315734848 16:06:41.0 TRXManager.cpp:126:sendCommand: RESET failed with status 2
2015-08-31_16:06:41.008381 <mbts:WARN> TRXManager.cpp:126:sendCommand: RESET failed with status 2
ALERT 139678315734848 16:06:41.0 OpenBTS.cpp:250:main: Failed to reset transceiver
2015-08-31_16:06:41.008416 <mbts:WARN> OpenBTS.cpp:250:main: Failed to reset transceiver

SugarCakes

  • Newbie
  • *
  • Posts: 14
    • View Profile
Re: USRP x310, no connection to transceiver
« Reply #1 on: August 31, 2015, 08:20:34 AM »
Unfortunately it doesn't look like USRP devices work with the latest svn version.
This is because Transceiver52M is missing from the package.

If you download the "package" version of yatebts, then these devices still work :)
However you can not upgrade :(

I have asked about this here: http://forum.yate.ro/index.php?topic=495.0

johnnyboy

  • Newbie
  • *
  • Posts: 9
    • View Profile
Re: USRP x310, no connection to transceiver
« Reply #2 on: August 31, 2015, 08:35:51 AM »
Oh ok.
It's weird because in the documentation it's written that with ./transceiver-uhd it must work. I'm wondering why this transceiver is not available in the latest version...
Thanks anyway I will try like that.

SugarCakes

  • Newbie
  • *
  • Posts: 14
    • View Profile
Re: USRP x310, no connection to transceiver
« Reply #3 on: August 31, 2015, 08:42:19 AM »
If you look at the svn history you'll see Yate made a brand new transceiver module, but it looks like this is for the blade-rf only.

What really sucks is blade-rf doesn't really work with OpenBTS.

Try the package version (make sure you have libboost-dev and pkg-config installed)
It should work ;)

johnnyboy

  • Newbie
  • *
  • Posts: 9
    • View Profile
Re: USRP x310, no connection to transceiver
« Reply #4 on: August 31, 2015, 09:48:31 AM »
Hey,

In fact it's not working...

They didn't know my version of the uhd I think.

UHDDevice.cpp:512:parse_dev_type: Unknown UHD device type X-Series Device
I think I will need to patch stuff, will see...

johnnyboy

  • Newbie
  • *
  • Posts: 9
    • View Profile
Re: USRP x310, no connection to transceiver
« Reply #5 on: September 01, 2015, 06:43:02 AM »
Yes you definitely need to patch.
Here is mine:

--- UHDDevice.cpp   2014-04-16 11:56:39.000000000 +0200
+++ UHDDevice.cpp   2015-08-31 18:03:21.494289230 +0200
@@ -34,6 +34,7 @@
 
 #define B2XX_CLK_RT      52e6
 #define B2XX_BASE_RT     GSMRATE
+#define X3XX_CLK_RT      104e6
 #define B100_BASE_RT     400000
 #define USRP2_BASE_RT    390625
 #define TX_AMPL          0.3
@@ -44,6 +45,7 @@
    USRP2,
    B100,
    B2XX,
+   X3XX,
    UMTRX,
    NUM_USRP_TYPES,
 };
@@ -73,6 +75,8 @@
    { B100,  4, 7.9307e-5 },
    { B2XX,  1, 9.9692e-5 },
    { B2XX,  4, 6.9248e-5 },
+   { X3XX,  1, 1.5360e-4 },
+   { X3XX,  4, 1.1264e-4 },
    { UMTRX, 1, 9.9692e-5 },
    { UMTRX, 4, 7.3846e-5 },
 };
@@ -108,6 +112,8 @@
    switch (type) {
    case USRP2:
       return USRP2_BASE_RT * sps;
+   case X3XX:
+      return USRP2_BASE_RT * sps;
    case B100:
       return B100_BASE_RT * sps;
    case B2XX:
@@ -474,7 +480,7 @@
 {
    std::string mboard_str, dev_str;
    uhd::property_tree::sptr prop_tree;
-   size_t usrp1_str, usrp2_str, b100_str, b200_str, b210_str, umtrx_str;
+   size_t usrp1_str, usrp2_str, b100_str, b200_str, b210_str, umtrx_str, x300_str, x310_str;
 
    prop_tree = usrp_dev->get_device()->get_tree();
    dev_str = prop_tree->access<std::string>("/name").get();
@@ -486,6 +492,8 @@
    b200_str = mboard_str.find("B200");
    b210_str = mboard_str.find("B210");
    umtrx_str = dev_str.find("UmTRX");
+   x300_str = mboard_str.find("X300");
+   x310_str = mboard_str.find("X310");
 
    if (usrp1_str != std::string::npos) {
       LOG(ALERT) << "USRP1 is not supported using the UHD driver";
@@ -504,6 +512,12 @@
       dev_type = B2XX;
    } else if (b210_str != std::string::npos) {
       dev_type = B2XX;
+   } else if (x300_str != std::string::npos) {
+       dev_type = X3XX;
+       LOG(ALERT) << "Chooose X300";
+   } else if (x310_str != std::string::npos) {
+      dev_type = X3XX;
+      LOG(ALERT) << "Choose X310";
    } else if (usrp2_str != std::string::npos) {
       dev_type = USRP2;
    } else if (umtrx_str != std::string::npos) {
@@ -583,6 +597,7 @@
    case B100:
       return RESAMP_64M;
    case USRP2:
+   case X3XX:
       return RESAMP_100M;
    }
« Last Edit: September 01, 2015, 07:01:46 AM by johnnyboy »

johnnyboy

  • Newbie
  • *
  • Posts: 9
    • View Profile
Re: USRP x310, no connection to transceiver
« Reply #6 on: September 01, 2015, 07:14:22 AM »
Now it's saying that radio is on and then fail:
I think this is my error: EMERG 139867828958976 14:58:27.0 TRXManager.cpp:96:clockHandler: TRX clock interface timed out, assuming TRX is dead.

2015-09-01_14:58:12.081764 <mbts:NOTE> OpenBTS.cpp:145:startTransceiver: starting transceiver ./transceiver-uhd w/ 1 ARFCNs and Args:
linux; GNU C++ version 4.9.1; Boost_105500; UHD_003.007.003-0-unknown

Using internal clock reference
-- X300 initialization sequence...
-- Determining maximum frame size... 1472 bytes.
-- Setup basic communication...
-- Loading values from EEPROM...
2015-09-01_14:58:17.057699 <gsmtrx:NOTE> Received command 'READFACTORY sdrsn': transceiver not running
ALERT 139867830110016 14:58:17.0 TRXManager.cpp:603:getFactoryCalibration: READFACTORY failed with status 4
2015-09-01_14:58:17.057843 <mbts:WARN> TRXManager.cpp:603:getFactoryCalibration: READFACTORY failed with status 4
2015-09-01_14:58:17.057888 <gsmtrx:NOTE> Received command 'RXTUNE 900000': transceiver not running
ALERT 139867830110016 14:58:17.0 TRXManager.cpp:391:tune: RXTUNE failed with status 4
2015-09-01_14:58:17.057986 <mbts:WARN> TRXManager.cpp:391:tune: RXTUNE failed with status 4
2015-09-01_14:58:17.058000 <gsmtrx:NOTE> Received command 'SETTSC 2': transceiver not running
ALERT 139867830110016 14:58:17.0 TRXManager.cpp:474:setTSC: SETTSC failed with status 4
2015-09-01_14:58:17.058051 <mbts:WARN> TRXManager.cpp:474:setTSC: SETTSC failed with status 4
2015-09-01_14:58:17.058068 <gsmtrx:NOTE> Received command 'SETMAXDLY 2': transceiver not running
ALERT 139867830110016 14:58:17.0 TRXManager.cpp:512:setMaxDelay: SETMAXDLY failed with status 4
2015-09-01_14:58:17.058113 <mbts:WARN> TRXManager.cpp:512:setMaxDelay: SETMAXDLY failed with status 4
2015-09-01_14:58:17.058129 <gsmtrx:NOTE> Received command 'SETRXGAIN 0': transceiver not running
ALERT 139867830110016 14:58:17.0 TRXManager.cpp:523:setRxGain: SETRXGAIN failed with status 4
2015-09-01_14:58:17.058176 <mbts:WARN> TRXManager.cpp:523:setRxGain: SETRXGAIN failed with status 4
2015-09-01_14:58:17.058183 <gsmtrx:NOTE> Received command 'POWERON': transceiver not running
-- Setup RF frontend clocking...
2015-09-01_14:58:18.059297 <mbts:MILD> TRXManager.cpp:283:sendCommandPacket: TRX link timeout on attempt 1
2015-09-01_14:58:18.059326 <gsmtrx:NOTE> Received command 'POWERON': transceiver not running
-- Radio 1x clock:200
2015-09-01_14:58:19.060373 <mbts:MILD> TRXManager.cpp:283:sendCommandPacket: TRX link timeout on attempt 2
2015-09-01_14:58:19.060404 <gsmtrx:NOTE> Received command 'POWERON': transceiver not running
-- Initialize Radio control...
-- Performing register loopback test... pass
-- Sync DAC's.
-- Performing register loopback test... pass
-- Sync DAC's.
-- Initializing clock and PPS references...
-- References initialized to internal sources
ALERT 139902730393408 14:58:19.3 UHDDevice.cpp:520:parse_dev_type: Choose X310
2015-09-01_14:58:19.330539 <transceiver:WARN> UHDDevice.cpp:520:parse_dev_type: Choose X310
Starting transceiver
2015-09-01_14:58:20.061507 <mbts:MILD> TRXManager.cpp:283:sendCommandPacket: TRX link timeout on attempt 3
2015-09-01_14:58:20.061535 <gsmtrx:NOTE> Received command 'POWERON': transceiver not running
2015-09-01_14:58:21.062619 <mbts:MILD> TRXManager.cpp:283:sendCommandPacket: TRX link timeout on attempt 4
2015-09-01_14:58:21.062653 <gsmtrx:NOTE> Received command 'POWERON': transceiver not running
ALERT 139867830110016 14:58:22.0 TRXManager.cpp:444:powerOn: POWERON failed with status -1
2015-09-01_14:58:22.063725 <mbts:MILD> TRXManager.cpp:283:sendCommandPacket: TRX link timeout on attempt 5
2015-09-01_14:58:22.063746 <mbts:NOTE> TRXManager.cpp:293:sendCommandPacket: lost control link to transceiver
2015-09-01_14:58:22.063751 <mbts:WARN> TRXManager.cpp:444:powerOn: POWERON failed with status -1
2015-09-01_14:58:22.063785 <gsmtrx:NOTE> Received command 'SETPOWER 40': transceiver not running
ALERT 139867830110016 14:58:22.0 TRXManager.cpp:462:setPower: SETPOWER failed with status 4
2015-09-01_14:58:22.063882 <mbts:WARN> TRXManager.cpp:462:setPower: SETPOWER failed with status 4
2015-09-01_14:58:22.063897 <gsmtrx:NOTE> Received command 'SETSLOT 0 5': transceiver not running
ALERT 139867830110016 14:58:22.0 TRXManager.cpp:502:setSlot: SETSLOT failed with status 4
2015-09-01_14:58:22.063971 <mbts:WARN> TRXManager.cpp:502:setSlot: SETSLOT failed with status 4
2015-09-01_14:58:22.064018 <gsmtrx:NOTE> Received command 'NOHANDOVER 0': transceiver not running
2015-09-01_14:58:22.064082 <mbts:MILD> TRXManager.cpp:547:clearHandover: NOHANDOVER failed with status 4
2015-09-01_14:58:22.064095 <mbts:MILD> GSML1FEC.cpp:474:handoverPending: handover clear failed
2015-09-01_14:58:22.064140 <gsmtrx:NOTE> Received command 'NOHANDOVER 0': transceiver not running
2015-09-01_14:58:22.064212 <mbts:MILD> TRXManager.cpp:547:clearHandover: NOHANDOVER failed with status 4
2015-09-01_14:58:22.064225 <mbts:MILD> GSML1FEC.cpp:474:handoverPending: handover clear failed
2015-09-01_14:58:22.064278 <gsmtrx:NOTE> Received command 'NOHANDOVER 0': transceiver not running
2015-09-01_14:58:22.064336 <mbts:MILD> TRXManager.cpp:547:clearHandover: NOHANDOVER failed with status 4
2015-09-01_14:58:22.064350 <mbts:MILD> GSML1FEC.cpp:474:handoverPending: handover clear failed
2015-09-01_14:58:22.064435 <gsmtrx:NOTE> Received command 'NOHANDOVER 0': transceiver not running
2015-09-01_14:58:22.064490 <mbts:MILD> TRXManager.cpp:547:clearHandover: NOHANDOVER failed with status 4
2015-09-01_14:58:22.064511 <gsmtrx:NOTE> Received command 'NOHANDOVER 0': transceiver not running
2015-09-01_14:58:22.064521 <mbts:MILD> GSML1FEC.cpp:474:handoverPending: handover clear failed
2015-09-01_14:58:22.064541 <mbts:MILD> TRXManager.cpp:547:clearHandover: NOHANDOVER failed with status 4
2015-09-01_14:58:22.064550 <mbts:MILD> GSML1FEC.cpp:474:handoverPending: handover clear failed
2015-09-01_14:58:22.064596 <gsmtrx:NOTE> Received command 'NOHANDOVER 0': transceiver not running
2015-09-01_14:58:22.064631 <mbts:MILD> TRXManager.cpp:547:clearHandover: NOHANDOVER failed with status 4
2015-09-01_14:58:22.064642 <mbts:MILD> GSML1FEC.cpp:474:handoverPending: handover clear failed
2015-09-01_14:58:22.064830 <gsmtrx:NOTE> Received command 'NOHANDOVER 0': transceiver not running
2015-09-01_14:58:22.064865 <mbts:MILD> TRXManager.cpp:547:clearHandover: NOHANDOVER failed with status 4
2015-09-01_14:58:22.064878 <mbts:MILD> GSML1FEC.cpp:474:handoverPending: handover clear failed
2015-09-01_14:58:22.064927 <gsmtrx:NOTE> Received command 'NOHANDOVER 0': transceiver not running
2015-09-01_14:58:22.064953 <mbts:MILD> TRXManager.cpp:547:clearHandover: NOHANDOVER failed with status 4
2015-09-01_14:58:22.064965 <mbts:MILD> GSML1FEC.cpp:474:handoverPending: handover clear failed
2015-09-01_14:58:22.065030 <gsmtrx:NOTE> Received command 'NOHANDOVER 0': transceiver not running
2015-09-01_14:58:22.065052 <mbts:MILD> TRXManager.cpp:547:clearHandover: NOHANDOVER failed with status 4
2015-09-01_14:58:22.065064 <mbts:MILD> GSML1FEC.cpp:474:handoverPending: handover clear failed
2015-09-01_14:58:22.065108 <gsmtrx:NOTE> Received command 'NOHANDOVER 0': transceiver not running
2015-09-01_14:58:22.065129 <mbts:MILD> TRXManager.cpp:547:clearHandover: NOHANDOVER failed with status 4
2015-09-01_14:58:22.065140 <mbts:MILD> GSML1FEC.cpp:474:handoverPending: handover clear failed
2015-09-01_14:58:22.065200 <gsmtrx:NOTE> Received command 'NOHANDOVER 0': transceiver not running
2015-09-01_14:58:22.065221 <mbts:MILD> TRXManager.cpp:547:clearHandover: NOHANDOVER failed with status 4
2015-09-01_14:58:22.065233 <mbts:MILD> GSML1FEC.cpp:474:handoverPending: handover clear failed
2015-09-01_14:58:22.065276 <gsmtrx:NOTE> Received command 'NOHANDOVER 0': transceiver not running
2015-09-01_14:58:22.065298 <mbts:MILD> TRXManager.cpp:547:clearHandover: NOHANDOVER failed with status 4
2015-09-01_14:58:22.065309 <mbts:MILD> GSML1FEC.cpp:474:handoverPending: handover clear failed
2015-09-01_14:58:22.065370 <gsmtrx:NOTE> Received command 'NOHANDOVER 0': transceiver not running
2015-09-01_14:58:22.065392 <mbts:MILD> TRXManager.cpp:547:clearHandover: NOHANDOVER failed with status 4
2015-09-01_14:58:22.065403 <mbts:MILD> GSML1FEC.cpp:474:handoverPending: handover clear failed
2015-09-01_14:58:22.065444 <gsmtrx:NOTE> Received command 'NOHANDOVER 0': transceiver not running
2015-09-01_14:58:22.065465 <mbts:MILD> TRXManager.cpp:547:clearHandover: NOHANDOVER failed with status 4
2015-09-01_14:58:22.065476 <mbts:MILD> GSML1FEC.cpp:474:handoverPending: handover clear failed
2015-09-01_14:58:22.065541 <mbts:NOTE> GSMConfig.cpp:532:createCombinationI: Configuring combination I on C0T1
2015-09-01_14:58:22.065551 <gsmtrx:NOTE> Received command 'SETSLOT 1 1': transceiver not running
ALERT 139867830110016 14:58:22.0 TRXManager.cpp:502:setSlot: SETSLOT failed with status 4
2015-09-01_14:58:22.065587 <mbts:WARN> TRXManager.cpp:502:setSlot: SETSLOT failed with status 4
2015-09-01_14:58:22.065671 <gsmtrx:NOTE> Received command 'NOHANDOVER 1': transceiver not running
2015-09-01_14:58:22.065694 <mbts:MILD> TRXManager.cpp:547:clearHandover: NOHANDOVER failed with status 4
2015-09-01_14:58:22.065705 <mbts:MILD> GSML1FEC.cpp:474:handoverPending: handover clear failed
2015-09-01_14:58:22.065767 <gsmtrx:NOTE> Received command 'NOHANDOVER 1': transceiver not running
2015-09-01_14:58:22.065805 <mbts:MILD> TRXManager.cpp:547:clearHandover: NOHANDOVER failed with status 4
2015-09-01_14:58:22.065816 <mbts:MILD> GSML1FEC.cpp:474:handoverPending: handover clear failed
2015-09-01_14:58:22.065882 <mbts:NOTE> GSMConfig.cpp:532:createCombinationI: Configuring combination I on C0T2
2015-09-01_14:58:22.065900 <gsmtrx:NOTE> Received command 'SETSLOT 2 1': transceiver not running
ALERT 139867830110016 14:58:22.0 TRXManager.cpp:502:setSlot: SETSLOT failed with status 4
2015-09-01_14:58:22.065942 <mbts:WARN> TRXManager.cpp:502:setSlot: SETSLOT failed with status 4
2015-09-01_14:58:22.066033 <gsmtrx:NOTE> Received command 'NOHANDOVER 2': transceiver not running
2015-09-01_14:58:22.066067 <mbts:MILD> TRXManager.cpp:547:clearHandover: NOHANDOVER failed with status 4
2015-09-01_14:58:22.066077 <mbts:MILD> GSML1FEC.cpp:474:handoverPending: handover clear failed
2015-09-01_14:58:22.066134 <gsmtrx:NOTE> Received command 'NOHANDOVER 2': transceiver not running
2015-09-01_14:58:22.066165 <mbts:MILD> TRXManager.cpp:547:clearHandover: NOHANDOVER failed with status 4
2015-09-01_14:58:22.066174 <mbts:MILD> GSML1FEC.cpp:474:handoverPending: handover clear failed
2015-09-01_14:58:22.066218 <mbts:NOTE> GSMConfig.cpp:532:createCombinationI: Configuring combination I on C0T3
2015-09-01_14:58:22.066229 <gsmtrx:NOTE> Received command 'SETSLOT 3 1': transceiver not running
ALERT 139867830110016 14:58:22.0 TRXManager.cpp:502:setSlot: SETSLOT failed with status 4
2015-09-01_14:58:22.066271 <mbts:WARN> TRXManager.cpp:502:setSlot: SETSLOT failed with status 4
2015-09-01_14:58:22.066357 <gsmtrx:NOTE> Received command 'NOHANDOVER 3': transceiver not running
2015-09-01_14:58:22.066381 <mbts:MILD> TRXManager.cpp:547:clearHandover: NOHANDOVER failed with status 4
2015-09-01_14:58:22.066392 <mbts:MILD> GSML1FEC.cpp:474:handoverPending: handover clear failed
2015-09-01_14:58:22.066441 <gsmtrx:NOTE> Received command 'NOHANDOVER 3': transceiver not running
2015-09-01_14:58:22.066463 <mbts:MILD> TRXManager.cpp:547:clearHandover: NOHANDOVER failed with status 4
2015-09-01_14:58:22.066473 <mbts:MILD> GSML1FEC.cpp:474:handoverPending: handover clear failed
2015-09-01_14:58:22.066515 <mbts:NOTE> GSMConfig.cpp:532:createCombinationI: Configuring combination I on C0T4
2015-09-01_14:58:22.066523 <gsmtrx:NOTE> Received command 'SETSLOT 4 1': transceiver not running
ALERT 139867830110016 14:58:22.0 TRXManager.cpp:502:setSlot: SETSLOT failed with status 4
2015-09-01_14:58:22.066554 <mbts:WARN> TRXManager.cpp:502:setSlot: SETSLOT failed with status 4
2015-09-01_14:58:22.066628 <gsmtrx:NOTE> Received command 'NOHANDOVER 4': transceiver not running
2015-09-01_14:58:22.066649 <mbts:MILD> TRXManager.cpp:547:clearHandover: NOHANDOVER failed with status 4
2015-09-01_14:58:22.066659 <mbts:MILD> GSML1FEC.cpp:474:handoverPending: handover clear failed
2015-09-01_14:58:22.066725 <gsmtrx:NOTE> Received command 'NOHANDOVER 4': transceiver not running
2015-09-01_14:58:22.066746 <mbts:MILD> TRXManager.cpp:547:clearHandover: NOHANDOVER failed with status 4
2015-09-01_14:58:22.066757 <mbts:MILD> GSML1FEC.cpp:474:handoverPending: handover clear failed
2015-09-01_14:58:22.066810 <mbts:NOTE> GSMConfig.cpp:532:createCombinationI: Configuring combination I on C0T5
2015-09-01_14:58:22.066820 <gsmtrx:NOTE> Received command 'SETSLOT 5 1': transceiver not running
ALERT 139867830110016 14:58:22.0 TRXManager.cpp:502:setSlot: SETSLOT failed with status 4
2015-09-01_14:58:22.066848 <mbts:WARN> TRXManager.cpp:502:setSlot: SETSLOT failed with status 4
2015-09-01_14:58:22.066933 <gsmtrx:NOTE> Received command 'NOHANDOVER 5': transceiver not running
2015-09-01_14:58:22.066956 <mbts:MILD> TRXManager.cpp:547:clearHandover: NOHANDOVER failed with status 4
2015-09-01_14:58:22.066967 <mbts:MILD> GSML1FEC.cpp:474:handoverPending: handover clear failed
2015-09-01_14:58:22.067016 <gsmtrx:NOTE> Received command 'NOHANDOVER 5': transceiver not running
2015-09-01_14:58:22.067037 <mbts:MILD> TRXManager.cpp:547:clearHandover: NOHANDOVER failed with status 4
2015-09-01_14:58:22.067047 <mbts:MILD> GSML1FEC.cpp:474:handoverPending: handover clear failed
2015-09-01_14:58:22.067092 <mbts:NOTE> GSMConfig.cpp:532:createCombinationI: Configuring combination I on C0T6
2015-09-01_14:58:22.067101 <gsmtrx:NOTE> Received command 'SETSLOT 6 1': transceiver not running
ALERT 139867830110016 14:58:22.0 TRXManager.cpp:502:setSlot: SETSLOT failed with status 4
2015-09-01_14:58:22.067140 <mbts:WARN> TRXManager.cpp:502:setSlot: SETSLOT failed with status 4
2015-09-01_14:58:22.067224 <gsmtrx:NOTE> Received command 'NOHANDOVER 6': transceiver not running
2015-09-01_14:58:22.067247 <mbts:MILD> TRXManager.cpp:547:clearHandover: NOHANDOVER failed with status 4
2015-09-01_14:58:22.067258 <mbts:MILD> GSML1FEC.cpp:474:handoverPending: handover clear failed
2015-09-01_14:58:22.067307 <gsmtrx:NOTE> Received command 'NOHANDOVER 6': transceiver not running
2015-09-01_14:58:22.067329 <mbts:MILD> TRXManager.cpp:547:clearHandover: NOHANDOVER failed with status 4
2015-09-01_14:58:22.067342 <mbts:MILD> GSML1FEC.cpp:474:handoverPending: handover clear failed
2015-09-01_14:58:22.067372 <mbts:NOTE> GSMConfig.cpp:532:createCombinationI: Configuring combination I on C0T7
2015-09-01_14:58:22.067390 <gsmtrx:NOTE> Received command 'SETSLOT 7 1': transceiver not running
ALERT 139867830110016 14:58:22.0 TRXManager.cpp:502:setSlot: SETSLOT failed with status 4
2015-09-01_14:58:22.067419 <mbts:WARN> TRXManager.cpp:502:setSlot: SETSLOT failed with status 4
2015-09-01_14:58:22.067492 <gsmtrx:NOTE> Received command 'NOHANDOVER 7': transceiver not running
2015-09-01_14:58:22.067512 <mbts:MILD> TRXManager.cpp:547:clearHandover: NOHANDOVER failed with status 4
2015-09-01_14:58:22.067523 <mbts:MILD> GSML1FEC.cpp:474:handoverPending: handover clear failed
2015-09-01_14:58:22.067552 <gsmtrx:NOTE> Received command 'NOHANDOVER 7': transceiver not running
2015-09-01_14:58:22.067571 <mbts:MILD> TRXManager.cpp:547:clearHandover: NOHANDOVER failed with status 4
2015-09-01_14:58:22.067581 <mbts:MILD> GSML1FEC.cpp:474:handoverPending: handover clear failed
2015-09-01_14:58:22.067613 <gsmtrx:NOTE> Received command 'SETPOWER 40': transceiver not running
ALERT 139867830110016 14:58:22.0 TRXManager.cpp:462:setPower: SETPOWER failed with status 4
2015-09-01_14:58:22.067641 <mbts:WARN> TRXManager.cpp:462:setPower: SETPOWER failed with status 4
MBTS ready
2015-09-01_14:58:22.067697 <ybts-signalling:INFO> Received [0xc68dd0]
-----
Primitive: RadioReady
Info: 0
-----
2015-09-01_14:58:22.067704 <ybts:NOTE> State changed Running -> RadioUp
EMERG 139867828958976 14:58:27.0 TRXManager.cpp:96:clockHandler: TRX clock interface timed out, assuming TRX is dead.
2015-09-01_14:58:27.066954 <mbts:GOON> TRXManager.cpp:96:clockHandler: TRX clock interface timed out, assuming TRX is dead.
2015-09-01_14:58:30.995930 <ybts:NOTE> Peer pid 17601 vanished
2015-09-01_14:58:30.995955 <ybts:ALL> Restart scheduled in 1ms [0x7fe46ea39e80]
2015-09-01_14:58:30.995960 <ybts:ALL> Scheduled stop in 0ms
Received shutdown signal
Shutting down transceiver...
2015-09-01_14:58:32.209183 <iaxengine:INFO> Status changed Listening -> Exiting [0xb6e720]
2015-09-01_14:58:32.209200 <iaxengine:ALL> Set terminate timeout=16500ms status=Exiting [0xb6e720]
2015-09-01_14:58:32.209209 <iax:INFO> Removed listener (0xb6e720) 'iaxengine' status='Exiting'
2015-09-01_14:58:32.209503 <iaxengine:ALL> Thread (0xb78a50) 'YIAXTrunking' terminated [0xb6e720]
2015-09-01_14:58:32.211285 <iaxengine:ALL> Thread (0xb78560) 'YIAXGetEvent' terminated [0xb6e720]
2015-09-01_14:58:32.211308 <jingle:ALL> YJGEngineWorker stop running
2015-09-01_14:58:32.211333 <iaxengine:ALL> Thread (0xb78350) 'YIAXGetEvent' terminated [0xb6e720]
2015-09-01_14:58:32.211373 <iaxengine:ALL> Thread (0xb78070) 'YIAXListener' terminated [0xb6e720]
2015-09-01_14:58:32.211416 <iaxengine:ALL> Thread (0xb77c80) 'YIAXListener' terminated [0xb6e720]
2015-09-01_14:58:32.211437 <iaxengine:ALL> Thread (0xb78770) 'YIAXGetEvent' terminated [0xb6e720]
2015-09-01_14:58:32.211458 <iaxengine:ALL> Thread (0xb77e60) 'YIAXListener' terminated [0xb6e720]
2015-09-01_14:58:32.214336 <iaxengine:ALL> Destroyed [0xb6e720]
2015-09-01_14:58:32.214398 <sip:ALL> Returning false from engine.stop handler
Yate engine is shutting down with code 0
2015-09-01_14:58:32.216360 <jabber:ALL> JBPendingWorker(0) terminated [0xa4efb0]
2015-09-01_14:58:32.216389 <jabber:ALL> Terminated 1 pending worker threads
2015-09-01_14:58:32.216419 <ALL> Rescanning handler list for 'engine.halt' [0x7ffc37afabb0] at priority 100
2015-09-01_14:58:32.216442 <ALL> Rescanning handler list for 'engine.halt' [0x7ffc37afabb0] at priority 100
2015-09-01_14:58:32.216447 <ALL> Handler list for 'engine.halt' [0x7ffc37afabb0] changed, skipping from 0xa4fdf0 (100) to 0xa506e0 (100)
2015-09-01_14:58:32.216457 <ALL> Rescanning handler list for 'engine.halt' [0x7ffc37afabb0] at priority 100
2015-09-01_14:58:32.216482 <ALL> Rescanning handler list for 'engine.halt' [0x7ffc37afabb0] at priority 100
2015-09-01_14:58:32.216487 <ALL> Handler list for 'engine.halt' [0x7ffc37afabb0] changed, skipping from 0xb08cc0 (100) to 0xb09670 (100)
2015-09-01_14:58:32.221843 <ALL> Rescanning handler list for 'engine.halt' [0x7ffc37afabb0] at priority 100
2015-09-01_14:58:32.221873 <sip:ALL> Clearing udp transports reason=Exiting
2015-09-01_14:58:32.221886 <sip:INFO> Listener(UDP,'general') stop listening reason='Exiting' [0xb8ccf0]
2015-09-01_14:58:32.221889 <sip:ALL> Removed transport (0xb8ccf0,'general')
2015-09-01_14:58:32.221893 <sip:INFO> Reset default UDP transport
2015-09-01_14:58:32.226980 <sip:ALL> Transport(general) destroyed [0xb8ccf0]
2015-09-01_14:58:32.227033 <sip:ALL> YateSIPEndPoint::~YateSIPEndPoint() [0xb88ab0]
2015-09-01_14:58:32.227078 <ALL> Rescanning handler list for 'engine.halt' [0x7ffc37afabb0] at priority 100
2015-09-01_14:58:32.227085 <ALL> Handler list for 'engine.halt' [0x7ffc37afabb0] changed, skipping from 0xb8ea80 (100) to 0xb93f00 (100)
2015-09-01_14:58:32.227092 <gsmtrx:INFO> Module state changed Waiting -> Idle
2015-09-01_14:58:32.231696 <gsmtrx:ALL> 'control' thread terminated

marian

  • Hero Member
  • *****
  • Posts: 513
    • View Profile
Re: USRP x310, no connection to transceiver
« Reply #7 on: September 02, 2015, 01:11:04 AM »
See
2015-09-01_14:58:17.057699 <gsmtrx:NOTE> Received command 'READFACTORY sdrsn': ......

You installed the new YateBts version who adds the gsmtrx.yate module.
It steals the transceiver port so it will handle all commands from mbts.
Delete it or prevent loading it.
yate.conf
[modules]
gsmtrx.yate=no


johnnyboy

  • Newbie
  • *
  • Posts: 9
    • View Profile
Re: USRP x310, no connection to transceiver
« Reply #8 on: September 02, 2015, 01:25:59 AM »
OMFG Marian you are my saver :D

johnnyboy

  • Newbie
  • *
  • Posts: 9
    • View Profile
Re: USRP x310, no connection to transceiver
« Reply #9 on: September 02, 2015, 03:37:33 AM »
Now the BTS is working but when she is running for a while and phone try to connect, i get a "crash" and the yateBTS restart, here is the log:
Anyone has an idea what is wrong ?
Phone IMSI are in subscribers, with random Ki.

Primitive: RadioReady
Info: 0
-----
2015-09-02_11:29:25.114825 <ybts:NOTE> State changed Running -> RadioUp
2015-09-02_11:29:50.600313 <mbts:MILD> TRXManager.cpp:547:clearHandover: NOHANDOVER failed with status 1
2015-09-02_11:29:50.600337 <mbts:MILD> GSML1FEC.cpp:474:handoverPending: handover clear failed
2015-09-02_11:29:50.600372 <mbts:MILD> TRXManager.cpp:547:clearHandover: NOHANDOVER failed with status 1
2015-09-02_11:29:50.600384 <mbts:MILD> GSML1FEC.cpp:474:handoverPending: handover clear failed
2015-09-02_11:29:50.895603 <ybts-signalling:INFO> Received [0xa26970]
-----
Primitive: PhysicalInfo
Info: 0
Connection: 1

<PhysicalInfo>TA=0 TE=-0.109 UpRSSI=-62 TxPwr=33 DnRSSIdBm=-111 time=1441186190.613</PhysicalInfo>
-----
2015-09-02_11:29:50.895675 <ybts-signalling:INFO> Received [0xa26970]
-----
Primitive: L3Message
Info: 0
Connection: 1

<MM>
  <SkipIndicator>0</SkipIndicator>
  <NSD>0</NSD>
  <Message type="LocationUpdatingRequest">
    <LocationUpdatingType>
      <FOR>false</FOR>
      <LUT>normal-location-updating</LUT>
    </LocationUpdatingType>
    <CipheringKeySequenceNumber>no-key/reserved</CipheringKeySequenceNumber>
    <LAI>
      <PLMNidentity>00101</PLMNidentity>
      <LAC>fffe</LAC>
    </LAI>
    <MobileStationClassmark>
      <RFPowerCapability>class4</RFPowerCapability>
      <RevisionLevel>GSM-phase2</RevisionLevel>
      <Flags>ES-IND</Flags>
    </MobileStationClassmark>
    <MobileIdentity>
      <IMSI>228014420990668</IMSI>
    </MobileIdentity>
  </Message>
</MM>
-----
2015-09-02_11:29:50.895684 <ybts-signalling:ALL> Added connection (0x7f75ac002210,1) [0xa26970]
2015-09-02_11:29:50.895694 <ybts-mm:ALL> Handling LocationUpdatingRequest conn=1: ident=IMSI/228014420990668 LAI=00101_fffe [0xa26d50]
2015-09-02_11:29:50.895699 <ybts-mm:ALL> Added UE (0x7f75ac0023b0) TMSI= IMSI=228014420990668 [0xa26d50]
2015-09-02_11:29:50.895704 <ybts-signalling:ALL> Connection 1 set UE (0x7f75ac0023b0) TMSI= IMSI=228014420990668 [0x7f75ac002210]
2015-09-02_11:29:50.895723 <ybts-signalling:INFO> Sending [0xa26970]
-----
Primitive: L3Message
Info: 0
Connection: 1

<MM>
  <Message type="IdentityRequest">
    <IdentityType>IMEI</IdentityType>
  </Message>
</MM>
-----
2015-09-02_11:29:51.366181 <ybts-signalling:INFO> Received [0xa26970]
-----
Primitive: PhysicalInfo
Info: 0
Connection: 1

<PhysicalInfo>TA=0 TE=-0.133 UpRSSI=-60 TxPwr=33 DnRSSIdBm=-111 time=1441186190.600</PhysicalInfo>
-----
2015-09-02_11:29:51.366221 <ybts-signalling:INFO> Received [0xa26970]
-----
Primitive: L3Message
Info: 0
Connection: 1

<MM>
  <SkipIndicator>0</SkipIndicator>
  <NSD>1</NSD>
  <Message type="IdentityResponse">
    <MobileIdentity>
      <IMEI>354091055809510</IMEI>
    </MobileIdentity>
  </Message>
</MM>
-----
2015-09-02_11:29:51.366287 <ybts:ALL> Started location updating thread for (0x7f75ac0023b0) TMSI= IMSI=228014420990668 [0x7f75ac0024f0]
2015-09-02_11:29:51.366400 <nib:INFO> Got user.register for imsi='228014420990668', tmsi=''
2015-09-02_11:29:51.366419 <nib:INFO> Searching imsi in subscribers.
2015-09-02_11:29:51.366733 <ybts:ALL> Location updating thread for (0x7f75ac0023b0) TMSI= IMSI=228014420990668 terminated [0x7f75ac0024f0]
2015-09-02_11:29:51.366743 <ybts-mm:ALL> UE (0x7f75ac0023b0) TMSI= IMSI=228014420990668 register failed [0xa26d50]
2015-09-02_11:29:51.366765 <ybts-signalling:INFO> Sending [0xa26970]
-----
Primitive: L3Message
Info: 0
Connection: 1

<MM>
  <Message type="LocationUpdatingReject">
    <RejectCause>failure</RejectCause>
  </Message>
</MM>
-----
2015-09-02_11:29:51.366779 <ybts-signalling:ALL> Releasing connection (0x7f75ac002210,1) [0xa26970]
2015-09-02_11:29:51.366785 <ybts-signalling:INFO> Sending [0xa26970]
-----
Primitive: ConnRelease
Info: 0
Connection: 1
-----
2015-09-02_11:30:22.003260 <ybts-signalling:ALL> Removing released connection 1 [0xa26970]
2015-09-02_11:30:22.003279 <ybts-mm:ALL> Removed UE (0x7f75ac0023b0): destroyed [0xa26d50]
2015-09-02_11:30:22.003285 <ybts:ALL> UE destroyed [0x7f75ac0023b0]
2015-09-02_11:31:04.049767 <mbts:MILD> TRXManager.cpp:547:clearHandover: NOHANDOVER failed with status 1
2015-09-02_11:31:04.049790 <mbts:MILD> GSML1FEC.cpp:474:handoverPending: handover clear failed
2015-09-02_11:31:04.049825 <mbts:MILD> TRXManager.cpp:547:clearHandover: NOHANDOVER failed with status 1
2015-09-02_11:31:04.049833 <mbts:MILD> GSML1FEC.cpp:474:handoverPending: handover clear failed
2015-09-02_11:31:04.334970 <ybts-signalling:INFO> Received [0xa26970]
-----
Primitive: PhysicalInfo
Info: 0
Connection: 2

<PhysicalInfo>TA=0 TE=-0.031 UpRSSI=-63 TxPwr=33 DnRSSIdBm=-88 time=1441186264.062</PhysicalInfo>
-----
2015-09-02_11:31:04.335040 <ybts-signalling:INFO> Received [0xa26970]
-----
Primitive: L3Message
Info: 0
Connection: 2

<MM>
  <SkipIndicator>0</SkipIndicator>
  <NSD>0</NSD>
  <Message type="LocationUpdatingRequest">
    <LocationUpdatingType>
      <FOR>false</FOR>
      <LUT>normal-location-updating</LUT>
    </LocationUpdatingType>
    <CipheringKeySequenceNumber>no-key/reserved</CipheringKeySequenceNumber>
    <LAI>
      <PLMNidentity>00101</PLMNidentity>
      <LAC>fffe</LAC>
    </LAI>
    <MobileStationClassmark>
      <RFPowerCapability>class4</RFPowerCapability>
      <RevisionLevel>GSM-phase2</RevisionLevel>
      <Flags>ES-IND</Flags>
    </MobileStationClassmark>
    <MobileIdentity>
      <IMSI>228014420990668</IMSI>
    </MobileIdentity>
  </Message>
</MM>
-----
2015-09-02_11:31:04.335049 <ybts-signalling:ALL> Added connection (0x7f75ac0029f0,2) [0xa26970]
2015-09-02_11:31:04.335057 <ybts-mm:ALL> Handling LocationUpdatingRequest conn=2: ident=IMSI/228014420990668 LAI=00101_fffe [0xa26d50]
2015-09-02_11:31:04.335062 <ybts-mm:ALL> Added UE (0x7f75ac0026d0) TMSI= IMSI=228014420990668 [0xa26d50]
2015-09-02_11:31:04.335066 <ybts-signalling:ALL> Connection 2 set UE (0x7f75ac0026d0) TMSI= IMSI=228014420990668 [0x7f75ac0029f0]
2015-09-02_11:31:04.335082 <ybts-signalling:INFO> Sending [0xa26970]
-----
Primitive: L3Message
Info: 0
Connection: 2

<MM>
  <Message type="IdentityRequest">
    <IdentityType>IMEI</IdentityType>
  </Message>
</MM>
-----
2015-09-02_11:31:04.806391 <ybts-signalling:INFO> Received [0xa26970]
-----
Primitive: PhysicalInfo
Info: 0
Connection: 2

<PhysicalInfo>TA=0 TE=-0.031 UpRSSI=-60 TxPwr=33 DnRSSIdBm=-88 time=1441186264.050</PhysicalInfo>
-----
2015-09-02_11:31:04.806430 <ybts-signalling:INFO> Received [0xa26970]
-----
Primitive: L3Message
Info: 0
Connection: 2

<MM>
  <SkipIndicator>0</SkipIndicator>
  <NSD>1</NSD>
  <Message type="IdentityResponse">
    <MobileIdentity>
      <IMEI>354091055809510</IMEI>
    </MobileIdentity>
  </Message>
</MM>
-----
2015-09-02_11:31:04.806472 <ybts:ALL> Started location updating thread for (0x7f75ac0026d0) TMSI= IMSI=228014420990668 [0x7f75ac0024f0]
2015-09-02_11:31:04.806587 <nib:INFO> Got user.register for imsi='228014420990668', tmsi=''
2015-09-02_11:31:04.806605 <nib:INFO> Searching imsi in subscribers.
2015-09-02_11:31:04.806904 <ybts:ALL> Location updating thread for (0x7f75ac0026d0) TMSI= IMSI=228014420990668 terminated [0x7f75ac0024f0]
2015-09-02_11:31:04.806912 <ybts-mm:ALL> UE (0x7f75ac0026d0) TMSI= IMSI=228014420990668 register failed [0xa26d50]
2015-09-02_11:31:04.806931 <ybts-signalling:INFO> Sending [0xa26970]
-----
Primitive: L3Message
Info: 0
Connection: 2

<MM>
  <Message type="LocationUpdatingReject">
    <RejectCause>failure</RejectCause>
  </Message>
</MM>
-----
2015-09-02_11:31:04.806946 <ybts-signalling:ALL> Releasing connection (0x7f75ac0029f0,2) [0xa26970]
2015-09-02_11:31:04.806957 <ybts-signalling:INFO> Sending [0xa26970]
-----
Primitive: ConnRelease
Info: 0
Connection: 2
-----
Remote connection from 127.0.0.1:58861 to 127.0.0.1:5038
2015-09-02_11:31:35.004327 <ybts-signalling:ALL> Removing released connection 2 [0xa26970]
2015-09-02_11:31:35.004347 <ybts-mm:ALL> Removed UE (0x7f75ac0026d0): destroyed [0xa26d50]
2015-09-02_11:31:35.004382 <ybts:ALL> UE destroyed [0x7f75ac0026d0]
2015-09-02_11:32:08.328163 <mbts:MILD> TRXManager.cpp:547:clearHandover: NOHANDOVER failed with status 1
2015-09-02_11:32:08.328184 <mbts:MILD> GSML1FEC.cpp:474:handoverPending: handover clear failed
2015-09-02_11:32:08.328208 <mbts:MILD> TRXManager.cpp:547:clearHandover: NOHANDOVER failed with status 1
2015-09-02_11:32:08.328214 <mbts:MILD> GSML1FEC.cpp:474:handoverPending: handover clear failed
2015-09-02_11:32:08.831377 <ybts-signalling:INFO> Received [0xa26970]
-----
Primitive: PhysicalInfo
Info: 0
Connection: 3

<PhysicalInfo>TA=0 TE=-0.434 UpRSSI=-56 TxPwr=33 DnRSSIdBm=-78 time=1441186328.341</PhysicalInfo>
-----
2015-09-02_11:32:08.831447 <ybts-signalling:INFO> Received [0xa26970]
-----
Primitive: L3Message
Info: 0
Connection: 3

<MM>
  <SkipIndicator>0</SkipIndicator>
  <NSD>0</NSD>
  <Message type="LocationUpdatingRequest">
    <LocationUpdatingType>
      <FOR>false</FOR>
      <LUT>normal-location-updating</LUT>
    </LocationUpdatingType>
    <CipheringKeySequenceNumber>no-key/reserved</CipheringKeySequenceNumber>
    <LAI>
      <PLMNidentity>22801</PLMNidentity>
      <LAC>fffe</LAC>
    </LAI>
    <MobileStationClassmark>
      <RFPowerCapability>class4</RFPowerCapability>
      <RevisionLevel>GSM-phase2</RevisionLevel>
      <Flags>ES-IND</Flags>
    </MobileStationClassmark>
    <MobileIdentity>
      <IMSI>228017222531928</IMSI>
    </MobileIdentity>
  </Message>
</MM>
-----
2015-09-02_11:32:08.831455 <ybts-signalling:ALL> Added connection (0x7f75ac002870,3) [0xa26970]
2015-09-02_11:32:08.831463 <ybts-mm:ALL> Handling LocationUpdatingRequest conn=3: ident=IMSI/228017222531928 LAI=22801_fffe [0xa26d50]
2015-09-02_11:32:08.831468 <ybts-mm:ALL> Added UE (0x7f75ac002990) TMSI= IMSI=228017222531928 [0xa26d50]
2015-09-02_11:32:08.831473 <ybts-signalling:ALL> Connection 3 set UE (0x7f75ac002990) TMSI= IMSI=228017222531928 [0x7f75ac002870]
2015-09-02_11:32:08.831489 <ybts-signalling:INFO> Sending [0xa26970]
-----
Primitive: L3Message
Info: 0
Connection: 3

<MM>
  <Message type="IdentityRequest">
    <IdentityType>IMEI</IdentityType>
  </Message>
</MM>
-----
2015-09-02_11:32:09.301976 <ybts-signalling:INFO> Received [0xa26970]
-----
Primitive: PhysicalInfo
Info: 0
Connection: 3

<PhysicalInfo>TA=0 TE=-0.426 UpRSSI=-60 TxPwr=33 DnRSSIdBm=-78 time=1441186328.328</PhysicalInfo>
-----
2015-09-02_11:32:09.302020 <ybts-signalling:INFO> Received [0xa26970]
-----
Primitive: L3Message
Info: 0
Connection: 3

<MM>
  <SkipIndicator>0</SkipIndicator>
  <NSD>1</NSD>
  <Message type="IdentityResponse">
    <MobileIdentity>
      <IMEI>351869055911380</IMEI>
    </MobileIdentity>
  </Message>
</MM>
-----
2015-09-02_11:32:09.302075 <ybts:ALL> Started location updating thread for (0x7f75ac002990) TMSI= IMSI=228017222531928 [0x7f75ac0025b0]
2015-09-02_11:32:09.302210 <nib:INFO> Got user.register for imsi='228017222531928', tmsi=''
2015-09-02_11:32:09.302230 <nib:INFO> Searching imsi in subscribers.
2015-09-02_11:32:09.302328 <ybts:ALL> Location updating thread for (0x7f75ac002990) TMSI= IMSI=228017222531928 terminated [0x7f75ac0025b0]
2015-09-02_11:32:09.302336 <ybts-mm:ALL> UE (0x7f75ac002990) TMSI= IMSI=228017222531928 register failed [0xa26d50]
2015-09-02_11:32:09.302357 <ybts-signalling:INFO> Sending [0xa26970]
-----
Primitive: L3Message
Info: 0
Connection: 3

<MM>
  <Message type="LocationUpdatingReject">
    <RejectCause>location-area-not-allowed</RejectCause>
  </Message>
</MM>
-----
2015-09-02_11:32:09.302371 <ybts-signalling:ALL> Releasing connection (0x7f75ac002870,3) [0xa26970]
2015-09-02_11:32:09.302381 <ybts-signalling:INFO> Sending [0xa26970]
-----
Primitive: ConnRelease
Info: 0
Connection: 3
-----
Remote connection from 127.0.0.1:58863 to 127.0.0.1:5038
2015-09-02_11:32:40.003390 <ybts-signalling:ALL> Removing released connection 3 [0xa26970]
2015-09-02_11:32:40.003409 <ybts-mm:ALL> Removed UE (0x7f75ac002990): destroyed [0xa26d50]
2015-09-02_11:32:40.003413 <ybts:ALL> UE destroyed [0x7f75ac002990]
2015-09-02_11:32:41.203376 <RManager:INFO> Socket exception condition on 12
Closing connection to 127.0.0.1:58863
Remote connection from 127.0.0.1:58866 to 127.0.0.1:5038
2015-09-02_11:33:02.439973 <jingle:ALL> YJGEngineWorker stop running
2015-09-02_11:33:02.466890 <RManager:INFO> Socket exception condition on 12
Closing connection to 127.0.0.1:58866
2015-09-02_11:33:03.000100 <iaxengine:INFO> Status changed Listening -> Exiting [0x937270]
2015-09-02_11:33:03.000119 <iaxengine:ALL> Set terminate timeout=16500ms status=Exiting [0x937270]
2015-09-02_11:33:03.000129 <iax:INFO> Removed listener (0x937270) 'iaxengine' status='Exiting'
2015-09-02_11:33:03.002125 <iaxengine:ALL> Thread (0x9415a0) 'YIAXTrunking' terminated [0x937270]
2015-09-02_11:33:03.002411 <iaxengine:ALL> Thread (0x940bc0) 'YIAXListener' terminated [0x937270]
2015-09-02_11:33:03.002431 <iaxengine:ALL> Thread (0x940ea0) 'YIAXGetEvent' terminated [0x937270]
2015-09-02_11:33:03.002451 <iaxengine:ALL> Thread (0x9407d0) 'YIAXListener' terminated [0x937270]
2015-09-02_11:33:03.002473 <iaxengine:ALL> Thread (0x9410b0) 'YIAXGetEvent' terminated [0x937270]
2015-09-02_11:33:03.002511 <iaxengine:ALL> Thread (0x9412c0) 'YIAXGetEvent' terminated [0x937270]
2015-09-02_11:33:03.002541 <iaxengine:ALL> Thread (0x9409b0) 'YIAXListener' terminated [0x937270]
2015-09-02_11:33:03.005223 <iaxengine:ALL> Destroyed [0x937270]
2015-09-02_11:33:03.005256 <sip:ALL> Returning false from engine.stop handler
2015-09-02_11:33:03.005385 <mbts:ALL> Killing transceiver
MBTS exiting
2015-09-02_11:33:03.005406 <ybts:ALL> 'shutdown' command result:
-----
exiting...
-----
2015-09-02_11:33:03.005422 <ybts:ALL> Stopping ...
2015-09-02_11:33:03.007507 <ybts-signalling:ALL> Worker thread terminated [0xa26970]
2015-09-02_11:33:03.011542 <ybts-signalling:INFO> Stopped [0xa26970]
2015-09-02_11:33:03.012610 <ybts-media:ALL> Worker thread terminated [0xa26690]
2015-09-02_11:33:03.016646 <ybts-media:INFO> Stopped [0xa26690]
2015-09-02_11:33:03.016658 <ybts:INFO> Peer pid 4487 terminated
2015-09-02_11:33:03.016664 <ybts-command:INFO> Stopped [0xa26530]
2015-09-02_11:33:03.017648 <transceiver:ALL> Worker thread terminated [0xa26090]
2015-09-02_11:33:03.021757 <transceiver:INFO> Stopped [0xa26090]
2015-09-02_11:33:03.025716 <mbts:ALL> Worker thread terminated [0xa262d0]
2015-09-02_11:33:03.026854 <mbts:INFO> Stopped [0xa262d0]
2015-09-02_11:33:03.026866 <ybts:NOTE> State changed RadioUp -> Idle
Yate engine is shutting down with code 128
2015-09-02_11:33:03.027782 <jabber:ALL> JBPendingWorker(0) terminated [0x8196d0]
2015-09-02_11:33:03.027809 <jabber:ALL> Terminated 1 pending worker threads
2015-09-02_11:33:03.027853 <ALL> Rescanning handler list for 'engine.halt' [0x7ffe57890410] at priority 100
2015-09-02_11:33:03.027885 <ALL> Rescanning handler list for 'engine.halt' [0x7ffe57890410] at priority 100
2015-09-02_11:33:03.027894 <ALL> Handler list for 'engine.halt' [0x7ffe57890410] changed, skipping from 0x81a510 (100) to 0x81ae00 (100)
2015-09-02_11:33:03.027903 <ALL> Rescanning handler list for 'engine.halt' [0x7ffe57890410] at priority 100
2015-09-02_11:33:03.027936 <ALL> Rescanning handler list for 'engine.halt' [0x7ffe57890410] at priority 100
2015-09-02_11:33:03.027945 <ALL> Handler list for 'engine.halt' [0x7ffe57890410] changed, skipping from 0x8bc150 (100) to 0x8bd500 (100)
2015-09-02_11:33:03.033281 <ALL> Rescanning handler list for 'engine.halt' [0x7ffe57890410] at priority 100
2015-09-02_11:33:03.033323 <sip:ALL> Clearing udp transports reason=Exiting
2015-09-02_11:33:03.033335 <sip:INFO> Listener(UDP,'general') stop listening reason='Exiting' [0x955960]
2015-09-02_11:33:03.033339 <sip:ALL> Removed transport (0x955960,'general')
2015-09-02_11:33:03.033342 <sip:INFO> Reset default UDP transport
2015-09-02_11:33:03.038431 <sip:ALL> Transport(general) destroyed [0x955960]
2015-09-02_11:33:03.038478 <sip:ALL> YateSIPEndPoint::~YateSIPEndPoint() [0x951720]
2015-09-02_11:33:03.038523 <ALL> Rescanning handler list for 'engine.halt' [0x7ffe57890410] at priority 100
2015-09-02_11:33:03.038532 <ALL> Handler list for 'engine.halt' [0x7ffe57890410] changed, skipping from 0x9576f0 (100) to 0x959b40 (100)
2015-09-02_11:33:03.038559 <queuesnotify:ALL> Cancelling worker(s)
2015-09-02_11:33:03.042596 <queuesnotify:ALL> Worker(s) terminated
2015-09-02_11:33:03.042610 <ALL> Rescanning handler list for 'engine.halt' [0x7ffe57890410] at priority 100
2015-09-02_11:33:03.042623 <ALL> Handler list for 'engine.halt' [0x7ffe57890410] changed, skipping from 0x9618d0 (100) to 0x961b50 (100)
2015-09-02_11:33:03.042653 <ALL> Rescanning handler list for 'engine.halt' [0x7ffe57890410] at priority 100
2015-09-02_11:33:03.042659 <ALL> Handler list for 'engine.halt' [0x7ffe57890410] changed, skipping from 0x9656b0 (100) to 0x966a60 (100)
2015-09-02_11:33:03.042678 <ALL> Rescanning handler list for 'engine.halt' [0x7ffe57890410] at priority 100
2015-09-02_11:33:03.042684 <ALL> Handler list for 'engine.halt' [0x7ffe57890410] changed, skipping from 0x96d2d0 (100) to 0xa1ec60 (100)
2015-09-02_11:33:03.042706 <ALL> Rescanning handler list for 'engine.halt' [0x7ffe57890410] at priority 100
2015-09-02_11:33:03.042712 <ALL> Handler list for 'engine.halt' [0x7ffe57890410] changed, skipping from 0xa1fa30 (100) to 0xa204e0 (100)
2015-09-02_11:33:03.042984 <signalling:ALL> Engine stopped worker thread [0x967380]
2015-09-02_11:33:03.042993 <snmpagent:ALL> ::unload()
2015-09-02_11:33:03.058260 <ALL> Rescanning handler list for 'engine.halt' [0x7ffe57890410] at priority 100
2015-09-02_11:33:03.058298 <ALL> Handler list for 'engine.halt' [0x7ffe57890410] changed, skipping from 0xa22a60 (100) to 0xa23310 (100)
2015-09-02_11:33:03.058321 <ALL> Rescanning handler list for 'engine.halt' [0x7ffe57890410] at priority 100
2015-09-02_11:33:03.258444 >>> ThreadPrivate::killall()
2015-09-02_11:33:03.258472   <NOTE> Soft cancelling 5 running threads
2015-09-02_11:33:03.258476   <INFO> Stopping ThreadPrivate 'RManager Listener' [0x94acd0]
2015-09-02_11:33:03.258480   <INFO> Stopping ThreadPrivate 'MGCP Receive' [0x95e920]
2015-09-02_11:33:03.258484   <INFO> Stopping ThreadPrivate 'MGCP Process' [0x95eb90]
2015-09-02_11:33:03.258488   <INFO> Stopping ThreadPrivate 'Engine Worker' [0xacf8a0]
2015-09-02_11:33:03.258508   <INFO> Stopping ThreadPrivate 'RManager Connection' [0x7f7590000b30]
Closing connection to 127.0.0.1:58861
2015-09-02_11:33:03.268693 <<< ThreadPrivate::killall()

marian

  • Hero Member
  • *****
  • Posts: 513
    • View Profile
Re: USRP x310, no connection to transceiver
« Reply #10 on: September 02, 2015, 03:53:25 AM »
There is no 'crash'.
Someone is telling yate to stop or restart.
Are you sure you are not doing it using a command in telnet?
Or maybe someone is sending a signal to yate.

johnnyboy

  • Newbie
  • *
  • Posts: 9
    • View Profile
Re: USRP x310, no connection to transceiver
« Reply #11 on: September 02, 2015, 04:48:39 AM »
Hmm I think not...
Another question, I'm trying to see my sms in wireshark but can't. I enable the GSM TAP in ybts.conf and use the gsm_sms filter. I see frame but didn't see my SMS in TP-USER DATA. DId I need a special configuration on wireshark ? thanks

marian

  • Hero Member
  • *****
  • Posts: 513
    • View Profile
Re: USRP x310, no connection to transceiver
« Reply #12 on: September 02, 2015, 05:02:08 AM »
Someone is telling yate to stop!!!

I don't know why you are not seeing SMS in Wireshark.
Check if you set the correct values to send the TAP (ip/port).
Check in Wireshark if you are seeing the other GSM (Layer 2 LAPDM messages) packets.

johnnyboy

  • Newbie
  • *
  • Posts: 9
    • View Profile
Re: USRP x310, no connection to transceiver
« Reply #13 on: September 02, 2015, 05:46:59 AM »
Yes I see all.

4156920   1275.096578000   127.0.0.1   127.0.0.1   GSM SMS   83   I, N(R)=0, N(S)=1(DTAP) (SMS) CP-DATA (RP) RP-DATA (MS to Network)

It say that the RP-User Data is of length 14 but there nothing more. I think I have the wrong decoder os something like this...