From nobody Sun Nov 21 07:02:09 2021 X-Original-To: freebsd-arm@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 41058189303E for ; Sun, 21 Nov 2021 07:02:30 +0000 (UTC) (envelope-from daniel@morante.net) Received: from venus.morante.net (venus.morante.net [63.247.147.163]) by mx1.freebsd.org (Postfix) with ESMTP id 4HxhDN6t79z4RSW for ; Sun, 21 Nov 2021 07:02:28 +0000 (UTC) (envelope-from daniel@morante.net) Received: from venus.morante.net (zenon.morante.com [192.168.0.233]) by saturn.morante.com (Postfix) with ESMTP id 93A7011F812 for ; Sun, 21 Nov 2021 02:02:26 -0500 (EST) X-Spam-Checker-Version: SpamAssassin 3.4.5 (2021-03-20) on zenon.morante.com X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=ALL_TRUSTED,NICE_REPLY_A, SPF_PASS autolearn=ham autolearn_force=no version=3.4.5 X-Spam-RelaysUntrusted: Received-SPF: pass (venus.morante.net: 192.168.0.2 is whitelisted) receiver=venus.morante.net; client-ip=192.168.0.2; helo=[192.168.0.2]; envelope-from=daniel@morante.net; x-software=SPF Validation 2.001 http://pacyworld.com/spf with libspf2-1.2.10; Received: from [192.168.0.2] (my-room.morante.com [192.168.0.2]) by venus.morante.net (Postfix) with ESMTPSA id CB3CA11F80B for ; Sun, 21 Nov 2021 02:02:22 -0500 (EST) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=morante.net; s=default; t=1637478143; bh=T2FJjT++Gf3TU3pW3bgOlAJhseMjuDKltt/zJckEZIw=; h=Date:Subject:To:References:From:In-Reply-To; b=bscTZ20Ti7tgsscMgUM5ncEa4lUf7HfAxWpceCQ+q354d1JY6lBDmhs/KdI6CdCmr rhkNCjEnzNU2kU51QU0SqCZLrptrR8rNOEPudW4jnoGU4lL4+/ghN7hNuWdhTZAOjN 76Y0Y26Y+7bEWFqgYsQDPFVK42UFT4YPPJKlO1Mg= X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.3 at zenon.morante.com Message-ID: <285be6e3-440c-5d3d-b4fa-e15802b47d7e@morante.net> Date: Sun, 21 Nov 2021 02:02:09 -0500 List-Id: Porting FreeBSD to ARM processors List-Archive: https://lists.freebsd.org/archives/freebsd-arm List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-arm@freebsd.org MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:91.0) Gecko/20100101 Thunderbird/91.3.0 Subject: Re: 14-CURRENT Kernel Panic due to USB hub? Content-Language: en-US To: freebsd-arm@freebsd.org References: <2b555ef9-12fe-6214-79a0-cebce1933771@selasky.org> <7f41d2d1-ef24-6e07-1ea7-a3a240d90a33@morante.net> In-Reply-To: <7f41d2d1-ef24-6e07-1ea7-a3a240d90a33@morante.net> Content-Type: multipart/signed; protocol="application/pkcs7-signature"; micalg=sha-512; boundary="------------ms030405060006080109090505" X-Rspamd-Queue-Id: 4HxhDN6t79z4RSW X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=morante.net header.s=default header.b=bscTZ20T; dmarc=pass (policy=reject) header.from=morante.net; spf=pass (mx1.freebsd.org: domain of daniel@morante.net designates 63.247.147.163 as permitted sender) smtp.mailfrom=daniel@morante.net X-Spamd-Result: default: False [-2.97 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; ARC_NA(0.00)[]; R_DKIM_ALLOW(-0.20)[morante.net:s=default]; NEURAL_HAM_MEDIUM(-1.00)[-0.998]; FROM_HAS_DN(0.00)[]; SIGNED_SMIME(-2.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; R_SPF_ALLOW(-0.20)[+mx]; MIME_GOOD(-0.20)[multipart/signed,text/plain]; TO_DN_NONE(0.00)[]; PREVIOUSLY_DELIVERED(0.00)[freebsd-arm@freebsd.org]; HAS_ATTACHMENT(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; RCVD_COUNT_THREE(0.00)[3]; DKIM_TRACE(0.00)[morante.net:+]; DMARC_POLICY_ALLOW(-0.50)[morante.net,reject]; NEURAL_SPAM_LONG(1.00)[1.000]; NEURAL_HAM_SHORT(-0.98)[-0.976]; RCVD_NO_TLS_LAST(0.10)[]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; SUBJECT_ENDS_QUESTION(1.00)[]; ASN(0.00)[asn:30221, ipnet:63.247.144.0/20, country:US]; MID_RHS_MATCH_FROM(0.00)[] Reply-To: daniel@morante.net From: Daniel Morante via freebsd-arm X-Original-From: Daniel Morante X-ThisMailContainsUnwantedMimeParts: N This is a cryptographically signed message in MIME format. --------------ms030405060006080109090505 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit I have had no luck with 20211118 (4082b189d2c).  I was only able to get it two boot twice and in those two instances it just locks up during the network setup step.  The majority of the time it just panics when booting off the ISO image.  I tried about 13 times.  All my attempts are logged at http://venus.morante.net/downloads/unibia/screenshots/freebsd/R281-T91/14-CURRENT-4082b189d2c/ Here's an example (of the panic part only): Release APs...done random: unblocking device. panic: vm_fault_lookup: fault on nofault entry, addr: 0xffff00010a0c5000 cpuid = 178 time = 2 KDB: stack backtrace: db_trace_self() at db_trace_self KDB: enter: panic [ thread pid 0 tid 100694 ] Stopped at      kdb_enter+0x44: undefined       f901411f db> bt Tracing pid 0 tid 100694 td 0xffffa0000882c000 db_trace_self() at db_trace_self db> Just for fun I tried the same snapshot in a virtual machine (using ESXi for ARM) on the same hardware and same machine.  That booted and installed just fine. On 11/20/2021 4:03 PM, Daniel Morante via freebsd-arm wrote: > May or may not be related, but here's a bt after a panic while running > poudriere for a few hours.  I still have hw.usb.disable_enumeration=1 > set.  I'm going to do a new install with the latest snapshot later > today.  I'll post a bt of that without hw.usb.disable_enumeration once > I get it. > > db> bt > Tracing pid 0 tid 101633 td 0xffffa008230c6580 > db_trace_self() at db_trace_self > db_stack_trace() at db_stack_trace+0x11c > db_command() at db_command+0x310 > db_command_loop() at db_command_loop+0x54 > db_trap() at db_trap+0xf8 > kdb_trap() at kdb_trap+0x1c0 > handle_el1h_sync() at handle_el1h_sync+0x78 > --- exception, esr 0xf2000000 > kdb_enter() at kdb_enter+0x44 > vpanic() at vpanic+0x1c0 > panic() at panic+0x44 > deadlkres() at deadlkres+0x2c0 > fork_exit() at fork_exit+0x74 > fork_trampoline() at fork_trampoline+0x14 > > I'll find a > > On 11/12/2021 5:52 AM, Hans Petter Selasky wrote: >> On 11/12/21 00:43, Daniel Morante via freebsd-arm wrote: >>> ugen0.2: at usbus0 (disconnected) >>> uhub5: at uhub0, port 1, addr 1 (disconnected) >>> uhub5: detached >>> ugen0.2: at usbus0 >>> uhub5 numa-domain 0 on uhub0 >>> uhub5: on usbus0 >>> uhub5: 4 ports with 4 removable, self powered >>> >>> I suspect these problems are caused by the above detaching/reattaching. >> >> Can you type "bt" in the panic prompt? >> >> --HPS >> --------------ms030405060006080109090505 Content-Type: application/pkcs7-signature; name="smime.p7s" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="smime.p7s" Content-Description: S/MIME Cryptographic Signature MIAGCSqGSIb3DQEHAqCAMIACAQExDzANBglghkgBZQMEAgMFADCABgkqhkiG9w0BBwEAAKCC DJgwggX/MIID56ADAgECAgIQADANBgkqhkiG9w0BAQsFADCBkjELMAkGA1UEBhMCVVMxEDAO BgNVBAgMB0Zsb3JpZGExDzANBgNVBAcMBk5hcGxlczEpMCcGA1UECgwgVGhlIERhbmllbCBN b3JhbnRlIENvbXBhbnksIEluYy4xGDAWBgNVBAsMD1BhY3kgV29ybGQsIExMQzEbMBkGA1UE AwwSUGFjeSBXb3JsZCBSb290IENBMB4XDTE4MDcwNzE3MzUzMVoXDTI4MDcwNDE3MzUzMVow gYkxCzAJBgNVBAYTAlVTMRAwDgYDVQQIDAdGbG9yaWRhMSkwJwYDVQQKDCBUaGUgRGFuaWVs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