From patchwork Fri Oct 7 18:39:00 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bart Van Assche X-Patchwork-Id: 9367381 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id DE50660487 for ; Fri, 7 Oct 2016 18:39:07 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id D1DA7297BF for ; Fri, 7 Oct 2016 18:39:07 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id C47B7297EF; Fri, 7 Oct 2016 18:39:07 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.8 required=2.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_HI,T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 251A2297BF for ; Fri, 7 Oct 2016 18:39:07 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932141AbcJGSjG (ORCPT ); Fri, 7 Oct 2016 14:39:06 -0400 Received: from mail-bn3nam01on0046.outbound.protection.outlook.com ([104.47.33.46]:42160 "EHLO NAM01-BN3-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S932132AbcJGSjF (ORCPT ); Fri, 7 Oct 2016 14:39:05 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sandiskcorp.onmicrosoft.com; s=selector1-sandisk-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=+FHVqUMqzu7ZV27v6SAiQr5mTZrpA+2GnIjoE28OgJg=; b=UHFRfh2AwubIXfmbQqmEJL+Baixw50O07HObBLk5a13U8fJyOUedUYl3jH1OFcT8DctFIbO7mguhvZyKYpIsgvlmjnn8dpAoob1VOVP3SzPvWg9HFm9JhV0YIOAKa57U7zSotF+Ll9I6OabJ+leTLD5V6UtW6zu8BNy9x4xrua8= Received: from BLUPR02CA028.namprd02.prod.outlook.com (10.160.23.146) by BLUPR02MB1618.namprd02.prod.outlook.com (10.162.212.156) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id 15.1.649.16; Fri, 7 Oct 2016 18:39:02 +0000 Received: from BL2FFO11FD055.protection.gbl (2a01:111:f400:7c09::164) by BLUPR02CA028.outlook.office365.com (2a01:111:e400:8ad::18) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id 15.1.649.16 via Frontend Transport; Fri, 7 Oct 2016 18:39:02 +0000 Authentication-Results: spf=pass (sender IP is 63.163.107.21) smtp.mailfrom=sandisk.com; redhat.com; dkim=none (message not signed) header.d=none;redhat.com; dmarc=bestguesspass action=none header.from=sandisk.com; Received-SPF: Pass (protection.outlook.com: domain of sandisk.com designates 63.163.107.21 as permitted sender) receiver=protection.outlook.com; client-ip=63.163.107.21; helo=milsmgep15.sandisk.com; Received: from milsmgep15.sandisk.com (63.163.107.21) by BL2FFO11FD055.mail.protection.outlook.com (10.173.161.183) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id 15.1.629.5 via Frontend Transport; Fri, 7 Oct 2016 18:39:02 +0000 Received: from MILHUBIP04.sdcorp.global.sandisk.com (Unknown_Domain [10.201.67.162]) (using TLS with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by (Symantec Messaging Gateway) with SMTP id 9B.B4.26959.D59E7F75; Fri, 7 Oct 2016 11:28:46 -0700 (PDT) Received: from milsmgip12.sandisk.com (10.177.8.100) by MILHUBIP04.sdcorp.global.sandisk.com (10.177.9.97) with Microsoft SMTP Server id 14.3.319.2; Fri, 7 Oct 2016 11:39:01 -0700 X-AuditID: 0ac94369-babff7000001694f-e3-57f7e95ddbae Received: from asus.site ( [10.177.8.100]) by (Symantec Messaging Gateway) with SMTP id 06.5C.03606.4CBE7F75; Fri, 7 Oct 2016 11:39:01 -0700 (PDT) Subject: [PATCH 3/5] rxe_cfg: Do not suppress stderr To: Doug Ledford , Jason Gunthorpe References: CC: Moni Shoua , linux-rdma From: Bart Van Assche Message-ID: Date: Fri, 7 Oct 2016 11:39:00 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.3.0 MIME-Version: 1.0 In-Reply-To: X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFnrFLMWRmVeSWpSXmKPExsXCddJ5kW7cy+/hBscXslm8PP+B1eL7DVOL Z4d6WSw2vF/D7sDi8Wz6YSaP7zt6GT3e77vK5vF5k1wASxSXTUpqTmZZapG+XQJXxrUtL9kL 1gtWzD/L38DYxNvFyMkhIWAiMef9FbYuRi4OIYGlTBKb1ncyQzjbGSWOX7nAClP1uuMfC0Ri GqPE7vPn2EASwkCJWx/uMIHYIgLREk1nF4PFhQTsJJZ87GMGsZkFfCR2L29iAbHZBIwkvr2f CWRzcPAC1bT/NwcJswioSCw6chdsl6hAhMSthx1g5bwCghInZz4BszkF7CV2L25lAmllFtCU WL9LH2K6vMT2t3PAbpYQWMYq0b7wGiPECeoSJ5fMZ5rAKDwLyahZCO2zkLQvYGRexSiWm5lT nJueWmBoqlecmJeSWZytl5yfu4kREgOZOxjvPvE+xCjAwajEw7tjzfdwIdbEsuLK3EOMEhzM SiK8gg+BQrwpiZVVqUX58UWlOanFhxilOViUxHnd7n0JExJITyxJzU5NLUgtgskycXBKNTDq PtOUSixffmuXXOEzbkeJlQHFGxKd/7EzlDXPWSqhcPhitecd3wMPMplsj7SkSKldvPS/bc8Z Gck+rl3HFy4UPtS5siZ6+pS+mT+/pJrpGqltWO10inui0c3bf9w9Jpnd1eEJWjGVoeft8sWs 1x4833rP6UXUhYP9p7/W2bCf521XueLQVVaixFKckWioxVxUnAgARWfsbX0CAAA= X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFnrIJMWRmVeSWpSXmKPExsXCtZEjRffo6+/hBk/uClm8PP+B1eL7DVOL Z4d6WSw2vF/D7sDi8Wz6YSaP7zt6GT3e77vK5vF5k1wASxSXTUpqTmZZapG+XQJXxrUtL9kL 1gtWzD/L38DYxNvFyMkhIWAi8brjH0sXIxeHkMA0RomZL5czgSSEgRK3PtwBs0UEoiXeLp/F DGILCdhJLPnYB2YzC/hI9C+/ClbDJmAk8e39TKBBHBy8QDXt/81BwiwCKhKLjtxlBbFFBSIk bj3sYAGxeQUEJU7OfAJmcwrYS+xe3MoEMVJd4s+8S1Dj5SW2v53DPIGRbxaSlllIymYhKVvA yLyKUSw3M6c4Nz2zwNBIrzgxLyWzOFsvOT93EyM4EDmjdjBen2h+iJGJg1OqgZGvZ9uhqanO E6a0Lv5ZN199+dEP1zezNq1PneOyuzfb+OWpz9ZT1vK0bA16NmfRXY6Z6wSettlEmPZNTg/I 27F9e4X36/ezMwOLT0fNdfZ7ODdxwY/wW38+PvL7ffK44FeuB6axIUJxHDozVmeenXza47/j F+lnPGK79C/135hy4qn+h4VFM5MdlFiKMxINtZiLihMBfrjAkPQBAAA= X-EOPAttributedMessage: 0 X-MS-Office365-Filtering-HT: Tenant X-Forefront-Antispam-Report: CIP:63.163.107.21; IPV:NLI; CTRY:US; EFV:NLI; SFV:NSPM; SFS:(10009020)(6009001)(7916002)(2980300002)(438002)(199003)(189002)(19580395003)(2950100002)(19580405001)(586003)(7846002)(92566002)(2906002)(31696002)(230700001)(86362001)(305945005)(626004)(77096005)(4326007)(69596002)(65956001)(65806001)(47776003)(356003)(8936002)(31686004)(229853001)(87936001)(50466002)(5001770100001)(33646002)(83506001)(50986999)(23676002)(64126003)(81156014)(11100500001)(68736007)(5660300001)(54356999)(76176999)(81166006)(106466001)(189998001)(97736004)(36756003)(2270400002)(65826007)(8676002)(4001350100001); DIR:OUT; SFP:1101; SCL:1; SRVR:BLUPR02MB1618; H:milsmgep15.sandisk.com; FPR:; SPF:Pass; PTR:InfoDomainNonexistent; A:1; MX:1; LANG:en; X-Microsoft-Exchange-Diagnostics: 1; BL2FFO11FD055; 1:u36nbR3938o3Z68HTT7Pibw5ffQbj2Doqlv/3RNE7IPut418sZVZY7zlHcdohofZkVxWlIFXd+z6Mk9eVeaZv2JjVtVaM2gYDcksHOE7FEJszwsoKeUe2SVQipGMEgu0bS+XJw/WDawGlyMdGdAW1HgCXNrwACazhfm5jXyWNLNPDdDmCLsPSxox2UDJncmAfewWqNJSYSJnQRIOzYL2i+ojDrgm1VCZIk6pE5XJSvfh6kn4MvvcNV5XiS8gSt85CdYmQxr9b0E8nnpDpAtLTPhbBFRIYex8QGbwoSmgz+4e6sA3tk4W9SZCB42b3683DbuffoSXYtwDKQ0mJd0DNOGfKKGDAa9wP0ABX/NRKkmbr1KkQS3tH+OgPRzNOnnWhSqwJzA00xML7aV1Phd+BElbCgOLODSy+yKuR3SF/n5AGEq+FOxVXzf3GoTkexVRr9I9Xl34ygz1/KfKs09ctY0USN05NU4dVpK3WUnNC1b5mNwEJwf4p6atmzcg/ysT X-MS-Office365-Filtering-Correlation-Id: c319cb7d-d894-46be-76e5-08d3eee135b0 X-Microsoft-Exchange-Diagnostics: 1; BLUPR02MB1618; 2:NfG234iXS/eXbsROdUKeH49Lj3ohhTwUhBr8M9EPJJSzOSfgGh3MMLY12IHcQqG9XizLLR2/gyLMychG7VrYPXbQTeyyWIXk1X6+b80OQEl0I/dD0fG91vZdpO2efB9z58j47tNLJYOVhgQbzTI5cUPHXMSyth2YDGGRDCGPD33E6o5wg9tC3JqvOi7dV6RPurILM/nnJEsCI9PXI37oHg==; 3:41zHnUcxTrkdoRF3Hsns9BqWteatqtWoKOhaNWJOYDw25BYiXhT0uMppVY3jL48GQU2CO45wTjeWfgfuvJoXgcYYPWziLScZwOk2rmURwESi0FIYF+kYhlNZQJBWAMhMR+Cr2KLU/GDUA33lE6Iqr1317fkPicu4DBem1dMpVK59jTUigT4Fk5FFjN39QWnVwRFLoMKF4arXVTNr9QIZ87WYTkJKikojcIDcNzGfANJqrA9TD3AqINKs+vrhC7CYEFobhGH8/XnBerh0HmLuZiL5/VnqS/uuCZbUTOG/hHM=; 25:4pqKlMzkI8lHYQyoGtJDcBV6Hl5kXiuTv3LcR4/E5PHBlwdqhcFhOFMRlk/s7fgNSnMzH6ccus6+RPVTSJb1DS+VgKJbfVB5WH8EXYPUwBnF7aWBt4z+zS8vEePcagnHO0k0Q8i2juHlYYn6ltTbepcy8mPeUJs6grae6555U7Lz6TIbfbCN2SjUbFGeNxXQS8jSM39yEegMjst/RG9QMHiAHSn7bdd3HUPm6gelB31P4jdueotSpZAQwa72JQEnU70/12qwOYRXduyZZZL35Cgr5WTh5nJSdOcY8ChgwpPlqiHdDNy4kn4XEl8LR0xDHXp5g2F0IkxhmYGoOuCWK+h5t7hcs6a93PxTUi4Es9SYMfpdWXxKcVu+EiFcx/k9Aiwy2s2XwTZptL+NuhKnn1bdpbyxpn5 OW3/DW8H+fO0s4T6z6+xfApt48pLgv8jF X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(8251501002); SRVR:BLUPR02MB1618; X-Microsoft-Exchange-Diagnostics: 1; BLUPR02MB1618; 31:pfDBoEnu8PatPePB0Tvilfl2o+XBNOMKytCLl/4b4LDyNJbY9eSaNGjU9YHooN2tK0DGNxZNB2noWP3ocx+k4NKtg100S9q+D8jNV73YItHc12Yg4r4kTfsdYyKr+qAxLC1bOHVmsYC5AJCAJ+Z/xEOTxJYPnZxvNYJCSup3UTSnGGPFTneO2t6o/IJNRbI585lW6HvAB3epRZKtQSScNYKd9RFAUdlE6eL50OjMEIfYdEeagIwQbPxsX8JpJrUy; 20:l3YxQdXHeoMaTcM5efecW9RyHO8Zj3ObENq1W7fxkGtiCTIvcnUI95p7vr9QcVDbkNdePigH2HJplx3pUq2NMfKIrvbPbhpP2FU3pJA9A06yuGYWCOyHI2nUxd2BGioxUBZpChVICZxmXY3wtn8IViCEalvwcUm2BRv28FP33eoufVKFMDzs2RNANTiPSkscO9zAeaElPTAt8PT44t0jiwfRexZEEEvYf89eI5Jj+rkQ5mel9iYudFXz2GM2IEJPLxwwodG/8wu/pdPqg+XDadxtM2Yx4H1A3ght9cg+G776j7wb2O378GegEkXenPn6s8B1dXgmE5n8bZx+4534ejT0iXGodw3g4H7r2wQUUGMXt8rAZ0Cyhj+UeuIGpiyMU09BMSBTFRa6wQT58d3ZU9q7dTlOtqSTQS+E6p6KYOGd1BQKtLe5wX5XoeagTDPf2C8OrTJZnOskeoOIbPXzDzNRw8qfTxbz1ZQMwEL/Cr+cNJE79tPFOxuSrU1pC9W8 X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(42932892334569); X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(6040176)(601004)(2401047)(13018025)(5005006)(8121501046)(13016025)(3002001)(10201501046)(6055026); SRVR:BLUPR02MB1618; BCL:0; PCL:0; RULEID:; SRVR:BLUPR02MB1618; X-Microsoft-Exchange-Diagnostics: 1; BLUPR02MB1618; 4:xTNvJRvClBEhT0g2sYW93SC0VtQ+tpiWR//j32cOsIQV4WFpR/4Qz1zwE5rRqmF7HqZ176SFMy4zyTB3upT+b1TDL2V+D84lKlRdcj620wj7plFRUi574ZN1ucjEu5c31CokKuVssfcFDzcgUqxBGYM2mQ2mClrhTSF+1RaKHFWUNJQRwEYh0aNsuk9c4cAqjbY+1ne/pDQewQHCC8aNXjcJaCzgsnWZXCpvuWftaN0dqqU5F+miP1biX5ck7ihd4AjJJXluIMuWeNQBVXVWsCjWoF4UyGzTHXaU4CRXb2mskOpyzkP8rAEKKHi/hpbeagCnBEFIQc7UZQaxKkC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jcxWDFpK1FiaFdOYm9FZHp0?= =?utf-8?B?M2FmS2RDeW5laURLcitDbkZJVzJDZWQzWXUwZUVkazdqbG1rby9tQWNnPT0=?= X-Microsoft-Exchange-Diagnostics: 1; BLUPR02MB1618; 6:7IOqZaXEx1bhUf1+3aOWe5D9MlgRXtdPchxVJW71AomyOCZU/hpbpA615Vik/WHVFTKJ8F6oq9Z4ZbagHCdMV1XeIDQDsJIaI85C/8L4bcQ462SWU+KPFb9r6sJMIlKWFPvSxQVCZW+gWdLJG+RfuDDvyeFglfb4W8qCevAyUT0uY3+vTQiYxWSBy4IOF2nsJNlo62ZEoCQy7yhlpT848CHuC1o0sbiBaDB4GwPl/zsxOmHP/Sr2X59Gs9hfAT7DoflPN7hEkw21E0B8SMvjPne1EKIZrQH0vPNtU37lswn1F5kQ34/mCjqjf7l/TH7HVGS8BiRvijXp3K8osPSwj95vEcgaerWfeDh3Uu7uIB4=; 5:m8lNG4spVVHR4hjTaGgx2OVbfJZQawEXNj2vm0n9krhTVg3KUnOMDtAZvlh6d00QA61gZnf6Gy8j1mLpzmhIgzOOymXqc9CouzHjhCl/ao8F3OwQijMzG1Axls26qfgQLU3cQzvMhJGv7aCCA+ZD9qZoeMyv/crPiBTHggI8Dcg=; 24:5oALjQLAZ1RDCFS9bYw+Cg8IyCvkBXGPQGkndIFUl2cKkGadLetOO0PVChmOrvR9/HpyzVXmGPpLmc65qN+gcSeafTPZo10vBg0AJo0R5hg= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1; BLUPR02MB1618; 7:7ApqsKZPLKFpJpsNaum1tA9j8XXyYLBw6Ie6KjjV+fdfBuAt29yMaphNvSk8peLqew+30FOzlqg29xlPlejJx1/v7m/dnKW/T7fZ03hKX3FvXIGBXI1tPi2Aut+HICUj7AJ7LNU4MDMdpyoBy8nL0gDTq86vkFJxnhL/IqhkDLFZL75oxE4ZmGdFd18k/FGk5590VcOVLoQj086OCs1NH7XGP5L2x1MfRaBqCeBfOARhnR0KPGyNz/CqzxbtkFdmJCu5oyIoEzJ2so4kpmaH+xJauoJiSKnYCXObjtdXqUw1Uwf8THqkNYEmpsH3NLGOim8XtrQtMakNqjo987Ditg==; 20:oqg9R+EFvSPxgXIaEkTbk8VX17vTt76z+fC42MJiccZfWDoRrwJWRucO4DONjN3DSBI8j86fHlEPm97cRSwzQuZcNGx8rWWXld3hQ79/HE6zQQZMgk8MpO8MKk44qYMFupTGg960XUS09ESqZ6MbYsnuYQfcw3WKe53WL36NEgvHGTHtKQmmbSRi/W1y9vV7AtNMjlEJGojhqw8/0AOr4u28dXgPAq+2Fv5dBgHmiN+YqYjCPQe/gTk3Kp9u6XVQ X-OriginatorOrg: sandisk.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 07 Oct 2016 18:39:02.0813 (UTC) X-MS-Exchange-CrossTenant-Id: fcd9ea9c-ae8c-460c-ab3c-3db42d7ac64d X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=fcd9ea9c-ae8c-460c-ab3c-3db42d7ac64d; Ip=[63.163.107.21]; Helo=[milsmgep15.sandisk.com] X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: BLUPR02MB1618 Sender: linux-rdma-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-rdma@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Suppressing stderr if stdout is already redirected is wrong. Hence do not suppress stderr. If e.g. the ib_uverbs kernel module is not loaded, without this patch no error messages are printed. With this patch applied the following is printed: Failed to get IB devices list: Function not implemented Signed-off-by: Bart Van Assche --- providers/rxe/rxe_cfg | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/providers/rxe/rxe_cfg b/providers/rxe/rxe_cfg index 1e6a5db2f2b8..a4e9c0407a8b 100755 --- a/providers/rxe/rxe_cfg +++ b/providers/rxe/rxe_cfg @@ -39,7 +39,6 @@ use File::Basename; use Getopt::Long; use Switch; -my $z = "2>/dev/null"; my $help = 0; my $no_persist = 0; my $debug = 0; @@ -150,7 +149,7 @@ sub get_dev_info { $eth_list[$i++] = $eth; - @lines = `ethtool -i $eth $z`; + @lines = `ethtool -i $eth`; foreach $line (@lines) { chomp($line); @@ -171,7 +170,7 @@ sub get_dev_info { $link_state{$eth} = ""; $link_speed{$eth} = ""; - @lines = `ethtool $eth $z`; + @lines = `ethtool $eth`; foreach $line (@lines) { chomp($line); @@ -190,7 +189,7 @@ sub get_dev_info { $ipv4_addr{$eth} = " "; $eth_mtu{$eth} = ""; - @lines = `ifconfig $eth $z`; + @lines = `ifconfig $eth`; foreach $line (@lines) { # get IP address if ($line =~ /inet addr/) { @@ -211,7 +210,7 @@ sub get_dev_info { # get rxe mtu foreach my $rxe (@rxe_array) { - @lines = `ibv_devinfo -d $rxe $z`; + @lines = `ibv_devinfo -d $rxe`; foreach $line (@lines) { if ($line =~ "active_mtu") { $line =~ s/^\s+active_mtu:\s+//g; @@ -494,7 +493,7 @@ sub get_devinfo { my $rxe = $_[0]; my $cmd = "ibv_devinfo -d $rxe"; - return `$cmd $z`; + return `$cmd`; } # allow unsupported modules to load in SLES11 if allowed @@ -679,7 +678,7 @@ sub main { # create persistence file if necessary mkdir -p $persistence_path; if (!(-e $persistence_file)) { - `touch $persistence_file $z`; + `touch $persistence_file`; } # Get full context of the configuration