From nobody Fri Dec 27 13:59:53 2024 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 4YKRvp2lzJz5hYc1 for ; Fri, 27 Dec 2024 14:00:06 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Received: from mail-pj1-x1032.google.com (mail-pj1-x1032.google.com [IPv6:2607:f8b0:4864:20::1032]) (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 4YKRvp0Hycz4WN7 for ; Fri, 27 Dec 2024 14:00:05 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Authentication-Results: mx1.freebsd.org; none Received: by mail-pj1-x1032.google.com with SMTP id 98e67ed59e1d1-2f4448bf96fso6918669a91.0 for ; Fri, 27 Dec 2024 06:00:05 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bsdimp-com.20230601.gappssmtp.com; s=20230601; t=1735308004; x=1735912804; darn=freebsd.org; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=I9w1MSl21x07BIaQlcqm9CjNm/9m1eNC1y1j3lwTglU=; b=bB+3nJgOjDbNI2o8u4RzH/wR/y7eLVzcDkyLBmDPv4OYIu4hXfUENXsqkmlodUiIlb ARtqCOsYoSiWh2Ge3J5eWQy34wW9MVnhDURrb+BphO2Q+rhzswurOJzhmuXuSemEP5uW /R5HImMR2bpBLe5mDZWqn2+u+uSj6aK230NqShuTx77gbOAMHbbYcZmaXJt/Vino68LG +Tgt6mlX6BOHplUDZTU6WEyOCiMfRlNV5ENtaP/A63e91cLr6yV3UsO0LO2E4ztSaIBf dJ7x77DVvmA+VK2RsGuy/NtMWfHeJOv2riLayB6s7gzCzhR3MTFH+oYjKmMWMAK2u2gW jVdQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1735308004; x=1735912804; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=I9w1MSl21x07BIaQlcqm9CjNm/9m1eNC1y1j3lwTglU=; b=RrSQWuqmmq8nodItA27+0Ua0qy1e3chIEDQGwI7HAeTCTiaxeZtgaPtZFPNuOmzfY5 HajMH8zny04jbix8JN2+frL7OV3MHNBKg2ojnit7lT0z82VnovNxlE4qjGjCc0Ol0YSs 65nJsf1x7PAWoiVDW3nnn/Pak+ksTf+7pC86+SR9kXkLrUxKeRPNBJ0jU0d6D/Atc56o l6nzBiCsgzeUjIW0Q2yKlIM+IuzIPDvfSe1r9kHaXF1RIorFBsfQtOlqVmSt+9mzVqM7 ccZn3Zx2shLA3hH/YB0BZzfIoNEbtktCplNfinY5hg7ln6pkHUxIChEj6NyMAUTZtzwZ qLtw== X-Forwarded-Encrypted: i=1; AJvYcCXZ8M/Gl3PylzJrW21mywBl90h2mhKDG3LJp99kia7hgyZLMIHPjcIRu6UqQuNdlFGswQnxrBDhAEyoZy8V5TY=@freebsd.org X-Gm-Message-State: AOJu0YwYarf9RxWI4vPKpi1LO4oBvwuIyFYVRI2fkXuJnnzM9BEdxQKp Hrox5bkTjiVmCuK0E8hQw3FlpIzNHHO0rdT4FaBzaBdZqBUcU+sq4q6N/AicPCC/TXggBOnHIU4 gb3pqm38ofvZPdPIuz1arREOmTcaSHd/Ax1huJQ== X-Gm-Gg: ASbGncvg6e4qMlXFjASfoEZ2lElCDEzkIFIVsqx3kNm+7DoYWIoZIqYwnVJaDOUE5Te QFDVH2eyV0alUDmDQYe07PHzXEbusLRGydbilp1JGr52pGVwWXpz/r5oB4l11aHirWEyH X-Google-Smtp-Source: AGHT+IHsPiiYiE7kC792UZCb7LddJJFHbyFeilSqzQgc5qAr1Beyvbm7cGNZzQmlBM4MpTWq+NZc1F4re59U0Qpltwk= X-Received: by 2002:a17:90b:548f:b0:2ee:8aa7:94a0 with SMTP id 98e67ed59e1d1-2f452f014f1mr36023372a91.32.1735308004471; Fri, 27 Dec 2024 06:00:04 -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: <20241227094322.64a88d47bc806904f40a51d3@bidouilliste.com> <20241227095321.a8309bd2512b9d43f944e530@bidouilliste.com> In-Reply-To: <20241227095321.a8309bd2512b9d43f944e530@bidouilliste.com> From: Warner Losh Date: Fri, 27 Dec 2024 06:59:53 -0700 Message-ID: Subject: Re: No iwm interface in current. To: Emmanuel Vadot Cc: =?UTF-8?Q?Fernando_Apestegu=C3=ADa?= , FreeBSD Hackers Content-Type: multipart/alternative; boundary="0000000000002edc29062a40e1f9" X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; TAGGED_RCPT(0.00)[]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US] X-Rspamd-Queue-Id: 4YKRvp0Hycz4WN7 X-Spamd-Bar: ---- --0000000000002edc29062a40e1f9 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Fri, Dec 27, 2024, 1:53=E2=80=AFAM Emmanuel Vadot wrote: > On Fri, 27 Dec 2024 09:43:22 +0100 > Emmanuel Vadot wrote: > > > > > Hi, > > > > On Thu, 26 Dec 2024 23:55:24 +0100 > > Fernando Apestegu=C3=ADa wrote: > > > > > I updated to today's current from a version from Nov 18th. > > > > > > I had these lines in loader.conf: > > > > > > iwm7265Dfw_load=3D"YES" > > > if_iwm_load=3D"YES" > > > > > > And with those the kernel panics. Then I saw the entry 20241216 in > > > UPDATING. Can't reproduce it here since I'm writing in my phone, but = it > > > says the iwm firmwares are now shipped as raw files. > > > So, how can I get the firmware loaded to make my nic work? > > > > > > Cheers > > > > Without panic trace it's hard to really know what's going on but I > > think that the problem is that the firmware wasn't loaded by loader and > > iwm panics since root fs isn't there yet. > > Just removing those lines will make iwm works again or you can use : > > iwm7265Dfw_load=3D"YES" > > iwm7265Dfw_name=3D"/boot/firmware/iwm7265Dfw" > > iwm7265Dfw_type=3D"firmware" > > > > Cheers, > > > > -- > > Emmanuel Vadot > > > > https://reviews.freebsd.org/D48211 will help too. > > P.S.: Note that I don't understand why anyone wants to load wifi > driver in loader, was it suggested somewhere at some point ? > Many people want to run minimal + their drivers and load them all from the loader. With the firmware shift, we may need to defer drivers that need firmware until after mountroot generally. Warnet --=20 > Emmanuel Vadot > > --0000000000002edc29062a40e1f9 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable


On Fri, Dec 27, 2024, 1:53=E2=80=AFAM Emmanuel Vadot &= lt;manu@bidouilliste.com> wrote:
On Fri, 27 Dec 2024 09:43:22 +0100
Emmanuel Vadot <manu@bidouilliste.com> wrote:

>
>=C2=A0 Hi,
>
> On Thu, 26 Dec 2024 23:55:24 +0100
> Fernando Apestegu=C3=ADa <fernando.apesteguia= @gmail.com> wrote:
>
> > I updated to today's current from a version from Nov 18th. > >
> > I had these lines in loader.conf:
> >
> > iwm7265Dfw_load=3D"YES"
> > if_iwm_load=3D"YES"
> >
> > And with those the kernel panics. Then I saw the entry 20241216 i= n
> > UPDATING. Can't reproduce it here since I'm writing in my= phone, but it
> > says the iwm firmwares are now shipped as raw files.
> > So, how can I get the firmware loaded to make my nic work?
> >
> > Cheers
>
>=C2=A0 Without panic trace it's hard to really know what's goin= g on but I
> think that the problem is that the firmware wasn't loaded by loade= r and
> iwm panics since root fs isn't there yet.
>=C2=A0 Just removing those lines will make iwm works again or you can u= se :
> iwm7265Dfw_load=3D"YES"
> iwm7265Dfw_name=3D"/boot/firmware/iwm7265Dfw"
> iwm7265Dfw_type=3D"firmware"
>
>=C2=A0 Cheers,
>
> --
> Emmanuel Vadot <manu@bidouilliste.com> <manu@freebsd.org>
>

=C2=A0https://reviews.freebsd.org/D48211= will help too.

=C2=A0P.S.: Note that I don't understand why anyone wants to load wifi<= br> driver in loader, was it suggested somewhere at some point ?

Many people wan= t to run minimal + their drivers and load them all from the loader. With th= e firmware shift, we may need to defer drivers that need firmware until aft= er mountroot generally.

= Warnet

--
Emmanuel Vadot <manu@bidouilliste.com> <manu@freebsd.org>

--0000000000002edc29062a40e1f9--