Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

dropping some firmware packages that provide Wi-Fi firmware #1575

Open
dustymabe opened this issue Sep 17, 2023 · 18 comments · Fixed by coreos/fedora-coreos-config#2980
Open
Assignees
Labels
F41 status/pending-next-release Fixed upstream. Waiting on a next release.

Comments

@dustymabe
Copy link
Member

The linux-firmware package dropped the following firmware subpackages as requirements in F39+:

    atheros-firmware-20230804-153.fc38.noarch
    brcmfmac-firmware-20230804-153.fc38.noarch
    mt7xxx-firmware-20230804-153.fc38.noarch
    realtek-firmware-20230804-153.fc38.noarch 

We should determine if this is a change we want to make.

@dustymabe dustymabe added the F39 label Sep 17, 2023
dustymabe added a commit to dustymabe/fedora-coreos-config that referenced this issue Sep 17, 2023
These were demoted to a recommends in F39 and we're not sure
if we want to drop them yet:
coreos/fedora-coreos-tracker#1575
dustymabe added a commit to dustymabe/fedora-coreos-config that referenced this issue Sep 17, 2023
These were demoted to a recommends in F39 and we're not sure
if we want to drop them yet:
coreos/fedora-coreos-tracker#1575
dustymabe added a commit to coreos/fedora-coreos-config that referenced this issue Sep 17, 2023
These were demoted to a recommends in F39 and we're not sure
if we want to drop them yet:
coreos/fedora-coreos-tracker#1575
dustymabe added a commit to coreos/fedora-coreos-config that referenced this issue Sep 17, 2023
These were demoted to a recommends in F39 and we're not sure
if we want to drop them yet:
coreos/fedora-coreos-tracker#1575
@travier
Copy link
Member

travier commented Sep 18, 2023

We don't ship any wifi support and generally redirect to Fedora IoT or layering for those use cases, so it's a +1 for me.

Should we discuss this in a meeting?

@dustymabe dustymabe added the meeting topics for meetings label Sep 18, 2023
@dustymabe
Copy link
Member Author

We don't ship any wifi support and generally redirect to Fedora IoT or layering for those use cases, so it's a +1 for me.

I think my biggest concern here is functionality changing without warning. One example: I layer in NetworkManager-wifi on a system I have. IIUC if we transparently pick up this change then the wifi in my system will stop working because NetworkManager-wifi doesn't name those firmware packages as requirements.

I think the state is fine for new installs, but for existing systems some care should be taken.

Should we discuss this in a meeting?

Yes! Added the meeting label. I created this ticket so we could discuss it in a meeting and also revert the drop in next for now while we figure out what we want to do.

@travier
Copy link
Member

travier commented Sep 18, 2023

I think my biggest concern here is functionality changing without warning. One example: I layer in NetworkManager-wifi on a system I have. IIUC if we transparently pick up this change then the wifi in my system will stop working because NetworkManager-wifi doesn't name those firmware packages as requirements.

Good point. Then we should probably announce it. I don't think we should keep them in but that can be discussed during the meeting.

@travier
Copy link
Member

travier commented Sep 20, 2023

From today's meeting:

  * AGREED: We’ll keep the firmware in the upcoming next releases. We’ll
    revisit this discussion next week (travier, 17:38:44)

@dustymabe
Copy link
Member Author

dustymabe commented Sep 20, 2023

Capturing some of the discussion from the meeting I think we discussed a few options:

  1. having NetworkManager-wifi require the wifi firmware packages in the future:
    • involves another team, not great because it requires firmwares that aren't needed
  2. running a migration that detects if NetworkManager-wifi is layered and add the 4 firmware packages to the layering requests
  3. adding a CLHM helper that detects when NetworkManager-wifi is layered and warning/instructing the user on necessary action.

In the meeting we were leaning more towards the last option and making the "warning period" last until F40 is released, but as mentioned in the previous comment we'll discuss more and finalize the plan next week.

@travier
Copy link
Member

travier commented Sep 25, 2023

