Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230

 

 

 

Kernel version mismatch

Ask for help with issues regarding the Installations of the Debian O/S.
Post Reply
Message
Author
klarre
Posts: 1
Joined: 2018-09-13 20:43

Kernel version mismatch

#1 Post by klarre »

Hi,

Today I tried to install Debian on my laptop. Because the laptop doesn't have a RJ45 port I used the unofficial installer with embedded wireless drivers. Unfortunately the one I needed wasn't included.

I downloaded the wireless driver as a deb package from https://wiki.debian.org/wl and put it on a USB stick so I could search for it during the installation. And now to the problem.

The Debian installer can't use the driver because the kernel version differ, according to an error message that shows when the installer looks for drivers on external medias. I guess this mean that the driver has been compiled with a different kernel than the one used for the debian distribution.

Q: How do I know what kernel version a distribution uses, so I can build the driver with correct version?

Thanks!

User avatar
bw123
Posts: 4015
Joined: 2011-05-09 06:02
Has thanked: 1 time
Been thanked: 28 times

Re: Kernel version mismatch

#2 Post by bw123 »

klarre wrote: ... downloaded the wireless driver as a deb package from https://wiki.debian.org/wl and put it on a USB stick so I could search for it during the installation...
I never heard of that method? the wiki link doesn't mention that you can use the pkg that way during installation? You want to compile the wl driver during installation?
resigned by AI ChatGPT

User avatar
stevepusser
Posts: 12930
Joined: 2009-10-06 05:53
Has thanked: 41 times
Been thanked: 71 times

Re: Kernel version mismatch

#3 Post by stevepusser »

Broadcom-sta-dkms debs actually have some binaries from Broadcom along with some source code that needs to be compiled against your specific kernel. You can see what kernel your version of Debian is running by running

Code: Select all

uname -a
It is possible to build the actual driver against the stock Stretch 4.9 kernel on a separate connected machine using broadcom-sta-source and module-assistant, and the resulting deb package is called "broadcom-sta-modules". It can then be installed along with a downloaded broadcom-sta-common deb. https://packages.debian.org/stretch/broadcom-sta-common

I built a 64-bit version for another isolated user a little while ago, and I think there's a good chance it'll work if you're running the amd64 64-bit kernel: https://drive.google.com/open?id=1cIpOz ... pf52mgs1ZR

If you need an updated version, or a 32-bit one, let me know here.
MX Linux packager and developer

User avatar
debiman
Posts: 3063
Joined: 2013-03-12 07:18

Re: Kernel version mismatch

#4 Post by debiman »

make an offline install and fix the problem later.

or maybe you need to tell us exactly what wifi hardware there is; boot any live linux and post output of:

Code: Select all

lspci -knn | grep -EiA2 net
dmesg|grep -Ei 'wlan|firmw|dhc'
sudo cat /var/log/syslog | grep -Ei 'net|wpa|dhc'

Wheelerof4te
Posts: 1454
Joined: 2015-08-30 20:14

Re: Kernel version mismatch

#5 Post by Wheelerof4te »

Broadcom-sta-dkms package requires linu headers which match your kernel, plus packages needed for compiling software. It can be easily installed if you have ethernet connection. Absent that, you will have a lot of problems.

Post Reply