Skip to contentSkip to conversation

Strange wireless card?

DISCUSSION Gene Heskett 4 participants 5 messages Aug 5, 2009 – Aug 8, 2009 Networking drivers (wireless)

lore
Share & tools
lore
#0 lore raw

Greetings;

Can anyone tell me if this pci wireless card is supported, or what its status is?

Quoted 1 line

From lspci -v:

01:06.0 Ethernet controller: Marvell Technology Group Ltd. 88w8335 [Libertas] 802.11b/g Wireless (rev 03)
Subsystem: Netgear WG311v3 802.11g Wireless PCI Adapter

I have built a 2.6.31-rc5 kernel with the Marvel stuffs all enabled, but even a modprobe mwl8k, while apparently loading the driver, doesn't create any wireless devices in /dev.

Thanks for any pointers.

Signature · 8 lines
Cheers, Gene
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author)
The NRA is offering FREE Associate memberships to anyone who wants them.
<https://www.nrahq.org/nrabonus/accept-membership.asp>

Do not underestimate the power of the Force.
#1 lore raw
Quoted 5 lines · Gene Heskett

Greetings;

Can anyone tell me if this pci wireless card is supported, or what its status is?

Quoted 7 lines

From lspci -v:
01:06.0 Ethernet controller: Marvell Technology Group Ltd. 88w8335 [Libertas] 802.11b/g Wireless (rev 03)
Subsystem: Netgear WG311v3 802.11g Wireless PCI Adapter

I have built a 2.6.31-rc5 kernel with the Marvel stuffs all enabled, but even a modprobe mwl8k, while apparently loading the driver, doesn't create any wireless devices in /dev.

they don't show up in /dev - tried iwconfig?

#2 lore raw
In reply to Gene Heskett
Quoted 5 lines · Gene Heskett

Greetings;

Can anyone tell me if this pci wireless card is supported, or what its status is?

Quoted 7 lines
Quoted 1 line

From lspci -v:

01:06.0 Ethernet controller: Marvell Technology Group Ltd. 88w8335 [Libertas] 802.11b/g Wireless (rev 03)
Subsystem: Netgear WG311v3 802.11g Wireless PCI Adapter

I have built a 2.6.31-rc5 kernel with the Marvel stuffs all enabled, but even a modprobe mwl8k, while apparently loading the driver, doesn't create any wireless devices in /dev.

I don't know much about Marvell, but I'd not expect anything in /dev... dmesg?
Pavel

Signature · 2 lines
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html
#3 lore raw
In reply to Gene Heskett

Op 05-08-09 05:06, Gene Heskett schreef:

Quoted 6 lines

Greetings;

Can anyone tell me if this pci wireless card is supported, or what its status is?

Quoted 1 line

From lspci -v:

Quoted 9 lines

01:06.0 Ethernet controller: Marvell Technology Group Ltd. 88w8335 [Libertas] 802.11b/g Wireless (rev 03)
Subsystem: Netgear WG311v3 802.11g Wireless PCI Adapter

I have built a 2.6.31-rc5 kernel with the Marvel stuffs all enabled, but even a modprobe mwl8k, while apparently loading the driver, doesn't create any wireless devices in /dev.

Thanks for any pointers.

It could be due to a regression I caused, see this thread,

http://lkml.org/lkml/2009/8/8/77

Could you test it with this?

drivers/net/wireless/libertas/assoc.c +1 -1
index d699737..49fceb9 100644
@@ -45,7 +45,7 @@ static int get_common_rates(struct lbs_private *priv,
 {
 	u8 *card_rates = lbs_bg_rates;
 	int ret = 0, i, j;
-	u8 tmp[(ARRAY_SIZE(lbs_bg_rates) - 1) * (*rates_size - 1)];
+	u8 tmp[*rates_size * ARRAY_SIZE(lbs_bg_rates) - 1];
 	size_t tmp_size = 0;
 
 	/* For each rate in card_rates that exists in rate1, copy to tmp */
#4 lore raw
Quoted 28 lines · Roel Kluin

Op 05-08-09 05:06, Gene Heskett schreef:

Quoted 10 lines

Greetings;

Can anyone tell me if this pci wireless card is supported, or what its status is?

Quoted 1 line

From lspci -v:

01:06.0 Ethernet controller: Marvell Technology Group Ltd. 88w8335 [Libertas] 802.11b/g Wireless (rev 03) Subsystem: Netgear WG311v3 802.11g Wireless PCI Adapter

Quoted 5 lines

I have built a 2.6.31-rc5 kernel with the Marvel stuffs all enabled, but even a modprobe mwl8k, while apparently loading the driver, doesn't create any wireless devices in /dev.

Thanks for any pointers.

It could be due to a regression I caused, see this thread,

http://lkml.org/lkml/2009/8/8/77

Could you test it with this?

(quoted diff) +0 -0

b/drivers/net/wireless/libertas/assoc.c index d699737..49fceb9 100644

drivers/net/wireless/libertas/assoc.c static int get_common_rates(struct lbs_private *priv, · line 51

Quoted 8 lines
drivers/net/wireless/libertas/assoc.c +1 -1
@@ -45,7 +45,7 @@ static int get_common_rates(struct lbs_private *priv,
 {
 	u8 *card_rates = lbs_bg_rates;
 	int ret = 0, i, j;
-	u8 tmp[(ARRAY_SIZE(lbs_bg_rates) - 1) * (*rates_size - 1)];
+	u8 tmp[*rates_size * ARRAY_SIZE(lbs_bg_rates) - 1];
 	size_t tmp_size = 0;
 
 	/* For each rate in card_rates that exists in rate1, copy to tmp */

This is a total failure when I attempt to patch my 2.6.31-rc5 tree. The patch trigger phrase lines are even so different that I am not comfortable trying to apply it by hand.

So obviously there have been other, intervening patches also. If this makes it into rc6, maybe it will work?

Quoted 5 lines

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

Signature · 9 lines
Cheers, Gene
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author)
The NRA is offering FREE Associate memberships to anyone who wants them.
<https://www.nrahq.org/nrabonus/accept-membership.asp>

If he should ever change his faith, it'll be because he no longer thinks
he's God.