Siduction Forum

Siduction Forum => Hardware - Support => Topic started by: ckosloff on 2014/08/12, 19:09:13

Title: Siduction kernel worked for video
Post by: ckosloff on 2014/08/12, 19:09:13
I recently bought a new computer and had trouble getting it to recognize additional monitors with kernel 3.14 in Debian testing branch.
Kernel 3.16 went stable in kernel.org but in Debian it is still in experimental as an rc6 marked as buggy.
There is no ETA for it going stable or into sid, so had to use yours.
Installed latest siduction kernel and headers, video worked OK, could set up additional HDMI monitor but...
I could no longer use wireless card because broadcom-sta-dkms failed to compile.
I tried 3 times, even from 3.14 kernel and it always failed, you can find log below.
This package is the same version as the one in sid, so it is the latest.
Package also needs headers and wireless-tools, checked on that one too and the latest is installed.
Installing this kernel was very useful because now I know that I do not have a hardware problem, and will have to wait until it gets stable in Debian.
Just letting you know, so you can improve your kernel.
Thanks for all the help.

DKMS make.log for broadcom-sta-6.30.223.141 for kernel 3.16-0.towo-siduction-amd64 (x86_64)
Tue Aug 12 10:45:37 EDT 2014
/bin/sh: 1: [: Illegal number:
/bin/sh: 1: [: Illegal number:
Wireless Extension is the only possible API for this kernel version
Using Wireless Extension API
KBUILD_NOPEDANTIC=1 make -C /lib/modules/3.16-0.towo-siduction-amd64/build M=/var/lib/dkms/broadcom-sta/6.30.223.141/build
make[1]: Entering directory '/usr/src/linux-headers-3.16-0.towo-siduction-amd64'
/bin/sh: 1: [: Illegal number:
/bin/sh: 1: [: Illegal number:
Wireless Extension is the only possible API for this kernel version
Using Wireless Extension API
Kernel architecture is X86_64
  LD      /var/lib/dkms/broadcom-sta/6.30.223.141/build/built-in.o
  CC [M]  /var/lib/dkms/broadcom-sta/6.30.223.141/build/src/shared/linux_osl.o
  CC [M]  /var/lib/dkms/broadcom-sta/6.30.223.141/build/src/wl/sys/wl_linux.o
/var/lib/dkms/broadcom-sta/6.30.223.141/build/src/wl/sys/wl_linux.c: In function ‘wl_dump_ver’:
/var/lib/dkms/broadcom-sta/6.30.223.141/build/src/wl/sys/wl_linux.c:2039:3: error: macro "__DATE__" might prevent reproducible builds [-Werror=date-time]
   __DATE__, __TIME__, EPI_VERSION_STR);
   ^
/var/lib/dkms/broadcom-sta/6.30.223.141/build/src/wl/sys/wl_linux.c:2039:13: error: macro "__TIME__" might prevent reproducible builds [-Werror=date-time]
   __DATE__, __TIME__, EPI_VERSION_STR);
             ^
cc1: some warnings being treated as errors
scripts/Makefile.build:257: recipe for target '/var/lib/dkms/broadcom-sta/6.30.223.141/build/src/wl/sys/wl_linux.o' failed
make[2]: *** [/var/lib/dkms/broadcom-sta/6.30.223.141/build/src/wl/sys/wl_linux.o] Error 1
Makefile:1319: recipe for target '_module_/var/lib/dkms/broadcom-sta/6.30.223.141/build' failed
make[1]: *** [_module_/var/lib/dkms/broadcom-sta/6.30.223.141/build] Error 2
make[1]: Leaving directory '/usr/src/linux-headers-3.16-0.towo-siduction-amd64'
Makefile:157: recipe for target 'all' failed
make: *** [all] Error 2

DKMS make.log for broadcom-sta-6.30.223.141 for kernel 3.16-0.towo-siduction-amd64 (x86_64)
Tue Aug 12 10:45:37 EDT 2014
/bin/sh: 1: [: Illegal number:
/bin/sh: 1: [: Illegal number:
Wireless Extension is the only possible API for this kernel version
Using Wireless Extension API
KBUILD_NOPEDANTIC=1 make -C /lib/modules/3.16-0.towo-siduction-amd64/build M=/var/lib/dkms/broadcom-sta/6.30.223.141/build
make[1]: Entering directory '/usr/src/linux-headers-3.16-0.towo-siduction-amd64'
/bin/sh: 1: [: Illegal number:
/bin/sh: 1: [: Illegal number:
Wireless Extension is the only possible API for this kernel version
Using Wireless Extension API
Kernel architecture is X86_64
  LD      /var/lib/dkms/broadcom-sta/6.30.223.141/build/built-in.o
  CC [M]  /var/lib/dkms/broadcom-sta/6.30.223.141/build/src/shared/linux_osl.o
  CC [M]  /var/lib/dkms/broadcom-sta/6.30.223.141/build/src/wl/sys/wl_linux.o
/var/lib/dkms/broadcom-sta/6.30.223.141/build/src/wl/sys/wl_linux.c: In function ‘wl_dump_ver’:
/var/lib/dkms/broadcom-sta/6.30.223.141/build/src/wl/sys/wl_linux.c:2039:3: error: macro "__DATE__" might prevent reproducible builds [-Werror=date-time]
   __DATE__, __TIME__, EPI_VERSION_STR);
   ^
/var/lib/dkms/broadcom-sta/6.30.223.141/build/src/wl/sys/wl_linux.c:2039:13: error: macro "__TIME__" might prevent reproducible builds [-Werror=date-time]
   __DATE__, __TIME__, EPI_VERSION_STR);
             ^
cc1: some warnings being treated as errors
scripts/Makefile.build:257: recipe for target '/var/lib/dkms/broadcom-sta/6.30.223.141/build/src/wl/sys/wl_linux.o' failed
make[2]: *** [/var/lib/dkms/broadcom-sta/6.30.223.141/build/src/wl/sys/wl_linux.o] Error 1
Makefile:1319: recipe for target '_module_/var/lib/dkms/broadcom-sta/6.30.223.141/build' failed
make[1]: *** [_module_/var/lib/dkms/broadcom-sta/6.30.223.141/build] Error 2
make[1]: Leaving directory '/usr/src/linux-headers-3.16-0.towo-siduction-amd64'
Makefile:157: recipe for target 'all' failed
make: *** [all] Error 2

Title: Re: Siduction kernel worked for video
Post by: towo on 2014/08/12, 19:58:28
broadcom-sta in debian is not ready for kernel 3.16, it's too old.
Title: Re: Siduction kernel worked for video
Post by: ckosloff on 2014/08/13, 01:45:15
broadcom-sta in debian is not ready for kernel 3.16, it's too old.
Right, and my video card is too new, so I have to face a choice: no wireless or no additional monitor.
I had to choose wireless, and hope that some day things will get fixed.
Title: Re: Siduction kernel worked for video
Post by: dibl on 2014/08/13, 14:50:19
Is your new wifi chip supported by the b43 driver?
Title: Re: Siduction kernel worked for video
Post by: ckosloff on 2014/08/13, 14:57:23
Is your new wifi chip supported by the b43 driver?
Nein, it is broadcom.
 Card-2: Broadcom BCM43142 802.11b/g/n driver: wl bus-ID: 05:00.0 chip-ID: 14e4:4365
Title: Re: Siduction kernel worked for video
Post by: dibl on 2014/08/13, 15:11:40
 :'(


The BCM43142 is only supported by the wl driver according to the http://wireless.kernel.org/en/users/Drivers/b43 wiki.

But, If you read down the wl wiki (https://wiki.debian.org/wl) page, there is guidance to use module-assistant for squeeze, rather than dkms.  I kind of doubt that would work for sid today, but you could try it.  We still have module-assistant and wireless-tools in the repo.
Title: Re: Siduction kernel worked for video
Post by: musca on 2014/08/13, 16:04:27
Hello ckosloff,

Did you try the 'brcmsmac' kernel module with the non-free package: firmware-brcm80211 ?
For the 'BCM43142 802.11b/g/n' I have found a reference to the kernel module 'bcma' in sid.

 The firmware-brcm80211  package contains the binary firmware for wireless network cards with
 the Broadcom BCM4313, BCM43224, BCM43225, BCM43241, BCM4329, BCM4330,
 BCM4334 or BCM4335 chips, supported by the brcmsmac or brcmfmac driver.
 .
 Contents:
  * Broadcom 802.11 firmware, version 610.812 (brcm/bcm43xx-0.fw)
  * Broadcom 802.11 firmware header, version 610.812
    (brcm/bcm43xx_hdr-0.fw)
  * Broadcom BCM43143 firmware (brcm/brcmfmac43143-sdio.bin)
  * Broadcom BCM43241 rev 0-3 firmware (brcm/brcmfmac43241b0-sdio.bin)
  * Broadcom BCM43241 rev 4+ firmware (brcm/brcmfmac43241b4-sdio.bin)
  * Broadcom BCM4329 firmware (brcm/brcmfmac4329-sdio.bin)
  * Broadcom BCM4330 firmware (brcm/brcmfmac4330-sdio.bin)
  * Broadcom BCM4334 firmware (brcm/brcmfmac4334-sdio.bin)
  * Broadcom BCM4335 firmware (brcm/brcmfmac4335-sdio.bin)
  * Broadcom BCM43362 firmware (brcm/brcmfmac43362-sdio.bin)
  * Broadcom BCM4354 firmware (brcm/brcmfmac4354-sdio.bin)

Please make sure you completely remove broadcom-sta as it contains a blacklist for the free kernel modules.

greetings
musca