Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751535AbdG0JJN (ORCPT ); Thu, 27 Jul 2017 05:09:13 -0400 Received: from mail-lf0-f42.google.com ([209.85.215.42]:34819 "EHLO mail-lf0-f42.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750836AbdG0JJM (ORCPT ); Thu, 27 Jul 2017 05:09:12 -0400 MIME-Version: 1.0 In-Reply-To: References: <20170629190211.16927-1-tkjos@google.com> <20170629190211.16927-3-tkjos@google.com> From: Amit Pundir Date: Thu, 27 Jul 2017 14:38:30 +0530 Message-ID: Subject: Re: [PATCH 02/37] binder: use group leader instead of open thread To: Martijn Coenen Cc: John Stultz , Todd Kjos , Greg Kroah-Hartman , =?UTF-8?B?QXJ2ZSBIasO4bm5ldsOlZw==?= , devel@driverdev.osuosl.org, Linux Kernel Mailing List , Todd Kjos Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 2387 Lines: 58 Hi, On 25 July 2017 at 14:43, Martijn Coenen wrote: > Hi John, > > On Mon, Jul 24, 2017 at 11:07 PM, John Stultz wrote: >> >> 12-31 16:00:36.632 2518 2584 E hw-ProcessState: Using /dev/hwbinder >> failed: unable to mmap transaction memory. > > This doesn't look right. Is there anything in the kernel log? There is a slight difference in this patch and the one that got pushed in android-4.9[1]. I cherry-picked those changes and got BT/WiFi working again on Hikey with mainline tracking (4.13-rc2) tree. Regards, Amit Pundir [1] https://android.googlesource.com/kernel/common/+/872c26eb0776ef160447d8703779e2bce0b7230a%5E%21/#F0 > >> 12-31 16:00:36.632 2518 2566 D bt_hci : hci_module_start_up >> starting async portion >> 12-31 16:00:36.632 2518 2584 E >> android.hardware.bluetooth@1.0::BluetoothHci: getService: >> defaultServiceManager()->getTransport returns >> Status(EX_TRANSACTION_FAILED): '-9 Bad file descriptor: ' >> 12-31 16:00:36.633 2518 2584 F : >> [1231/160036:FATAL:hci_layer_android.cc(109)] Check failed: btHci != >> nullptr. >> 12-31 16:00:36.634 2518 2584 F libc : Fatal signal 6 (SIGABRT), >> code -6 in tid 2584 (hci_thread) >> ... >> 12-31 16:00:38.027 2009 2061 E SupplicantStaIfaceHal: Exception >> while trying to register a listener for ISupplicant service: >> android.os.RemoteException: HwBinder Error: (-2147483648) >> 12-31 16:00:38.027 2009 2061 E WifiMonitor: startMonitoring(wlan0) failed! >> 12-31 16:00:38.028 2009 2061 E SupplicantStaIfaceHal: Can't call >> setDebugParams, ISupplicant is null >> 12-31 16:00:38.030 2009 2061 D WifiConfigStore: Reading from stores >> completed in 2 ms. >> 12-31 16:00:38.034 2009 2061 D WIFI : Registering NetworkFactory >> 12-31 16:00:38.035 2009 2061 D WIFI_UT : Registering NetworkFactory >> 12-31 16:00:38.035 2009 2065 D ConnectivityService: Got >> NetworkFactory Messenger for WIFI >> 12-31 16:00:38.035 2009 2065 D ConnectivityService: Got >> NetworkFactory Messenger for WIFI_UT >> 12-31 16:00:38.037 2009 2061 D WifiConfigStore: Reading from user >> store completed in 2 ms. >> 12-31 16:00:38.055 2009 2061 D WifiConfigStore: Writing to stores >> completed in 17 ms. >> 12-31 16:00:38.055 2009 2061 E WifiStateMachine: Failed to setup >> control channel, restart supplicant >> ... >> etc. >> >> thanks >> -john