The issue with options 2 & 3 is that it extends the lifetime of the CLHM unit warning for modules to a full release worth of time: coreos/fedora-coreos-config#2510. While the module related CLHM was limited in time until the F39 release, this one will be there for a while.

@dustymabe
Copy link
Member Author

dustymabe commented Sep 25, 2023

The issue with options 2 & 3 is that it extends the lifetime of the CLHM unit warning for modules to a full release worth of time: coreos/fedora-coreos-config#2510. While the module related CLHM was limited in time until the F39 release, this one will be there for a while.

Not sure I completely understand. IIUC this CLHM helper would have nothing to do with coreos/fedora-coreos-config#2510 (i.e. this has nothing to do with modularity). It would be implemented similarly, but be independent code. The CLHM helper added in coreos/fedora-coreos-config#2510 will essentially be dead code in a month's time because releasever == 38 will no longer be true.

@travier
Copy link
Member

travier commented Sep 27, 2023

Turns out rpm-ostree is called by Zincati on boot anyway so the CLHM is not adding much overhead, thus resolving my concerns.

@travier
Copy link
Member

travier commented Sep 27, 2023

From today's meeting:

  * AGREED: We'll keep the packages in FCOS until the rebase to F40.
    We'll add a CLHM module to warn for systems where wifi packages are
    layered and we'll send a warning mail.  (travier, 17:03:46)

@travier travier added status/decided status/pending-action Needs action F40 and removed meeting topics for meetings labels Sep 27, 2023
HuijingHei pushed a commit to HuijingHei/fedora-coreos-config that referenced this issue Oct 10, 2023
These were demoted to a recommends in F39 and we're not sure
if we want to drop them yet:
coreos/fedora-coreos-tracker#1575
HuijingHei pushed a commit to HuijingHei/fedora-coreos-config that referenced this issue Oct 10, 2023
These were demoted to a recommends in F39 and we're not sure
if we want to drop them yet:
coreos/fedora-coreos-tracker#1575
@dustymabe
Copy link
Member Author

Since we didn't follow through on the CLHM helper and the email warning to users I'm guessing we need to modify this proposal to target F41 instead.

@dustymabe dustymabe added the meeting topics for meetings label Mar 26, 2024
@travier
Copy link
Member

travier commented Mar 27, 2024

I think we should still do it, warning or not. WiFi is not part of the default image so we should not go out of our way to make it work.

@travier
Copy link
Member

travier commented Mar 27, 2024

From #1700 (comment), we'll need to add

nxpwireless-firmware
tiwilink-firmware

back as well to keep parity with current F39 content.

@travier
Copy link
Member

travier commented Mar 27, 2024

Ideally we would document how to setup WiFi on Fedora CoreOS and document all the caveats around firmwares and layering.

jbtrystram added a commit to jbtrystram/fedora-coreos-config that referenced this issue Apr 16, 2024
Some wifi-firmwares will be split into sub-packages in fedora 40
We will keep them in until fedora 41, but display a warning message
in the console if NetworkManager-wifi is layered without the most
popular the wifi firmwares.

See coreos/fedora-coreos-tracker#1575
jbtrystram added a commit to jbtrystram/fedora-coreos-docs that referenced this issue Apr 18, 2024
Some wifi-firmwares will be split into sub-packages in fedora 40
We will keep them in until fedora 41, but display a warning message
in the console. This messages links to this FAQ entry.

See  coreos/fedora-coreos-config#2963
See  coreos/fedora-coreos-tracker#1575
jbtrystram added a commit to jbtrystram/fedora-coreos-docs that referenced this issue Apr 18, 2024
Some wifi-firmwares will be split into sub-packages in fedora 40
We will keep them in until fedora 41, but display a warning message
in the console. This messages links to this FAQ entry.

See  coreos/fedora-coreos-config#2963
See  coreos/fedora-coreos-tracker#1575
jbtrystram added a commit to jbtrystram/fedora-coreos-docs that referenced this issue Apr 18, 2024
Some wifi-firmwares will be split into sub-packages in fedora 40
We will keep them in until fedora 41, but display a warning message
in the console. This messages links to this FAQ entry.

