All of lore.kernel.org
 help / color / mirror / Atom feed
* Strange wireless card?
@ 2009-08-05  3:06 Gene Heskett
  2009-08-05 23:35 ` Robert Hancock
                   ` (2 more replies)
  0 siblings, 3 replies; 5+ messages in thread
From: Gene Heskett @ 2009-08-05  3:06 UTC (permalink / raw)
  To: linux-kernel

Greetings;

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

>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.

-- 
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.


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Strange wireless card?
  2009-08-05  3:06 Strange wireless card? Gene Heskett
@ 2009-08-05 23:35 ` Robert Hancock
  2009-08-07 18:07 ` Pavel Machek
  2009-08-08 15:41 ` Roel Kluin
  2 siblings, 0 replies; 5+ messages in thread
From: Robert Hancock @ 2009-08-05 23:35 UTC (permalink / raw)
  To: Gene Heskett; +Cc: linux-kernel

On 08/04/2009 09:06 PM, Gene Heskett wrote:
> Greetings;
>
> Can anyone tell me if this pci wireless card is supported, or what its
> status is?
>
>  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?

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Strange wireless card?
  2009-08-05  3:06 Strange wireless card? Gene Heskett
  2009-08-05 23:35 ` Robert Hancock
@ 2009-08-07 18:07 ` Pavel Machek
  2009-08-08 15:41 ` Roel Kluin
  2 siblings, 0 replies; 5+ messages in thread
From: Pavel Machek @ 2009-08-07 18:07 UTC (permalink / raw)
  To: Gene Heskett; +Cc: linux-kernel

On Tue 2009-08-04 23:06:35, Gene Heskett wrote:
> Greetings;
> 
> Can anyone tell me if this pci wireless card is supported, or what its 
> status is?
> 
> >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
-- 
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Strange wireless card?
  2009-08-05  3:06 Strange wireless card? Gene Heskett
  2009-08-05 23:35 ` Robert Hancock
  2009-08-07 18:07 ` Pavel Machek
@ 2009-08-08 15:41 ` Roel Kluin
  2009-08-08 17:24   ` Gene Heskett
  2 siblings, 1 reply; 5+ messages in thread
From: Roel Kluin @ 2009-08-08 15:41 UTC (permalink / raw)
  To: Gene Heskett; +Cc: linux-kernel

Op 05-08-09 05:06, Gene Heskett schreef:
> Greetings;
> 
> Can anyone tell me if this pci wireless card is supported, or what its 
> status is?
> 
>>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.
> 

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?

diff --git a/drivers/net/wireless/libertas/assoc.c b/drivers/net/wireless/libertas/assoc.c
index d699737..49fceb9 100644
--- a/drivers/net/wireless/libertas/assoc.c
+++ b/drivers/net/wireless/libertas/assoc.c
@@ -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 */

^ permalink raw reply related	[flat|nested] 5+ messages in thread

* Re: Strange wireless card?
  2009-08-08 15:41 ` Roel Kluin
@ 2009-08-08 17:24   ` Gene Heskett
  0 siblings, 0 replies; 5+ messages in thread
From: Gene Heskett @ 2009-08-08 17:24 UTC (permalink / raw)
  To: Roel Kluin; +Cc: linux-kernel

On Saturday 08 August 2009, Roel Kluin wrote:
>Op 05-08-09 05:06, Gene Heskett schreef:
>> Greetings;
>>
>> Can anyone tell me if this pci wireless card is supported, or what its
>> status is?
>>
>>>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.
>
>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?
>
>diff --git a/drivers/net/wireless/libertas/assoc.c
> b/drivers/net/wireless/libertas/assoc.c index d699737..49fceb9 100644
>--- a/drivers/net/wireless/libertas/assoc.c
>+++ b/drivers/net/wireless/libertas/assoc.c
>@@ -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?

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


-- 
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.


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2009-08-08 17:24 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-08-05  3:06 Strange wireless card? Gene Heskett
2009-08-05 23:35 ` Robert Hancock
2009-08-07 18:07 ` Pavel Machek
2009-08-08 15:41 ` Roel Kluin
2009-08-08 17:24   ` Gene Heskett

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.