From owner-freebsd-current@freebsd.org Thu Sep 10 05:39:14 2020 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 8DAEC3EB5A7 for ; Thu, 10 Sep 2020 05:39:14 +0000 (UTC) (envelope-from tsoome@me.com) Received: from pv50p00im-zteg10011401.me.com (pv50p00im-zteg10011401.me.com [17.58.6.41]) (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 4Bn7413BFxz4Tnh for ; Thu, 10 Sep 2020 05:39:12 +0000 (UTC) (envelope-from tsoome@me.com) Received: from nazgul.lan (148-52-235-80.sta.estpak.ee [80.235.52.148]) by pv50p00im-zteg10011401.me.com (Postfix) with ESMTPSA id 006399005DF; Thu, 10 Sep 2020 05:39:10 +0000 (UTC) Content-Type: text/plain; charset=utf-8 Mime-Version: 1.0 (Mac OS X Mail 13.4 \(3608.120.23.2.1\)) Subject: Re: Freeze during early boot From: Toomas Soome In-Reply-To: <20200910005736.GB7512@blisses.org> Date: Thu, 10 Sep 2020 08:39:08 +0300 Cc: FreeBSD Current Content-Transfer-Encoding: quoted-printable Message-Id: <749DA9A0-E129-4085-BE28-A0F201883736@me.com> References: <20200910005736.GB7512@blisses.org> To: Mason Loring Bliss X-Mailer: Apple Mail (2.3608.120.23.2.1) X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:6.0.235, 18.0.687 definitions=2020-09-10_01:2020-09-10, 2020-09-10 signatures=0 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 suspectscore=0 malwarescore=0 phishscore=0 bulkscore=0 spamscore=0 clxscore=1011 mlxscore=0 mlxlogscore=999 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-2006250000 definitions=main-2009100053 X-Rspamd-Queue-Id: 4Bn7413BFxz4Tnh X-Spamd-Bar: --- X-Spamd-Result: default: False [-3.83 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; RWL_MAILSPIKE_GOOD(0.00)[17.58.6.41:from]; FREEMAIL_FROM(0.00)[me.com]; MV_CASE(0.50)[]; R_SPF_ALLOW(-0.20)[+ip4:17.58.0.0/16]; TO_DN_ALL(0.00)[]; DKIM_TRACE(0.00)[me.com:+]; RCPT_COUNT_TWO(0.00)[2]; DMARC_POLICY_ALLOW(-0.50)[me.com,quarantine]; NEURAL_HAM_SHORT(-1.22)[-1.216]; RCVD_IN_DNSWL_LOW(-0.10)[17.58.6.41:from]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; FREEMAIL_ENVFROM(0.00)[me.com]; MID_RHS_MATCH_FROM(0.00)[]; DWL_DNSWL_NONE(0.00)[me.com:dkim]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-0.995]; R_DKIM_ALLOW(-0.20)[me.com:s=1a1hai]; FREEFALL_USER(0.00)[tsoome]; FROM_HAS_DN(0.00)[]; ASN(0.00)[asn:714, ipnet:17.58.0.0/20, country:US]; NEURAL_HAM_LONG(-1.02)[-1.018]; MIME_GOOD(-0.10)[text/plain]; RECEIVED_SPAMHAUS_PBL(0.00)[80.235.52.148:received]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_COUNT_TWO(0.00)[2]; RCVD_TLS_ALL(0.00)[]; MAILMAN_DEST(0.00)[freebsd-current] X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.33 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: Thu, 10 Sep 2020 05:39:14 -0000 > On 10. Sep 2020, at 03:57, Mason Loring Bliss = wrote: >=20 > Hi, all. I'd like to see FreeBSD running on a new class of box I've = got > here. Not new hardware. These are Atom chips on Micro-ITX = motherboards, and > are interesting in that they are low-power and have dual gigabit NICs. > They're UEFI-only. >=20 > These boxes seem to not like the FreeBSD 12.1 .iso files as written to = USB > sticks, but I could boot the installer with an .img. >=20 > That said, the resulting system as installed seems to freeze in = precisely=20 > the same place as the .iso-files-written-to-USB froze. I took a photo = of=20 > the freeze, and then realized that it was the same as when I was = trying to=20 > boot from the USB stick the first time. >=20 > I've got a photo of it in the bug I've just opened to complement this=20= > email, along with dmesg from NetBSD and Linux: >=20 > https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D249226 >=20 > What's different between the .iso and the .img files, and how might = that=20 > translate to the installed system, if that's not a red herring? And = how=20 > might I get these boxes to boot FreeBSD?=20 If the iso written to stick was able to give you working loader (in a = sense that you can navigate and exit menu, enter ls, lsdev etc on loader = OK prompt), then the iso, as bootable media, is ok. >=20 > The boxes don't have build-in storage so I'm installing and booting = from=20 > USB drives, so making modifications from another system to test things=20= > ought to be fairly straightforward. >=20 > Addendum: To try -current in case it was a known issue, I downloaded = the=20 > mini-memstick.img, but it freezes in the same place. >=20 Because your system is freezing while attempting to start the kernel = (framebuffer information is printer in loader just before relocating = loaded bits to final location and jumping to kernel, the issue can = possibly be either in loader preparing to trampoline or in early kernel. If you do not mind one extra test (and as you have already done = linux/netbsd tests), I=E2=80=99d be interested to see test results from = illumos boot (openindiana or omnios for example), press esc to get out = from loader menu, and enter on ok prompt:=20 boot -B prom_debug=3Dtrue,kbm_debug=3Dtrue,map_debug=3Dtrue This is useful because those systems also boot using freebsd loader, but = there is a small difference how the kernel start is prepared, and if it = does get that far, maybe we can get memory map from early kernel. But to get this issue properly diagnosed and fixed, we would need to = build test versions for your system and just see what/where we will = get=E2=80=A6=20 rgds, toomas=