From nobody Thu Nov 11 23:43:57 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 A8CA8183A297 for ; Thu, 11 Nov 2021 23:45:43 +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 4HqyyZ4Tsjz4gnS for ; Thu, 11 Nov 2021 23:45:42 +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 9C95811F811 for ; Thu, 11 Nov 2021 18:45:34 -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.0 required=5.0 tests=ALL_TRUSTED,HTML_MESSAGE, 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 22D0311F805 for ; Thu, 11 Nov 2021 18:45:34 -0500 (EST) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=morante.net; s=default; t=1636674334; bh=BogOoCrhsb5Iwm5APZJATG+mk8CYpWVU91oHoKWq+sQ=; h=Date:From:Subject:To; b=oB/bFoMCgHSc9Mals3v9Oehfq7fm6jfF+6QjbZrGXZtQDETA4DkXtaLKEsp96Ye/c Jz5j01PV9GWfifcHOkMQtLiqrvlgyVYTYROPn/Ev/HQr21NVhVvwrIsT0Z57dqA3kH wEqZBxk992o4XT3B0tefeDe/RjCcKhqsEHr1tmEY= X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.3 at zenon.morante.com Message-ID: Date: Thu, 11 Nov 2021 18:43:57 -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: 14-CURRENT Kernel Panic due to USB hub? To: "freebsd-arm@freebsd.org" Content-Language: en-US Content-Type: multipart/signed; protocol="application/pkcs7-signature"; micalg=sha-512; boundary="------------ms040601090904090408060100" X-Rspamd-Queue-Id: 4HqyyZ4Tsjz4gnS X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=morante.net header.s=default header.b="oB/bFoMC"; 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 [-3.00 / 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)[-1.000]; 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,multipart/alternative,text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-arm@freebsd.org]; NEURAL_HAM_LONG(-1.00)[-1.000]; HAS_ATTACHMENT(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; RCVD_COUNT_THREE(0.00)[3]; NEURAL_SPAM_SHORT(1.00)[1.000]; DKIM_TRACE(0.00)[morante.net:+]; DMARC_POLICY_ALLOW(-0.50)[morante.net,reject]; TO_DN_EQ_ADDR_ALL(0.00)[]; RCVD_NO_TLS_LAST(0.10)[]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:+,3:~,4:~]; 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: Y This is a cryptographically signed message in MIME format. --------------ms040601090904090408060100 Content-Type: multipart/alternative; boundary="------------Uh5CRepOq6hEaT23DvUGv0uN" --------------Uh5CRepOq6hEaT23DvUGv0uN Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit I'm trying a new install using FreeBSD-14.0-CURRENT-arm64-aarch64-20211104-7ac82c96fe7-250453-bootonly.iso. The process is rough, but after a few attempts it eventually completes. Here are the steps taken: * First boot: system is able to start properly and I proceed with bsdinstall. See serial console output (http://venus.morante.net/downloads/unibia/screenshots/freebsd/R281-T91/14-CURRENT-7ac82c96fe7/serialconsole-boot-successful.txt) * Setup the interface to use DHCP, it gets an address * Select the ftp mirror, setup partitioning (auto UFS, GPT, etc...) * The system panics while "connecting to server".  See serial console output (http://venus.morante.net/downloads/unibia/screenshots/freebsd/R281-T91/14-CURRENT-7ac82c96fe7/panic1.txt) * Reset the system and start over. * Now get 'DHCP leased acquisition failed".  Nothing is printed on serial console. * Retry, gets an address * Installation goes on to fetch distribution files. * Hangs at about 60% and then panics.  See serial console output (http://venus.morante.net/downloads/unibia/screenshots/freebsd/R281-T91/14-CURRENT-7ac82c96fe7/panic2.txt) * Restart the process again.  Panics at around 30%.  See serial console output (http://venus.morante.net/downloads/unibia/screenshots/freebsd/R281-T91/14-CURRENT-7ac82c96fe7/panic3.txt). * Reset the system, boot fails with panic.  See serial console output (http://venus.morante.net/downloads/unibia/screenshots/freebsd/R281-T91/14-CURRENT-7ac82c96fe7/serialconsole-boot-fail.txt) * Try again, no panic, install succeeds. * Boot into new system At this point it seems like everything is fine, but: * After a few minutes of using the system, it just locks up. * I reboot, get dropped to single use, run fsck, exit, resume startup. * The system halts (no kernel panic) with an error "RAS CONTROLLER: SYSTEM HALTED...".  See serial console output (http://venus.morante.net/downloads/unibia/screenshots/freebsd/R281-T91/14-CURRENT-7ac82c96fe7/ras-controller-error.txt) * Reboot, system works. * After a few minutes of using the system, it just locks up. Throughout the entire process I am seeing a kernel message about a USB hub being disconnected and reattached.  Even after booting into the installed system: 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. There are no external or add-on USB hubs connected to this system.  Running other operating systems such as Ubuntu and VMWare ESXi for arm64 do not present these problems. --------------Uh5CRepOq6hEaT23DvUGv0uN-- --------------ms040601090904090408060100 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 IE1vcmFudGUgQ29tcGFueSwgSW5jLjEYMBYGA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