Gentoo Archives: gentoo-user

From: dell core2duo <gentoomail.dell@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] [query] kernel-2.6.24 + ndiswrapper
Date: Wed, 13 Feb 2008 21:28:27
Message-Id: e5e065050802131328u165dcf1bjadf847708bb19d8d@mail.gmail.com
In Reply to: Re: [gentoo-user] [query] kernel-2.6.24 + ndiswrapper by Etaoin Shrdlu
1 Hi all,
2 First of all thank you all.
3 Finally i got my wireless card working with b43 drivers. But throughput
4 is really low :-(.
5
6 Below is dmesg output for b43 driver.
7 <snip>
8 flukebox flukebox # dmesg|grep b43
9 [ 27.087297] kobject b43: registering. parent: <NULL>, set: module
10 [ 27.087328] kobject holders: registering. parent: b43, set: <NULL>
11 [ 27.087404] fill_kobj_path: path = '/module/b43'
12 [ 27.087501] kobject notes: registering. parent: b43, set: <NULL>
13 [ 27.088021] bus ssb: add driver b43
14 [ 27.088030] kobject b43: registering. parent: <NULL>, set: drivers
15 [ 27.088060] fill_kobj_path: path = '/bus/ssb/drivers/b43'
16 [ 27.088075] ssb: Matched Device ssb0:0 with Driver b43
17 [ 27.088077] ssb: Probing driver b43 with device ssb0:0
18 [ 27.088201] b43-phy0: Broadcom 4311 WLAN found
19 [ 27.124445] b43-phy0 debug: Found PHY: Analog 4, Type 2, Revision 8
20 [ 27.124465] b43-phy0 debug: Found Radio: Manuf 0x17F, Version 0x2050,
21 Revision 2
22 [ 27.163484] bound device 'ssb0:0' to driver 'b43'
23 [ 27.163487] ssb: Bound Device ssb0:0 to Driver b43
24 [ 27.163505] kobject drivers: registering. parent: b43, set: <NULL>
25 [ 74.710234] input: b43-phy0 as /class/input/input11
26 [ 74.936281] b43-phy0 debug: Loading firmware version 351.126 (2006-07-29
27 05:54:02)
28 [ 76.197406] b43-phy0 debug: Chip initialized
29 [ 76.199682] b43-phy0 debug: 32-bit DMA initialized
30 [ 76.213855] DEV: registering device: ID = 'b43-phy0:tx'
31 [ 76.213863] kobject b43-phy0:tx: registering. parent: leds, set: devices
32 [ 76.213883] PM: Adding info for No Bus:b43-phy0:tx
33 [ 76.213906] fill_kobj_path: path = '/class/leds/b43-phy0:tx'
34 [ 76.213927] Registered led device: b43-phy0:tx
35 [ 76.213939] DEV: registering device: ID = 'b43-phy0:rx'
36 [ 76.213947] kobject b43-phy0:rx: registering. parent: leds, set: devices
37 [ 76.213966] PM: Adding info for No Bus:b43-phy0:rx
38 [ 76.213989] fill_kobj_path: path = '/class/leds/b43-phy0:rx'
39 [ 76.214007] Registered led device: b43-phy0:rx
40 [ 76.214019] DEV: registering device: ID = 'b43-phy0:radio'
41 [ 76.214027] kobject b43-phy0:radio: registering. parent: leds, set:
42 devices
43 [ 76.214045] PM: Adding info for No Bus:b43-phy0:radio
44 [ 76.214068] fill_kobj_path: path = '/class/leds/b43-phy0:radio'
45 [ 76.214086] Registered led device: b43-phy0:radio
46 [ 76.214183] b43-phy0 debug: Wireless interface started
47 [ 76.253791] b43-phy0 debug: Adding Interface type 2
48 </snip>
49
50
51 Actually this kernel log lines really help me out.
52
53 <snip>
54
55 Feb 14 02:29:45 [kernel] [ 28.088239] ssb: Matched Device ssb0:0 with
56 Driver b43
57 Feb 14 02:29:45 [kernel] [ 28.088367] b43-phy0: Broadcom 4311 WLAN found
58 Feb 14 02:29:45 [kernel] [ 28.122350] b43-phy0 debug: Found PHY: Analog 4,
59 Type 2, Revision 8
60 Feb 14 02:29:45 [kernel] [ 28.122371] b43-phy0 debug: Found Radio: Manuf
61 0x17F, Version 0x2050, Revision 2
62 Feb 14 02:29:45 [kernel] [ 28.161505] bound device 'ssb0:0' to driver
63 'b43'
64 Feb 14 02:29:45 [kernel] [ 28.161508] ssb: Bound Device ssb0:0 to Driver
65 b43
66 Feb 14 02:29:45 [kernel] [ 28.161534] kobject drivers: registering.
67 parent: b43, set: <NULL>
68 Feb 14 02:29:45 [kernel] [ 98.817654] input: b43-phy0 as
69 /class/input/input11
70 Feb 14 02:29:45 [kernel] [ 99.063914] b43-phy0 ERROR: YOUR FIRMWARE IS TOO
71 NEW. Please downgrade your firmware.
72 Feb 14 02:29:45 [kernel] [ 99.063917] b43-phy0 ERROR: Use this firmware
73 tarball: http://downloads.openwrt.org/sources/broadcom-wl-4.80.53.0.tar.bz2
74 Feb 14 02:29:45 [kernel] [ 99.063920] b43-phy0 ERROR: Use this
75 b43-fwcutter tarball: http://bu3sch.de/b43/fwcutter/b43-fwcutter-009.tar.bz2
76 Feb 14 02:29:45 [kernel] [ 99.063923] b43-phy0 ERROR: Read, understand and
77 _do_ what this message says, please.
78 Feb 14 02:29:45 [kernel] [ 99.081093] input: b43-phy0 as
79 /class/input/input12
80 Feb 14 02:29:45 [kernel] [ 99.218499] b43-phy0 ERROR: Microcode not
81 responding
82 Feb 14 02:29:45 [kernel] [ 99.218503] b43-phy0 ERROR: You must go to
83 http://linuxwireless.org/en/users/Drivers/b43#devicefirmware and download
84 the correct firmware (version 4).
85 Feb 14 02:29:45 [kernel] [ 99.339472] input: b43-phy0 as
86 /class/input/input13
87 Feb 14 02:29:45 [kernel] [ 99.475159] b43-phy0 ERROR: YOUR FIRMWARE IS TOO
88 NEW. Please downgrade your firmware.
89 Feb 14 02:29:45 [kernel] [ 99.475163] b43-phy0 ERROR: Use this firmware
90 tarball: http://downloads.openwrt.org/sources/broadcom-wl-4.80.53.0.tar.bz2
91 Feb 14 02:29:45 [kernel] [ 99.475166] b43-phy0 ERROR: Use this
92 b43-fwcutter tarball: http://bu3sch.de/b43/fwcutter/b43-fwcutter-009.tar.bz2
93 Feb 14 02:29:45 [kernel] [ 99.475169] b43-phy0 ERROR: Read, understand and
94 _do_ what this message says, please.
95 Feb 14 02:29:45 [kernel] [ 100.073085] input: b43-phy0 as
96 /class/input/input14
97 Feb 14 02:29:45 [kernel] [ 100.211085] b43-phy0 ERROR: Microcode not
98 responding
99 Feb 14 02:29:45 [kernel] [ 100.211088] b43-phy0 ERROR: You must go to
100 http://linuxwireless.org/en/users/Drivers/b43#devicefirmware and download
101 the correct firmware (version 4).
102
103 </snip>
104
105 There after i did exactly what these error lines are saying. I unloaded the
106 b43 module. Removed my b43 firmware. Then got firmware and b43-fwcutter
107 listed in error lines and
108 installed them. And then modprobe the b43 module again. Thats it. My
109 wireless card began to work again.
110
111 Now, Is there anyway i can choose or change the Bit rate ?
112
113 Output of iwconfig is as below,
114
115 <snip>
116
117 flukebox flukebox # iwconfig
118 lo no wireless extensions.
119
120 eth0 no wireless extensions.
121
122 wmaster0_rename no wireless extensions.
123
124 wlan0 IEEE 802.11g ESSID:"iitk"
125 Mode:Managed Frequency:2.442 GHz Access Point:
126 00:11:95:D8:E3:33
127 Bit Rate=1 Mb/s Tx-Power=27 dBm
128 Retry min limit:7 RTS thr:off Fragment thr=2346 B
129 Encryption key:off
130 Link Quality=86/100 Signal level=-41 dBm Noise level=-69 dBm
131 Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
132 Tx excessive retries:0 Invalid misc:0 Missed beacon:0
133
134 </snip>
135
136 Output for iwlist wlan0 scan is as below.
137
138 <snip>
139 flukebox flukebox # iwlist wlan0 scan
140 wlan0 Scan completed :
141 Cell 01 - Address: 00:11:95:D8:E3:33
142 ESSID:"iitk"
143 Mode:Master
144 Channel:7
145 Frequency:2.442 GHz (Channel 7)
146 Quality=83/100 Signal level=-44 dBm Noise level=-68
147 dBm
148 Encryption key:off
149 Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 11 Mb/s; 6 Mb/s
150 12 Mb/s; 24 Mb/s; 36 Mb/s; 9 Mb/s; 18 Mb/s
151 48 Mb/s; 54 Mb/s
152 Extra:tsf=000000011b4e9037
153 Cell 02 - Address: 00:0F:B5:96:C6:70
154 ESSID:"iitk"
155 Mode:Master
156 Channel:10
157 Frequency:2.457 GHz (Channel 10)
158 Quality=53/100 Signal level=-71 dBm Noise level=-68
159 dBm
160 Encryption key:off
161 Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 11 Mb/s; 18 Mb/s
162 24 Mb/s; 36 Mb/s; 54 Mb/s; 6 Mb/s; 9 Mb/s
163 12 Mb/s; 48 Mb/s
164 Extra:tsf=0000000ecfc4aabc
165 Cell 03 - Address: 00:11:95:D8:E3:46
166 ESSID:"iitk"
167 Mode:Master
168 Channel:12
169 Frequency:2.467 GHz
170 Quality=41/100 Signal level=-82 dBm Noise level=-68
171 dBm
172 Encryption key:off
173 Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 11 Mb/s; 6 Mb/s
174 12 Mb/s; 24 Mb/s; 36 Mb/s; 9 Mb/s; 18 Mb/s
175 48 Mb/s; 54 Mb/s
176 Extra:tsf=0000005e677b0059
177 Cell 04 - Address: 00:0F:B5:96:C5:2B
178 ESSID:"iitk"
179 Mode:Master
180 Channel:11
181 Frequency:2.462 GHz (Channel 11)
182 Quality=43/100 Signal level=-80 dBm Noise level=-68
183 dBm
184 Encryption key:off
185 Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 11 Mb/s; 18 Mb/s
186 24 Mb/s; 36 Mb/s; 54 Mb/s; 6 Mb/s; 9 Mb/s
187 12 Mb/s; 48 Mb/s
188 Extra:tsf=0000007fa688b18
189
190 </snip>
191
192 Moreover, Card was working with 56Mb/s bit rate with ndiswrapper
193 perfectly.
194
195 Anyway to increase that ??
196
197
198 thanks and regards,
199 flukebox
200
201
202 On Feb 13, 2008 4:41 AM, Etaoin Shrdlu <shrdlu@×××××××××××××.org> wrote:
203
204 > On Tuesday 12 February 2008, dell core2duo wrote:
205 >
206 > >but I am still getting WEXT errors.
207 > >Starting wpa_supplicant on wlan0
208 > > ...
209 > > ioctl[SIOCSIWAUTH]: Operation not supported
210 > > WEXT auth param 4 value 0x0 - ioctl[SIOCSIWAUTH]: Operation not
211 > > supported [ ok ]
212 > > th param 5 value 0x1 -
213 > > * Starting wpa_cli on wlan0
214 > > ...
215 > > [ ok ]
216 > > * Backgrounding ...
217 >
218 > WEXT seems to suggest "wireless extensions" (but I might be wrong of
219 > course). I have the following options enabled in my kernel (some might
220 > be redundant):
221 >
222 > CONFIG_WIRELESS_EXT=y
223 > CONFIG_CFG80211=y
224 > CONFIG_NL80211=y
225 > CONFIG_MAC80211=y
226 > CONFIG_MAC80211_RCSIMPLE=y
227 > CONFIG_MAC80211_DEBUG=y
228 > CONFIG_MAC80211_VERBOSE_DEBUG=y
229 > CONFIG_IEEE80211=y
230 > CONFIG_IEEE80211_DEBUG=y
231 > CONFIG_IEEE80211_CRYPT_WEP=y
232 > CONFIG_IEEE80211_CRYPT_CCMP=y
233 > CONFIG_IEEE80211_CRYPT_TKIP=y
234 > CONFIG_IEEE80211_SOFTMAC=y
235 > CONFIG_IEEE80211_SOFTMAC_DEBUG=y
236 > CONFIG_WLAN_80211=y
237 > CONFIG_B43=y
238 > CONFIG_B43_PCI_AUTOSELECT=y
239 > CONFIG_B43_PCICORE_AUTOSELECT=y
240 > CONFIG_B43_DEBUG=y
241 > CONFIG_B43_DMA=y
242 > CONFIG_B43_PIO=y
243 > CONFIG_B43_DMA_AND_PIO_MODE=y
244 > CONFIG_B43LEGACY=y
245 > CONFIG_B43LEGACY_PCI_AUTOSELECT=y
246 > CONFIG_B43LEGACY_PCICORE_AUTOSELECT=y
247 > CONFIG_B43LEGACY_DEBUG=y
248 > CONFIG_B43LEGACY_DMA=y
249 > CONFIG_B43LEGACY_PIO=y
250 > CONFIG_B43LEGACY_DMA_AND_PIO_MODE=y
251 >
252 > I'm pretty sure some of them are redundant, but I have not had the time
253 > yet to read about the wireless extensions/*80211 changes and their
254 > implications. However, my card is working correctly with the above
255 > config.
256 >
257 > Is the firmware in place (the correct one for your driver)? Post the
258 > relevant sections from /var/log/messages where the wireless card is
259 > recognized and initialized.
260 > --
261 > gentoo-user@l.g.o mailing list
262 >
263 >

Replies

Subject Author
Re: [gentoo-user] [query] kernel-2.6.24 + ndiswrapper Etaoin Shrdlu <shrdlu@×××××××××××××.org>
Re: [gentoo-user] [query] kernel-2.6.24 + ndiswrapper Etaoin Shrdlu <shrdlu@×××××××××××××.org>