From nobody Fri Jun 07 01:10:39 2024 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 4VwNRz0908z5NPnx for ; Fri, 07 Jun 2024 01:10:55 +0000 (UTC) (envelope-from mjl@luckie.org.nz) Received: from out2101.sparkbusinessmail.co.nz (out2101.sparkbusinessmail.co.nz [122.56.84.48]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4VwNRx0q4Mz4LD9 for ; Fri, 7 Jun 2024 01:10:51 +0000 (UTC) (envelope-from mjl@luckie.org.nz) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=sparkbusinessmail.co.nz header.s=alpha header.b=N9O3xXgN; dmarc=none; spf=none (mx1.freebsd.org: domain of mjl@luckie.org.nz has no SPF policy when checking 122.56.84.48) smtp.mailfrom=mjl@luckie.org.nz DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sparkbusinessmail.co.nz; s=alpha; t=1717722643; bh=rlHCGMxYLIKTIV+r/rWGD3s3Czn7Rcqb1zUcQxuZPaU=; h=Message-ID:Date:To:From:Subject; b=N9O3xXgNyDPtB5u7g2kB/lX55VZUcXbXC3M1qQgcMj1dK7Se8gncFFkVz0GOsS70o oE10k3uo+G69wwJy909X4nEaVUQUiyYsRhxpXlIbn5evUcJ08PAwzdNZkdXdd+2eKz Q4hI3XBmhqK74el1CvnDwOs39CrWf5LI/dJRl+TM= SMX-Results: classifications=clean SMX-S1C: gggruggvucftvghtrhhoucdtuddrgedvledrvdelledggeefucetufdoteggodetrfdotffvucfrrh hofhhilhgvmecuuffoigeuuhhsihhnvghsshenuceurghilhhouhhtmecufedttdenucenucfjughr pefkffggfgfvhffutgfgsehtjeertddtvdejnecuhfhrohhmpeforghtthhhvgifucfnuhgtkhhivg cuoehmjhhlsehluhgtkhhivgdrohhrghdrnhiiqeenucggtffrrghtthgvrhhnpeffteehffelvdev jeegffeukeduheejffevteegjeehjeeuhfeviedtieekffevtdenucffohhmrghinheptggrihgurg drohhrghenucfkphepuddvvddrheeirddvfeegrdehudenucevlhhushhtvghrufhiiigvpedtnecu rfgrrhgrmhepihhnvghtpeduvddvrdehiedrvdefgedrhedupdhmrghilhhfrhhomhepmhhjlheslh hutghkihgvrdhorhhgrdhniidpnhgspghrtghpthhtohepuddprhgtphhtthhopehfrhgvvggsshgu qdgrrhhmsehfrhgvvggsshgurdhorhhgpdhmohguvgepshhmthhpohhuthdpshhpfhepnhgvuhhtrh grlhdphhgvlhhopehsphgrnhguvgigrdhluhgtkhhivgdrohhrghdrnhiipdfovfetjfhoshhtpehm thgrvddutdefpdetuhhthhgpuhhsvghrpehmjhhlsehluhgtkhhivgdrohhrghdrnhiipdhrvghvkf frpeduvddvqdehiedqvdefgedqhedurdhmohgsihhlvgdrshhprghrkhdrtghordhnii SMX-S1V: clean SMX-S1S: 0 Received: from spandex.luckie.org.nz ([122.56.234.51]) by smtp.sparkbusinessmail.co.nz with ESMTP (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) id 66625E12-31A20689@mta2103.omr; Fri, 07 Jun 2024 01:10:43 +0000 Received: from sorcerer.luckie.org.nz ([192.168.3.28]) by spandex.luckie.org.nz with esmtps (TLS1.3) tls TLS_AES_128_GCM_SHA256 (Exim 4.97.1 (FreeBSD)) (envelope-from ) id 1sFO7s-00000000B52-1Zxp for freebsd-arm@freebsd.org; Fri, 07 Jun 2024 13:10:39 +1200 Message-ID: Date: Fri, 7 Jun 2024 13:10:39 +1200 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 Thunderbird Content-Language: en-US To: freebsd-arm@freebsd.org From: Matthew Luckie Subject: upgrading from 14.0 -> 14.1 and umodem_load="YES" Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spamd-Bar: ---- X-Spamd-Result: default: False [-4.39 / 15.00]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; DWL_DNSWL_LOW(-1.00)[sparkbusinessmail.co.nz:dkim]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_SHORT(-1.00)[-0.999]; R_DKIM_ALLOW(-0.20)[sparkbusinessmail.co.nz:s=alpha]; MIME_GOOD(-0.10)[text/plain]; RCVD_IN_DNSWL_LOW(-0.10)[122.56.84.48:from]; XM_UA_NO_VERSION(0.01)[]; R_SPF_NA(0.00)[no SPF record]; RCPT_COUNT_ONE(0.00)[1]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:4648, ipnet:122.56.84.0/24, country:NZ]; DMARC_NA(0.00)[luckie.org.nz]; MLMMJ_DEST(0.00)[freebsd-arm@freebsd.org]; ARC_NA(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; FROM_HAS_DN(0.00)[]; MID_RHS_MATCH_FROM(0.00)[]; RCVD_COUNT_TWO(0.00)[2]; TO_MATCH_ENVRCPT_ALL(0.00)[]; TO_DN_NONE(0.00)[]; RCVD_TLS_LAST(0.00)[]; DKIM_TRACE(0.00)[sparkbusinessmail.co.nz:+] X-Rspamd-Queue-Id: 4VwNRx0q4Mz4LD9 Hi, I recently did freebsd-upgrade of a Pi4 from 14.0 to 14.1. With the new kernel, the system did not boot. I plugged in a screen and keyboard, and was able to get the system to boot kernel.old (14.0) and then the 14.1 kernel by doing unload load /boot/kernel/kernel boot The issue was that I had the following in my /boot/loader.conf: # Configure USB OTG; see usb_template(4). hw.usb.template=3 umodem_load="YES" # Multiple console (serial+efi gop) enabled. boot_multicons="YES" boot_serial="NO" # Disable the beastie menu and color beastie_disable="YES" loader_color="NO" If I change umodem_load to "NO", then the system boots. Note that umodem brings in ucom. I probably added umodem_load myself (I was experimenting with a USB 3g modem at one point). I've put photos I took of the system booting at: https://users.caida.org/~mjl/tmp/IMG_6932.JPG https://users.caida.org/~mjl/tmp/IMG_6933.JPG Note that when the system correctly boots (with umodem_load="NO") it uses sdhci_bcm0-slot0, not sdhci_bcm1-slot0 as in the photo. Also, I did not have any usb devices plugged into the Pi4, except for a dell keyboard. I've left umodem_load="NO" as it is, as I have no need for umodem now, and I can boot the system just fine. I am just sending this in case this is a regression from 14.0 -> 14.1. Matthew