Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Broadcom Corporation BCM4318 [AirForce One 54g] (solved)
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
Icethepenguin
Apprentice
Apprentice


Joined: 01 Nov 2003
Posts: 252
Location: Loganville, Ga

PostPosted: Fri Apr 11, 2008 4:59 am    Post subject: Broadcom Corporation BCM4318 [AirForce One 54g] (solved) Reply with quote

I have had my wireless card up and running just fine, but when I "genkernel" my new kernel both my original kernel and the new kernel will not load the driver for my Broadcom Corporation BCM4318 [AirForce One 54g] wireless card.

I have followed this guide:
Code:
Proxemics ~ # emerge ndiswrapper
Calculating dependencies... done!
>>> Verifying ebuild Manifests...

>>> Emerging (1 of 1) net-wireless/ndiswrapper-1.50 to /
 * ndiswrapper-1.50.tar.gz RMD160 SHA1 SHA256 size ;-) ...                                                           [ ok ]
 * checking ebuild checksums ;-) ...                                                                                 [ ok ]
 * checking auxfile checksums ;-) ...                                                                                [ ok ]
 * checking miscfile checksums ;-) ...                                                                               [ ok ]
 * checking ndiswrapper-1.50.tar.gz ;-) ...                                                                          [ ok ]

 * See http://www.gentoo.org/doc/en/gentoo-kernel.xml
 * for a list of supported kernels.

 * Determining the location of the kernel source code
 * Found kernel source directory:
 *     /usr/src/linux
 * Found kernel object directory:
 *     /lib/modules/2.6.24-gentoo-r4/build
 * Found sources for kernel version:
 *     2.6.24-gentoo-r4
 * Checking for suitable kernel configuration options...                                                             [ ok ]
>>> Unpacking source...
>>> Unpacking ndiswrapper-1.50.tar.gz to /var/tmp/portage/net-wireless/ndiswrapper-1.50/work
 * Converting ndiswrapper-1.50/driver/Makefile to use M= instead of SUBDIRS= ...                                     [ ok ]
>>> Source unpacked.
>>> Compiling source in /var/tmp/portage/net-wireless/ndiswrapper-1.50/work/ndiswrapper-1.50 ...
gcc -g -Wall -I../driver -o loadndisdriver loadndisdriver.c
 * Preparing ndiswrapper module
make -C /lib/modules/2.6.24-gentoo-r4/build M=/var/tmp/portage/net-wireless/ndiswrapper-1.50/work/ndiswrapper-1.50/driver
make[1]: Entering directory `/usr/src/linux-2.6.24-gentoo-r4'
  LD      /var/tmp/portage/net-wireless/ndiswrapper-1.50/work/ndiswrapper-1.50/driver/built-in.o
  CC [M]  /var/tmp/portage/net-wireless/ndiswrapper-1.50/work/ndiswrapper-1.50/driver/crt.o
  CC [M]  /var/tmp/portage/net-wireless/ndiswrapper-1.50/work/ndiswrapper-1.50/driver/hal.o
  CC [M]  /var/tmp/portage/net-wireless/ndiswrapper-1.50/work/ndiswrapper-1.50/driver/iw_ndis.o
  CC [M]  /var/tmp/portage/net-wireless/ndiswrapper-1.50/work/ndiswrapper-1.50/driver/loader.o
  CC [M]  /var/tmp/portage/net-wireless/ndiswrapper-1.50/work/ndiswrapper-1.50/driver/ndis.o
  CC [M]  /var/tmp/portage/net-wireless/ndiswrapper-1.50/work/ndiswrapper-1.50/driver/ntoskernel.o
  CC [M]  /var/tmp/portage/net-wireless/ndiswrapper-1.50/work/ndiswrapper-1.50/driver/ntoskernel_io.o
  CC [M]  /var/tmp/portage/net-wireless/ndiswrapper-1.50/work/ndiswrapper-1.50/driver/pe_linker.o
  CC [M]  /var/tmp/portage/net-wireless/ndiswrapper-1.50/work/ndiswrapper-1.50/driver/pnp.o
  CC [M]  /var/tmp/portage/net-wireless/ndiswrapper-1.50/work/ndiswrapper-1.50/driver/proc.o
  CC [M]  /var/tmp/portage/net-wireless/ndiswrapper-1.50/work/ndiswrapper-1.50/driver/rtl.o
  CC [M]  /var/tmp/portage/net-wireless/ndiswrapper-1.50/work/ndiswrapper-1.50/driver/wrapmem.o
  CC [M]  /var/tmp/portage/net-wireless/ndiswrapper-1.50/work/ndiswrapper-1.50/driver/wrapndis.o
  CC [M]  /var/tmp/portage/net-wireless/ndiswrapper-1.50/work/ndiswrapper-1.50/driver/wrapper.o
  CC [M]  /var/tmp/portage/net-wireless/ndiswrapper-1.50/work/ndiswrapper-1.50/driver/divdi3.o
  LD [M]  /var/tmp/portage/net-wireless/ndiswrapper-1.50/work/ndiswrapper-1.50/driver/ndiswrapper.o
  Building modules, stage 2.
  MODPOST 1 modules
  CC      /var/tmp/portage/net-wireless/ndiswrapper-1.50/work/ndiswrapper-1.50/driver/ndiswrapper.mod.o
  LD [M]  /var/tmp/portage/net-wireless/ndiswrapper-1.50/work/ndiswrapper-1.50/driver/ndiswrapper.ko
make[1]: Leaving directory `/usr/src/linux-2.6.24-gentoo-r4'


