<!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>&nbsp;</DIV>
<DIV><FONT color=#000080>I do the following steps:</FONT></DIV>
<DIV><FONT color=#000080></FONT>&nbsp;</DIV>
<DIV>
<DIV>[root@FriendlyARM&nbsp;plg]#&nbsp;insmod&nbsp;libertas.ko&nbsp;</DIV>
<DIV>[root@FriendlyARM&nbsp;plg]#&nbsp;insmod&nbsp;libertas_sdio.ko&nbsp;</DIV>
<DIV>libertas_sdio:&nbsp;Libertas&nbsp;SDIO&nbsp;driver</DIV>
<DIV>libertas_sdio:&nbsp;Copyright&nbsp;Pierre&nbsp;Ossman</DIV>
<DIV>libertas:&nbsp;e0:2a:82:71:61:e3,&nbsp;fw&nbsp;9.70.3p36,&nbsp;cap&nbsp;0x00000303</DIV>
<DIV>cfg80211:&nbsp;Calling&nbsp;CRDA&nbsp;for&nbsp;country:&nbsp;JP</DIV>
<DIV>libertas:&nbsp;wlan0:&nbsp;Marvell&nbsp;WLAN&nbsp;802.11&nbsp;adapter</DIV>
<DIV>[root@FriendlyARM&nbsp;plg]#&nbsp;</DIV>
<DIV>[root@FriendlyARM&nbsp;plg]#&nbsp;iwconfig</DIV>
<DIV>lo&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;no&nbsp;wireless&nbsp;extensions.</DIV>
<DIV></DIV>
<DIV>eth0&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;no&nbsp;wireless&nbsp;extensions.</DIV>
<DIV></DIV>
<DIV>wlan0&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;IEEE&nbsp;802.11bg&nbsp;&nbsp;ESSID:off/any&nbsp;&nbsp;</DIV>
<DIV>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Mode:Managed&nbsp;&nbsp;Access&nbsp;Point:&nbsp;Not-Associated&nbsp;&nbsp;&nbsp;</DIV>
<DIV>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Retry&nbsp;&nbsp;long&nbsp;limit:7&nbsp;&nbsp;&nbsp;RTS&nbsp;thr:off&nbsp;&nbsp;&nbsp;Fragment&nbsp;thr:off</DIV>
<DIV>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Encryption&nbsp;key:off</DIV>
<DIV>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Power&nbsp;Management:on</DIV>
<DIV>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</DIV>
<DIV>[root@FriendlyARM&nbsp;plg]#&nbsp;lsmod</DIV>
<DIV>libertas_sdio&nbsp;8093&nbsp;0&nbsp;-&nbsp;Live&nbsp;0xbf013000</DIV>
<DIV>libertas&nbsp;44440&nbsp;1&nbsp;libertas_sdio,&nbsp;Live&nbsp;0xbf000000</DIV>
<DIV>[root@FriendlyARM&nbsp;plg]#&nbsp;rmmod&nbsp;libertas_sdio</DIV>
<DIV>[root@FriendlyARM&nbsp;plg]#&nbsp;lsmod</DIV>
<DIV>[root@FriendlyARM&nbsp;plg]#&nbsp;</DIV>
<DIV>[root@FriendlyARM&nbsp;plg]#&nbsp;insmod&nbsp;libertas.ko&nbsp;</DIV>
<DIV>[root@FriendlyARM&nbsp;plg]#&nbsp;insmod&nbsp;libertas_sdio.ko&nbsp;</DIV>
<DIV>libertas_sdio:&nbsp;Libertas&nbsp;SDIO&nbsp;driver</DIV>
<DIV>libertas_sdio:&nbsp;Copyright&nbsp;Pierre&nbsp;Ossman</DIV>
<DIV>libertas:&nbsp;failed&nbsp;to&nbsp;load&nbsp;helper&nbsp;firmware</DIV>
<DIV>libertas_sdio:&nbsp;probe&nbsp;of&nbsp;mmc0:0001:1&nbsp;failed&nbsp;with&nbsp;error&nbsp;-110</DIV></DIV>
<DIV><FONT color=#000080 size=2 face=Verdana></FONT>&nbsp;</DIV>
<DIV><FONT color=#000080>my platform is samsung 6410,linux 2.6.36,wifi chip is 
marvel8686 with&nbsp; sdio.</FONT></DIV>
<DIV><FONT color=#000080 size=2 face=Verdana></FONT>&nbsp;</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>&nbsp;</DIV>
<DIV><FONT color=#000080>so,any suggestion to this question ?</FONT></DIV>
<DIV><FONT color=#000080></FONT>&nbsp;</DIV>
<DIV><FONT color=#000080></FONT>&nbsp;</DIV>
<DIV><FONT color=#000080></FONT>&nbsp;</DIV>
<DIV><FONT color=#000080></FONT>&nbsp;</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>&nbsp;</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&nbsp; 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&nbsp;libertas-dev&nbsp;mailing&nbsp;list&nbsp;submissions&nbsp;to</DIV>
<DIV>libertas-dev@lists.infradead.org</DIV>
<DIV></DIV>
<DIV>To&nbsp;subscribe&nbsp;or&nbsp;unsubscribe&nbsp;via&nbsp;the&nbsp;World&nbsp;Wide&nbsp;Web,&nbsp;visit</DIV>
<DIV>http://lists.infradead.org/mailman/listinfo/libertas-dev</DIV>
<DIV>or,&nbsp;via&nbsp;email,&nbsp;send&nbsp;a&nbsp;message&nbsp;with&nbsp;subject&nbsp;or&nbsp;body&nbsp;'help'&nbsp;to</DIV>
<DIV>libertas-dev-request@lists.infradead.org</DIV>
<DIV></DIV>
<DIV>You&nbsp;can&nbsp;reach&nbsp;the&nbsp;person&nbsp;managing&nbsp;the&nbsp;list&nbsp;at</DIV>
<DIV>libertas-dev-owner@lists.infradead.org</DIV>
<DIV></DIV>
<DIV>When&nbsp;replying,&nbsp;please&nbsp;edit&nbsp;your&nbsp;Subject&nbsp;line&nbsp;so&nbsp;it&nbsp;is&nbsp;more&nbsp;specific</DIV>
<DIV>than&nbsp;"Re:&nbsp;Contents&nbsp;of&nbsp;libertas-dev&nbsp;digest..."</DIV>
<DIV></DIV>
<DIV></DIV>
<DIV>Today's&nbsp;Topics:</DIV>
<DIV></DIV>
<DIV>&nbsp;&nbsp;&nbsp;1.&nbsp;tx&nbsp;watch&nbsp;dog&nbsp;timeout&nbsp;on&nbsp;resume&nbsp;kills&nbsp;device&nbsp;(Daniel&nbsp;Drake)</DIV>
<DIV></DIV>
<DIV></DIV>
<DIV>----------------------------------------------------------------------</DIV>
<DIV></DIV>
<DIV>Message:&nbsp;1</DIV>
<DIV>Date:&nbsp;Tue,&nbsp;19&nbsp;Apr&nbsp;2011&nbsp;19:19:57&nbsp;+0100</DIV>
<DIV>From:&nbsp;Daniel&nbsp;Drake&nbsp;&lt;dsd@laptop.org&gt;</DIV>
<DIV>To:&nbsp;libertas-dev@lists.infradead.org</DIV>
<DIV>Subject:&nbsp;tx&nbsp;watch&nbsp;dog&nbsp;timeout&nbsp;on&nbsp;resume&nbsp;kills&nbsp;device</DIV>
<DIV>Message-ID:&nbsp;&lt;BANLkTiktbaVmHhww8CY_R8sw+vZtu8tUEQ@mail.gmail.com&gt;</DIV>
<DIV>Content-Type:&nbsp;text/plain;&nbsp;charset=ISO-8859-1</DIV>
<DIV></DIV>
<DIV>Hi,</DIV>
<DIV></DIV>
<DIV>At&nbsp;http://dev.laptop.org/ticket/10748&nbsp;we're&nbsp;seeing&nbsp;libertas&nbsp;sd8686</DIV>
<DIV>dying&nbsp;occasionally&nbsp;during&nbsp;resume.</DIV>
<DIV></DIV>
<DIV>[&nbsp;&nbsp;885.737199]&nbsp;Restarting&nbsp;tasks&nbsp;...&nbsp;done.</DIV>
<DIV>[&nbsp;&nbsp;891.020099]&nbsp;libertas:&nbsp;tx&nbsp;watch&nbsp;dog&nbsp;timeout</DIV>
<DIV>[&nbsp;&nbsp;894.030042]&nbsp;libertas:&nbsp;command&nbsp;0x000b&nbsp;timed&nbsp;out</DIV>
<DIV>[&nbsp;&nbsp;894.034676]&nbsp;libertas:&nbsp;Timeout&nbsp;submitting&nbsp;command&nbsp;0x000b</DIV>
<DIV>[&nbsp;&nbsp;894.040554]&nbsp;libertas:&nbsp;PREP_CMD:&nbsp;command&nbsp;0x000b&nbsp;failed:&nbsp;-11</DIV>
<DIV>[&nbsp;&nbsp;896.010255]&nbsp;libertas:&nbsp;tx&nbsp;watch&nbsp;dog&nbsp;timeout</DIV>
<DIV>[&nbsp;&nbsp;899.020103]&nbsp;libertas:&nbsp;command&nbsp;0x001f&nbsp;timed&nbsp;out</DIV>
<DIV>[&nbsp;&nbsp;899.024664]&nbsp;libertas:&nbsp;Timeout&nbsp;submitting&nbsp;command&nbsp;0x001f</DIV>
<DIV>[&nbsp;&nbsp;899.030530]&nbsp;------------[&nbsp;cut&nbsp;here&nbsp;]------------</DIV>
<DIV>[&nbsp;&nbsp;899.035468]&nbsp;WARNING:&nbsp;at&nbsp;lib/list_debug.c:30&nbsp;__list_add+0x44/0x5a()</DIV>
<DIV></DIV>
<DIV>(the&nbsp;list&nbsp;corruption&nbsp;triggered&nbsp;by&nbsp;this&nbsp;failure&nbsp;must&nbsp;be&nbsp;another&nbsp;issue)</DIV>
<DIV></DIV>
<DIV>I'm&nbsp;still&nbsp;trying&nbsp;to&nbsp;figure&nbsp;out&nbsp;if&nbsp;there&nbsp;is&nbsp;some&nbsp;conflict&nbsp;in&nbsp;command</DIV>
<DIV>sequencing&nbsp;with&nbsp;the&nbsp;0x1f&nbsp;GET_RSSI&nbsp;command&nbsp;submitted&nbsp;upon&nbsp;the&nbsp;timeout,</DIV>
<DIV>and&nbsp;0xb&nbsp;which&nbsp;seems&nbsp;to&nbsp;be&nbsp;submitted&nbsp;by&nbsp;lbs_get_wireless_stats</DIV>
<DIV>(unfortunately&nbsp;enabling&nbsp;debug&nbsp;messages&nbsp;seems&nbsp;to&nbsp;avoid&nbsp;the&nbsp;issue)</DIV>
<DIV></DIV>
<DIV>We're&nbsp;also&nbsp;on&nbsp;2.6.35;&nbsp;newer&nbsp;kernels&nbsp;don't&nbsp;submit&nbsp;the&nbsp;GET_RSSI&nbsp;command</DIV>
<DIV>so&nbsp;we'll&nbsp;be&nbsp;sure&nbsp;to&nbsp;test&nbsp;the&nbsp;latest&nbsp;code&nbsp;as&nbsp;well.</DIV>
<DIV></DIV>
<DIV>In&nbsp;the&nbsp;mean&nbsp;time,&nbsp;lbs_tx_timeout()&nbsp;seems&nbsp;a&nbsp;bit&nbsp;suspect.&nbsp;It&nbsp;would&nbsp;be</DIV>
<DIV>good&nbsp;to&nbsp;get&nbsp;some&nbsp;eyes&nbsp;on&nbsp;it.</DIV>
<DIV></DIV>
<DIV>I&nbsp;don't&nbsp;understand&nbsp;what&nbsp;this&nbsp;does:</DIV>
<DIV>dev-&gt;trans_start&nbsp;=&nbsp;jiffies;&nbsp;/*&nbsp;prevent&nbsp;tx&nbsp;timeout&nbsp;*/</DIV>
<DIV></DIV>
<DIV>And&nbsp;the&nbsp;work&nbsp;done&nbsp;by&nbsp;lbs_send_tx_feedback()&nbsp;seems&nbsp;odd&nbsp;(we&nbsp;RX&nbsp;a</DIV>
<DIV>being-transmitted&nbsp;packet?&nbsp;Can't&nbsp;see&nbsp;any&nbsp;other&nbsp;driver&nbsp;that&nbsp;does&nbsp;this)</DIV>
<DIV></DIV>
<DIV>Is&nbsp;calling&nbsp;lbs_host_to_card_done()&nbsp;here&nbsp;likely&nbsp;to&nbsp;screw&nbsp;with&nbsp;any</DIV>
<DIV>pending&nbsp;commands?</DIV>
<DIV></DIV>
<DIV>Finally,&nbsp;how&nbsp;are&nbsp;TX&nbsp;timeouts&nbsp;detected&nbsp;by&nbsp;the&nbsp;network&nbsp;layer?&nbsp;I&nbsp;guess&nbsp;it</DIV>
<DIV>could&nbsp;be&nbsp;confused&nbsp;because&nbsp;of&nbsp;time&nbsp;elapsed&nbsp;during&nbsp;suspend?&nbsp;It&nbsp;seems</DIV>
<DIV>suspect&nbsp;that&nbsp;we&nbsp;receive&nbsp;a&nbsp;timeout&nbsp;immediately&nbsp;upon&nbsp;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&nbsp;mailing&nbsp;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&nbsp;of&nbsp;libertas-dev&nbsp;Digest,&nbsp;Vol&nbsp;58,&nbsp;Issue&nbsp;11</DIV>
<DIV>********************************************</DIV></FONT></DIV></BODY></HTML>