(Solved)New Kernel = Broken Broadcom Driver

Getting your soundcard to work, using Debian on non-i386 hardware, etc

(Solved)New Kernel = Broken Broadcom Driver

Postby VentGrey » 2016-10-03 04:31

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 felt myself on the edge of the world; peering over the rim into a fathomless chaos of eternal night.”
― H.P. Lovecraft after trying Debian SidImage
User avatar
VentGrey
 
Posts: 166
Joined: 2016-04-26 23:57
Location: Guanajuato México

Re: New Kernel = Broken Broadcom Driver

Postby smoki » 2016-10-03 05:33

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
smoki
 
Posts: 146
Joined: 2011-08-03 05:04
Location: Srbija, kude snajka posvađa dva sina

Re: New Kernel = Broken Broadcom Driver

Postby VentGrey » 2016-10-04 01:33

Is there a say i can install the stretch version here in stable? if so how to?
“I felt myself on the edge of the world; peering over the rim into a fathomless chaos of eternal night.”
― H.P. Lovecraft after trying Debian SidImage
User avatar
VentGrey
 
Posts: 166
Joined: 2016-04-26 23:57
Location: Guanajuato México

Re: New Kernel = Broken Broadcom Driver

Postby VentGrey » 2016-10-04 04:53

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 felt myself on the edge of the world; peering over the rim into a fathomless chaos of eternal night.”
― H.P. Lovecraft after trying Debian SidImage
User avatar
VentGrey
 
Posts: 166
Joined: 2016-04-26 23:57
Location: Guanajuato México

Re: New Kernel = Broken Broadcom Driver

Postby Head_on_a_Stick » 2016-10-04 06:37

Boot with the vanilla kernel instead and build the modules from that.
User avatar
Head_on_a_Stick
 
Posts: 11992
Joined: 2014-06-01 17:46
Location: /dev/chair

Re: New Kernel = Broken Broadcom Driver

Postby VentGrey » 2016-10-04 12:36

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 felt myself on the edge of the world; peering over the rim into a fathomless chaos of eternal night.”
― H.P. Lovecraft after trying Debian SidImage
User avatar
VentGrey
 
Posts: 166
Joined: 2016-04-26 23:57
Location: Guanajuato México

Re: New Kernel = Broken Broadcom Driver

Postby stevepusser » 2016-10-04 14:28

You need to install the 4.7 kernel headers.
The MX Linux repositories: Backports galore! If we don't have something, just ask and we'll try--we like challenges. New packages: Kodi 18.6, Strawberry 0.6.11, Muse 3.1.0, Chromium with va-api, Audacity 2.4.1, Kdenlive 20.04
User avatar
stevepusser
 
Posts: 11692
Joined: 2009-10-06 05:53

Re: New Kernel = Broken Broadcom Driver

Postby VentGrey » 2016-10-04 15:03

oh, seems nice, so i should install the new kernel from the testing repo and the kernel headers too?
“I felt myself on the edge of the world; peering over the rim into a fathomless chaos of eternal night.”
― H.P. Lovecraft after trying Debian SidImage
User avatar
VentGrey
 
Posts: 166
Joined: 2016-04-26 23:57
Location: Guanajuato México

Re: New Kernel = Broken Broadcom Driver

Postby stevepusser » 2016-10-04 16:57

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
The MX Linux repositories: Backports galore! If we don't have something, just ask and we'll try--we like challenges. New packages: Kodi 18.6, Strawberry 0.6.11, Muse 3.1.0, Chromium with va-api, Audacity 2.4.1, Kdenlive 20.04
User avatar
stevepusser
 
Posts: 11692
Joined: 2009-10-06 05:53

Re: New Kernel = Broken Broadcom Driver

Postby VentGrey » 2016-10-05 01:38

Should i install those as backports or as normal user?
(im really bad at this, sorry) :oops:
“I felt myself on the edge of the world; peering over the rim into a fathomless chaos of eternal night.”
― H.P. Lovecraft after trying Debian SidImage
User avatar
VentGrey
 
Posts: 166
Joined: 2016-04-26 23:57
Location: Guanajuato México

Re: New Kernel = Broken Broadcom Driver

Postby VentGrey » 2016-10-05 02:49

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 felt myself on the edge of the world; peering over the rim into a fathomless chaos of eternal night.”
― H.P. Lovecraft after trying Debian SidImage
User avatar
VentGrey
 
Posts: 166
Joined: 2016-04-26 23:57
Location: Guanajuato México


Return to Hardware

Who is online

Users browsing this forum: No registered users and 7 guests

fashionable