See  coreos/fedora-coreos-config#2963
See  coreos/fedora-coreos-tracker#1575
jbtrystram added a commit to jbtrystram/fedora-coreos-docs that referenced this issue Apr 19, 2024
Some wifi-firmwares will be split into sub-packages in fedora 40
We will keep them in until fedora 41, but display a warning message
in the console. This messages links to this FAQ entry.

See  coreos/fedora-coreos-config#2963
See  coreos/fedora-coreos-tracker#1575
jbtrystram added a commit to coreos/fedora-coreos-docs that referenced this issue Apr 20, 2024
Some wifi-firmwares will be split into sub-packages in fedora 40
We will keep them in until fedora 41, but display a warning message
in the console. This messages links to this FAQ entry.

See  coreos/fedora-coreos-config#2963
See  coreos/fedora-coreos-tracker#1575
jbtrystram added a commit to jbtrystram/fedora-coreos-config that referenced this issue Apr 22, 2024
Some wifi-firmwares will be split into sub-packages in fedora 40
We will keep them in until fedora 41, but display a warning message
in the console if NetworkManager-wifi is layered without the most
popular the wifi firmwares.

See coreos/fedora-coreos-tracker#1575
jbtrystram added a commit to jbtrystram/fedora-coreos-config that referenced this issue Apr 22, 2024
Some wifi-firmwares will be split into sub-packages in fedora 40
We will keep them in until fedora 41, but display a warning message
in the console if NetworkManager-wifi is layered without the most
popular the wifi firmwares.

See coreos/fedora-coreos-tracker#1575

Also link to FAQ entry.
see coreos/fedora-coreos-docs#629
jbtrystram added a commit to coreos/fedora-coreos-config that referenced this issue Apr 22, 2024
Some wifi-firmwares will be split into sub-packages in fedora 40
We will keep them in until fedora 41, but display a warning message
in the console if NetworkManager-wifi is layered without the most
popular the wifi firmwares.

See coreos/fedora-coreos-tracker#1575

Also link to FAQ entry.
see coreos/fedora-coreos-docs#629
travier added a commit to travier/fedora-coreos-config that referenced this issue Apr 23, 2024
travier added a commit to travier/fedora-coreos-config that referenced this issue Apr 23, 2024
travier added a commit to travier/fedora-coreos-config that referenced this issue Apr 23, 2024
travier added a commit to travier/fedora-coreos-config that referenced this issue Apr 23, 2024
Move Wi-Fi firmwares to their own manifest so that we can automatically
drop then when we rebase to Fedora 41.

We can safely do that now that we have included a warning for existing
users.

See: coreos#2978
Fixes: coreos/fedora-coreos-tracker#1575
@dustymabe dustymabe changed the title F39 drops some firmware packages that provide wifi/BT firmware dropping some firmware packages that provide wifi/BT firmware Apr 23, 2024
@dustymabe
Copy link
Member Author

Let's keep this open for when this ships in our prod streams.

@dustymabe dustymabe reopened this Apr 23, 2024
@dustymabe dustymabe added the status/pending-next-release Fixed upstream. Waiting on a next release. label Apr 23, 2024
@dustymabe dustymabe changed the title dropping some firmware packages that provide wifi/BT firmware dropping some firmware packages that provide Wi-Fi firmware Apr 23, 2024
@travier travier reopened this Apr 29, 2024
@c4rt0
Copy link
Member

c4rt0 commented Apr 29, 2024

I have no idea how I closed this issue as complete - sorry folks, it must've been an unexpected 'Enter' stroke.

@travier
Copy link
Member

travier commented Apr 29, 2024

It's because you pushed the commit where I mentioned it as fixed in a branch with a matching name. It should be fine now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
F41 status/pending-next-release Fixed upstream. Waiting on a next release.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

5 participants