Bug#979104: installation-reports: Intel Wireless 8265 / 8275 has no firmware in nonfree iso
Hi, Ben Hutchings wrote: > > Holger Wansing wrote: > > > Yes, that works fine, using a netboot image, I am NOT asked to > > > provide > > > firmware for regulatory.db file, because it's already included in > > > the d-i > > > image. > > > > > > However, that's only true for netboot images! > > > > > > My wireless card (on an IBM Thinkpad T60) is also usable with > > > DVD/CD netinst images > > > (so related kernel modules seem to be included in those images; I > > > have explicitly > > > tested that with said images on that T60), so probably wireless- > > > regdb-udeb should just > > > be added to all Linux d-i images? > > > > I prepared a patch for this (includes removing it from the netboot/* files, > > since it's now added generally in pkg-lists/base). > > Will apply it, if noone objects. > > Oh, I see. What I did was to add it to every list that includes nic- > wireless-modules, forgetting that for "CD" images that's not present in > the initramfs and will get installed later. > > I think the cleanest solution, that I originally intended to implement, > is to make it a dependency of nic-wireless-modules, but that was going > to require changing kernel-wedge. But I don't have time to do that > now, so I'm happy with your change. The size increase will be > negligible. Now applied. So, the wireless-regdb part of this bug is now fixed in git. Thanks Holger -- Holger Wansing PGP-Fingerprint: 496A C6E8 1442 4B34 8508 3529 59F1 87CA 156E B076
Bug#979104: installation-reports: Intel Wireless 8265 / 8275 has no firmware in nonfree iso
Hi, Holger Wansing wrote: > Yes, that works fine, using a netboot image, I am NOT asked to provide > firmware for regulatory.db file, because it's already included in the d-i > image. > > However, that's only true for netboot images! > > My wireless card (on an IBM Thinkpad T60) is also usable with DVD/CD netinst > images > (so related kernel modules seem to be included in those images; I have > explicitly > tested that with said images on that T60), so probably wireless-regdb-udeb > should just > be added to all Linux d-i images? I prepared a patch for this (includes removing it from the netboot/* files, since it's now added generally in pkg-lists/base). Will apply it, if noone objects. Holger -- Holger Wansing PGP-Fingerprint: 496A C6E8 1442 4B34 8508 3529 59F1 87CA 156E B076 diff --git a/build/pkg-lists/base b/build/pkg-lists/base index e5a6c6fba..bf6dc22b0 100644 --- a/build/pkg-lists/base +++ b/build/pkg-lists/base @@ -28,3 +28,7 @@ kldutils-udeb [kfreebsd] # Avoid entropy starvation issues (#923675): haveged-udeb [linux] + +# Needed, when nic-wireless kernel modules are included, +# which seems to be the case on nearly all linux arch images +wireless-regdb-udeb [linux] diff --git a/build/pkg-lists/netboot/alpha.cfg b/build/pkg-lists/netboot/alpha.cfg index 6395df6e2..db687ccc1 100644 --- a/build/pkg-lists/netboot/alpha.cfg +++ b/build/pkg-lists/netboot/alpha.cfg @@ -3,7 +3,6 @@ srm-modules-${kernel:Version} nic-shared-modules-${kernel:Version} nic-modules-${kernel:Version} nic-wireless-modules-${kernel:Version} -wireless-regdb-udeb console-setup-pc-ekmap console-setup-udeb diff --git a/build/pkg-lists/netboot/amd64.cfg b/build/pkg-lists/netboot/amd64.cfg index 31e4d7b1a..82d663537 100644 --- a/build/pkg-lists/netboot/amd64.cfg +++ b/build/pkg-lists/netboot/amd64.cfg @@ -5,7 +5,6 @@ bogl-bterm-udeb nic-modules-${kernel:Version} nic-usb-modules-${kernel:Version} nic-wireless-modules-${kernel:Version} -wireless-regdb-udeb virtio-modules-${kernel:Version} ? hyperv-modules-${kernel:Version} ? usb-modules-${kernel:Version} diff --git a/build/pkg-lists/netboot/arm64.cfg b/build/pkg-lists/netboot/arm64.cfg index 0af7b84e9..01fe2b0a5 100644 --- a/build/pkg-lists/netboot/arm64.cfg +++ b/build/pkg-lists/netboot/arm64.cfg @@ -10,7 +10,6 @@ netcfg nic-modules-${kernel:Version} nic-usb-modules-${kernel:Version} nic-wireless-modules-${kernel:Version} -wireless-regdb-udeb virtio-modules-${kernel:Version} ? usb-modules-${kernel:Version} diff --git a/build/pkg-lists/netboot/armhf.cfg b/build/pkg-lists/netboot/armhf.cfg index 46ffac580..cd9ed4435 100644 --- a/build/pkg-lists/netboot/armhf.cfg +++ b/build/pkg-lists/netboot/armhf.cfg @@ -10,7 +10,6 @@ netcfg nic-modules-${kernel:Version} nic-usb-modules-${kernel:Version} nic-wireless-modules-${kernel:Version} -wireless-regdb-udeb virtio-modules-${kernel:Version} ? fb-modules-${kernel:Version} ? diff --git a/build/pkg-lists/netboot/i386.cfg b/build/pkg-lists/netboot/i386.cfg index bf6ff7572..3d06ec1fc 100644 --- a/build/pkg-lists/netboot/i386.cfg +++ b/build/pkg-lists/netboot/i386.cfg @@ -5,7 +5,6 @@ bogl-bterm-udeb nic-modules-${kernel:Version} nic-usb-modules-${kernel:Version} nic-wireless-modules-${kernel:Version} -wireless-regdb-udeb virtio-modules-${kernel:Version} ? hyperv-modules-${kernel:Version} ? usb-modules-${kernel:Version} diff --git a/build/pkg-lists/netboot/mips.cfg b/build/pkg-lists/netboot/mips.cfg index e5186cbeb..ad861e094 100644 --- a/build/pkg-lists/netboot/mips.cfg +++ b/build/pkg-lists/netboot/mips.cfg @@ -10,5 +10,4 @@ netcfg nic-modules-${kernel:Version} nic-usb-modules-${kernel:Version} nic-wireless-modules-${kernel:Version} -wireless-regdb-udeb virtio-modules-${kernel:Version} ? diff --git a/build/pkg-lists/netboot/mips64el.cfg b/build/pkg-lists/netboot/mips64el.cfg index e5186cbeb..ad861e094 100644 --- a/build/pkg-lists/netboot/mips64el.cfg +++ b/build/pkg-lists/netboot/mips64el.cfg @@ -10,5 +10,4 @@ netcfg nic-modules-${kernel:Version} nic-usb-modules-${kernel:Version} nic-wireless-modules-${kernel:Version} -wireless-regdb-udeb virtio-modules-${kernel:Version} ? diff --git a/build/pkg-lists/netboot/mipsel.cfg b/build/pkg-lists/netboot/mipsel.cfg index e5186cbeb..ad861e094 100644 --- a/build/pkg-lists/netboot/mipsel.cfg +++ b/build/pkg-lists/netboot/mipsel.cfg @@ -10,5 +10,4 @@ netcfg nic-modules-${kernel:Version} nic-usb-modules-${kernel:Version} nic-wireless-modules-${kernel:Version} -wireless-regdb-udeb virtio-modules-${kernel:Version} ? diff --git a/debian/changelog b/debian/changelog index 43deab00b..ba86bb85f 100644 --- a/debian/changelog +++ b/debian/changelog @@ -6,6 +6,9 @@ debian-installer (20201203) UNRELEASED; urgency=medium [ Steve McIntyre ] * Bump Linux kernel ABI to 5.10.0-1 + [ Holger Wansing ] + * Add wireless-regdb-udeb to all Linux arch images (#979104). + -- Shawn Guo Sat, 12 Dec 2020 12:11:26 + debian-installer (20201202) unstable;
Bug#979104: installation-reports: Intel Wireless 8265 / 8275 has no firmware in nonfree iso
On Tue, 2021-01-12 at 19:50 +0100, Holger Wansing wrote: > Hi, > > Holger Wansing wrote: > > Yes, that works fine, using a netboot image, I am NOT asked to > > provide > > firmware for regulatory.db file, because it's already included in > > the d-i > > image. > > > > However, that's only true for netboot images! > > > > My wireless card (on an IBM Thinkpad T60) is also usable with > > DVD/CD netinst images > > (so related kernel modules seem to be included in those images; I > > have explicitly > > tested that with said images on that T60), so probably wireless- > > regdb-udeb should just > > be added to all Linux d-i images? > > I prepared a patch for this (includes removing it from the netboot/* files, > since it's now added generally in pkg-lists/base). > Will apply it, if noone objects. Oh, I see. What I did was to add it to every list that includes nic- wireless-modules, forgetting that for "CD" images that's not present in the initramfs and will get installed later. I think the cleanest solution, that I originally intended to implement, is to make it a dependency of nic-wireless-modules, but that was going to require changing kernel-wedge. But I don't have time to do that now, so I'm happy with your change. The size increase will be negligible. Ben. -- Ben Hutchings Design a system any fool can use, and only a fool will want to use it. signature.asc Description: This is a digitally signed message part
Bug#979104: installation-reports: Intel Wireless 8265 / 8275 has no firmware in nonfree iso
Hi, Ben Hutchings wrote: > On Sun, 2021-01-03 at 14:30 +0100, Holger Wansing wrote: > > Hi, > > > > liangyue wrote: > > > My wifi can not connect. The installer told me that I missing > > > firmware files are > > > regulatory.db, and I solved it by add package named wireless-regdb. > > > I think the package > > > wireless-regdb should be add to nonfree iso. > > > By the way, my amd gpu rx590 also need firmware, because I can't > > > enter desktop > > > environment until I install the package firmware-amd-graphics. I > > > think the two firmware > > > should included in nonfree iso for everyone like my haardware. > > > > Two different issues here: > > > > 1. regulatory.db from wireless-regdb package is not included in non-free > > firmware-including d-i images. > [...] > > regulatory.db is free, and is packaged in wireless-regdb-udeb which > should be included in most installer builds since 20201202. So I don't > know why it's not being found. Hmm, you stated that wireless-regdb-udeb should be included in most installer builds now. That goes down to commit https://salsa.debian.org/installer-team/debian-installer/-/commit/2b615f42bd7745ac9add0a36b1630812f95840fb which adds wireless-regdb-udeb to netboot images. Yes, that works fine, using a netboot image, I am NOT asked to provide firmware for regulatory.db file, because it's already included in the d-i image. However, that's only true for netboot images! My wireless card (on an IBM Thinkpad T60) is also usable with DVD/CD netinst images (so related kernel modules seem to be included in those images; I have explicitly tested that with said images on that T60), so probably wireless-regdb-udeb should just be added to all Linux d-i images? Holger -- Holger Wansing PGP-Fingerprint: 496A C6E8 1442 4B34 8508 3529 59F1 87CA 156E B076
Bug#979104: installation-reports: Intel Wireless 8265 / 8275 has no firmware in nonfree iso
On Sun, 2021-01-03 at 14:30 +0100, Holger Wansing wrote: > Hi, > > liangyue wrote: > > My wifi can not connect. The installer told me that I missing > > firmware files are > > regulatory.db, and I solved it by add package named wireless-regdb. > > I think the package > > wireless-regdb should be add to nonfree iso. > > By the way, my amd gpu rx590 also need firmware, because I can't > > enter desktop > > environment until I install the package firmware-amd-graphics. I > > think the two firmware > > should included in nonfree iso for everyone like my haardware. > > Two different issues here: > > 1. regulatory.db from wireless-regdb package is not included in non-free > firmware-including d-i images. [...] regulatory.db is free, and is packaged in wireless-regdb-udeb which should be included in most installer builds since 20201202. So I don't know why it's not being found. Ben. -- Ben Hutchings A free society is one where it is safe to be unpopular. - Adlai Stevenson signature.asc Description: This is a digitally signed message part
Bug#979104: installation-reports: Intel Wireless 8265 / 8275 has no firmware in nonfree iso
Hi, liangyue wrote: > My wifi can not connect. The installer told me that I missing firmware > files are > regulatory.db, and I solved it by add package named wireless-regdb. I think > the package > wireless-regdb should be add to nonfree iso. > By the way, my amd gpu rx590 also need firmware, because I can't enter > desktop > environment until I install the package firmware-amd-graphics. I think the > two firmware > should included in nonfree iso for everyone like my haardware. Two different issues here: 1. regulatory.db from wireless-regdb package is not included in non-free firmware-including d-i images. That's because that package is not caught by the mechanism in debian-cd, to find firmware packages (because its name does not contain "firmware" or "microcode"). So, what to do here? Rename package into something like wireless-regdb-firmware or similar? Or patch debian-cd, to find that package? An (untested) patch against debian-cd is attached. 2. Firmware for graphics cards is included in firmware d-i image, but is not installed by the installer. That seems to become a big issue these days, given the number of reports stating about such cases. Maybe we could get something done to minimize the impact for users here? I have already mentioned this some weeks ago (see https://lists.debian.org/debian-boot/2020/12/msg00026.html). My proposal at https://lists.debian.org/debian-boot/2020/12/msg00160.html is of course not very smart, requiring input from user which package to install, but that's the only I can come up with, lacking more skills. However, maybe it's better than nothing? (We could rephrase the template, to mention the package names for graphic-card firmwares exactly there...) Holger -- Holger Wansing PGP-Fingerprint: 496A C6E8 1442 4B34 8508 3529 59F1 87CA 156E B076 diff --git a/tools/generate_firmware_task b/tools/generate_firmware_task index 40c4ddd3..1d66c3b8 100755 --- a/tools/generate_firmware_task +++ b/tools/generate_firmware_task @@ -93,7 +93,7 @@ sub check_packages($$) { m/^Package: (\S+)/m and $pkg = $1; m/^Filename: (\S+)/m and $filename = $1; - if (! ($pkg =~ /(microcode|firmware)/)) { + if (! ($pkg =~ /(microcode|firmware|wireless-regdb-udeb)/)) { next; } diff --git a/tools/make-firmware-image b/tools/make-firmware-image index e5d7438b..d25b1e72 100755 --- a/tools/make-firmware-image +++ b/tools/make-firmware-image @@ -26,7 +26,7 @@ rm -rf $TMPDIR/firmware mkdir -p $TMPDIR/firmware FILES=`$BASEDIR/tools/catz ${MIRROR}/dists/${SUITE}/*/binary-*/Packages.*z* | \ -grep-dctrl -Pe '.*(firmware|microcode).*' -s Filename -n | sort -u` +grep-dctrl -Pe '.*(firmware|microcode|wireless-regdb-udeb).*' -s Filename -n | sort -u` for FILE in $FILES; do # Don't use "grep -q" here, it causes errors from tar