Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Wirless network BCM4312 on CentOS 5.1

Posted on 2008-06-25
25
Medium Priority
?
3,917 Views
Last Modified: 2008-07-10
Dear Experts,

I have installed CentOS 5.1 on my laptop is if i open system-config-network, it show me that BCM4312 is installed as eth1.

below is some output

[root@localhost ~]# iwconfig
eth1      IEEE 802.11b/g  ESSID:""  Nickname:"localhost.localdomain"
          Mode:Master  Frequency=2.412 GHz  Access Point: Invalid  
          RTS thr:off   Fragment thr:off
          Encryption key:off
          Link Quality=0/100  Signal level=-256 dBm  Noise level=-256 dBm
          Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
          Tx excessive retries:0  Invalid misc:0   Missed beacon:0

[root@localhost ~]# iwlist scan
lo        Interface doesn't support scanning.
eth1      Interface doesn't support scanning : No such device
peth0     Interface doesn't support scanning.
sit0      Interface doesn't support scanning.
virbr0    Interface doesn't support scanning.
vif0.0    Interface doesn't support scanning.
eth0      Interface doesn't support scanning.
vif0.1    Interface doesn't support scanning.
veth1     Interface doesn't support scanning.
vif0.2    Interface doesn't support scanning.
veth2     Interface doesn't support scanning.
vif0.3    Interface doesn't support scanning.
veth3     Interface doesn't support scanning.
xenbr0    Interface doesn't support scanning.

I als have installed following RPMs but no use.

bcm43xx-fwcutter-006-1.el5.kb.i386.rpm
dkms-ndiswrapper-1.38-1.el5.rf.x86_64.rpm
dkms-2.0.13-1.el5.rf.noarch.rpm

When i click on wireless button of my laptop it ligts doesn't turn off or on and alway keep ON but display message  

localhost.localdomain-0
Swithced device in connected mode

when i press button again it says

Bluetooth Device :
Switched device in off mode.

Any help please.

Regards
Saif ur Rab
0
Comment
Question by:saifurab
  • 14
  • 11
25 Comments
 
LVL 14

Expert Comment

by:agriesser
ID: 21863621
Can I see the output of the following commands please:

lsmod
ndiswrapper -l
dmesg
cat /proc/net/wireless
0
 

Author Comment

by:saifurab
ID: 21863704
[root@localhost ~]# lsmod
Module                  Size  Used by
i915                   57665  2
drm                   116585  3 i915
netloop                40129  0
netbk                 129153  0 [permanent]
blktap                148709  2 [permanent]
blkbk                  54009  0 [permanent]
ipt_MASQUERADE         36801  1
iptable_nat            40773  1
ip_nat                 53101  2 ipt_MASQUERADE,iptable_nat
xt_state               35265  1
ip_conntrack           91237  4 ipt_MASQUERADE,iptable_nat,ip_nat,xt_state
nfnetlink              40457  2 ip_nat,ip_conntrack
ipt_REJECT             38849  2
xt_tcpudp              36417  4
iptable_filter         36161  1
ip_tables              55329  2 iptable_nat,iptable_filter
x_tables               50377  6 ipt_MASQUERADE,iptable_nat,xt_state,ipt_REJECT,xt_tcpudp,ip_tables
bridge                 91889  0
autofs4                57289  2
hidp                   83521  2
rfcomm                104809  0
l2cap                  89281  10 hidp,rfcomm
sunrpc                197769  1
dm_mirror              60745  0
dm_multipath           52945  0
dm_mod                 99865  2 dm_mirror,dm_multipath
video                  53197  0
sbs                    49921  0
backlight              39873  1 video
i2c_ec                 38593  1 sbs
i2c_core               56129  1 i2c_ec
button                 40545  0
battery                43849  0
asus_acpi              50917  0
ac                     38729  0
ipv6                  420865  16
xfrm_nalgo             43845  1 ipv6
crypto_api             42177  1 xfrm_nalgo
lp                     47121  0
sg                     69865  0
joydev                 43969  0
snd_hda_intel          55905  1
snd_hda_codec         308928  1 snd_hda_intel
snd_seq_dummy          37061  0
snd_seq_oss            65473  0
snd_seq_midi_event     41025  1 snd_seq_oss
snd_seq                87905  5 snd_seq_dummy,snd_seq_oss,snd_seq_midi_event
snd_seq_device         41557  3 snd_seq_dummy,snd_seq_oss,snd_seq
snd_pcm_oss            77632  0
snd_mixer_oss          49985  1 snd_pcm_oss
bcm43xx               464993  0
ieee80211softmac       65473  1 bcm43xx
tg3                   145221  0
ide_cd                 73441  0
snd_pcm               116809  3 snd_hda_intel,snd_hda_codec,snd_pcm_oss
shpchp                 70509  0
cdrom                  68713  1 ide_cd
ieee80211              65161  2 bcm43xx,ieee80211softmac
hci_usb                51293  2
ieee80211_crypt        39745  1 ieee80211
snd_timer              57289  2 snd_seq,snd_pcm
parport_pc             62313  1
parport                73293  2 lp,parport_pc
bluetooth             118597  8 hidp,rfcomm,l2cap,hci_usb
snd                    96105  11 snd_hda_intel,snd_hda_codec,snd_seq_oss,snd_seq,snd_seq_device,snd_pcm_oss,snd_mixer_oss,snd_pcm,snd_timer
soundcore              41825  1 snd
snd_page_alloc         44113  2 snd_hda_intel,snd_pcm
serio_raw              40517  0
pcspkr                 36289  0
ata_piix               54981  3
libata                192217  1 ata_piix
sd_mod                 56257  4
scsi_mod              188793  3 sg,libata,sd_mod
ext3                  166993  2
jbd                    93617  1 ext3
ehci_hcd               65869  0
ohci_hcd               54621  0
uhci_hcd               57561  0


[root@localhost ~]# ndiswrapper -l

NOTHING APPEARS IN OUTPUT

[root@localhost ~]# rpm -qa |grep ndiswrapper
dkms-ndiswrapper-1.38-1.el5.rf

[root@localhost ~]# dmesg |grep bcm
bcm43xx driver
bcm43xx: Chip ID 0x4311, rev 0x2
bcm43xx: Number of cores: 4
bcm43xx: Core 0: ID 0x800, rev 0x13, vendor 0x4243
bcm43xx: Core 1: ID 0x812, rev 0xd, vendor 0x4243
bcm43xx: Unsupported 80211 core revision 13
bcm43xx: Core 2: ID 0x817, rev 0x4, vendor 0x4243
bcm43xx: Core 3: ID 0x820, rev 0x5, vendor 0x4243
bcm43xx: PHY connected
bcm43xx: Detected PHY: Analog: 4, Type 2, Revision 9
bcm43xx: Invalid PHY Revision 9
bcm43xx: Detected Radio: ID: 2205017f (Manuf: 17f Ver: 2050 Rev: 2)
bcm43xx: Radio turned off
bcm43xx: Radio turned off
bcm43xx: set security called, .level = 0, .enabled = 0, .encrypt = 0
bcm43xx: PHY connected
bcm43xx: Error: Microcode "bcm43xx_microcode5.fw" not available or load failed.
bcm43xx: core_up for active 802.11 core failed (-2)

[root@localhost ~]# dmesg |grep Blue
Bluetooth: Core ver 2.10
Bluetooth: HCI device and connection manager initialized
Bluetooth: HCI socket layer initialized
Bluetooth: HCI USB driver ver 2.9
Bluetooth: L2CAP ver 2.8
Bluetooth: L2CAP socket layer initialized
Bluetooth: RFCOMM socket layer initialized
Bluetooth: RFCOMM TTY layer initialized
Bluetooth: RFCOMM ver 1.8
Bluetooth: HIDP (Human Interface Emulation) ver 1.1


[root@localhost ~]# cat /proc/net/wireless
Inter-| sta-|   Quality        |   Discarded packets               | Missed | WE
 face | tus | link level noise |  nwid  crypt   frag  retry   misc | beacon | 20
  eth1: 0000    0.  -256.  -256.       0      0      0      0      0        0

here is the output
0
 
LVL 14

Expert Comment

by:agriesser
ID: 21863767
So, you're not using ndiswrapper (which is good, BTW), but you're missing the firmware for the bcm43xx driver as stated in dmesg:

-------------------
bcm43xx: Error: Microcode "bcm43xx_microcode5.fw" not available or load failed.
-------------------

What's the kernel version on this system? Can I please see the `uname -r` output?
Maybe your system is eliglible for the newer driver (b43 resp. b43-legacy).

Anyhow, in the meantime, you need to get the file wl_apsta.o which is included in Broadcoms proprietary driver.
To get it, use the following script which will then also cut the firmware out of this driver to use it on your system.


cd /tmp
wget http://downloads.openwrt.org/sources/broadcom-wl-4.80.53.0.tar.bz2
tar xjf broadcom-wl-4.80.53.0.tar.bz2
cd broadcom-wl-4.80.53.0/kmod
bcm43xx-fwcutter -w /lib/firmware wl_apsta.o

Open in new window

0
Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

 

Author Comment

by:saifurab
ID: 21864105
[root@localhost saifurab]# uname -r
2.6.18-92.1.1.el5xen

I have done according to your instructions and here is output

[root@localhost saifurab]# wget http://downloads.openwrt.org/sources/broadcom-wl-4.80.53.0.tar.bz2
--16:08:11--  http://downloads.openwrt.org/sources/broadcom-wl-4.80.53.0.tar.bz2
Resolving downloads.openwrt.org... 195.56.146.238
Connecting to downloads.openwrt.org|195.56.146.238|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 904072 (883K) [application/x-tar]
Saving to: `broadcom-wl-4.80.53.0.tar.bz2'

100%[=======================================>] 904,072      237K/s   in 5.1s  

16:08:19 (173 KB/s) - `broadcom-wl-4.80.53.0.tar.bz2' saved [904072/904072]

[root@localhost saifurab]# tar xjf broadcom-wl-4.80.53.0.tar.bz2
[root@localhost saifurab]# cd broadcom-wl-4.80.53.0
broadcom-wl-4.80.53.0/         broadcom-wl-4.80.53.0.tar.bz2
[root@localhost saifurab]# cd broadcom-wl-4.80.53.0/
kmod/            nas              wl              
libbcmcrypto.so  WHERE_FROM      
[root@localhost saifurab]# cd broadcom-wl-4.80.53.0/kmod/
[root@localhost kmod]# bcm43xx-fwcutter -w /lib/firmware wl_apsta.o
*** WARNING ***
This file contains new version4
firmware. v4 firmware is _not_ supported by
the driver in mainline kernels. For v4 firmware
you need latest bcm43xx development version
(wireless-dev kernel tree). If you don't know what
this warning is about, use a 3.xx.xx.xx driver version
instead to extract the firmware.

  filename   :  wl_apsta.o
  version    :  4.80.53.0
  MD5        :  9207bc565c2fc9fa1591f6c7911d3fc0
  microcodes :  4 5 11 13
  pcms       :  4 5

  microcode  :  4
  revision   :  0x015f
  patchlevel :  0x007e
  date       :  2006-07-29
  time       :  05:54:02

  microcode  :  5
  revision   :  0x015f
  patchlevel :  0x007e
  date       :  2006-07-29
  time       :  05:54:02

  microcode  :  11
  revision   :  0x015f
  patchlevel :  0x007e
  date       :  2006-07-29
  time       :  05:54:02

  microcode  :  13
  revision   :  0x015f
  patchlevel :  0x007e
  date       :  2006-07-29
  time       :  05:54:02

extracting bcm43xx_microcode4.fw ...
extracting bcm43xx_microcode5.fw ...
extracting bcm43xx_microcode11.fw ...
extracting bcm43xx_microcode13.fw ...
extracting bcm43xx_pcm4.fw ...
extracting bcm43xx_pcm5.fw ...
extracting bcm43xx_initval01.fw ...
extracting bcm43xx_initval02.fw ...
extracting bcm43xx_initval03.fw ...
extracting bcm43xx_initval04.fw ...
extracting bcm43xx_initval05.fw ...
extracting bcm43xx_initval06.fw ...
extracting bcm43xx_initval07.fw ...
extracting bcm43xx_initval08.fw ...
extracting bcm43xx_initval09.fw ...
extracting bcm43xx_initval10.fw ...
extracting bcm43xx_initval20.fw ...
extracting bcm43xx_initval21.fw ...
extracting bcm43xx_initval22.fw ...
extracting bcm43xx_initval23.fw ...
extracting bcm43xx_initval24.fw ...
extracting bcm43xx_initval25.fw ...

Now what to do next. i checked
#iwlist scan

but same result anyother clue
0
 
LVL 14

Expert Comment

by:agriesser
ID: 21864184
You need to unload the wireless module, reload it again and check dmesg if the firmware has been found:

rmmod bcm43xx
dmesg -c
modprobe bcm43xx
dmesg

Show me the output of the last `dmesg` invocation.
0
 

Author Comment

by:saifurab
ID: 21871824
Here is the output and still having same problem

[root@localhost ~]# rmmod bcm43xx
[root@localhost ~]# dmesg -c
[root@localhost ~]# modprobe bcm43xx
[root@localhost ~]# dmesg

bcm43xx driver
PCI: Enabling device 0000:10:00.0 (0000 -> 0002)
ACPI: PCI Interrupt 0000:10:00.0[A] -> GSI 17 (level, low) -> IRQ 17
PCI: Setting latency timer of device 0000:10:00.0 to 64
bcm43xx: Chip ID 0x4311, rev 0x2
bcm43xx: Number of cores: 4
bcm43xx: Core 0: ID 0x800, rev 0x13, vendor 0x4243
bcm43xx: Core 1: ID 0x812, rev 0xd, vendor 0x4243
bcm43xx: Unsupported 80211 core revision 13
bcm43xx: Core 2: ID 0x817, rev 0x4, vendor 0x4243
bcm43xx: Core 3: ID 0x820, rev 0x5, vendor 0x4243
bcm43xx: PHY connected
bcm43xx: Detected PHY: Analog: 4, Type 2, Revision 9
bcm43xx: Invalid PHY Revision 9
bcm43xx: Detected Radio: ID: 2205017f (Manuf: 17f Ver: 2050 Rev: 2)
bcm43xx: Radio turned off
bcm43xx: Radio turned off
SoftMAC: empty ratesinfo?
SoftMAC: empty ratesinfo?
bcm43xx: set security called, .active_key = 0, .level = 1, .enabled = 1, .encrypt = 1
SoftMAC: Associate: Scanning for networks first.
SoftMAC: Associate: failed to initiate scan. Is device up?
bcm43xx: PHY connected
bcm43xx: Microcode rev 0x15f, pl 0x7e (2006-07-29  05:54:02)
bcm43xx: Firmware: no support for microcode extracted from version 4.x binary drivers.
bcm43xx: core_up for active 802.11 core failed (-95)
0
 
LVL 14

Expert Comment

by:agriesser
ID: 21872184
OK, then let's try the older firmware version.
Please make sure to delete the bcm firware files in /lib/firmware before following these steps:


cd /tmp
wget http://downloads.openwrt.org/sources/wl_apsta-3.130.20.0.o
bcm43xx-fwcutter -w /lib/firmware wl_apsta-3.130.20.0.o

Open in new window

0
 

Author Comment

by:saifurab
ID: 21872854
Done it again now dmesg is different but no success :(

[root@localhost saifurab]# wget http://downloads.openwrt.org/sources/wl_apsta-3.130.20.0.o
[root@localhost saifurab]# bcm43xx-fwcutter -w /lib/firmware wl_apsta-3.130.20.0.o
 filename   :  wl_apsta.o
  version    :  3.130.20.0
  MD5        :  e08665c5c5b66beb9c3b2dd54aa80cb3
  microcodes :  2 4 5 11
  pcms       :  4 5

  microcode  :  2
  revision   :  0x0127
  patchlevel :  0x000e
  date       :  2005-04-18
  time       :  02:36:27

  microcode  :  4
  revision   :  0x0127
  patchlevel :  0x000e
  date       :  2005-04-18
  time       :  02:36:27

  microcode  :  5
  revision   :  0x0127
  patchlevel :  0x000e
  date       :  2005-04-18
  time       :  02:36:27

  microcode  :  11
  revision   :  0x0127
  patchlevel :  0x000e
  date       :  2005-04-18
  time       :  02:36:27

extracting bcm43xx_microcode2.fw ...
extracting bcm43xx_microcode4.fw ...
extracting bcm43xx_microcode5.fw ...
extracting bcm43xx_microcode11.fw ...
extracting bcm43xx_pcm4.fw ...
extracting bcm43xx_pcm5.fw ...
extracting bcm43xx_initval01.fw ...
extracting bcm43xx_initval02.fw ...
extracting bcm43xx_initval03.fw ...
extracting bcm43xx_initval04.fw ...
extracting bcm43xx_initval05.fw ...
extracting bcm43xx_initval06.fw ...
extracting bcm43xx_initval07.fw ...
extracting bcm43xx_initval08.fw ...
extracting bcm43xx_initval09.fw ...
extracting bcm43xx_initval10.fw ...

[root@localhost saifurab]# rmmod bcm43xx
[root@localhost saifurab]# dmesg -c
[root@localhost saifurab]# modprobe bcm43xx
[root@localhost saifurab]# dmesg |grep bcm
bcm43xx driver
bcm43xx: Chip ID 0x4311, rev 0x2
bcm43xx: Number of cores: 4
bcm43xx: Core 0: ID 0x800, rev 0x13, vendor 0x4243
bcm43xx: Core 1: ID 0x812, rev 0xd, vendor 0x4243
bcm43xx: Unsupported 80211 core revision 13
bcm43xx: Core 2: ID 0x817, rev 0x4, vendor 0x4243
bcm43xx: Core 3: ID 0x820, rev 0x5, vendor 0x4243
bcm43xx: PHY connected
bcm43xx: Detected PHY: Analog: 4, Type 2, Revision 9
bcm43xx: Invalid PHY Revision 9
bcm43xx: Detected Radio: ID: 2205017f (Manuf: 17f Ver: 2050 Rev: 2)
bcm43xx: Radio turned off
bcm43xx: Radio turned off
bcm43xx: set security called, .active_key = 0, .level = 1, .enabled = 1, .encrypt = 1
bcm43xx: PHY connected
bcm43xx: Microcode rev 0x127, pl 0xe (2005-04-18  02:36:27)
bcm43xx: Radio turned on
bcm43xx: Radio enabled by hardware
bcm43xx: Chip initialized
bcm43xx: 64-bit DMA initialized
bcm43xx: Keys cleared
bcm43xx: Selected 802.11 core (phytype 2)
bcm43xx: FATAL ERROR: BCM43xx_IRQ_XMIT_ERROR
bcm43xx: MAC suspend failed
bcm43xx: MAC suspend failed
bcm43xx: MAC suspend failed
bcm43xx: MAC suspend failed
bcm43xx: MAC suspend failed
bcm43xx: MAC suspend failed
bcm43xx: MAC suspend failed
bcm43xx: MAC suspend failed
bcm43xx: MAC suspend failed
bcm43xx: Radio turned off
bcm43xx: DMA-64 0x0200 (RX) max used slots: 0/64
bcm43xx: DMA-64 0x0340 (TX) max used slots: 0/512
bcm43xx: DMA-64 0x0300 (TX) max used slots: 0/512
bcm43xx: DMA-64 0x02C0 (TX) max used slots: 0/512
bcm43xx: DMA-64 0x0280 (TX) max used slots: 0/512
bcm43xx: DMA-64 0x0240 (TX) max used slots: 116/512
bcm43xx: DMA-64 0x0200 (TX) max used slots: 0/512

0
 
LVL 14

Expert Comment

by:agriesser
ID: 21872896
OK, then let's drop this driver.
Are there any other b43 drivers currently installed on your system?
Please post the output of:

find /lib/modules/$(uname -r) -iname "*43*.ko"
0
 

Author Comment

by:saifurab
ID: 21872968
Here is the output. BTW i am really thankfull to you  for taking so much pain form me.

[root@localhost ~]# find /lib/modules/$(uname -r) -iname "*43*.ko"
/lib/modules/2.6.18-92.1.1.el5xen/kernel/drivers/media/video/tda7432.ko
/lib/modules/2.6.18-92.1.1.el5xen/kernel/drivers/net/wireless/bcm43xx/bcm43xx.ko
0
 

Author Comment

by:saifurab
ID: 21872993
Just for your inofrmation may be helpful for you

[root@localhost wireless]# pwd
/lib/modules/2.6.18-92.1.1.el5xen/kernel/drivers/net/wireless
[root@localhost wireless]# ls -l
total 1532
-rwxr--r-- 1 root root  43112 Jun 22 05:25 airo_cs.ko
-rwxr--r-- 1 root root 145304 Jun 22 05:25 airo.ko
-rwxr--r-- 1 root root  46312 Jun 22 05:25 atmel_cs.ko
-rwxr--r-- 1 root root  79672 Jun 22 05:25 atmel.ko
-rwxr--r-- 1 root root  38120 Jun 22 05:25 atmel_pci.ko
drwxr-xr-x 2 root root   4096 Jun 25 13:01 bcm43xx
-rwxr--r-- 1 root root  45624 Jun 22 05:25 hermes.ko
drwxr-xr-x 2 root root   4096 Jun 25 13:01 hostap
-rwxr--r-- 1 root root 140440 Jun 22 05:25 ipw2100.ko
-rwxr--r-- 1 root root 260304 Jun 22 05:25 ipw2200.ko
drwxr-xr-x 2 root root   4096 Jun 25 13:01 iwlwifi
drwxr-xr-x 2 root root   4096 Jun 25 13:33 ndiswrapper
-rwxr--r-- 1 root root  51856 Jun 22 05:25 netwave_cs.ko
-rwxr--r-- 1 root root  64520 Jun 22 05:25 orinoco_cs.ko
-rwxr--r-- 1 root root  92088 Jun 22 05:25 orinoco.ko
-rwxr--r-- 1 root root  49008 Jun 22 05:25 orinoco_nortel.ko
-rwxr--r-- 1 root root  46472 Jun 22 05:25 orinoco_pci.ko
-rwxr--r-- 1 root root  49048 Jun 22 05:25 orinoco_plx.ko
-rwxr--r-- 1 root root  46264 Jun 22 05:25 orinoco_tmd.ko
drwxr-xr-x 2 root root   4096 Jun 25 13:01 prism54
-rwxr--r-- 1 root root  49600 Jun 22 05:25 spectrum_cs.ko
-rwxr--r-- 1 root root  78800 Jun 22 05:25 wavelan_cs.ko
-rwxr--r-- 1 root root  66056 Jun 22 05:25 wl3501_cs.ko
-rwxr--r-- 1 root root  64568 Jun 22 05:25 zd1201.ko
drwxr-xr-x 2 root root   4096 Jun 25 13:01 zd1211rw
0
 
LVL 14

Expert Comment

by:agriesser
ID: 21873013
No problem. OK, there's only bcm43xx on your system and that one doesn't seem to work properly.
Now let's change to b43legacy.

Unfortunately, we need to download the whole compat-wirelss stuff, but that shouldn't bug us a lot.
Please follow these instructions:

mkdir /root/wltest
cd /root/wltest
wget http://linuxwireless.org/download/compat-wireless-2.6/compat-wireless-2.6.tar.bz2
tar xf compat-wireless-2.6.tar.bz2
cd compat-wireless-2008-06-25/
make

Please tell me, if that worked for you.
0
 

Author Comment

by:saifurab
ID: 21873052


[root@localhost wltest]# wget http://linuxwireless.org/download/compat-wireless-2.6/compat-wireless-2.6.tar.bz2

[root@localhost wltest]#  tar xf compat-wireless-2.6.tar.bz2[root@localhost compat-wireless-2008-06-25]# make && echo
"success" || echo "failed"

make -C /lib/modules/2.6.18-92.1.1.el5xen/build M=/home/saifurab/wltest/compat-wireless-2008-06-25 modules
make[1]: Entering directory `/usr/src/kernels/2.6.18-92.1.1.el5-xen-x86_64'
  CC [M]  /home/saifurab/wltest/compat-wireless-2008-06-25/drivers/misc/eeprom_93cx6.o
In file included from /home/saifurab/wltest/compat-wireless-2008-06-25/include/net/compat.h:36,
                 from <command line>:1:
/home/saifurab/wltest/compat-wireless-2008-06-25/include/linux/compat_autoconf.h:12:2: error: #error Compat-wireless requirement: Linux >= 2,6,21
In file included from <command line>:1:
/home/saifurab/wltest/compat-wireless-2008-06-25/include/net/compat.h:51: error: redefinition of skb_mac_header
include/linux/skbuff.h:1036: error: previous definition of skb_mac_header was here
/home/saifurab/wltest/compat-wireless-2008-06-25/include/net/compat.h:56: error: redefinition of skb_set_mac_header
include/linux/skbuff.h:1051: error: previous definition of skb_set_mac_header was here
/home/saifurab/wltest/compat-wireless-2008-06-25/include/net/compat.h:61: error: redefinition of skb_reset_mac_header
include/linux/skbuff.h:1046: error: previous definition of skb_reset_mac_header was here
/home/saifurab/wltest/compat-wireless-2008-06-25/include/net/compat.h:66: error: redefinition of skb_reset_network_header
include/linux/skbuff.h:1016: error: previous definition of skb_reset_network_header was here
/home/saifurab/wltest/compat-wireless-2008-06-25/include/net/compat.h:71: error: redefinition of skb_set_network_header
include/linux/skbuff.h:1021: error: previous definition of skb_set_network_header was here
/home/saifurab/wltest/compat-wireless-2008-06-25/include/net/compat.h:76: error: redefinition of skb_set_transport_header
include/linux/skbuff.h:1001: error: previous definition of skb_set_transport_header was here
/home/saifurab/wltest/compat-wireless-2008-06-25/include/net/compat.h:81: error: conflicting types for skb_transport_header
include/linux/skbuff.h:990: error: previous definition of skb_transport_header was here
/home/saifurab/wltest/compat-wireless-2008-06-25/include/net/compat.h:86: error: redefinition of skb_network_header
include/linux/skbuff.h:1011: error: previous definition of skb_network_header was here
/home/saifurab/wltest/compat-wireless-2008-06-25/include/net/compat.h:91: error: redefinition of skb_tail_pointer
include/linux/skbuff.h:835: error: previous definition of skb_tail_pointer was here
/home/saifurab/wltest/compat-wireless-2008-06-25/include/net/compat.h:103: error: redefinition of skb_copy_from_linear_data
include/linux/skbuff.h:1470: error: previous definition of skb_copy_from_linear_data was here
/home/saifurab/wltest/compat-wireless-2008-06-25/include/net/compat.h:110: error: redefinition of skb_copy_from_linear_data_offset
include/linux/skbuff.h:1477: error: previous definition of skb_copy_from_linear_data_offset was here
/home/saifurab/wltest/compat-wireless-2008-06-25/include/net/compat.h:122: error: static declaration of pci_set_mwi follows non-static declaration
include/linux/pci.h:544: error: previous declaration of pci_set_mwi was here
/home/saifurab/wltest/compat-wireless-2008-06-25/include/net/compat.h:127: error: static declaration of pci_clear_mwi follows non-static declaration
include/linux/pci.h:545: error: previous declaration of pci_clear_mwi was here
/home/saifurab/wltest/compat-wireless-2008-06-25/include/net/compat.h:361: warning: struct delayed_work declared inside parameter list
/home/saifurab/wltest/compat-wireless-2008-06-25/include/net/compat.h:361: warning: its scope is only this definition or declaration, which is probably not what you want
make[3]: *** [/home/saifurab/wltest/compat-wireless-2008-06-25/drivers/misc/eeprom_93cx6.o] Error 1
make[2]: *** [/home/saifurab/wltest/compat-wireless-2008-06-25/drivers/misc] Error 2
make[1]: *** [_module_/home/saifurab/wltest/compat-wireless-2008-06-25] Error 2
make[1]: Leaving directory `/usr/src/kernels/2.6.18-92.1.1.el5-xen-x86_64'
make: *** [modules] Error 2
failed
0
 
LVL 14

Expert Comment

by:agriesser
ID: 21873106
OK, it seems as if the new wireless drivers don't support your kernel. 2.6.21 is the minimum supported kernel. Any chance to upgrade the kernel on your system?

It further seems as if bcm43xx does only support the 4311 chipset you're running on kernel versions 2.6.20 and above, see this link:

http://bcm43xx.berlios.de/?go=devices

Should have checked this earlier... *grml*

If it's not possible to upgrade your kernel, we should attempt to get it working using ndiswrapper.
0
 

Author Comment

by:saifurab
ID: 21873120
can u tell me how can i update my kernel

I have tried this but didn't work

# yum update kernel
0
 
LVL 14

Expert Comment

by:agriesser
ID: 21873148
I don't know if there's an updated kernel for CentOS. I did only find 2.6.18 on the website...
I'm not that much into CentOS, but try:

yum update
yum upgrade kernel
0
 

Author Comment

by:saifurab
ID: 21881523
I reinstalled the CentOS and run dmesg

[root@localhost ~]# dmesg |grep bcm
bcm43xx driver
bcm43xx: Chip ID 0x4311, rev 0x2
bcm43xx: Number of cores: 4
bcm43xx: Core 0: ID 0x800, rev 0x13, vendor 0x4243
bcm43xx: Core 1: ID 0x812, rev 0xd, vendor 0x4243
bcm43xx: Unsupported 80211 core revision 13
bcm43xx: Core 2: ID 0x817, rev 0x4, vendor 0x4243
bcm43xx: Core 3: ID 0x820, rev 0x5, vendor 0x4243
bcm43xx: PHY connected
bcm43xx: Detected PHY: Analog: 4, Type 2, Revision 9
bcm43xx: Invalid PHY Revision 9
bcm43xx: Detected Radio: ID: 2205017f (Manuf: 17f Ver: 2050 Rev: 2)
bcm43xx: Radio turned off
bcm43xx: Radio turned off
bcm43xx: set security called, .level = 0, .enabled = 0, .encrypt = 0
bcm43xx: PHY connected
bcm43xx: Error: Microcode "bcm43xx_microcode5.fw" not available or load failed.
bcm43xx: core_up for active 802.11 core failed (-2)
bcm43xx: set security called, .level = 0, .enabled = 0, .encrypt = 0
bcm43xx: Error: Microcode "bcm43xx_microcode5.fw" not available or load failed.
bcm43xx: core_up for active 802.11 core failed (-2)
bcm43xx: set security called, .active_key = 0, .level = 1, .enabled = 1, .encrypt = 1
bcm43xx: Error: Microcode "bcm43xx_microcode5.fw" not available or load failed.
bcm43xx: core_up for active 802.11 core failed (-2)

HERE I TRIED IT AGAIN


[root@localhost tmp]# wget wget http://downloads.openwrt.org/sources/broadcom-wl-4.80.53.0.tar.bz2
[root@localhost tmp]# tar xjf broadcom-wl-4.80.53.0.tar.bz2
[root@localhost tmp]# cd broadcom-wl-4.80.53.0/kmod/
[root@localhost kmod]# bcm43xx-fwcutter -w /lib/firmware wl_apsta.o
bash: bcm43xx-fwcutter: command not found

Why this error appears

0
 
LVL 14

Expert Comment

by:agriesser
ID: 21881546
Because the bcm43xx-fwcutter tool hasn't been installed.
In one of your previous posts you said that you have installed the package bcm43xx-fwcutter-006-1.el5.kb.i386.rpm, but let me ask, why did you reinstall CentOS?
0
 

Author Comment

by:saifurab
ID: 21881737
I am not a very good user of Linux. Instead i  am trying to get my hands dirty from linux. I did try because i want o get rid of xen kernel may be there is a way to remove xen kernel...
2nd i did try to compile kernel 2.6.25 but not success full... I know this is foolish but since its my laptop so i can do these bullshits with my laptop.

I installed bcm rpm but same result. When i was trying to install kernel..there was support available for broadcom..but unfotunately i couldn't finiish it successfull...and through yum i can update upto 2.6.18.92

Saif
0
 
LVL 14

Accepted Solution

by:
agriesser earned 2000 total points
ID: 21887831
You should definetly try to use ndiswrapper with your running kernel.
Upgrading the kernel on a distribution without really knowing what to do is always a hard task and requires quite some knowledge about the internals of a linux distribution.

I found a very good howto for installing ndiswrapper (although it's for Ubuntu, but it'll work on your OS too, especially because you don't need to install any additional packages (ndiswrapper should be installed by default) and in this howto there are all the necessary links for getting the windows drivers, etc).

https://help.ubuntu.com/community/WifiDocs/Driver/bcm43xx/Feisty_No-Fluff
0
 

Author Comment

by:saifurab
ID: 21890246


I did try this

wget http://bu3sch.de/b43/fwcutter/b43-fwcutter-011.tar.bz2
tar xjf b43-fwcutter-011.tar.bz2
cd b43-fwcutter-011
make
cd ..

export FIRMWARE_INSTALL_DIR="/lib/firmware"
wget http://mirror2.openwrt.org/sources/broadcom-wl-4.150.10.5.tar.bz2
tar xjf broadcom-wl-4.150.10.5.tar.bz2
cd broadcom-wl-4.150.10.5/driver
sudo ../../b43-fwcutter-011/b43-fwcutter -w "$FIRMWARE_INSTALL_DIR" wl_apsta_mimo.o


AFTER THAT I CEHCKED #dmesg |grep bcm

bcm43xx driver
bcm43xx: Chip ID 0x4311, rev 0x2
bcm43xx: Number of cores: 4
bcm43xx: Core 0: ID 0x800, rev 0x13, vendor 0x4243
bcm43xx: Core 1: ID 0x812, rev 0xd, vendor 0x4243
bcm43xx: Unsupported 80211 core revision 13
bcm43xx: Core 2: ID 0x817, rev 0x4, vendor 0x4243
bcm43xx: Core 3: ID 0x820, rev 0x5, vendor 0x4243
bcm43xx: PHY connected
bcm43xx: Detected PHY: Analog: 4, Type 2, Revision 9
bcm43xx: Invalid PHY Revision 9
bcm43xx: Detected Radio: ID: 2205017f (Manuf: 17f Ver: 2050 Rev: 2)
bcm43xx: Radio turned off
bcm43xx: Radio turned off
bcm43xx: set security called, .active_key = 0, .level = 1, .enabled = 1, .encrypt = 1
bcm43xx: PHY connected
bcm43xx: Microcode rev 0x127, pl 0xe (2005-04-18  02:36:27)
bcm43xx: Radio turned on
bcm43xx: Radio enabled by hardware
bcm43xx: Chip initialized
bcm43xx: 64-bit DMA initialized
bcm43xx: Keys cleared
bcm43xx: Selected 802.11 core (phytype 2)
bcm43xx: FATAL ERROR: BCM43xx_IRQ_XMIT_ERROR
bcm43xx: Radio turned off
bcm43xx: DMA-64 0x0200 (RX) max used slots: 0/64
bcm43xx: DMA-64 0x0340 (TX) max used slots: 0/512
bcm43xx: DMA-64 0x0300 (TX) max used slots: 0/512
bcm43xx: DMA-64 0x02C0 (TX) max used slots: 0/512
bcm43xx: DMA-64 0x0280 (TX) max used slots: 0/512
bcm43xx: DMA-64 0x0240 (TX) max used slots: 2/512
bcm43xx: DMA-64 0x0200 (TX) max used slots: 0/512


what to do?
0
 
LVL 14

Expert Comment

by:agriesser
ID: 21890278
It's exactly the same problem as before. Your card seems to not be supported by the old bcm43xx driver, so please follow the advice above to configure ndiswrapper for this card on your system.
0
 

Author Comment

by:saifurab
ID: 21890298
i did install ndiswrapper
[root@204-15-5-27 ~]# rpm -qa |grep ndis
dkms-ndiswrapper-1.47-1.el5.rf

I don't undeerstand what to do next with ndiswrapper

once i tried this
# ndiswrapper -l
bcmwla5: invalid driver.

then i did

#ndiswrapper -r bcmwla5


0
 

Author Comment

by:saifurab
ID: 21890875
I installed ndiswrapper and installed bcm43xx driver. please see following output

# ndiswrapper -l
bcmwl5 : driver installed
        device (14E4:4312) present (alternate driver: bcm43xx)

everytime my system starts i have to run these 2 commands

# modprobe ndiswrapper
# modprobe bcm43xx

after these commands..here is output

# dmesg |grep ndis
ndiswrapper version 1.47 loaded (smp=yes)
ndiswrapper (link_pe_images:576): fixing KI_USER_SHARED_DATA address in the driver
ndiswrapper: driver bcmwl5 (Broadcom,03/23/2006, 4.40.19.0) loaded
ndiswrapper (NdisWriteErrorLogEntry:192): log: C000138D, count: 1, return_address: ffffffff885d7006
ndiswrapper (NdisWriteErrorLogEntry:195): code: 0x10e
ndiswrapper (mp_init:216): couldn't initialize device: C0000001
ndiswrapper (pnp_start_device:439): Windows driver couldn't initialize the device (C0000001)
ndiswrapper (mp_halt:258): device ffff81001edcc500 is not initialized - not halting
ndiswrapper: device eth%d removed
ndiswrapper: probe of 0000:10:00.0 failed with error -22
usbcore: registered new driver ndiswrapper

# dmesg |grep bcm
ndiswrapper: driver bcmwl5 (Broadcom,03/23/2006, 4.40.19.0) loaded
bcm43xx driver
bcm43xx: Chip ID 0x4311, rev 0x2
bcm43xx: Number of cores: 4
bcm43xx: Core 0: ID 0x800, rev 0x13, vendor 0x4243
bcm43xx: Core 1: ID 0x812, rev 0xd, vendor 0x4243
bcm43xx: Unsupported 80211 core revision 13
bcm43xx: Core 2: ID 0x817, rev 0x4, vendor 0x4243
bcm43xx: Core 3: ID 0x820, rev 0x5, vendor 0x4243
bcm43xx: PHY connected
bcm43xx: Detected PHY: Analog: 4, Type 2, Revision 9
bcm43xx: Invalid PHY Revision 9
bcm43xx: Detected Radio: ID: 2205017f (Manuf: 17f Ver: 2050 Rev: 2)
bcm43xx: Radio turned off
bcm43xx: Radio turned off


# iwconfig
lo        no wireless extensions.
eth0      no wireless extensions.
sit0      no wireless extensions.
eth1      IEEE 802.11b/g  ESSID:off/any  Nickname:"Broadcom 4311"
          Mode:Managed  Access Point: Invalid  
          RTS thr:off   Fragment thr:off
          Encryption key:off
          Link Quality=0/100  Signal level=-256 dBm  Noise level=-256 dBm
          Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
          Tx excessive retries:0  Invalid misc:0   Missed beacon:0


# iwlist scan
lo        Interface doesn't support scanning.
eth0      Interface doesn't support scanning.
sit0      Interface doesn't support scanning.
eth1      Interface doesn't support scanning : No such device

AM I ON RIGHT TRACK ?? Please help
0
 

Author Comment

by:saifurab
ID: 21905268
No help from anybody??
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

In the first part of this tutorial we will cover the prerequisites for installing SQL Server vNext on Linux.
During and after that shift to cloud, one area that still poses a struggle for many organizations is what to do with their department file shares.
Michael from AdRem Software explains how to view the most utilized and worst performing nodes in your network, by accessing the Top Charts view in NetCrunch network monitor (https://www.adremsoft.com/). Top Charts is a view in which you can set seve…
Monitoring a network: how to monitor network services and why? Michael Kulchisky, MCSE, MCSA, MCP, VTSP, VSP, CCSP outlines the philosophy behind service monitoring and why a handshake validation is critical in network monitoring. Software utilized …

877 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question