*** WARNING: This kernel seems to use 4K stack size option (CONFIG_4KSTACKS); many Windows drivers will not work with this option enabled. Disable CONFIG_4KSTACKS option, recompile and install kernel


>>> Source compiled.
>>> Test phase [not enabled]: net-wireless/ndiswrapper-1.50

>>> Install ndiswrapper-1.50 into /var/tmp/portage/net-wireless/ndiswrapper-1.50/image/ category net-wireless
 * Installing ndiswrapper module
 * Preparing file for modules.d ...                                                                                  [ ok ]
install -D -m 755 loadndisdriver /var/tmp/portage/net-wireless/ndiswrapper-1.50/image//sbin/loadndisdriver
install -D -m 755 ndiswrapper /var/tmp/portage/net-wireless/ndiswrapper-1.50/image//usr/sbin/ndiswrapper
install -D -m 755 ndiswrapper-buginfo /var/tmp/portage/net-wireless/ndiswrapper-1.50/image//usr/sbin/ndiswrapper-buginfo

NOTE: Windows driver configuration file format has changed since 1.5. You must re-install Windows drivers if they were installed before.
>>> Completed installing ndiswrapper-1.50 into /var/tmp/portage/net-wireless/ndiswrapper-1.50/image/

ecompressdir: bzip2 -9 /usr/share/man
strip: i686-pc-linux-gnu-strip --strip-unneeded -R .comment
   lib/modules/2.6.24-gentoo-r4/misc/ndiswrapper.ko
   sbin/loadndisdriver
* checking 11 files for package collisions
>>> Merging net-wireless/ndiswrapper-1.50 to /
--- /usr/
--- /usr/share/
--- /usr/share/doc/
--- /usr/share/doc/ndiswrapper-1.50/
>>> /usr/share/doc/ndiswrapper-1.50/AUTHORS.bz2
>>> /usr/share/doc/ndiswrapper-1.50/INSTALL.bz2
>>> /usr/share/doc/ndiswrapper-1.50/ChangeLog.bz2
>>> /usr/share/doc/ndiswrapper-1.50/README.bz2
--- /usr/share/man/
--- /usr/share/man/man8/
>>> /usr/share/man/man8/ndiswrapper.8.bz2
--- /usr/sbin/
>>> /usr/sbin/ndiswrapper
>>> /usr/sbin/ndiswrapper-buginfo
--- /etc/
--- /etc/ndiswrapper/
>>> /etc/ndiswrapper/.keep_net-wireless_ndiswrapper-0
--- /etc/modprobe.d/
>>> /etc/modprobe.d/ndiswrapper
--- /lib/
--- /lib/modules/
--- /lib/modules/2.6.24-gentoo-r4/
--- /lib/modules/2.6.24-gentoo-r4/misc/
>>> /lib/modules/2.6.24-gentoo-r4/misc/ndiswrapper.ko
--- /sbin/
>>> /sbin/loadndisdriver
>>> Safely unmerging already-installed instance...
No package files given... Grabbing a set.
--- replaced obj /usr/share/man/man8/ndiswrapper.8.bz2
--- replaced dir /usr/share/man/man8
--- replaced dir /usr/share/man
--- replaced obj /usr/share/doc/ndiswrapper-1.50/README.bz2
--- replaced obj /usr/share/doc/ndiswrapper-1.50/INSTALL.bz2
--- replaced obj /usr/share/doc/ndiswrapper-1.50/ChangeLog.bz2
--- replaced obj /usr/share/doc/ndiswrapper-1.50/AUTHORS.bz2
--- replaced dir /usr/share/doc/ndiswrapper-1.50
--- replaced dir /usr/share/doc
--- replaced dir /usr/share
--- replaced obj /usr/sbin/ndiswrapper-buginfo
--- replaced obj /usr/sbin/ndiswrapper
--- replaced dir /usr/sbin
--- replaced dir /usr
--- replaced obj /sbin/loadndisdriver
--- replaced dir /sbin
--- replaced obj /lib/modules/2.6.24-gentoo-r4/misc/ndiswrapper.ko
--- replaced dir /lib/modules/2.6.24-gentoo-r4/misc
--- replaced dir /lib/modules/2.6.24-gentoo-r4
--- replaced dir /lib/modules
--- replaced dir /lib
--- replaced obj /etc/ndiswrapper/.keep_net-wireless_ndiswrapper-0
--- replaced dir /etc/ndiswrapper
--- replaced obj /etc/modprobe.d/ndiswrapper
--- replaced dir /etc/modprobe.d
--- replaced dir /etc
 * Removing net-wireless/ndiswrapper-1.50 from moduledb.
