<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content="text/html; charset=gb2312" http-equiv=Content-Type>
<META name=GENERATOR content="MSHTML 8.00.6001.19046">
<STYLE>@font-face {
        font-family: 宋体;
}
@font-face {
        font-family: Verdana;
}
@font-face {
        font-family: @宋体;
}
@page Section1 {size: 595.3pt 841.9pt; margin: 72.0pt 90.0pt 72.0pt 90.0pt; layout-grid: 15.6pt; }
P.MsoNormal {
        TEXT-JUSTIFY: inter-ideograph; TEXT-ALIGN: justify; MARGIN: 0cm 0cm 0pt; FONT-FAMILY: "Times New Roman"; FONT-SIZE: 10.5pt
}
LI.MsoNormal {
        TEXT-JUSTIFY: inter-ideograph; TEXT-ALIGN: justify; MARGIN: 0cm 0cm 0pt; FONT-FAMILY: "Times New Roman"; FONT-SIZE: 10.5pt
}
DIV.MsoNormal {
        TEXT-JUSTIFY: inter-ideograph; TEXT-ALIGN: justify; MARGIN: 0cm 0cm 0pt; FONT-FAMILY: "Times New Roman"; FONT-SIZE: 10.5pt
}
A:link {
        COLOR: blue; TEXT-DECORATION: underline
}
SPAN.MsoHyperlink {
        COLOR: blue; TEXT-DECORATION: underline
}
A:visited {
        COLOR: purple; TEXT-DECORATION: underline
}
SPAN.MsoHyperlinkFollowed {
        COLOR: purple; TEXT-DECORATION: underline
}
SPAN.EmailStyle17 {
        FONT-STYLE: normal; FONT-FAMILY: Verdana; COLOR: windowtext; FONT-WEIGHT: normal; TEXT-DECORATION: none; mso-style-type: personal-compose
}
DIV.Section1 {
        page: Section1
}
UNKNOWN {
        FONT-SIZE: 10pt
}
BLOCKQUOTE {
        MARGIN-TOP: 0px; MARGIN-BOTTOM: 0px; MARGIN-LEFT: 2em
}
OL {
        MARGIN-TOP: 0px; MARGIN-BOTTOM: 0px
}
UL {
        MARGIN-TOP: 0px; MARGIN-BOTTOM: 0px
}
</STYLE>
</HEAD>
<BODY style="MARGIN: 10px; FONT-FAMILY: verdana; FONT-SIZE: 10pt">
<DIV><FONT color=#000080 size=2 face=Verdana>Hi,all</FONT></DIV>
<DIV><FONT color=#000080></FONT> </DIV>
<DIV><FONT color=#000080>I do the following steps:</FONT></DIV>
<DIV><FONT color=#000080></FONT> </DIV>
<DIV>
<DIV>[root@FriendlyARM plg]# insmod libertas.ko </DIV>
<DIV>[root@FriendlyARM plg]# insmod libertas_sdio.ko </DIV>
<DIV>libertas_sdio: Libertas SDIO driver</DIV>
<DIV>libertas_sdio: Copyright Pierre Ossman</DIV>
<DIV>libertas: e0:2a:82:71:61:e3, fw 9.70.3p36, cap 0x00000303</DIV>
<DIV>cfg80211: Calling CRDA for country: JP</DIV>
<DIV>libertas: wlan0: Marvell WLAN 802.11 adapter</DIV>
<DIV>[root@FriendlyARM plg]# </DIV>
<DIV>[root@FriendlyARM plg]# iwconfig</DIV>
<DIV>lo no wireless extensions.</DIV>
<DIV></DIV>
<DIV>eth0 no wireless extensions.</DIV>
<DIV></DIV>
<DIV>wlan0 IEEE 802.11bg ESSID:off/any </DIV>
<DIV> Mode:Managed Access Point: Not-Associated </DIV>
<DIV> Retry long limit:7 RTS thr:off Fragment thr:off</DIV>
<DIV> Encryption key:off</DIV>
<DIV> Power Management:on</DIV>
<DIV> </DIV>
<DIV>[root@FriendlyARM plg]# lsmod</DIV>
<DIV>libertas_sdio 8093 0 - Live 0xbf013000</DIV>
<DIV>libertas 44440 1 libertas_sdio, Live 0xbf000000</DIV>
<DIV>[root@FriendlyARM plg]# rmmod libertas_sdio</DIV>
<DIV>[root@FriendlyARM plg]# lsmod</DIV>
<DIV>[root@FriendlyARM plg]# </DIV>
<DIV>[root@FriendlyARM plg]# insmod libertas.ko </DIV>
<DIV>[root@FriendlyARM plg]# insmod libertas_sdio.ko </DIV>
<DIV>libertas_sdio: Libertas SDIO driver</DIV>
<DIV>libertas_sdio: Copyright Pierre Ossman</DIV>
<DIV>libertas: failed to load helper firmware</DIV>
<DIV>libertas_sdio: probe of mmc0:0001:1 failed with error -110</DIV></DIV>
<DIV><FONT color=#000080 size=2 face=Verdana></FONT> </DIV>
<DIV><FONT color=#000080>my platform is samsung 6410,linux 2.6.36,wifi chip is
marvel8686 with sdio.</FONT></DIV>
<DIV><FONT color=#000080 size=2 face=Verdana></FONT> </DIV>
<DIV><FONT color=#000080>android system offen remove and insert the driver. it
will faild in the second insert.</FONT></DIV>
<DIV><FONT color=#000080></FONT> </DIV>
<DIV><FONT color=#000080>so,any suggestion to this question ?</FONT></DIV>
<DIV><FONT color=#000080></FONT> </DIV>
<DIV><FONT color=#000080></FONT> </DIV>
<DIV><FONT color=#000080></FONT> </DIV>
<DIV><FONT color=#000080></FONT> </DIV>
<DIV><FONT color=#c0c0c0 size=2 face=Verdana>2011-04-21 </FONT></DIV><FONT
color=#000080 size=2 face=Verdana>
<HR style="WIDTH: 100px" align=left color=#b5c4df SIZE=1>
</FONT>
<DIV><FONT color=#c0c0c0 size=2 face=Verdana><SPAN>
<DIV>
<DIV><FONT size=2 face=Verdana>谢江波</FONT></DIV>
<DIV><FONT size=2 face=Verdana>深圳岭义科技有限公司</FONT></DIV>
<DIV>地址:深圳市罗湖区嘉宾路4051号金威大厦1913室</DIV>
<DIV>0755-25586481</DIV>
<DIV><A href="mailto:xiejb@lingyitech.com">xiejb@lingyitech.com</A></DIV>
<DIV> </DIV></DIV></SPAN></FONT></DIV>
<HR color=#b5c4df SIZE=1>
<DIV><FONT size=2 face=Verdana><STRONG>发件人:</STRONG> libertas-dev-request
</FONT></DIV>
<DIV><FONT size=2 face=Verdana><STRONG>发送时间:</STRONG> 2011-04-21 00:01:03
</FONT></DIV>
<DIV><FONT size=2 face=Verdana><STRONG>收件人:</STRONG> libertas-dev </FONT></DIV>
<DIV><FONT size=2 face=Verdana><STRONG>抄送:</STRONG> </FONT></DIV>
<DIV><FONT size=2 face=Verdana><STRONG>主题:</STRONG> libertas-dev Digest, Vol 58,
Issue 11 </FONT></DIV>
<DIV><FONT size=2 face=Verdana></FONT> </DIV>
<DIV><FONT size=2 face=Verdana>
<DIV>Send libertas-dev mailing list submissions to</DIV>
<DIV>libertas-dev@lists.infradead.org</DIV>
<DIV></DIV>
<DIV>To subscribe or unsubscribe via the World Wide Web, visit</DIV>
<DIV>http://lists.infradead.org/mailman/listinfo/libertas-dev</DIV>
<DIV>or, via email, send a message with subject or body 'help' to</DIV>
<DIV>libertas-dev-request@lists.infradead.org</DIV>
<DIV></DIV>
<DIV>You can reach the person managing the list at</DIV>
<DIV>libertas-dev-owner@lists.infradead.org</DIV>
<DIV></DIV>
<DIV>When replying, please edit your Subject line so it is more specific</DIV>
<DIV>than "Re: Contents of libertas-dev digest..."</DIV>
<DIV></DIV>
<DIV></DIV>
<DIV>Today's Topics:</DIV>
<DIV></DIV>
<DIV> 1. tx watch dog timeout on resume kills device (Daniel Drake)</DIV>
<DIV></DIV>
<DIV></DIV>
<DIV>----------------------------------------------------------------------</DIV>
<DIV></DIV>
<DIV>Message: 1</DIV>
<DIV>Date: Tue, 19 Apr 2011 19:19:57 +0100</DIV>
<DIV>From: Daniel Drake <dsd@laptop.org></DIV>
<DIV>To: libertas-dev@lists.infradead.org</DIV>
<DIV>Subject: tx watch dog timeout on resume kills device</DIV>
<DIV>Message-ID: <BANLkTiktbaVmHhww8CY_R8sw+vZtu8tUEQ@mail.gmail.com></DIV>
<DIV>Content-Type: text/plain; charset=ISO-8859-1</DIV>
<DIV></DIV>
<DIV>Hi,</DIV>
<DIV></DIV>
<DIV>At http://dev.laptop.org/ticket/10748 we're seeing libertas sd8686</DIV>
<DIV>dying occasionally during resume.</DIV>
<DIV></DIV>
<DIV>[ 885.737199] Restarting tasks ... done.</DIV>
<DIV>[ 891.020099] libertas: tx watch dog timeout</DIV>
<DIV>[ 894.030042] libertas: command 0x000b timed out</DIV>
<DIV>[ 894.034676] libertas: Timeout submitting command 0x000b</DIV>
<DIV>[ 894.040554] libertas: PREP_CMD: command 0x000b failed: -11</DIV>
<DIV>[ 896.010255] libertas: tx watch dog timeout</DIV>
<DIV>[ 899.020103] libertas: command 0x001f timed out</DIV>
<DIV>[ 899.024664] libertas: Timeout submitting command 0x001f</DIV>
<DIV>[ 899.030530] ------------[ cut here ]------------</DIV>
<DIV>[ 899.035468] WARNING: at lib/list_debug.c:30 __list_add+0x44/0x5a()</DIV>
<DIV></DIV>
<DIV>(the list corruption triggered by this failure must be another issue)</DIV>
<DIV></DIV>
<DIV>I'm still trying to figure out if there is some conflict in command</DIV>
<DIV>sequencing with the 0x1f GET_RSSI command submitted upon the timeout,</DIV>
<DIV>and 0xb which seems to be submitted by lbs_get_wireless_stats</DIV>
<DIV>(unfortunately enabling debug messages seems to avoid the issue)</DIV>
<DIV></DIV>
<DIV>We're also on 2.6.35; newer kernels don't submit the GET_RSSI command</DIV>
<DIV>so we'll be sure to test the latest code as well.</DIV>
<DIV></DIV>
<DIV>In the mean time, lbs_tx_timeout() seems a bit suspect. It would be</DIV>
<DIV>good to get some eyes on it.</DIV>
<DIV></DIV>
<DIV>I don't understand what this does:</DIV>
<DIV>dev->trans_start = jiffies; /* prevent tx timeout */</DIV>
<DIV></DIV>
<DIV>And the work done by lbs_send_tx_feedback() seems odd (we RX a</DIV>
<DIV>being-transmitted packet? Can't see any other driver that does this)</DIV>
<DIV></DIV>
<DIV>Is calling lbs_host_to_card_done() here likely to screw with any</DIV>
<DIV>pending commands?</DIV>
<DIV></DIV>
<DIV>Finally, how are TX timeouts detected by the network layer? I guess it</DIV>
<DIV>could be confused because of time elapsed during suspend? It seems</DIV>
<DIV>suspect that we receive a timeout immediately upon resume.</DIV>
<DIV></DIV>
<DIV>Thanks,</DIV>
<DIV>Daniel</DIV>
<DIV></DIV>
<DIV></DIV>
<DIV></DIV>
<DIV>------------------------------</DIV>
<DIV></DIV>
<DIV>_______________________________________________</DIV>
<DIV>libertas-dev mailing list</DIV>
<DIV>libertas-dev@lists.infradead.org</DIV>
<DIV>http://lists.infradead.org/mailman/listinfo/libertas-dev</DIV>
<DIV></DIV>
<DIV></DIV>
<DIV>End of libertas-dev Digest, Vol 58, Issue 11</DIV>
<DIV>********************************************</DIV></FONT></DIV></BODY></HTML>