b43-wireless problem with 2.6.36.3.dmz.2 Kernel
ehabareda
Status: New User - Welcome
Joined: 15 Jan 2011
Posts: 1
Reply Quote
Hello Guys,
I have a problem while compiling the b43 driver following the Debian way as below && (as usual):

# Add a "non-free" component to /etc/apt/sources.list, for example:
# Debian Squeeze (testing)
deb ftp.us.debian.org/debian squeeze main contrib non-free

# Update the list of available packages. Install the module-assistant and wireless-tools packages:

aptitude update
aptitude install module-assistant wireless-tools

# Build and install a broadcom-sta-modules-* package for your system, using Module-Assistant:

m-a a-i broadcom-sta
:: Code ::
This where I have an error and it's stpoped, pls. find below the error log file


#Blacklist the brcm80211 module, to prevent it conflicting for support of BCM4313, BCM43224 and BCM43225 devices:

echo blacklist brcm80211 >> /etc/modprobe.d/broadcom-sta-common.conf

# Rebuild your initial ramdisk, to blacklist modules defined at /etc/modprobe.d/broadcom-sta-common.conf within initramfs:

update-initramfs -u -k $(uname -r)

# Unload conflicting modules:

modprobe -r b44 b43 b43legacy ssb brcm80211

# Load the wl module:

modprobe wl

# Verify your device has an available interface:

iwconfig

# Configure your wireless interface as appropriate.

error log file...
:: Code ::
QUILT_PATCHES=debian/patches \
      quilt --quiltrc /dev/null pop -a -R || test $? = 2
rm -rf .pc debian/stamp-patched
dh_testdir
#dh_testroot
dh_clean
/usr/bin/make  -f debian/rules clean
make[1]: Entering directory `/usr/src/modules/broadcom-sta'
QUILT_PATCHES=debian/patches \
      quilt --quiltrc /dev/null pop -a -R || test $? = 2
rm -rf .pc debian/stamp-patched
dh_testdir
#dh_testroot
dh_clean
make[1]: Leaving directory `/usr/src/modules/broadcom-sta'
/usr/bin/make  -f debian/rules kdist_clean kdist_config binary-modules
make[1]: Entering directory `/usr/src/modules/broadcom-sta'
QUILT_PATCHES=debian/patches \
      quilt --quiltrc /dev/null pop -a -R || test $? = 2
No patch removed
rm -rf .pc debian/stamp-patched
dh_testdir
#dh_testroot
dh_clean
/usr/bin/make -w -f debian/rules clean
make[2]: Entering directory `/usr/src/modules/broadcom-sta'
QUILT_PATCHES=debian/patches \
      quilt --quiltrc /dev/null pop -a -R || test $? = 2
No patch removed
rm -rf .pc debian/stamp-patched
dh_testdir
#dh_testroot
dh_clean
make[2]: Leaving directory `/usr/src/modules/broadcom-sta'
make[1]: Nothing to be done for `kdist_config'.
for templ in ; do \
    cp $templ `echo $templ | sed -e 's/_KVERS_/2.6.36-3.dmz.2-liquorix-amd64/g'` ; \
  done
for templ in `ls debian/*.modules.in` ; do \
    test -e ${templ%.modules.in}.backup || cp ${templ%.modules.in} ${templ%.modules.in}.backup 2>/dev/null || true; \
    sed -e 's/##KVERS##/2.6.36-3.dmz.2-liquorix-amd64/g ;s/#KVERS#/2.6.36-3.dmz.2-liquorix-amd64/g ; s/_KVERS_/2.6.36-3.dmz.2-liquorix-amd64/g ; s/##KDREV##/2.6.36-32/g ; s/#KDREV#/2.6.36-32/g ; s/_KDREV_/2.6.36-32/g  ' < $templ > ${templ%.modules.in}; \
  done
dh_testroot
dh_prep
# Build the module
cd /usr/src/modules/broadcom-sta/amd64 && \
   make -C /lib/modules/2.6.36-3.dmz.2-liquorix-amd64/build M=/usr/src/modules/broadcom-sta/amd64
make[2]: Entering directory `/usr/src/linux-headers-2.6.36-3.dmz.2-liquorix-amd64'
  CC [M]  /usr/src/modules/broadcom-sta/amd64/src/wl/sys/wl_linux.o
/usr/src/modules/broadcom-sta/amd64/src/wl/sys/wl_linux.c: In function ‘_wl_set_multicast_list’:
/usr/src/modules/broadcom-sta/amd64/src/wl/sys/wl_linux.c:1435: error: ‘struct net_device’ has no member named ‘mc_list’
/usr/src/modules/broadcom-sta/amd64/src/wl/sys/wl_linux.c:1435: error: ‘struct net_device’ has no member named ‘mc_count’
/usr/src/modules/broadcom-sta/amd64/src/wl/sys/wl_linux.c:1436: error: dereferencing pointer to incomplete type
/usr/src/modules/broadcom-sta/amd64/src/wl/sys/wl_linux.c:1442: error: dereferencing pointer to incomplete type
make[3]: *** [/usr/src/modules/broadcom-sta/amd64/src/wl/sys/wl_linux.o] Error 1
make[2]: *** [_module_/usr/src/modules/broadcom-sta/amd64] Error 2
make[2]: Leaving directory `/usr/src/linux-headers-2.6.36-3.dmz.2-liquorix-amd64'
make[1]: *** [binary-modules] Error 2
make[1]: Leaving directory `/usr/src/modules/broadcom-sta'
make: *** [kdist_build] Error 2


This is the first time that I had that kind of problem, even with the previous kernel from liquorix!
Any help would be appreciate it.
Back to top
damentz
Status: Assistant
Joined: 09 Sep 2008
Posts: 1122
Reply Quote
You might want to take a look at the patches available here: sources.gentoo.org/cgi-bin/viewvc.cgi/gentoo-x86/net-wireless/broadcom-sta/files/

Also, the version that debian is providing is old. You might want to email the maintainer and point him to all the nice patches that Gentoo provided to make things very easy for him.

The version you want to be running is 5.100.82.38, but debian is providing 5.60.48.36

:: Code ::
Maintainer: Cyril Lacoux (Yack) <clacoux@easter-eggs.com>

Back to top
Display posts from previous:   

All times are GMT - 8 Hours