>>> Original instance of package unmerged safely.
 * Updating module dependencies for 2.6.24-gentoo-r4 ...                                                             [ ok ]
 * Adding module to moduledb.

 * NDISwrapper requires .inf and .sys files from a Windows(tm) driver
 * to function. Download these to /root for example, then
 * run 'ndiswrapper -i /root/foo.inf'. After that you can delete them.
 * They will be copied to /etc/ndiswrapper/.
 * Once done, please run 'update-modules'.
 *
 * Please look at http://ndiswrapper.sourceforge.net/
 * for the FAQ, HowTos, tips, configuration, and installation
 * information.
 *
 * NDISwrapper devs need support (_hardware_, cash).
 * Don't hesitate if you can help.
 * See http://ndiswrapper.sourceforge.net/ for details.

 * Attempting to automatically reinstall any Windows drivers
 * you might already have.

 * Driver: bcmwl5
installing bcmwl5 ...
forcing parameter IBSSGMode from 0 to 2
forcing parameter IBSSGMode from 0 to 2
>>> net-wireless/ndiswrapper-1.50 merged.

>>> No packages selected for removal by clean
>>> Auto-cleaning packages...

>>> No outdated packages were found on your system.

 * Messages for package net-wireless/ndiswrapper-1.50:

 * NDISwrapper requires .inf and .sys files from a Windows(tm) driver
 * to function. Download these to /root for example, then
 * run 'ndiswrapper -i /root/foo.inf'. After that you can delete them.
 * They will be copied to /etc/ndiswrapper/.
 * Once done, please run 'update-modules'.
 *
 * Please look at http://ndiswrapper.sourceforge.net/
 * for the FAQ, HowTos, tips, configuration, and installation
 * information.
 *
 * NDISwrapper devs need support (_hardware_, cash).
 * Don't hesitate if you can help.
 * See http://ndiswrapper.sourceforge.net/ for details.
 * GNU info directory index is up-to-date.
Proxemics ~ #


Then
Code:

# This file lists modules which will not be loaded by udev,
# not at coldplugging and not on hotplug events.

# Add your own entries to this file
# in the format "blacklist <name of module>"

# Some examples:
# evbug is a debug tool and should be loaded explicitly
blacklist evbug

# Autoloading eth1394 most of the time re-orders your network
# interfaces, and with buggy kernel 2.6.21, udev persistent-net
# is not able to rename these devices, so you get eth?_rename devices
# plus an exceeded 30sec boot timeout
blacklist eth1394

# You probably want this to not get the console beep loud on every tab :)
#blacklist pcspkr

# these drivers are very simple, the HID drivers are usually preferred
#blacklist usbmouse
#blacklist usbkbd

# Sometimes loading a framebuffer driver at boot gets the console black
#install pci:v*d*sv*sd*bc03sc*i* /bin/true

#broadcom native driver
blacklist bcm43xx



Then
Code:

Proxemics ~ # nano -w /etc/modprobe.d/blacklist
Proxemics ~ # rmmod bcm43xx
ERROR: Module bcm43xx does not exist in /proc/modules
Proxemics ~ # rmmod ndiswrapper
Proxemics ~ # modprobe ndiswrapper
Proxemics ~ # ndiswrapper -l
bcmwl5 : driver installed
        device (14E4:4318) present (alternate driver: ssb)
Proxemics ~ #


Then
Code:

