From nobody Sun Nov 30 18:32:18 2025 X-Original-To: freebsd-hackers@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 4dKFy83mj8z6JLS6 for ; Sun, 30 Nov 2025 18:32:32 +0000 (UTC) (envelope-from karlo98.m@gmail.com) Received: from mail-io1-xd32.google.com (mail-io1-xd32.google.com [IPv6:2607:f8b0:4864:20::d32]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 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.gmail.com", Issuer "WR4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4dKFy80jLxz3W3b for ; Sun, 30 Nov 2025 18:32:32 +0000 (UTC) (envelope-from karlo98.m@gmail.com) Authentication-Results: mx1.freebsd.org; none Received: by mail-io1-xd32.google.com with SMTP id ca18e2360f4ac-94880a46f3fso138595039f.2 for ; Sun, 30 Nov 2025 10:32:32 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1764527549; x=1765132349; darn=freebsd.org; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=KRjGR3l3CKk95ioU60mNnBMp1r0ceoKE57Jv6/W9U9Y=; b=GYydNo1m6NqcdJ5PxpN55Gdb4oBoxjv+bnJgdA+M3gDNcUgnExe6RlOml4Rqqsyo1V V5g1oB+QidT0g0NO10R20014ux+IRPcRu8vQg2yHEjGlEAe8ezpyvsUlttWxEuS99Uqu i3mzVjnpuUMAAGbu40EjAOiBT/GBLLOrj5rI1hupAECUU6tjaP9ws71HZF4WNLW4pXKu cO3+Qhx41ZiWJ4UBFyDwoN42SS2OhjVbmylAT16h2ut1kpz4Y+plrRhvJVSSLLDjfs1I ZiPWNIFGDskFaxzsAQEAyXw8H4/yM2oSAf7RkhBpjev0C1XAhl7XdaP6eQAhaHU2jrdD 61EA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1764527549; x=1765132349; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-gg:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to; bh=KRjGR3l3CKk95ioU60mNnBMp1r0ceoKE57Jv6/W9U9Y=; b=esVhVkVoiVjcjGluyW3FZ1qwJSfPZudLFAOuuSZsXZJQCBhhWWlDFLk9Pkj7fnIMN9 2bcuKhCVTp+C5tPWZ9tgilngNj/VYsPNNUHdMmKt77JZ+I0z0zDZPA9KM4LVblX/Yx0z 6MgreSg70bIOfHug95ZUy5P/NiBx6ZElbJc+DltqshiR+8Hp1mGYB/r/H1nRee+kzucv e/q0TCZBhVghVbGny6UdsbaS6n2W3fSRDqK2Flvo8h04DUNYRaQggb7vLP5vopaRhFeK uuMObgf24nqCE+gOCBi6xvCQi821KP3RaCmfQX4BhqRwDguKeuaptW+68O9ZLg5zPkKP O0Fg== X-Gm-Message-State: AOJu0YxXZgqJDSWzXmy3pFGjHylK0fNR/IOaQVe7gP9kOcgaFmB/kNEp 3kaB4tdCp0uXupAN7pSsrJP3Md1QKUZ3QEftEywxLdSn1FQ3O1ayn6/Up1o9bsipRND/zB7vd47 85uvELcDD+U1N3160K3A5To5EnIHVlGmLbQ== X-Gm-Gg: ASbGncsf/uOpLXPrBytOGdU7deNwhK7Z4uni898mfPaNLelqj8lCCv5muSRR5R3ImiO zNlTT0KRyBdg4scmxmPwTmXwELUC50Q6sZE7QDfFkLwFlePfPNyCy8/aXmQdqCHfYF7CymAKkOh Dq6BEMPhKxOIhT1ZapK4FOgPCnnJmBoB6stC4BCalmi1kAE/Aze/a8CeDeH3jMC/tB1hu23jNlo sBFU84nI8uplLQtpXVH+0sdkInr3/GRVLM4WnnetouquhjUWyvhs1kaJNNVG9jItkssvw== X-Google-Smtp-Source: AGHT+IF3GiIJbMlv3ReMWsxmpVI2S0GjFf5Eb+Vz1YPJGnfvQmwoAv1adhiZ/er4orsEXji1NatV3B9mU50qvYM6IKY= X-Received: by 2002:a05:6638:22d4:b0:5b7:c2fe:3d87 with SMTP id 8926c6da1cb9f-5b999693328mr17558936173.18.1764527549359; Sun, 30 Nov 2025 10:32:29 -0800 (PST) List-Id: Technical discussions relating to FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-hackers List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-hackers@FreeBSD.org MIME-Version: 1.0 References: In-Reply-To: From: =?UTF-8?B?S2FybG8gTWlsacSNZXZpxIc=?= Date: Sun, 30 Nov 2025 19:32:18 +0100 X-Gm-Features: AWmQ_bm43i2vY5RhMMVhir3mKDhdo5R_OTOFyIQobBV-DJpZVXTkh4xrUrhZkFA Message-ID: Subject: Re: 15.0-RELEASE boot panic when if_iwm_load="YES" To: Adrian Chadd Cc: freebsd-hackers@freebsd.org Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Spamd-Bar: ---- X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; TAGGED_FROM(0.00)[] X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-Rspamd-Queue-Id: 4dKFy80jLxz3W3b Thank you for the clarification! It works now. Are a bunch of online resources are out-of-date/wrong now because of that change? I see that most tell you to first load the driver in /boot/loader.conf. I didn't check the handbook first and lost a few hours because of that. I never learn... On Sun, Nov 30, 2025 at 7:25=E2=80=AFPM Adrian Chadd w= rote: > > hi! > > The firmware loading migrated from "build all firmware as kernel > modules' to 'support loading firmware as files'. > However, that's resulted in a couple behavioural changes: > > * there's a known bug in the firmware loader where if it's invoked by > a driver before / is available, the kernel panics. > * .. and yes, since they're files now, but drivers have no way of > waiting cleanly until the filesystems are available, > things go sideways. > > Just add this to /etc/rc.conf : > > kld_list=3D"if_iwm" > > (if you have an existnig kld_list line in there, add if_iwm to it instead= ) > > Then run "fwget" to fetch the latest firmware needed, and then reboot. > > > -a > > On Sat, 29 Nov 2025 at 08:01, Karlo Mili=C4=8Devi=C4=87 wrote: > > > > I know 15.0 is not released yet but the image is up and I wanted to try= it out on real hardware. > > > > After I put if_iwm_load=3D"YES" in /boot/loader.conf it fails to boot. > > After saying it's loading loader.conf and briefly flashing FreeBSD logo= I get a panic: > > > > panic: page fault > > cpuid =3D 0 > > time =3D 1 > > KDB: stack backtrace: > > #0 0xffffffff80bbe1ed at kdb_backtrace+0x5d > > #1 0xffffffff80b71576 at vpanic+0x136 > > #2 0xffffffff80b71433 at panic+0x43 > > #3 0xffffffff81079f69 at trap_pfault+0x3c9 > > #4 0xffffffff8104ff18 at calltrap+0x8 > > #5 0xffffffff80c4f974 at namei+0xe4 > > #6 0xffffffff80c768b2 at vn_open_cred+0x5b2 > > #7 0xffffffff80bb9ef4 at loadimage+0x274 > > #8 0xffffffff80bd4de2 at taskqueue_run_locked+0x182 > > #9 0xffffffff80bd5fb2 at taskqueue_thread_loop+0xc2 > > #10 0xffffffff80b2786b at fork_exit+0x7b > > #11 0xffffffff81050f3e at fork_trampoline+0xe > > Uptime: 1s > > Automatic reboot in 15 seconds - press a key on the console to abort > > > > Am I doing something wrong? > > IIRC this worked on 14.3 on the same hardware.