Problems with bs11_config ('BS11 DELETE OBJECT NACK') and bsc_hack
Hello Everybody, my E-1 link now seems to work correctly. at least I can see the LAPD RR-PingPong on my analyzer. First Problem: I'm still having some problems with bs11_config, this happens with create-trx1 and delete-trx1. If I remember right, this already have been reported by somebody else. I first disconnected the BTS from the BSC with 'bs11_config disconnect'. openbsc:/svn/trunk/openbsc/src# ./bs11_config delete-trx1 bs11_config (C) 2009 by Harald Welte and Dieter Spaar This is FREE SOFTWARE with ABSOLUTELY NO WARRANTY LMT LOGON: ACK PHASE: 2 Maintenance MBCCU0: No Load MBCCU1: Load Abis-link: Down Wed Mar 18 15:24:51 2009 <0020> abis_nm.c:689 BS11 DELETE OBJECT NACK Wed Mar 18 15:24:51 2009 <0020> abis_nm.c:689 BS11 DELETE OBJECT NACK LMT LOGOFF: ACK (same for create-trx1). ~ Second problem: openbsc:/svn/trunk/openbsc/src# ./bsc_hack -a -f 123 Allowing everyone? DB: Database initialized. DB: Database prepared. 1 device found id: 0 Dprotocols: 00000018 Bprotocols: 0000000e protocol: 4 nrbchan: 30 name: hfc-e1.1 activate bchan bootstrapping OML Wed Mar 18 15:23:37 2009 <0020> abis_nm.c:1405 Set Chan Attr (bts=0,trx=0,ts=0) Wed Mar 18 15:23:37 2009 <0020> abis_nm.c:1405 Set Chan Attr (bts=0,trx=0,ts=1) Wed Mar 18 15:23:37 2009 <0020> abis_nm.c:1344 CONNECT TERR TRAF Um=(bts=0,trx=0,ts=1) E1=(0,2,1) Wed Mar 18 15:23:37 2009 <0020> abis_nm.c:1405 Set Chan Attr (bts=0,trx=0,ts=2) Wed Mar 18 15:23:37 2009 <0020> abis_nm.c:1344 CONNECT TERR TRAF Um=(bts=0,trx=0,ts=2) E1=(0,2,2) Wed Mar 18 15:23:37 2009 <0020> abis_nm.c:1405 Set Chan Attr (bts=0,trx=0,ts=3) Wed Mar 18 15:23:37 2009 <0020> abis_nm.c:1344 CONNECT TERR TRAF Um=(bts=0,trx=0,ts=3) E1=(0,2,3) Wed Mar 18 15:23:37 2009 <0020> abis_nm.c:1405 Set Chan Attr (bts=0,trx=0,ts=4) Wed Mar 18 15:23:37 2009 <0020> abis_nm.c:1344 CONNECT TERR TRAF Um=(bts=0,trx=0,ts=4) E1=(0,3,0) Wed Mar 18 15:23:37 2009 <0020> abis_nm.c:1405 Set Chan Attr (bts=0,trx=0,ts=5) Wed Mar 18 15:23:37 2009 <0020> abis_nm.c:1344 CONNECT TERR TRAF Um=(bts=0,trx=0,ts=5) E1=(0,3,1) Wed Mar 18 15:23:37 2009 <0020> abis_nm.c:1405 Set Chan Attr (bts=0,trx=0,ts=6) Wed Mar 18 15:23:37 2009 <0020> abis_nm.c:1344 CONNECT TERR TRAF Um=(bts=0,trx=0,ts=6) E1=(0,3,2) Wed Mar 18 15:23:37 2009 <0020> abis_nm.c:1405 Set Chan Attr (bts=0,trx=0,ts=7) Wed Mar 18 15:23:37 2009 <0020> abis_nm.c:1344 CONNECT TERR TRAF Um=(bts=0,trx=0,ts=7) E1=(0,3,3) bootstrapping RSL MCC=1 MNC=1 bootstrapping OML Wed Mar 18 15:23:37 2009 <0020> abis_nm.c:1405 Set Chan Attr (bts=0,trx=0,ts=0) Wed Mar 18 15:23:37 2009 <0020> abis_nm.c:1405 Set Chan Attr (bts=0,trx=0,ts=1) Wed Mar 18 15:23:37 2009 <0020> abis_nm.c:1344 CONNECT TERR TRAF Um=(bts=0,trx=0,ts=1) E1=(0,2,1) Wed Mar 18 15:23:37 2009 <0020> abis_nm.c:1405 Set Chan Attr (bts=0,trx=0,ts=2) Wed Mar 18 15:23:37 2009 <0020> abis_nm.c:1344 CONNECT TERR TRAF Um=(bts=0,trx=0,ts=2) E1=(0,2,2) Wed Mar 18 15:23:37 2009 <0020> abis_nm.c:1405 Set Chan Attr (bts=0,trx=0,ts=3) Wed Mar 18 15:23:37 2009 <0020> abis_nm.c:1344 CONNECT TERR TRAF Um=(bts=0,trx=0,ts=3) E1=(0,2,3) Wed Mar 18 15:23:37 2009 <0020> abis_nm.c:1405 Set Chan Attr (bts=0,trx=0,ts=4) Wed Mar 18 15:23:37 2009 <0020> abis_nm.c:1344 CONNECT TERR TRAF Um=(bts=0,trx=0,ts=4) E1=(0,3,0) Wed Mar 18 15:23:37 2009 <0020> abis_nm.c:1405 Set Chan Attr (bts=0,trx=0,ts=5) Wed Mar 18 15:23:37 2009 <0020> abis_nm.c:1344 CONNECT TERR TRAF Um=(bts=0,trx=0,ts=5) E1=(0,3,1) Wed Mar 18 15:23:37 2009 <0020> abis_nm.c:1405 Set Chan Attr (bts=0,trx=0,ts=6) Wed Mar 18 15:23:37 2009 <0020> abis_nm.c:1344 CONNECT TERR TRAF Um=(bts=0,trx=0,ts=6) E1=(0,3,2) Wed Mar 18 15:23:37 2009 <0020> abis_nm.c:1405 Set Chan Attr (bts=0,trx=0,ts=7) Wed Mar 18 15:23:37 2009 <0020> abis_nm.c:1344 CONNECT TERR TRAF Um=(bts=0,trx=0,ts=7) E1=(0,3,3) (...) 'bsc_hack' hangs here, can't get more - even with verbose settings. Sometimes I get something like a 'Failure Event' (can't remember excact message) and 'RADIO ... DISABLED'. I don't have loggings of these, Sorry. Have I missed something? Best Regards, Holger
Am Mi, 18.03.2009, 16:21, schrieb Holger Adams:
Second problem:
Ok, some more informations about this. Uutput of the 'bsc_hack' programm: http://www.kernreaktor.org/stuff/bs11_bschack.txt Sniffed Abis-Link (with K1103): http://www.kernreaktor.org/stuff/bs11-e1.txt Best Regards, Holger
Hi, On Wed, Mar 18, 2009 at 04:21:18PM +0100, Holger Adams wrote:
I'm still having some problems with bs11_config, this happens with create-trx1 and delete-trx1. If I remember right, this already have been reported by somebody else. I first disconnected the BTS from the BSC with 'bs11_config disconnect'.
Yes, this happens to me, too. Harald said that there is probably a bug in DELETE OBJECT.
Second problem: 'bsc_hack' hangs here, can't get more - even with verbose settings. Sometimes I get something like a 'Failure Event' (can't remember excact message) and 'RADIO ... DISABLED'. I don't have loggings of these, Sorry.
I had such problem when the E1 card was in a ,,modern'' PC (Core2Duo, but with a 32bit kernel). I've moved it to an old P4, and there I have traffic flowing after the initialization. Nonetheless I need to start bsc_hack twice before I can see the new network. Try adding --debug=DRLL:DCC:DMM:DRR:DRSL:DNM:DMI:DMUX:DPAG:DRLL:DSMS to bsc_hack and you should see frames being constantly sent from the BS-11 after the initialization. If you need it, I will log the output of two startups from bsc_hack. But I think I will only find the time to do that tomorrow or next week... Regards, Michael -- Michael Gernoth Department of Computer Science IV Martensstrasse 1 D-91058 Erlangen Germany University of Erlangen-Nuremberg http://www4.informatik.uni-erlangen.de/~gernoth/
On Thu, Mar 19, 2009 at 11:13:35AM +0100, Michael Gernoth wrote:
Hi,
On Wed, Mar 18, 2009 at 04:21:18PM +0100, Holger Adams wrote:
I'm still having some problems with bs11_config, this happens with create-trx1 and delete-trx1. If I remember right, this already have been reported by somebody else. I first disconnected the BTS from the BSC with 'bs11_config disconnect'.
Yes, this happens to me, too. Harald said that there is probably a bug in DELETE OBJECT.
yes, DELETE OBJECT is currently not working in bs11_config. I or somebody else with LMT (Dieter?) need to look at a LMT when deleting an object and compare the binary data with what bs11_config generates in order to check for differences and fix them. Sorry, still on holidays, thousands of kilometers away from my BS-11's -- - Harald Welte <laforge@gnumonks.org> http://laforge.gnumonks.org/ ============================================================================ "Privacy in residential applications is a desirable marketing option." (ETSI EN 300 175-7 Ch. A6)
Hi!
I'm still having some problems with bs11_config, this happens with create-trx1 and delete-trx1. If I remember right, this already have been reported by somebody else. I first disconnected the BTS from the BSC with 'bs11_config disconnect'.
I have just committed Rev. 433 that fixes this issue. At least on my BS-11 I can now reliably delete and create TRX1 objects after a 'disconnect' Regards! -- - Harald Welte <laforge@gnumonks.org> http://laforge.gnumonks.org/ ============================================================================ "Privacy in residential applications is a desirable marketing option." (ETSI EN 300 175-7 Ch. A6)
participants (3)
-
Harald Welte -
Holger Adams -
Michael Gernoth