Proxemics ~ # ndiswrapper -e Wsd33x
couldn't delete /etc/ndiswrapper/Wsd33x: No such file or directory
Proxemics ~ # ndiswrapper -e Win32x
couldn't delete /etc/ndiswrapper/Win32x: No such file or directory
Proxemics ~ # ndiswrapper -e Red12x
couldn't delete /etc/ndiswrapper/Red12x: No such file or directory
Proxemics ~ # ndiswrapper -e Blue2sx
couldn't delete /etc/ndiswrapper/Blue2sx: No such file or directory
Proxemics ~ #


Then
Code:

Proxemics ~ # cd /home/kevinbmonette/My\ Documents/DRIVERS/802BG/
Proxemics 802BG # ls
AEGISE2.DLL   BCM43XXA.CAT  BCMWLCPL.CPL  BCMWLNTP.SYS  IKERNEL.EX_   MFC42U.DLL         SETUP.INX
AEGISE5.DLL   BCMLOGO.GIF   BCMWLD2K.EXE  BCMWLTRY.EXE  IS.EXE        MSVCP60.DLL        SETUP.ISS
AEGISI2.EXE   BCMLOGON.DLL  BCMWLD9X.EXE  BCMWLU00.EXE  LAUNCHER.INI  MSVCRT.DLL         VSSVER.SCC
AEGISI5.EXE   BCMWL5.INF    BCMWLHLP.CHM  DATA1.CAB     LAYOUT.BIN    RELEASENOTES.HTML  WLTRAY.EXE
BCM42RLY.VXD  BCMWL5.SYS    BCMWLHOM.EXE  DATA1.HDR     MDC.JPG       SETUP.EXE          WLTRYNT.DLL
BCM43XX.CAT   BCMWL5A.INF   BCMWLHOM.INI  DATA2.CAB     MFC42.DLL     SETUP.INI          WLTRYSVC.EXE
Proxemics 802BG #


Then..
Code:

Proxemics 802BG # ndiswrapper -l
bcmwl5 : driver installed
        device (14E4:4318) present (alternate driver: ssb)
Proxemics 802BG # ndiswrapper -e bcmwl5
Proxemics 802BG # ndiswrapper -l
Proxemics 802BG #   
Proxemics 802BG # ndiswrapper -i BCMWL5.INF
installing bcmwl5 ...
forcing parameter IBSSGMode from 0 to 2
forcing parameter IBSSGMode from 0 to 2
Proxemics 802BG #     
Proxemics 802BG # ndiswrapper -l
bcmwl5 : driver installed
        device (14E4:4318) present (alternate driver: ssb)
Proxemics 802BG # ndiswrapper -m
module configuration already contains alias directive

Proxemics 802BG #           
Proxemics 802BG # iwconfig
lo        no wireless extensions.

eth1      no wireless extensions.

Proxemics 802BG # iwconfig wlan0
wlan0     No such device

Proxemics 802BG # iwconfig wlan0 channel
Error for wireless request "Set Frequency" (8B04) :
    too few arguments.
Proxemics 802BG # iwconfig wlan0 up
iwconfig: unknown command "up"
Proxemics 802BG # dhclient
-bash: dhclient: command not found
Proxemics 802BG #                 


Can anyone help me get my wireless card back up and running?

Thanks in Advance
Kevin



I was able to fix this by going back to kernel version "linux-2.6.23-gentoo-r8".

I was trying to use kernel version "linux-2.6.24-gentoo-r4" and no matter what I tried to do it would not load the module for the wireless card and start it running.

I'm not good enough at linux to understand why and find a resolution to the problem other then just staying with my old kernel version until such a time that it will work with the updated kernel.

Of course if anyone has any suggestions I will still take them and attempt them to see if they work or not.

Thanks to all for help,
Kevin
_________________
Sometimes you have to take that leap, then build your wings on the way down.
Back to top
View user's profile Send private message
JoseJX
Retired Dev
Retired Dev


Joined: 28 Apr 2002
Posts: 2774

PostPosted: Mon Apr 14, 2008 1:24 pm    Post subject: Reply with quote

Why not use the native driver (b43) instead?
https://forums.gentoo.org/viewtopic-t-547687.html
_________________
Gentoo PPC FAQ: http://www.gentoo.org/doc/en/gentoo-ppc-faq.xml
Back to top
View user's profile Send private message
Icethepenguin
Apprentice
Apprentice


Joined: 01 Nov 2003
Posts: 252
Location: Loganville, Ga

PostPosted: Mon Apr 14, 2008 4:30 pm    Post subject: Reply with quote

I've tried the native one, I will now get my hardware up and running. My wireless card has a button on the front of my laptop that lights up when its on and you can click it off with the Windows drivers. So I do prefer the Window, ndiswrapper setup.
_________________
Sometimes you have to take that leap, then build your wings on the way down.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum