Error! Bad return status for module build on kernel  [Solved]

Help on all MX Re-spins
Message
Author
User avatar
dolphin_oracle
Developer
Posts: 22571
Joined: Sun Dec 16, 2007 12:17 pm

Re: Error! Bad return status for module build on kernel

#11 Post by dolphin_oracle »

from the log you posted, it would be the realtek rtl88*-dkms packages that fail to build, plus the broadcom-sta-dkms package. likely virtualbox would as well.

you aren't using the realtek rtl88* drivers, but you are using the broadocom-sta driver (wl).

if you want to use the ahs 6.1 kernel, you might as well enable the ahs repo and update everything. you'll get the firmware that matches the kernel, plus updated mesa packages and the dkms driver packages that will build on that kernel.

otherwise stick to the supported 5.10 kernel. looking at your hardware, I'm not seeing a particularly compelling reason to go to 6.1 if the 5.10 is already working.
http://www.youtube.com/runwiththedolphin
lenovo ThinkPad X1 Extreme Gen 4 - MX-23
FYI: mx "test" repo is not the same thing as debian testing repo.
Live system help document: https://mxlinux.org/wiki/help-antix-live-usb-system/

je55eah
Posts: 198
Joined: Fri Mar 17, 2023 5:45 am

Re: Error! Bad return status for module build on kernel

#12 Post by je55eah »

@dolphin_oracle,

Thanks, I'll just try to use it as is then. I only really care about getting updates to patch security issues and to make a system that actually works.

If I did want to upgrade, is the solution just what you said? I would update to the ahs version of stuff by installing those packages and then reinstall the kernel?

User avatar
dolphin_oracle
Developer
Posts: 22571
Joined: Sun Dec 16, 2007 12:17 pm

Re: Error! Bad return status for module build on kernel  [Solved]

#13 Post by dolphin_oracle »

to use ahs, you enable ahs repo, do updates as usual, and then install the kernel if you wish.

the 5.10 kernel gets security patches, FWIW. and it auto-updates over time.
http://www.youtube.com/runwiththedolphin
lenovo ThinkPad X1 Extreme Gen 4 - MX-23
FYI: mx "test" repo is not the same thing as debian testing repo.
Live system help document: https://mxlinux.org/wiki/help-antix-live-usb-system/

je55eah
Posts: 198
Joined: Fri Mar 17, 2023 5:45 am

Re: Error! Bad return status for module build on kernel

#14 Post by je55eah »

@dolphin_oracle ,

Thank you. Should I upgrade to 5.10 - 21 to get the security updates or is version 18 better?

User avatar
dolphin_oracle
Developer
Posts: 22571
Joined: Sun Dec 16, 2007 12:17 pm

Re: Error! Bad return status for module build on kernel

#15 Post by dolphin_oracle »

je55eah wrote: Wed Apr 05, 2023 2:12 pm @dolphin_oracle ,

Thank you. Should I upgrade to 5.10 - 21 to get the security updates or is version 18 better?
if the linux-image-amd64 metapackage is installed, the latest 5.10 kernel should get installed automatically with updates. yes, I would run the latest 5.10 kernel.
http://www.youtube.com/runwiththedolphin
lenovo ThinkPad X1 Extreme Gen 4 - MX-23
FYI: mx "test" repo is not the same thing as debian testing repo.
Live system help document: https://mxlinux.org/wiki/help-antix-live-usb-system/

User avatar
Stevo
Developer
Posts: 14774
Joined: Fri Dec 15, 2006 7:07 pm

Re: Error! Bad return status for module build on kernel

#16 Post by Stevo »

It looks like many kernel wi-fi drivers involves the kernel module "wl", which unfortunately has the same name as the broadcom-sta driver, but the OP's QSI shows that they have a in-kernel "bcma" driver:

Code: Select all

           Device-2: Broadcom BCM4331 802.11a/b/g/n vendor: Apple AirPort Extreme driver: wl 
           v: kernel modules: bcma port: efa0 bus-ID: 02:00.0 chip-ID: 14e4:4331 class-ID: 0280 
           IF: wlan0 state: up mac: <filter>
Or that they have two drivers fighting over the device, in which case MX Network Assistant can help diagnose and fix the problem.
MXPI = MX Package Installer
QSI = Quick System Info from menu
The MX Test repository is mostly backports; not the same as Debian testing

je55eah
Posts: 198
Joined: Fri Mar 17, 2023 5:45 am

Re: Error! Bad return status for module build on kernel

#17 Post by je55eah »

Thanks for looking at it @Stevo

je55eah
Posts: 198
Joined: Fri Mar 17, 2023 5:45 am

Re: Error! Bad return status for module build on kernel

#18 Post by je55eah »

To enable the ahs repo, do I disable the bullseye main non-free and enable bullseye ahs on this screen?
You do not have the required permissions to view the files attached to this post.

User avatar
dolphin_oracle
Developer
Posts: 22571
Joined: Sun Dec 16, 2007 12:17 pm

Re: Error! Bad return status for module build on kernel

#19 Post by dolphin_oracle »

just enable ahs. you want to keep the mx main repo enabled.
http://www.youtube.com/runwiththedolphin
lenovo ThinkPad X1 Extreme Gen 4 - MX-23
FYI: mx "test" repo is not the same thing as debian testing repo.
Live system help document: https://mxlinux.org/wiki/help-antix-live-usb-system/

je55eah
Posts: 198
Joined: Fri Mar 17, 2023 5:45 am

Re: Error! Bad return status for module build on kernel

#20 Post by je55eah »

This seems to have worked perfectly. Thank you.

Post Reply

Return to “MX Respins”