From owner-freebsd-current@freebsd.org Fri Aug 30 19:50:41 2019 Return-Path: Delivered-To: freebsd-current@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id AB0F9D6E7F for ; Fri, 30 Aug 2019 19:50:41 +0000 (UTC) (envelope-from maksim.yevmenkin@gmail.com) Received: from mail-qt1-x833.google.com (mail-qt1-x833.google.com [IPv6:2607:f8b0:4864:20::833]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 46KqpS70h5z4TVq for ; Fri, 30 Aug 2019 19:50:40 +0000 (UTC) (envelope-from maksim.yevmenkin@gmail.com) Received: by mail-qt1-x833.google.com with SMTP id j15so8836280qtl.13 for ; Fri, 30 Aug 2019 12:50:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=H4UfXhgiojvOP7tAaX265jg+KisO1Mrbe4Nl+xmfGvg=; b=LvI0xI7IoFbzgWLPaZ/PKpeiE+aqaOxKi2WrjfJcu9Dzjos4ho0ZWt9HgNuZiulvZB az+Vhs3+n0DX7xmu/yoWaRRJVGF8zC4qah5jvTneCiPA8wz3cChzyfbLZfRUIRAK5S8X 5c6Qv/KNd18qOppWUfGPgtMHEZ05Q9TZfShY6ONAL0spGeMVmRsfrAujScPwB2x+Oc3G 8QZA1Xat4anyjSvH/2hCorvB6Uiv64CduNrp5yfv6VI/L3VMb5dornYKkgCMNShcsFbr yICHdIQH+Q8lJNAsaZbokQKiR4dkPssZ7dakV2ClstlHH/dIy24xshtIZ7vCYcuOSWwP Lb7w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=H4UfXhgiojvOP7tAaX265jg+KisO1Mrbe4Nl+xmfGvg=; b=mnc+CeF6aop5mS6WxcbY3JzkskDup2wPwg64ePhIAac+Jj8N/uDW52G8E3sCimEj1O qYuqK+eq8bVOOKUAMtBVwVTDEb/7/KHQM2O6IwT6R2fsgWmcu33mg8rJA4FIEb3zjV/S X5xwRBxxhBG24CSltA9kVoTbcivurFXxlFoYwO5AwRgDKIA0rk5wA9Ji2G//Xqm7Pa4m vtLrmUwGROYtQWDnoyWmPzUM3ubo+hvbvqz8s1//2VMEV3xtXl8ef3IT2HzvukLGjF8K +523iwW/YSogIFrAFrVRK6GHxUaM2EqEAPjubL9GUgwUG30Usj7e8XQqDTGEdBhFF3h7 TD2Q== X-Gm-Message-State: APjAAAUClPQhuRVtpT1bukuBU9lEuiuZ7wm2ZkoLx81OKhu0XjxJiTiP /MoUQpkmVExDtvLmn6AsgH+y72ffxFKR87Y8iZE= X-Google-Smtp-Source: APXvYqzctDVtdNygj8Ges4DV6A5bxnHdHGuJ1RfSndOYZZUE6Fh6zetpAaIn/N4U0FBMfZgvZ3XZbESmVjaEwt07RMk= X-Received: by 2002:ac8:66ce:: with SMTP id m14mr16780247qtp.206.1567194639828; Fri, 30 Aug 2019 12:50:39 -0700 (PDT) MIME-Version: 1.0 References: <1115053193.64543.1567031661382.ref@mail.yahoo.com> <1115053193.64543.1567031661382@mail.yahoo.com> In-Reply-To: From: Maksim Yevmenkin Date: Fri, 30 Aug 2019 12:50:28 -0700 Message-ID: Subject: Re: Kernel-Crash when working with ubt0 To: Miranda Maria Sophie Van den Breukelingen Cc: "freebsd-current@freebsd.org" Content-Type: text/plain; charset="UTF-8" X-Rspamd-Queue-Id: 46KqpS70h5z4TVq X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20161025 header.b=LvI0xI7I; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of maksimyevmenkin@gmail.com designates 2607:f8b0:4864:20::833 as permitted sender) smtp.mailfrom=maksimyevmenkin@gmail.com X-Spamd-Result: default: False [-4.00 / 15.00]; TO_DN_EQ_ADDR_SOME(0.00)[]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+ip6:2607:f8b0:4000::/36]; FREEMAIL_FROM(0.00)[gmail.com]; DKIM_TRACE(0.00)[gmail.com:+]; RCPT_COUNT_TWO(0.00)[2]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; NEURAL_HAM_SHORT(-1.00)[-0.998,0]; FREEMAIL_TO(0.00)[gmail.com]; FROM_EQ_ENVFROM(0.00)[]; IP_SCORE(0.00)[ip: (-9.33), ipnet: 2607:f8b0::/32(-2.84), asn: 15169(-2.32), country: US(-0.05)]; MIME_TRACE(0.00)[0:+]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; TAGGED_FROM(0.00)[]; DWL_DNSWL_NONE(0.00)[gmail.com.dwl.dnswl.org : 127.0.5.0]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20161025]; FROM_HAS_DN(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; TAGGED_RCPT(0.00)[]; PREVIOUSLY_DELIVERED(0.00)[freebsd-current@freebsd.org]; MIME_GOOD(-0.10)[text/plain]; IP_SCORE_FREEMAIL(0.00)[]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[3.3.8.0.0.0.0.0.0.0.0.0.0.0.0.0.0.2.0.0.4.6.8.4.0.b.8.f.7.0.6.2.list.dnswl.org : 127.0.5.0]; RCVD_COUNT_TWO(0.00)[2]; RCVD_TLS_ALL(0.00)[] X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 30 Aug 2019 19:50:41 -0000 [trimming the list of recipients] On Fri, Aug 30, 2019 at 12:08 PM Miranda Maria Sophie Van den Breukelingen wrote: > > works for me as far as pairing concernes (with patch -C > .diff.txt > > option LOCK_PROFILING > option WITNESS > > is on in kern.config. My problem presists in the following form: > > l2control -a c0:7a:a5:00:c7:11 read_channel_list > l2control: Could not bind socket, bdaddr=c0:7a:a5:00:c7:11: Network is down can you please tell what 'c0:7a:a5:00:c7:11' is? is this a remove address? looking at your previous emails, i *think*, 'c0:7a:a5:00:c7:11' is a remote address. if this is the case, then, l2control is not going to work. from the l2control(8) man page == -a local Connect to the local device with the specified BD_ADDR or name. Example: -a 00:01:02:03:04:05 or -a bt_device. == more specifically, the read_channel_list command will list l2cap channels open on the local device. i'm not exactly sure what are you trying to do here. > l2ping is ok; ok. this tells me that hci and l2cap communication works > So, what to do with the "network down" - problem? you have asked l2control to bind to the *local* bd_addr (c0:7a:a5:00:c7:11). and since there is no *local* bluetooth device with this bd_addr, l2control returns "network down". l2control will only work for *local* bd_addr's thanks max