From owner-freebsd-arm@freebsd.org Sat Jan 16 17:09:08 2021 Return-Path: Delivered-To: freebsd-arm@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 340F54E49F7 for ; Sat, 16 Jan 2021 17:09:08 +0000 (UTC) (envelope-from freebsd-rj@obsigna.com) Received: from mo4-p00-ob.smtp.rzone.de (mo4-p00-ob.smtp.rzone.de [81.169.146.160]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "*.smtp.rzone.de", Issuer "TeleSec ServerPass Class 2 CA" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4DJ4Jy6fH5z4XYH for ; Sat, 16 Jan 2021 17:09:06 +0000 (UTC) (envelope-from freebsd-rj@obsigna.com) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; t=1610816944; s=strato-dkim-0002; d=obsigna.com; h=To:Date:Message-Id:Subject:From:From:Subject:Sender; bh=BBJaiD5FbxheEHoeATHQ2dNxJtos5p2/cDI3mW1m/lw=; b=VyqjbeUnVNYqq6NSchP2NxDkhjpqnQjMQib2zBCCmbZ9NrhVVMqZ7Tk2+K1iCF6DXn xs5pIp8JRtG3gnjJWQgnoI9bLoCwdY5PonFP2xjpsdeBXX6H6fvnmCNKfxVM/VVFM0tp 1/VchKpID3QpoCX+yD7h2m5bfE0fMATFLDoKqnsDu+2tgLonRGL7DYulAWcWdMCby5nq EWR7tv7gZoBHu1dxRIHoE1270oI7KAULcl8kFagMdm/l3WAlpFZSiw0brxsSXygY4mQG FUOA4Mv5jWRY5kqUgZx2sY8Ck6tcpdo9tYrr+u3Jzx8gqM3veUJw+kaEAFtp9X5bwoaf eU2Q== X-RZG-AUTH: ":O2kGeEG7b/pS1F2rRHW2isrKl4DV03XBEi+I6ZuztdvN9wS3wFGySS4Lw+ldTBio0dVVInWnas+zpAhAiA/W" X-RZG-CLASS-ID: mo00 Received: from mail.obsigna.com by smtp.strato.de (RZmta 47.12.1 DYNA|AUTH) with ESMTPSA id d0872bx0GH93gfz (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256 bits)) (Client did not present a certificate) for ; Sat, 16 Jan 2021 18:09:03 +0100 (CET) Received: from rolf-mini.obsigna.com (rolf-mini.obsigna.com [192.168.222.5]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.obsigna.com (Postfix) with ESMTPSA id 4BDF21350F946 for ; Sat, 16 Jan 2021 14:08:59 -0300 (-03) From: "Dr. Rolf Jansen" Mime-Version: 1.0 (Mac OS X Mail 12.4 \(3445.104.15\)) Subject: GENERICSD snapshot on a BBB has issues with loading the if_rtwn_usb module Message-Id: <47700631-2D94-4BA8-9707-9ADD70C99600@obsigna.com> Date: Sat, 16 Jan 2021 14:08:58 -0300 To: freebsd-arm@freebsd.org X-Mailer: Apple Mail (2.3445.104.15) X-Rspamd-Queue-Id: 4DJ4Jy6fH5z4XYH X-Spamd-Bar: - Authentication-Results: mx1.freebsd.org; dkim=pass header.d=obsigna.com header.s=strato-dkim-0002 header.b=VyqjbeUn; dmarc=none; spf=pass (mx1.freebsd.org: domain of freebsd-rj@obsigna.com designates 81.169.146.160 as permitted sender) smtp.mailfrom=freebsd-rj@obsigna.com X-Spamd-Result: default: False [-2.00 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; MV_CASE(0.50)[]; R_SPF_ALLOW(-0.20)[+ip4:81.169.146.128/25]; TO_DN_NONE(0.00)[]; RCVD_COUNT_THREE(0.00)[3]; DKIM_TRACE(0.00)[obsigna.com:+]; NEURAL_HAM_SHORT(-1.00)[-0.999]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; RBL_DBL_DONT_QUERY_IPS(0.00)[81.169.146.160:from]; ASN(0.00)[asn:6724, ipnet:81.169.144.0/22, country:DE]; MID_RHS_MATCH_FROM(0.00)[]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; R_DKIM_ALLOW(-0.20)[obsigna.com:s=strato-dkim-0002]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-arm@freebsd.org]; DMARC_NA(0.00)[obsigna.com]; RCPT_COUNT_ONE(0.00)[1]; SPAMHAUS_ZRD(0.00)[81.169.146.160:from:127.0.2.255]; RCVD_IN_DNSWL_NONE(0.00)[81.169.146.160:from]; FROM_NAME_HAS_TITLE(1.00)[dr]; RWL_MAILSPIKE_POSSIBLE(0.00)[81.169.146.160:from]; RCVD_TLS_ALL(0.00)[]; MAILMAN_DEST(0.00)[freebsd-arm] Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.34 X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 16 Jan 2021 17:09:08 -0000 I updated one of my BBB from an older 13-CURRENT (July 2020) to the = latest 13-ALPHA1 snapshot from Jan, 14th =E2=80=94 = GENERICSD-20210114-7ae27c2d6c4-255938. I had successfully employed an USB-WLAN dongle based on the RTL8188eu = chipset. I only added the following into /boot/loader.conf: if_rtwn_usb_load=3D"YES" By that all dependend modules were loaded automatically in a snap. With = ALPHA1 this doesn=E2=80=99t work anymore. After hours of = troubleshooting, I got it working by adding the following into = /etc/rc.conf: kld_list=3D"if_rtwn_usb" The "Loading kernel modules:" takes apprx. 4 seconds, however, then the = USB-WLAN device is enumerated correctly and it is ready to use. This = makes me think that this uncommon huge delay is the culprit. I checked = this with some snapshot thats I had installed already. The issue seems = to have been introduced together with the switch to GENERICSD. A = GENERICSD 13-CURRENT from end of December showed this issue already, = while a BBB-specific snapshot (from November 2020) that I had installed = on another BBB works as before by loading the modules in = /boot/loader.conf. I don't mind to load the modules by the way of the kld_list directive in = /etc/rc.conf. However, the unusual long duration of loading the module = and its dependencies might be an indication for a more fundamental = issue. Please feel free to ask me for doing more tests.=20 Best regards Rolf=