Forum › Forums › Official Releases › antiX-21/22 “Grup Yorum” › Reinstall new kernel
Tagged: kernel
- This topic has 24 replies, 6 voices, and was last updated Apr 30-12:51 am by symbol.
-
AuthorPosts
-
April 2, 2023 at 1:44 pm #103908Moderator
Brian Masinick
::wonder how to fix this
Did you try the suggestion from my last posting?
sudo apt-get purge exfat-dkms sudo apt-get update sudo apt-get install linux-headers-5.10.173-antix.1-amd64-smp linux-image-5.10.173-antix.1-amd64-smpI recommend at least trying what Robin has suggested; it makes good sense. Try it before going off on various tangents, only to end up eventually doing what has been suggested or giving up.
Please run the commands Robin suggests and report back with your results. Thank you!
--
Brian MasinickApril 2, 2023 at 7:03 pm #103933Membersymbol
::Yes, I just tried, many other modules won’t build this time:
Building module: cleaning build area... make -j8 KERNELRELEASE=5.10.173-antix.1-amd64-smp KVER=5.10.173-antix.1-amd64-smp.... cleaning build area... DKMS: build completed. wl.ko: Running module version sanity check. - Original module - No original module exists within this kernel - Installation - Installing to /lib/modules/5.10.173-antix.1-amd64-smp/updates/dkms/ depmod... Warning: Unable to find an initial ram disk that I know how to handle. Will not try to make an initrd. DKMS: install completed. Kernel preparation unnecessary for this kernel. Skipping... applying patch cc_version_check-gcc5.patch...patching file conftest.sh applying patch bashisms.patch...patching file conftest.sh applying patch linux-2.6.34-dev_pm_info-runtime_auto.patch...patching file conftest.sh applying patch 0009-backport-pci-dma-changes-from-470.129.06.patch...patching file nvidia/nv.c applying patch ppc64el.patch...patching file nvidia/nvlink_common.h applying patch fragile-ARCH.patch...patching file Makefile applying patch use-kbuild-compiler.patch...patching file Makefile patching file Kbuild applying patch use-kbuild-flags.patch...patching file Kbuild patching file nvidia/nvidia.Kbuild patching file Makefile patching file nvidia-modeset/nvidia-modeset.Kbuild applying patch conftest-verbose.patch...patching file Kbuild applying patch nvidia-use-ARCH.o_binary.patch...patching file nvidia/nvidia.Kbuild applying patch nvidia-modeset-use-ARCH.o_binary.patch...patching file nvidia-modeset/nvidia-modeset.Kbuild applying patch conftest-prefer-arch-headers.patch...patching file conftest.sh Building module: cleaning build area... env NV_VERBOSE=1 make -j8 modules KERNEL_UNAME=5.10.173-antix.1-amd64-smp.................. cleaning build area... DKMS: build completed. nvidia-current.ko: Running module version sanity check. - Original module - No original module exists within this kernel - Installation - Installing to /lib/modules/5.10.173-antix.1-amd64-smp/updates/dkms/ nvidia-current-modeset.ko: Running module version sanity check. - Original module - No original module exists within this kernel - Installation - Installing to /lib/modules/5.10.173-antix.1-amd64-smp/updates/dkms/ nvidia-current-drm.ko: Running module version sanity check. - Original module - No original module exists within this kernel - Installation - Installing to /lib/modules/5.10.173-antix.1-amd64-smp/updates/dkms/ nvidia-current-uvm.ko: Running module version sanity check. - Original module - No original module exists within this kernel - Installation - Installing to /lib/modules/5.10.173-antix.1-amd64-smp/updates/dkms/ nvidia-current-peermem.ko: Running module version sanity check. - Original module - No original module exists within this kernel - Installation - Installing to /lib/modules/5.10.173-antix.1-amd64-smp/updates/dkms/ depmod... DKMS: install completed. .sudo apt-get install linux-headers-5.10.173-antix.1-amd64-smp linux-image-5.10.173-antix.1-amd64-smp
- This reply was modified 1 month ago by symbol.
April 2, 2023 at 11:29 pm #103951Moderator
Brian Masinick
::In that case, try
sudo apt-get purge exfat-dkms sudo apt-get update sudo apt-get install linux-headers-6.1.18-antix.1-amd64-smp linux-image-6.1.18-antix.1-amd64-smpIf that doesn’t work, but the 4.9 or another kernel does work, use it instead.
I’ve had difficulties with the 5.10 kernel on one of my systems in the past too; I just use a different series or different version and all is well.Hope that helps!
--
Brian MasinickApril 3, 2023 at 12:44 am #103955Membersymbol
::Still met similar errors, with attached make.log
In that case, try
sudo apt-get purge exfat-dkms sudo apt-get update sudo apt-get install linux-headers-6.1.18-antix.1-amd64-smp linux-image-6.1.18-antix.1-amd64-smpIf that doesn’t work, but the 4.9 or another kernel does work, use it instead.
I’ve had difficulties with the 5.10 kernel on one of my systems in the past too; I just use a different series or different version and all is well.Hope that helps!
$ sudo apt-get install linux-headers-6.1.18-antix.1-amd64-smp linux-image-6.1.18-antix.1-amd64-smp Reading package lists... Done Building dependency tree... Done Reading state information... Done The following NEW packages will be installed: linux-headers-6.1.18-antix.1-amd64-smp linux-image-6.1.18-antix.1-amd64-smp 0 upgraded, 2 newly installed, 0 to remove and 2 not upgraded. Need to get 0 B/62.9 MB of archives. After this operation, 345 MB of additional disk space will be used. debconf: unable to initialize frontend: Dialog debconf: (Dialog frontend requires a screen at least 13 lines tall and 31 columns wide.) debconf: falling back to frontend: Readline Selecting previously unselected package linux-headers-6.1.18-antix.1-amd64-smp. (Reading database ... 137865 files and directories currently installed.) Preparing to unpack .../linux-headers-6.1.18-antix.1-amd64-smp_6.1.18-antix.1-amd64-smp-1_amd64.deb ... Unpacking linux-headers-6.1.18-antix.1-amd64-smp (6.1.18-antix.1-amd64-smp-1) ... Selecting previously unselected package linux-image-6.1.18-antix.1-amd64-smp. Preparing to unpack .../linux-image-6.1.18-antix.1-amd64-smp_6.1.18-antix.1-amd64-smp-1_amd64.deb ... Unpacking linux-image-6.1.18-antix.1-amd64-smp (6.1.18-antix.1-amd64-smp-1) ... Setting up linux-headers-6.1.18-antix.1-amd64-smp (6.1.18-antix.1-amd64-smp-1) ... Setting up linux-image-6.1.18-antix.1-amd64-smp (6.1.18-antix.1-amd64-smp-1) ... dkms: running auto installation service for kernel 6.1.18-antix.1-amd64-smp: Kernel preparation unnecessary for this kernel. Skipping... Building module: cleaning build area... make -j8 KERNELRELEASE=6.1.18-antix.1-amd64-smp KVER=6.1.18-antix.1-amd64-smp...(bad exit status: 2) Error! Bad return status for module build on kernel: 6.1.18-antix.1-amd64-smp (x86_64) Consult /var/lib/dkms/broadcom-sta/6.30.223.271/build/make.log for more information. Kernel preparation unnecessary for this kernel. Skipping... applying patch cc_version_check-gcc5.patch...patching file conftest.sh applying patch bashisms.patch...patching file conftest.sh applying patch linux-2.6.34-dev_pm_info-runtime_auto.patch...patching file conftest.sh applying patch 0009-backport-pci-dma-changes-from-470.129.06.patch...patching file nvidia/nv.c applying patch ppc64el.patch...patching file nvidia/nvlink_common.h applying patch fragile-ARCH.patch...patching file Makefile applying patch use-kbuild-compiler.patch...patching file Makefile patching file Kbuild applying patch use-kbuild-flags.patch...patching file Kbuild patching file nvidia/nvidia.Kbuild patching file Makefile patching file nvidia-modeset/nvidia-modeset.Kbuild applying patch conftest-verbose.patch...patching file Kbuild applying patch nvidia-use-ARCH.o_binary.patch...patching file nvidia/nvidia.Kbuild applying patch nvidia-modeset-use-ARCH.o_binary.patch...patching file nvidia-modeset/nvidia-modeset.Kbuild applying patch conftest-prefer-arch-headers.patch...patching file conftest.sh Building module: cleaning build area... env NV_VERBOSE=1 make -j8 modules KERNEL_UNAME=6.1.18-antix.1-amd64-smp................ cleaning build area... DKMS: build completed. nvidia-current.ko: Running module version sanity check. - Original module - No original module exists within this kernel - Installation - Installing to /lib/modules/6.1.18-antix.1-amd64-smp/updates/dkms/ nvidia-current-modeset.ko: Running module version sanity check. - Original module - No original module exists within this kernel - Installation - Installing to /lib/modules/6.1.18-antix.1-amd64-smp/updates/dkms/ nvidia-current-drm.ko: Running module version sanity check. - Original module - No original module exists within this kernel - Installation - Installing to /lib/modules/6.1.18-antix.1-amd64-smp/updates/dkms/ nvidia-current-uvm.ko: Running module version sanity check. - Original module - No original module exists within this kernel - Installation - Installing to /lib/modules/6.1.18-antix.1-amd64-smp/updates/dkms/ nvidia-current-peermem.ko: Running module version sanity check. - Original module - No original module exists within this kernel - Installation - Installing to /lib/modules/6.1.18-antix.1-amd64-smp/updates/dkms/ depmod... DKMS: install completed. . update-initramfs: Generating /boot/initrd.img-6.1.18-antix.1-amd64-smp I: The initramfs will attempt to resume from /dev/sda4 I: (UUID=3d9d4086-f7e7-4547-b9f5-d2383bdc9fc5) I: Set the RESUME variable to override this. Generating grub configuration file ... Found background: /usr/share/wallpaper/grub/back.png Found background image: /usr/share/wallpaper/grub/back.png Found linux image: /boot/vmlinuz-6.1.18-antix.1-amd64-smp Found initrd image: /boot/initrd.img-6.1.18-antix.1-amd64-smp Found linux image: /boot/vmlinuz-4.9.0-326-antix.1-amd64-smp Found initrd image: /boot/initrd.img-4.9.0-326-antix.1-amd64-smp Found mtest-64.efi image: /boot/uefi-mt/mtest-64.efi Warning: os-prober will be executed to detect other bootable partitions. Its output will be used to detect bootable binaries on them and create new boot entries. doneAttachments:
April 3, 2023 at 1:13 am #103957MemberRobin
::Error! Bad return status for module build on kernel: 6.1.18 … /dkms/broadcom-sta …
This means the broadcom-sta modules are not available for the 6.1.18 kernel.
If you don’t need these specific broadcom sta hardware drivers, just remove the package the same way you have removed the failing exfat module already:sudo apt-get purge broadcom-sta-dkms sudo apt-get update sudo apt-get install linux-headers-6.1.18-antix.1-amd64-smp linux-image-6.1.18-antix.1-amd64-smpQuoted from
apt-cache show broadcom-sta-dkmsBroadcom STA is a binary-only device driver to support the following IEEE
802.11a/b/g/n wireless network cards: BCM4311-, BCM4312-, BCM4313-,
BCM4321-, BCM4322-, BCM43142-, BCM43224-, BCM43225-, BCM43227-, BCM43228-,
BCM4331-, BCM4360-, and BCM4352-based hardware.If you haven’t one of these wireless network chips installed in your PC then you can safely remove the package and install the kernel. If you happen to have one of these you can still install the kernel after removing the package, but the wireless won’t work then. In this case it’s a good idea to check whether another kernel matches all your needs. That’s always the hassle with the binary blobs provided by hardware manufacturers instead of proper source codes, so these modules fail constantly. Nvidia binary blobs are even worse, they stopped providing them for older cards so you can’t use them anymore in full functionality meanwhile. That’s their way of creating forced obsolescence to sell more new devices.
Windows is like a submarine. Open a window and serious problems will start.
April 3, 2023 at 2:25 am #103961Moderator
Brian Masinick
::Thank you once again Robin.
I used to have the same BCM series, mine was the 4311. Most of the time I was fortunate to get it working but it wasn’t always easy. I’m thankful that Intel and several other options have made things considerably easier in recent years.
I’m not sure how much better Broadcom has done but I believe that someone bought them. I wish their wireless interfaces were all made 100% public. Intel certainly makes money when their network products are as accessible as their other chipsets in various products though Intel has to continue to make wise choices and investments.
Chip manufacturing requires huge initial research and development investment and yields many fold when done properly.
--
Brian MasinickApril 4, 2023 at 2:25 pm #104046Moderator
Brian Masinick
::One possible solution that is not practical for everyone is to pick up an external USB wireless interface, some of which have a small antenna.
I happen to have a tp-link (also known as “Archer” in the past), model AC600.
This model supports multiple Wi-Fi bands, including the 2.5 Ghz and 5 Ghz bands, and it has an adjustable antenna.
I’ve not needed it often, but it can come in very handy.
These days, at least in the USA, it’s possible to obtain this antenna for under $20 US; I’ve seen it recently for around $12.
That could be a viable option for systems containing only the poorly supported Broadcom proprietary interface.
--
Brian MasinickApril 4, 2023 at 6:47 pm #104055MemberXunzi_23
::Regarding WIFI External adapters
TP-Link TL-WN821N TP-Link TL-WN823N work well
I have both. The smaller stick needs a bit of distance from the
laptop to work best. Use USB Cable.TP-Link TL-WN822N 300Mbps High Gain Wireless N USB Adapter
is either Atheros WN822N or r8188eu (Realtek RTL8188EU )
New realtek and is claimed good with linux.All are cheap and cheerful…
- This reply was modified 1 month ago by Xunzi_23.
April 4, 2023 at 7:09 pm #104058Moderator
Brian Masinick
::Thanks @xunzi_23 – yes, there are several good ones. Some of us are fortunate and we do not have to change what we have.
In fact, I rarely need mine any more. But when I was using the Broadcom 4311, at times it could be something that would work on one system and not another because it was actually a proprietary interface, at least in the original form.I’m using my OLD Lenovo X201 right now.
inxi -b System: Host: antix23 Kernel: 6.1.18-antix.1-amd64-smp arch: x86_64 bits: 64 Desktop: IceWM v: 3.3.2 Distro: antiX-23-beta1-runit_x64-full Grup Yorum 21 March 2023 Machine: Type: Laptop System: LENOVO product: 3249CTO v: ThinkPad X201 serial: <superuser required> Mobo: LENOVO model: 3249CTO serial: <superuser required> BIOS: LENOVO v: 6QET66WW (1.36 ) date: 05/31/2011 Battery: ID-1: BAT0 charge: 79.3 Wh (100.0%) condition: 79.3/84.2 Wh (94.2%) CPU: Info: dual core Intel Core i7 M 620 [MT MCP] speed (MHz): avg: 1303 min/max: 1199/2667 Graphics: Device-1: Intel Core Processor Integrated Graphics driver: i915 v: kernel Device-2: Lenovo Integrated Webcam type: USB driver: uvcvideo Display: server: X.Org v: 1.21.1.7 driver: X: loaded: intel dri: crocus gpu: i915 resolution: 1280x800~60Hz API: OpenGL v: 2.1 Mesa 22.3.6 renderer: Mesa Intel HD Graphics (ILK) Network: Device-1: Intel 82577LM Gigabit Network driver: e1000e Device-2: Intel Centrino Ultimate-N 6300 driver: iwlwifi Drives: Local Storage: total: 119.24 GiB used: 6.99 GiB (5.9%) Info: Processes: 157 Uptime: 1h 23m Memory: 7.56 GiB used: 1.66 GiB (21.9%) Shell: Bash inxi: 3.3.26--
Brian MasinickApril 30, 2023 at 12:51 am #105672Membersymbol
::$ apt-cache show broadcom-sta-dkms Package: broadcom-sta-dkms Source: broadcom-sta Version: 6.30.223.271-23~bpo11+1 Installed-Size: 14141 Maintainer: Eduard Bloch <blade@debian.org> Architecture: all Provides: broadcom-sta-modules Depends: dkms (>= 2.1.0.0) Recommends: wireless-tools Conflicts: broadcom-sta-modules Description-en: dkms source for the Broadcom STA Wireless driver Broadcom STA is a binary-only device driver to support the following IEEE 802.11a/b/g/n wireless network cards: BCM4311-, BCM4312-, BCM4313-, BCM4321-, BCM4322-, BCM43142-, BCM43224-, BCM43225-, BCM43227-, BCM43228-, BCM4331-, BCM4360-, and BCM4352-based hardware. . This package provides the source code for the wl kernel modules and makes use of the DKMS build utility to install them for the running kernel. The alternative package broadcom-sta-source can be used instead in case of build problems. . The wireless-tools package is also required in order to make use of these modules. Kernel source or headers are required to compile these modules. Description-md5: 4c9c20d84937e0293fe598f44d785bce Homepage: http://www.broadcom.com/support/802.11/linux_sta.php Section: non-free/kernel Priority: optional Filename: pool/non-free/b/broadcom-sta/broadcom-sta-dkms_6.30.223.271-23~bpo11+1_all.deb Size: 2205788 SHA256: bc8428b429118d5c248dc19ecde1523544cb616cf66310f40e7a39c5d48a9da1 Package: broadcom-sta-dkms Source: broadcom-sta Version: 6.30.223.271-17 Installed-Size: 14141 Maintainer: Eduard Bloch <blade@debian.org> Architecture: all Provides: broadcom-sta-modules Depends: dkms (>= 2.1.0.0) Recommends: wireless-tools Conflicts: broadcom-sta-modules Description-en: dkms source for the Broadcom STA Wireless driver Broadcom STA is a binary-only device driver to support the following IEEE 802.11a/b/g/n wireless network cards: BCM4311-, BCM4312-, BCM4313-, BCM4321-, BCM4322-, BCM43142-, BCM43224-, BCM43225-, BCM43227-, BCM43228-, BCM4331-, BCM4360-, and BCM4352-based hardware. . This package provides the source code for the wl kernel modules and makes use of the DKMS build utility to install them for the running kernel. The alternative package broadcom-sta-source can be used instead in case of build problems. . The wireless-tools package is also required in order to make use of these modules. Kernel source or headers are required to compile these modules. Description-md5: 4c9c20d84937e0293fe598f44d785bce Homepage: http://www.broadcom.com/support/802.11/linux_sta.php Section: non-free/kernel Priority: optional Filename: pool/non-free/b/broadcom-sta/broadcom-sta-dkms_6.30.223.271-17_all.deb Size: 2207916 MD5sum: 85d556e09e5e0d650d45f6f19e33370d SHA256: f637f532a0f259d325b64dde1485284c879038eb3df18adf732a8d04bd65809c Package: broadcom-sta-dkms Source: broadcom-sta Version: 6.30.223.271-7mx17+2 Architecture: all Bugs: mailto: <stevep@mxlinux.org> Maintainer: Steven Pusser <stevep@mxlinux.org> Installed-Size: 14142 Depends: dkms (>= 2.1.0.0) Recommends: wireless-tools Conflicts: broadcom-sta-modules Provides: broadcom-sta-modules Homepage: http://www.broadcom.com/support/802.11/linux_sta.php Priority: standard Section: main Filename: pool/main/b/broadcom-sta/broadcom-sta-dkms_6.30.223.271-7mx17+2_all.deb Size: 2209388 SHA256: 3ce0d8ebc7c768c42ef78438f7cdf28bf31f9b6f7dba7619935fdf16a8f32fab SHA1: 8f4a5c84510c39067dcefcc977e0c71ba4471d07 MD5sum: 03917d6dee3392606e3cf59f208e6f9d Description-en: dkms source for the Broadcom STA Wireless driver Broadcom STA is a binary-only device driver to support the following IEEE 802.11a/b/g/n wireless network cards: BCM4311-, BCM4312-, BCM4313-, BCM4321-, BCM4322-, BCM43142-, BCM43224-, BCM43225-, BCM43227-, BCM43228-, BCM4331-, BCM4360-, and BCM4352-based hardware. . This package provides the source code for the wl kernel modules and makes use of the DKMS build utility to install them for the running kernel. The alternative package broadcom-sta-source can be used instead in case of build problems. . The wireless-tools package is also required in order to make use of these modules. Kernel source or headers are required to compile these modules. Description-md5: 4c9c20d84937e0293fe598f44d785bce Original-Maintainer: Eduard Bloch <blade@debian.org>apt-cache show broadcom-sta-dkms
- This reply was modified 1 week, 2 days ago by symbol.
-
AuthorPosts
- You must be logged in to reply to this topic.