Linux - HardwareThis forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I downloaded 'hybrid-v35-nodebug-pcoem-6_30_223_271.tar.gz' from Broadcom website. But getting the following error when trying to do make.
Quote:
root@kali:~/Downloads# make
KBUILD_NOPEDANTIC=1 make -C /lib/modules/`uname -r`/build M=`pwd`
make[1]: Entering directory '/usr/src/linux-headers-4.6.0-kali1-686-pae'
CFG80211 API is prefered for this kernel version
Using CFG80211 API
CC [M] /root/Downloads/src/shared/linux_osl.o
/root/Downloads/src/shared/linux_osl.c: In function ‘osl_getcycles’:
/root/Downloads/src/shared/linux_osl.c:935:2: error: implicit declaration of function ‘rdtscl’ [-Werror=implicit-function-declaration]
rdtscl(cycles);
^
/root/Downloads/src/shared/linux_osl.c:935:2: warning: ‘cycles’ is used uninitialized in this function [-Wuninitialized]
cc1: some warnings being treated as errors
/usr/src/linux-headers-4.6.0-kali1-common/scripts/Makefile.build:296: recipe for target '/root/Downloads/src/shared/linux_osl.o' failed
make[4]: *** [/root/Downloads/src/shared/linux_osl.o] Error 1
/usr/src/linux-headers-4.6.0-kali1-common/Makefile:1446: recipe for target '_module_/root/Downloads' failed
make[3]: *** [_module_/root/Downloads] Error 2
Makefile:146: recipe for target 'sub-make' failed
make[2]: *** [sub-make] Error 2
Makefile:8: recipe for target 'all' failed
make[1]: *** [all] Error 2
make[1]: Leaving directory '/usr/src/linux-headers-4.6.0-kali1-686-pae'
Makefile:159: recipe for target 'all' failed
make: *** [all] Error 2
(Reading database ... 316238 files and directories currently installed.)
Preparing to unpack .../e2fsprogs_1.43.4-2_i386.deb ...
Unpacking e2fsprogs (1.43.4-2) over (1.43.1-1) ...
Setting up e2fsprogs (1.43.4-2) ...
update-initramfs: deferring update (trigger activated)
cp: cannot stat '/boot/vmlinuz-4.6.0-kali1-686-pae.old-dkms': No such file or directory
dpkg: error processing package e2fsprogs (--configure):
subprocess installed post-installation script returned error exit status 1
Errors were encountered while processing:
e2fsprogs
E: Sub-process /usr/bin/dpkg returned an error code (1)
When I did install linux-kernals, similar kind of error is seen:
Quote:
root@kali:~/Downloads# sudo apt-get install linux-headers-$(uname -r|sed 's,[^-]*-[^-]*-,,') broadcom-sta-dkms
Reading package lists... Done
Building dependency tree
Reading state information... Done broadcom-sta-dkms is already the newest version (6.30.223.271-5).
The following additional packages will be installed:
libssl1.1 linux-compiler-gcc-6-x86 linux-headers-4.9.0-kali2-686-pae linux-headers-4.9.0-kali2-common linux-kbuild-4.9
The following NEW packages will be installed:
libssl1.1 linux-compiler-gcc-6-x86 linux-headers-4.9.0-kali2-686-pae linux-headers-4.9.0-kali2-common linux-kbuild-4.9
The following packages will be upgraded:
linux-headers-686-pae
1 upgraded, 5 newly installed, 0 to remove and 1698 not upgraded.
57 not fully installed or removed.
Need to get 10.3 MB of archives.
After this operation, 54.6 MB of additional disk space will be used.
Do you want to continue? [Y/n] y
Get:1 http://ftp.yzu.edu.tw/Linux/kali kali-rolling/main i386 libssl1.1 i386 1.1.0e-1 [1,337 kB]
Get:2 http://ftp.yzu.edu.tw/Linux/kali kali-rolling/main i386 linux-compiler-gcc-6-x86 i386 4.9.13-1kali1 [438 kB]
Get:3 http://ftp.yzu.edu.tw/Linux/kali kali-rolling/main i386 linux-headers-4.9.0-kali2-common all 4.9.13-1kali1 [7,444 kB]
Get:4 http://ftp.yzu.edu.tw/Linux/kali kali-rolling/main i386 linux-kbuild-4.9 i386 4.9.13-1kali1 [650 kB]
Get:5 http://ftp.yzu.edu.tw/Linux/kali kali-rolling/main i386 linux-headers-4.9.0-kali2-686-pae i386 4.9.13-1kali1 [443 kB]
Get:6 http://ftp.yzu.edu.tw/Linux/kali kali-rolling/main i386 linux-headers-686-pae i386 4.9+79+kali1 [6,260 B]
Fetched 10.3 MB in 16s (622 kB/s)
Reading changelogs... Done
Preconfiguring packages ...
Setting up e2fsprogs (1.43.4-2) ...
update-initramfs: deferring update (trigger activated)
cp: cannot stat '/boot/vmlinuz-4.6.0-kali1-686-pae.old-dkms': No such file or directory
dpkg: error processing package e2fsprogs (--configure):
subprocess installed post-installation script returned error exit status 1
Errors were encountered while processing:
e2fsprogs
E: Sub-process /usr/bin/dpkg returned an error code (1)
While doing modprobe
Quote:
root@kali:~/Downloads# modprobe -r b44 b43 b43legacy ssb brcmsmac
root@kali:~/Downloads# modprobe wl
modprobe: FATAL: Module wl not found in directory /lib/modules/4.6.0-kali1-686-pae
I followed the same steps.
#apt-get install kali-linux-wireless
went successfully. But could not get any wireless interface popping out in 'iwconfig' command.
Quote:
oot@kali:~# sudo apt-get install kali-linux-wireless
Reading package lists... Done
Building dependency tree
Reading state information... Done
kali-linux-wireless is already the newest version (2017.1.3).
0 upgraded, 0 newly installed, 0 to remove and 1852 not upgraded.
root@kali:~# iwconfig
lo no wireless extensions.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.