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

 

 

 

(Solved)New Kernel = Broken Broadcom Driver

Need help with peripherals or devices?
Post Reply
Message
Author
User avatar
VentGrey
Posts: 171
Joined: 2016-04-26 23:57
Location: Guanajuato México

(Solved)New Kernel = Broken Broadcom Driver

#1 Post by VentGrey »

So again Mr Broadcom decided to give me some trouble with it's drivers, i upgraded to kernel 4.7 and it broke the broadcom-sta-dkms and wifi doesn't work now, any way to fix it?
Output of uname -a

Code: Select all

Linux debian 4.7.0-0.bpo.1-amd64 #1 SMP Debian 4.7.5-1~bpo8+1 (2016-09-30) x86_64 GNU/Linux 
there is really nothing much more, maybe there is no support for the driver yet, i really don't know
Last edited by VentGrey on 2016-10-05 02:51, edited 1 time in total.
I would exchange everything I know in exchange for half of what I don't.

User avatar
smoki
Posts: 146
Joined: 2011-08-03 05:04
Location: Srbija, kude snajka posvađa dva sina

Re: New Kernel = Broken Broadcom Driver

#2 Post by smoki »

Rule of thumb says that users with out of tree modules should check or wait for those updated before installing new kernels, but kernel must come first :lol:

There is a fixed broadcom-sta-dkms with support for 4.7 kernel in stretch, but you probably wanna wait or request that to be backported too:

https://packages.debian.org/stretch/broadcom-sta-dkms

User avatar
VentGrey
Posts: 171
Joined: 2016-04-26 23:57
Location: Guanajuato México

Re: New Kernel = Broken Broadcom Driver

#3 Post by VentGrey »

Is there a say i can install the stretch version here in stable? if so how to?
I would exchange everything I know in exchange for half of what I don't.

User avatar
VentGrey
Posts: 171
Joined: 2016-04-26 23:57
Location: Guanajuato México

Re: New Kernel = Broken Broadcom Driver

#4 Post by VentGrey »

Ok, i managed to advance a little by apt pinning, now the problem is using the package, i really do not understand this whole dkms stuff, here is the install output

Code: Select all

Omar @ debian: ~ $ sudo apt-get install -t tests Broadcom STA-dkms
Reading package lists ... Done
Building dependency tree
Reading state information ... Done
The following NEW packages will be installed:
Broadcom STA-dkms
0 upgraded, 1 new, 0 newly installed to remove and 923 not upgraded.
You need to get 0 B / 2207 kB Files.
14.5 MB will be used for additional disk space after this operation.
Selecting previously Broadcom-sta-dkms package previously not Selected.
(Reading database ... 153573 files and directories currently installed.)
Preparing for unpacking ... / Broadcom-sta-dkms_6.30.223.271-3_all.deb ...
Unpacking Broadcom STA-dkms (6.30.223.271-3) ...
Configuring Broadcom STA-dkms (6.30.223.271-3) ...
Loading new Broadcom-sta-6.30.223.271 DKMS files ...
Building only to 4.7.0-0.bpo.1-amd64
Module build for the currently running kernel was skipped since the kernel source 
for this kernel does not seem to be installed
again my system is

Code: Select all

Linux Debian 4.7.0-0.bpo.1-amd64 #1 SMP Debian 4.7.5-1~bpo8+1 (2016-09-30) x86_64 GNU/Linux
I would exchange everything I know in exchange for half of what I don't.

User avatar
Head_on_a_Stick
Posts: 14114
Joined: 2014-06-01 17:46
Location: London, England
Has thanked: 81 times
Been thanked: 132 times

Re: New Kernel = Broken Broadcom Driver

#5 Post by Head_on_a_Stick »

Boot with the vanilla kernel instead and build the modules from that.
deadbang

User avatar
VentGrey
Posts: 171
Joined: 2016-04-26 23:57
Location: Guanajuato México

Re: New Kernel = Broken Broadcom Driver

#6 Post by VentGrey »

The same result for the newer kernel, i can love with an old kernel, i just hope it doesn't take too long to be backported or so

Code: Select all

wl:
Running module version sanity check.
 - Original module
   - No original module exists within this kernel
 - Installation
   - Installing to /lib/modules/3.16.0-4-amd64/updates/dkms/

depmod.....

Backing up initrd.img-3.16.0-4-amd64 to /boot/initrd.img-3.16.0-4-amd64.old-dkms
Making new initrd.img-3.16.0-4-amd64
(If next boot fails, revert to initrd.img-3.16.0-4-amd64.old-dkms image)
update-initramfs.......

DKMS: install completed.
Module build for kernel 4.7.0-0.bpo.1-amd64 was skipped since the
kernel headers for this kernel does not seem to be installed.
omar@Debian:~$ 
I would exchange everything I know in exchange for half of what I don't.

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

Re: New Kernel = Broken Broadcom Driver

#7 Post by stevepusser »

You need to install the 4.7 kernel headers.
MX Linux packager and developer

User avatar
VentGrey
Posts: 171
Joined: 2016-04-26 23:57
Location: Guanajuato México

Re: New Kernel = Broken Broadcom Driver

#8 Post by VentGrey »

oh, seems nice, so i should install the new kernel from the testing repo and the kernel headers too?
I would exchange everything I know in exchange for half of what I don't.

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

Re: New Kernel = Broken Broadcom Driver

#9 Post by stevepusser »

VentGrey wrote:oh, seems nice, so i should install the new kernel from the testing repo and the kernel headers too?
Your 4.7 kernel is from the jessie-backports repository--I can see from the "bpo" in the version. Are you without a Net connection when you're running the 4.7 kernel? It's all in the wiki...

What the heck--I'm running the same exact kernel--I can make a finished deb package of the compiled driver for that kernel, and all you have to do is install it. How did I do that? We have a backported version of that driver source already that'll build on the 4.7 kernel, so (as root or with sudo)

Code: Select all

apt install module-assistant broadcom-sta-source
m-a prepare
m-a build broadcom-sta-source


The deb is handy to get your machine back on the Net after a reinstall if all you have is wireless access, though it also requires broadcom-sta-common, which can be manually downloaded from packages.debian.net if there's no Net access.

The finished deb package will be found in your /usr/src folder, and here it is: https://drive.google.com/open?id=0BxE7w ... EktbExCVEk

and here one for the stock Jessie 3.16 amd64 kernel: https://drive.google.com/open?id=0BxE7w ... UlrYjVNMU0
MX Linux packager and developer

User avatar
VentGrey
Posts: 171
Joined: 2016-04-26 23:57
Location: Guanajuato México

Re: New Kernel = Broken Broadcom Driver

#10 Post by VentGrey »

Should i install those as backports or as normal user?
(im really bad at this, sorry) :oops:
I would exchange everything I know in exchange for half of what I don't.

User avatar
VentGrey
Posts: 171
Joined: 2016-04-26 23:57
Location: Guanajuato México

Re: New Kernel = Broken Broadcom Driver

#11 Post by VentGrey »

It worked, it finally worked thanks to your Deb package, i think i can mark this thread as solved, thanks for all your support guys! :D :lol:
I would exchange everything I know in exchange for half of what I don't.

Post Reply