<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Tahoma
}
--></style>
</head>
<body class='hmmessage'><div dir='ltr'>
Hello all,&nbsp;<div>i ve compiled successfully AR6K SDK 2.2 with openembedded linux kernel 2.6.27 for arm architecture.</div><div>The modules sdio_lib.ko and sdio_busdriver.ko are loaded successfully but ar6000.ko is giving errors and ar6k card gets busy while unloading the module ar6000.ko</div><div>error is:</div><div>00000000] *pgd=00000000</div><div>Internal error: Oops: 817 [#1]</div><div>Modules linked in: ar6000 sdio_hcd_os sdio_busdriver sdio_lib(P) [last unloaded:</div><div>&nbsp;sdio_lib]</div><div>CPU: 0 &nbsp; &nbsp;Tainted: P &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; (2.6.27 #1)</div><div>PC is at __bug+0x20/0x2c</div><div>LR is at release_console_sem+0x1b4/0x1f0</div><div>pc : [&lt;c002c424&gt;] &nbsp; &nbsp;lr : [&lt;c0037d48&gt;] &nbsp; &nbsp;psr: 60000013</div><div>sp : c3bd7e18 &nbsp;ip : c3bd7d40 &nbsp;fp : c3bd7e24</div><div>r10: c0319394 &nbsp;r9 : 00000000 &nbsp;r8 : c2c9c900</div><div>r7 : 00051075 &nbsp;r6 : 00000000 &nbsp;r5 : c391a600 &nbsp;r4 : bf0500e4</div><div>r3 : 00000000 &nbsp;r2 : 80000013 &nbsp;r1 : 000041eb &nbsp;r0 : 0000002f</div><div>Flags: nZCv &nbsp;IRQs on &nbsp;FIQs on &nbsp;Mode SVC_32 &nbsp;ISA ARM &nbsp;Segment kernel</div><div>Control: 0005317f &nbsp;Table: 23af8000 &nbsp;DAC: 00000017</div><div>Process SDIO Helper (pid: 1359, stack limit = 0xc3bd6268)</div><div>Stack: (0xc3bd7e18 to 0xc3bd8000)</div><div>7e00: &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; c3bd7e34 c3bd7e28</div><div>7e20: c002d4b8 c002c414 c3bd7e6c c3bd7e38 bf0198d4 c002d45c c0028058 c003c2fc</div><div>7e40: c02fa898 c391a644 c2c9c900 c391a608 60000013 c2c9c910 00000000 c3a59b80</div><div>7e60: c3bd7e94 c3bd7e70 bf0049c4 bf019694 c2c9c900 00000001 00000259 bf0500bc</div><div>7e80: 00000004 00000001 c3bd7ea4 c3bd7e98 bf004de8 bf00456c c3bd7ee4 c3bd7ea8</div><div>7ea0: bf01e08c bf004ddc 00000450 bf04fc80 00000010 00000000 c3bd7f04 bf0500e4</div><div>7ec0: 0001869f bf04fc80 c3bd7f2c 00000004 00000008 00000259 c3bd7f24 c3bd7ee8</div><div>7ee0: bf023030 bf01dca8 00000259 00000000 00000800 00001000 00001800 00002000</div><div>7f00: c3bd7f74 bf04fc80 00000008 bf0505a8 bf04fc80 bf0505a8 c3bd7f5c c3bd7f28</div><div>7f20: bf024118 bf022ff0 bf04fa84 00000008 c3bd7f5c 00000000 c38c4380 00000008</div><div>7f40: c38c4000 bf04fc80 00000000 00000000 c3bd7fac c3bd7f60 bf029b20 bf0240b4</div><div>7f60: c3814940 c0311c70 00000001 c38c43cc c38c43cc 00000000 00000000 00000000</div><div>7f80: c3bd7fa4 c3bd7f90 c004e62c bf04fc94 bf04fc94 bf000b08 00000000 00000000</div><div>7fa0: c3bd7fbc c3bd7fb0 bf01d1a4 bf029890 c3bd7fd4 c3bd7fc0 bf000b24 bf01d194</div><div>7fc0: 00000000 c3bd6000 c3bd7ff4 c3bd7fd8 c004a8dc bf000b18 00000000 00000000</div><div>7fe0: 00000000 00000000 00000000 c3bd7ff8 c003a15c c004a890 206e6f69 7830203d</div><div>Backtrace:</div><div>[&lt;c002c404&gt;] (__bug+0x0/0x2c) from [&lt;c002d4b8&gt;] (dma_cache_maint+0x6c/0x98)</div><div>[&lt;c002d44c&gt;] (dma_cache_maint+0x0/0x98) from [&lt;bf0198d4&gt;] (HcdRequest+0x250/0x6b</div><div>c [sdio_hcd_os])</div><div>[&lt;bf019684&gt;] (HcdRequest+0x0/0x6bc [sdio_hcd_os]) from [&lt;bf0049c4&gt;] (IssueReques</div><div>tToHCD+0x468/0x6e0 [sdio_busdriver])</div><div>[&lt;bf00455c&gt;] (IssueRequestToHCD+0x0/0x6e0 [sdio_busdriver]) from [&lt;bf004de8&gt;] (I</div><div>ssueBusRequest+0x1c/0x20 [sdio_busdriver])</div><div>[&lt;bf004dcc&gt;] (IssueBusRequest+0x0/0x20 [sdio_busdriver]) from [&lt;bf01e08c&gt;] (HIFR</div><div>eadWrite+0x3f4/0x4d8 [ar6000])</div><div>[&lt;bf01dc98&gt;] (HIFReadWrite+0x0/0x4d8 [ar6000]) from [&lt;bf023030&gt;] (bmiBufferSend+</div><div>0x50/0x134 [ar6000])</div><div>[&lt;bf022fe0&gt;] (bmiBufferSend+0x0/0x134 [ar6000]) from [&lt;bf024118&gt;] (BMIGetTargetI</div><div>nfo+0x74/0x1d4 [ar6000])</div><div>[&lt;bf0240a4&gt;] (BMIGetTargetInfo+0x0/0x1d4 [ar6000]) from [&lt;bf029b20&gt;] (ar6000_ava</div><div>il_ev+0x2a0/0x4d0 [ar6000])</div><div>[&lt;bf029880&gt;] (ar6000_avail_ev+0x0/0x4d0 [ar6000]) from [&lt;bf01d1a4&gt;] (insert_help</div><div>er_func+0x20/0x54 [ar6000])</div><div>&nbsp;r8:00000000 r7:00000000 r6:bf000b08 r5:bf04fc94 r4:bf04fc94</div><div>[&lt;bf01d184&gt;] (insert_helper_func+0x0/0x54 [ar6000]) from [&lt;bf000b24&gt;] (HelperLau</div><div>nch+0x1c/0x28 [sdio_lib])</div><div>[&lt;bf000b08&gt;] (HelperLaunch+0x0/0x28 [sdio_lib]) from [&lt;c004a8dc&gt;] (kthread+0x5c/</div><div>0x94)</div><div>&nbsp;r4:c3bd6000</div><div>[&lt;c004a880&gt;] (kthread+0x0/0x94) from [&lt;c003a15c&gt;] (do_exit+0x0/0x6e4)</div><div>&nbsp;r6:00000000 r5:00000000 r4:00000000</div><div>Code: e1a01000 e59f000c eb002fc6 e3a03000 (e5833000)</div><div>---[ end trace 3224245320dc99e6 ]---</div><div><br></div><div><br></div><div><br></div><div><br></div><div>Can somebody tell me what is the problem with the module?</div><div>My guess is some mismatch between arm kernel version 2.6.27 and SDK version 2.2.1.&nbsp;</div><div>REGARDS</div><div>AMNA WAQAR&nbsp;</div>                                               </div></body>
</html>