From patchwork Tue Jan 31 08:11:32 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Rajitha peiris X-Patchwork-Id: 721842 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from lists.osmocom.org (lists.osmocom.org [IPv6:2a01:4f8:191:444b::2:7]) by ozlabs.org (Postfix) with ESMTP id 3vCJsB754nz9srY for ; Tue, 31 Jan 2017 19:12:20 +1100 (AEDT) Authentication-Results: ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=hotmail.com header.i=@hotmail.com header.b="MT4Rwnmj"; dkim-atps=neutral Received: from lists.osmocom.org (lists.osmocom.org [144.76.43.76]) by lists.osmocom.org (Postfix) with ESMTP id 9B38C29EAF; Tue, 31 Jan 2017 08:12:07 +0000 (UTC) Authentication-Results: lists.osmocom.org; dmarc=pass header.from=hotmail.com Authentication-Results: lists.osmocom.org; dkim=pass (2048-bit key; unprotected) header.d=hotmail.com header.i=@hotmail.com header.b=MT4Rwnmj X-Original-To: openbsc@lists.osmocom.org Delivered-To: openbsc@lists.osmocom.org Received-SPF: Softfail (domain owner discourages use of this host) identity=mailfrom; client-ip=213.95.27.120; helo=ganesha.gnumonks.org; envelope-from=raji.oshin@hotmail.com; receiver=openbsc@lists.osmocom.org Authentication-Results: lists.osmocom.org; dmarc=pass header.from=hotmail.com Received: from ganesha.gnumonks.org (ganesha.gnumonks.org [213.95.27.120]) by lists.osmocom.org (Postfix) with ESMTP id 2A51A29E92 for ; Tue, 31 Jan 2017 08:12:05 +0000 (UTC) Received: from blu004-omc1s30.hotmail.com ([65.55.116.41]) by ganesha.gnumonks.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cYTXl-0001JP-0e for openbsc@lists.osmocom.org; Tue, 31 Jan 2017 09:12:04 +0100 Received: from APC01-PU1-obe.outbound.protection.outlook.com ([65.55.116.8]) by BLU004-OMC1S30.hotmail.com over TLS secured channel with Microsoft SMTPSVC(7.5.7601.23008); Tue, 31 Jan 2017 00:11:36 -0800 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=hotmail.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=b4bZgSq6bel+i2MOe/34xlIhTkknmcr9rH2Od97Oezc=; b=MT4Rwnmj5ZfuV2ap5Xt17wNKs3YmyjIiGns1B12NVfbmqh76FWvaNxBm5n4F6ZNgCE6pBspF0I+scMij+6J4Kpdx6pwBy1GuwYl+jnfQRsOchvywbpGW0s7rkvWwdQKLpCgwFzQ6xiW5bDBkOUMWzzSPkgVJcOrTQRdnbIGsu9uBOoQIXb1txG3vk85L2RB6PCYggWVvYTfj8c6QRm5F5ONXEOQYcCFynvLaH/EgCQZWeJhG5oApt4sMjZWFkp/h0XeFwkEntvlCrUYthzBFTL7SkmTPpUmFIG1pYHPx/t/odKgLc7k4el7tjP8uU2ZJb8Y1oU700Q6Stl06ZuOJxw== Received: from PU1APC01FT064.eop-APC01.prod.protection.outlook.com (10.152.252.55) by PU1APC01HT039.eop-APC01.prod.protection.outlook.com (10.152.253.26) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id 15.1.874.2; Tue, 31 Jan 2017 08:11:32 +0000 Received: from HK2PR0301MB1314.apcprd03.prod.outlook.com (10.152.252.55) by PU1APC01FT064.mail.protection.outlook.com (10.152.253.70) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id 15.1.874.2 via Frontend Transport; Tue, 31 Jan 2017 08:11:32 +0000 Received: from HK2PR0301MB1314.apcprd03.prod.outlook.com ([10.162.246.145]) by HK2PR0301MB1314.apcprd03.prod.outlook.com ([10.162.246.145]) with mapi id 15.01.0888.016; Tue, 31 Jan 2017 08:11:32 +0000 From: Rajitha peiris To: "openbsc@lists.osmocom.org" Subject: Pcs1900 cant make calls ...only messages Thread-Topic: Pcs1900 cant make calls ...only messages Thread-Index: AQHSe5mhfy00DyCaXEyFWS7MBhRWLg== Date: Tue, 31 Jan 2017 08:11:32 +0000 Message-ID: References: In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: lists.osmocom.org; dkim=none (message not signed) header.d=none;lists.osmocom.org; dmarc=none action=none header.from=hotmail.com; x-incomingtopheadermarker: OriginalChecksum:69D10EA3B02F180D3584F399872A622F87999ED01754A47A8AD092A83619A3D2; UpperCasedChecksum:F7CDC3A601AD7920E9C4805AADB37154419486BB6F3D798711817459ED67ED08; SizeAsReceived:7782; Count:39 x-ms-exchange-messagesentrepresentingtype: 1 x-tmn: [YZukQuCIdMBSof3Q3g0UHhYEMo70mRpKZ/AZWDywXMU=] x-incomingheadercount: 39 x-eopattributedmessage: 0 x-microsoft-exchange-diagnostics: 1; PU1APC01HT039; 7:90MhZV24Wt2LHnXj7/ThSf4wd5cBbfj0TyWo2xYNKJJP91oDyXzBiRQUOQTrly6cDv7okH+OT+tB/1UnFt2rZTEmZXn1Rbpf2F4uXrpMa96dVeX56EpGsdeFZ1Jgyau/RDu7rq08Xhg9AaL0wIiUZQLNPiPNQ0GGi5eESV3eaofTgdw5eyvK0HTVpl1WyauK7rYPihQBCaNry7SXO/3kmbnMCowI1DzhDCFhzX/iugZOh/hTVSRx9LHUtCLh4HmjH7aY1DUX28OSgZaaWqaaIoSNNegreHa7SRkfNWI4dcuq8s9F7Y6Jmr9a0yiauDkYL85TBUiDHAqTGrjLoN07MgiZ6wbsYohZvrrkrfz8vLu2AItVsbYrMq20x6i3jhlhveoKNpnQcWHSeK865Oo/zUs/gBTBS5meBVsgnZps3sUCJT9aVF3DgxGtOsNq92uBAiQu6XWXml5ZmhKMaDhhVYVjQNvBEWy+xZ96ENiiUK5IRiJBPPomBWRdApZ1l40fBwxBdb0fLFtTPZ3BIw524JQxU7zOA4vXdO4bNLb1cRSCa6qYaDRXdpIHgg7qfXv/ x-forefront-antispam-report: EFV:NLI; SFV:NSPM; SFS:(10019020)(98900005); DIR:OUT; SFP:1102; SCL:1; SRVR:PU1APC01HT039; H:HK2PR0301MB1314.apcprd03.prod.outlook.com; FPR:; SPF:None; LANG:en; x-ms-office365-filtering-correlation-id: f8b855cf-b0cc-41e8-ab78-08d449b0c44c x-microsoft-antispam: UriScan:; BCL:0; PCL:0; RULEID:(22001)(1601124038)(5061506379)(5061507307)(1603103113)(1601125047)(1603101340)(1701031023); SRVR:PU1APC01HT039; x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(444111334)(444112120)(432015012)(82015046); SRVR:PU1APC01HT039; BCL:0; PCL:0; RULEID:; SRVR:PU1APC01HT039; x-forefront-prvs: 0204F0BDE2 spamdiagnosticoutput: 1:99 spamdiagnosticmetadata: NSPM MIME-Version: 1.0 X-OriginatorOrg: hotmail.com X-MS-Exchange-CrossTenant-originalarrivaltime: 31 Jan 2017 08:11:32.1472 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Internet X-MS-Exchange-CrossTenant-id: 84df9e7f-e9f6-40af-b435-aaaaaaaaaaaa X-MS-Exchange-Transport-CrossTenantHeadersStamped: PU1APC01HT039 X-OriginalArrivalTime: 31 Jan 2017 08:11:36.0151 (UTC) FILETIME=[A428B670:01D27B99] X-Spam-Score: -3.3 (---) X-BeenThere: openbsc@lists.osmocom.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Development of OpenBSC, OsmoBSC, OsmoNITB, OsmoCSCN" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: openbsc-bounces@lists.osmocom.org Sender: "OpenBSC" Hello all I have installed openbsc with pcs1900 nano bts but I can't make voice calls only the messages. It's telling network busy Thanks Regards Rajitha Sri Lanka Sent from my iPhone On Jan 27, 2017, at 3:11 PM, "openbsc-request@lists.osmocom.org" > wrote: Send OpenBSC mailing list submissions to openbsc@lists.osmocom.org To subscribe or unsubscribe via the World Wide Web, visit https://lists.osmocom.org/mailman/listinfo/openbsc or, via email, send a message with subject or body 'help' to openbsc-request@lists.osmocom.org You can reach the person managing the list at openbsc-owner@lists.osmocom.org When replying, please edit your Subject line so it is more specific than "Re: Contents of OpenBSC digest..." Today's Topics: 1. Re: [MERGED] osmo-trx[master]: Do not embed sqlite3 when building (Alexander Chemeris) 2. Re: [PATCH net v2 3/3] gtp: fix cross netns recv on gtp socket (David Miller) 3. Re: [MERGED] osmo-trx[master]: Do not embed sqlite3 when building (Neels Hofmeyr) 4. HEADS UP: jenkins DOWN (Neels Hofmeyr) 5. HEADS DOWN: jenkins UP (Neels Hofmeyr) 6. Re: HEADS DOWN: jenkins UP (Holger Freyther) 7. [PATCH net v3 0/3] various gtp fixes (Andreas Schultz) 8. [PATCH net v3 2/3] gtp: clear DF bit on GTP packet tx (Andreas Schultz) ---------------------------------------------------------------------- Message: 1 Date: Thu, 26 Jan 2017 20:53:07 +0400 From: Alexander Chemeris > To: Max > Cc: OpenBSC Mailing List > Subject: Re: [MERGED] osmo-trx[master]: Do not embed sqlite3 when building Message-ID: > Content-Type: text/plain; charset=UTF-8 Great. I was also going to ask about debian contrl files, etc. Glad this is already fixed. Is there a way to subscribe to gerrit patches for a particular project? On Thu, Jan 26, 2017 at 8:10 PM, Max > wrote: It should have been removed with gerrit 1485 . See also gerrit 1691 for follow-up fixes. On 26.01.2017 16:53, Alexander Chemeris wrote: Hi Harald, Thomas, I think it also makes sense to remove sqlite3 subdirectory, since it's no longer used. Any reason it's kept in the repository? --- Max Suraev > http://www.sysmocom.de/ -- 2.10.2 ------------------------------ Subject: Digest Footer ======================================================================= * sysmocom - systems for mobile communications GmbH * Alt-Moabit 93 * 10559 Berlin, Germany * Sitz / Registered office: Berlin, HRB 134158 B * Geschaeftsfuehrer / Managing Director: Harald Welte -- Regards, Alexander Chemeris. CEO, Fairwaves, Inc. https://fairwaves.co ------------------------------ Message: 2 Date: Thu, 26 Jan 2017 14:22:47 -0500 (EST) From: David Miller > To: aschultz@tpip.net Cc: pablo@netfilter.org, netdev@vger.kernel.org, Lionel.Gauthier@eurecom.fr, openbsc@lists.osmocom.org, laforge@gnumonks.org Subject: Re: [PATCH net v2 3/3] gtp: fix cross netns recv on gtp socket Message-ID: <20170126.142247.527598780818100974.davem@davemloft.net> Content-Type: Text/Plain; charset=iso-8859-7 From: Andreas Schultz > Date: Thu, 26 Jan 2017 16:11:34 +0100 The use of the passed through netlink src_net to check for a cross netns operation was wrong. Using the GTP socket and the GTP netdevice is always correct (even if the netdev has been moved to new netns after link creation). Remove the now obsolete net field from gtp_dev. Signed-off-by: Andreas Schultz > Please at least compile test your submissions: drivers/net/gtp.c: In function ?gtp_newlink?: drivers/net/gtp.c:677:8: error: too many arguments to function ?gtp_encap_enable? err = gtp_encap_enable(dev, gtp, fd0, fd1, src_net); ^ drivers/net/gtp.c:659:12: note: declared here static int gtp_encap_enable(struct net_device *dev, struct gtp_dev *gtp, ^ drivers/net/gtp.c: At top level: drivers/net/gtp.c:822:12: error: conflicting types for ?gtp_encap_enable? static int gtp_encap_enable(struct net_device *dev, struct gtp_dev *gtp, ^ drivers/net/gtp.c:659:12: note: previous declaration of ?gtp_encap_enable? was here static int gtp_encap_enable(struct net_device *dev, struct gtp_dev *gtp, ^ drivers/net/gtp.c:659:12: warning: ?gtp_encap_enable? used but never defined drivers/net/gtp.c:822:12: warning: ?gtp_encap_enable? defined but not used [-Wunused-function] static int gtp_encap_enable(struct net_device *dev, struct gtp_dev *gtp, ^ scripts/Makefile.build:299: recipe for target 'drivers/net/gtp.o' failed ------------------------------ Message: 3 Date: Thu, 26 Jan 2017 21:40:27 +0100 From: Neels Hofmeyr > To: Alexander Chemeris > Cc: Max >, OpenBSC Mailing List > Subject: Re: [MERGED] osmo-trx[master]: Do not embed sqlite3 when building Message-ID: <20170126204027.GA7681@my.box> Content-Type: text/plain; charset="us-ascii" On Thu, Jan 26, 2017 at 08:53:07PM +0400, Alexander Chemeris wrote: Great. I was also going to ask about debian contrl files, etc. Glad this is already fixed. Is there a way to subscribe to gerrit patches for a particular project? I'm not sure, but I guess not. We have our gerrit-log mailing list that catches all changes https://lists.osmocom.org/mailman/listinfo/gerrit-log -- otherwise take a look at your user's settings, maybe there's such a feature hidden there? ~N -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 819 bytes Desc: Digital signature URL: ------------------------------ Message: 4 Date: Fri, 27 Jan 2017 03:36:14 +0100 From: Neels Hofmeyr > To: openbsc@lists.osmocom.org Subject: HEADS UP: jenkins DOWN Message-ID: <20170127023614.GA13650@my.box> Content-Type: text/plain; charset="iso-8859-1" While I was waiting for jenkins just now, I noticed that it was getting impossibly slow despite an idle CPU. An attempt to restart resulted in failure to launch jenkins due to "Disk quota exceeded". There are things happening that I don't understand (file system is shrinking as I remove files). I need help from Holger (or Harald?), to understand and probably fix with a simple command making more space for the jail... Until then our jenkins will be DOWN :/ ~N -- - Neels Hofmeyr > http://www.sysmocom.de/ ======================================================================= * sysmocom - systems for mobile communications GmbH * Alt-Moabit 93 * 10559 Berlin, Germany * Sitz / Registered office: Berlin, HRB 134158 B * Gesch?ftsf?hrer / Managing Directors: Harald Welte -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 819 bytes Desc: Digital signature URL: ------------------------------ Message: 5 Date: Fri, 27 Jan 2017 03:57:59 +0100 From: Neels Hofmeyr > To: openbsc@lists.osmocom.org Subject: HEADS DOWN: jenkins UP Message-ID: <20170127025759.GB13650@my.box> Content-Type: text/plain; charset="iso-8859-1" Just after I gave up and sent the mail, I found the point: we have three daily and three weekly backup snapshots taken of the jenkins jail, which *shares* disk quota with the actively used file system. Removing files doesn't remove them from the snapshots, so the only way short of discarding snapshots (?) is to increase the overall quota. I set it from 40G up to 60G, and sure enough jenkins runs again. We should probably set a refquota so that the live file system's quota is somewhat independent from the quota used for snapshots. I'll not do this before consulting with the experts though. ~N On Fri, Jan 27, 2017 at 03:36:14AM +0100, Neels Hofmeyr wrote: While I was waiting for jenkins just now, I noticed that it was getting impossibly slow despite an idle CPU. An attempt to restart resulted in failure to launch jenkins due to "Disk quota exceeded". There are things happening that I don't understand (file system is shrinking as I remove files). I need help from Holger (or Harald?), to understand and probably fix with a simple command making more space for the jail... Until then our jenkins will be DOWN :/ ~N -- - Neels Hofmeyr > http://www.sysmocom.de/ ======================================================================= * sysmocom - systems for mobile communications GmbH * Alt-Moabit 93 * 10559 Berlin, Germany * Sitz / Registered office: Berlin, HRB 134158 B * Gesch?ftsf?hrer / Managing Directors: Harald Welte -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 819 bytes Desc: Digital signature URL: ------------------------------ Message: 6 Date: Fri, 27 Jan 2017 09:13:09 +0100 From: Holger Freyther > To: Neels Hofmeyr > Cc: openbsc@lists.osmocom.org Subject: Re: HEADS DOWN: jenkins UP Message-ID: > Content-Type: text/plain; charset=us-ascii On 27 Jan 2017, at 03:57, Neels Hofmeyr > wrote: Just after I gave up and sent the mail, I found the point: we have three daily and three weekly backup snapshots taken of the jenkins jail, which *shares* disk quota with the actively used file system. Removing files doesn't remove them from the snapshots, so the only way short of discarding snapshots (?) is to increase the overall quota. I set it from 40G up to 60G, and sure enough jenkins runs again. We should probably set a refquota so that the live file system's quota is somewhat independent from the quota used for snapshots. I'll not do this before consulting with the experts though. good analysis. Not using refquota is a historic mistake. I have changed that for the jenkins.osmocom.org jail. holger ------------------------------ Message: 7 Date: Fri, 27 Jan 2017 10:40:55 +0100 From: Andreas Schultz > To: Pablo Neira > Cc: netdev@vger.kernel.org, Lionel Gauthier >, openbsc@lists.osmocom.org, Harald Welte >, SF Markus Elfring > Subject: [PATCH net v3 0/3] various gtp fixes Message-ID: <20170127094058.7899-1-aschultz@tpip.net> I'm sorry for the compile error mess up in the last version. It's no excuse for not test compiling, but the hunks got lost in a rebase. This is the part of the previous "simple gtp improvements" series that Pablo indicated should go into net. The addition of the module alias fixes genl family autoloading, clearing the DF bit fixes a protocol violation in regard to the specification and the netns comparison fixes a corner case of cross netns recv. Andreas v2->v3: fix compiler error introduced in rebase -- Andreas Schultz (3): gtp: add genl family modules alias gtp: clear DF bit on GTP packet tx gtp: fix cross netns recv on gtp socket drivers/net/gtp.c | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) -- 2.10.2 ------------------------------ Message: 8 Date: Fri, 27 Jan 2017 10:40:57 +0100 From: Andreas Schultz > To: Pablo Neira > Cc: netdev@vger.kernel.org, Lionel Gauthier >, openbsc@lists.osmocom.org, Harald Welte >, SF Markus Elfring > Subject: [PATCH net v3 2/3] gtp: clear DF bit on GTP packet tx Message-ID: <20170127094058.7899-3-aschultz@tpip.net> 3GPP TS 29.281 and 3GPP TS 29.060 imply that GTP-U packets should be sent with the DF bit cleared. For example 3GPP TS 29.060, Release 8, Section 13.2.2: Backbone router: Any router in the backbone may fragment the GTP packet if needed, according to IPv4. Signed-off-by: Andreas Schultz > Acked-by: Harald Welte > Acked-by: Pablo Neira Ayuso > --- drivers/net/gtp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/gtp.c b/drivers/net/gtp.c index 7580ccc..1df54d6 100644 --- a/drivers/net/gtp.c +++ b/drivers/net/gtp.c @@ -612,7 +612,7 @@ static netdev_tx_t gtp_dev_xmit(struct sk_buff *skb, struct net_device *dev) pktinfo.fl4.saddr, pktinfo.fl4.daddr, pktinfo.iph->tos, ip4_dst_hoplimit(&pktinfo.rt->dst), - htons(IP_DF), + 0, pktinfo.gtph_port, pktinfo.gtph_port, true, false); break;