Questions on libertas driver
Cyril HAENEL
chaenel at free.fr
Thu Jan 24 06:15:45 EST 2008
See below :
Holger Schurig a écrit :
>On Thursday 24 January 2008 10:31:40 Cyril HAENEL wrote:
>
>
>>Hi Holger,
>>
>>I followed your procedure :
>>
>>
>>
> $ git clone
>
>
>>git://git.kernel.org/pub/scm/linux/kernel/git/linville/wireles
>>s-2.6.git
>>
>>--> OK
>>
>>$ cd wireless-2.6
>>$ git checkout -b everything origin/everything
>>
>>
>
>
>
>>--> git checkout: branch everything already exists
>>
>>
>
>Huh? With my git version (1.5.3.7) I see this:
>
>$ git clone [...]
>[...]
>Checking 23061 files out...
> 100% (23061/23061) done
>$ cd wireless-2.6
>Branch everything set up to track remote branch refs/remotes/origin/everything.
>Switched to a new branch "everything"
>
>
>But I hope this isn't problematic. Or maybe it is. Do you have the
>same file?
>
>$ md5sum drivers/net/wireless/libertas/main.c
>d8aae2388a0e0d94e2bee5b0db317f0c drivers/net/wireless/libertas/main.c
>
>I'm asking because in my git tree is there is no "set_frezable"
>in main.c. Actually I have have neither "frezable" nor "freezable":
>
>$ grep frez drivers/net/wireless/libertas/*
>$ grep freez drivers/net/wireless/libertas/*
>$
>
>
Arghh ! My md5 sum is different :
md5sum drivers/net/wireless/libertas/main.c
3bc1ed26be0a384929014a67f5ecd9fc drivers/net/wireless/libertas/main.c
In my case the set_freezable function is called in libertas_thread()
function, just before the for(;;)
My git version is 1.4.4.2
It is possible that you send me a snapshot archive of your entire
libertas directory ? I will be sure to have the same thing as you.
Another thing below :
>
>
>>Third (and last!) error, I don't know how to correct it :
>>
>>/home/stagiaire/blackfin/marvell8385/libertas/ethtool.c:180:
>>error: unknown field 'get_sset_count' specified in initializer
>>/home/stagiaire/blackfin/marvell8385/libertas/ethtool.c:180:
>>warning: initialization from incompatible pointer type
>>
>>
>
>When you look at lbs_ethtool_get_sset_count(), then you see
>that it mentions MESH_STATS_NUM. If you use the compact flash
>card, you're probably stuck at firmware 5.0.16p1. In this case
>you won't have MESH at all. So you can simply uncomment all the
>related code for this.
>
>BTW, in my case the line
>
> .get_sset_count = lbs_ethtool_get_sset_count,
>
>is in ethtool.c:224, so I'm pretty sure you aren't on wireless-2.6,
>branch everything. See also
>
>http://linuxwireless.org/en/developers/Documentation/git-guide
>
>
It's what I thought, so I commented the ".get_sset_count =
lbs_ethtool_get_sset_count," line.
The driver works but a last problem persists :
During ftp transfer I have these errors :
NETDEV WATCHDOG: eth0: transmit timed out
libertas: tx watch dog timeout
NETDEV WATCHDOG: eth0: transmit timed out
libertas: tx watch dog timeout
...
Something the file is successfully dowloaded anyway, but sometime not,
and I need to restart the board to have network working again.
Have you an idea of where this error can come from ?
Regards,
Cyril
--
Cyril Haenel
Registered Linux User #332632
More information about the libertas-dev
mailing list