<P>
Hi All,<BR>
&nbsp; <BR>
I have made some changes in HostAP driver. If a station or AP is inactive for say 5 minutes it is automatically deleted from list that hostap keeps. this is provision provided by HostAP driver earlier. I just changed a code in order to reduce timing from 5 min to 1 sec. <BR>
<BR>
Consider a situation where WDS links are made between APs (say AP1 &amp; AP2). AP1 is constantly listening to beacons from AP2 and updating its last received frame (last_rx)variable. I have written a timer which is invoked per second and compares current timing with last received beacon. If AP1 fails to listen beacons from AP2 in a second, it will automatically delete the entry of AP1 from its list by invoking timer handler (it's obivious).. <BR>
<BR>
while testing this code,I executed modified HostAP driver on AP1 &amp; AP2. when I did &quot;cardctl eject&quot; on AP2, oops are generated and kernel panics.<BR>
<BR>
The output of ksymoops is:<BR>
Unable to handle kernel paging request at virtual address c48656c0<BR>
c48656c0<BR>
*pde = 03da2067<BR>
Oops: 0000<BR>
CPU:&nbsp; &nbsp; 0<BR>
EIP:&nbsp; &nbsp; 0010:[&lt;c48656c0&gt;]&nbsp; &nbsp; Not tainted<BR>
Using defaults from ksymoops -t elf32-i386 -a i386<BR>
EFLAGS: 00010286<BR>
eax: c02975b4&nbsp; ebx: c11c7eec&nbsp; ecx: c11c7ed0&nbsp; edx: c02975b4<BR>
esi: c48656c0&nbsp; edi: fffffffe&nbsp; ebp: 00000046&nbsp; esp: c0277f38<BR>
ds: 0018&nbsp; es: 0018&nbsp; ss: 0018<BR>
Process swapper (pid: 0, stackpage=c0277000)<BR>
Stack: c011ebd9 c11c7ed0 c0277f40 c0277f40 00000000 c028c730 fffffffe 00000046<BR>
&nbsp; &nbsp; &nbsp; c011b362 c011b274 00000000 00000001 c011b083 c028c730 c028b900 00000000<BR>
&nbsp; &nbsp; &nbsp; c023be38 c0277f98 c010857d c0105330 c0276000 c0276000 ffffe000 c010a9b8<BR>
Call Trace:&nbsp; &nbsp; [&lt;c011ebd9&gt;] [&lt;c011b362&gt;] [&lt;c011b274&gt;] [&lt;c011b083&gt;] [&lt;c010857d&gt;]<BR>
&nbsp; [&lt;c0105330&gt;] [&lt;c010a9b8&gt;] [&lt;c0105330&gt;] [&lt;c0105353&gt;] [&lt;c01053f2&gt;] [&lt;c0105000&gt;]<BR>
Code:&nbsp; Bad EIP value.<BR>
&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; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <BR>
&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; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <BR>
&gt;&gt;EIP; c48656c0 &lt;[hostap]prism2_rx_80211+160/500&gt;&nbsp; &lt;=====<BR>
&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; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <BR>
&gt;&gt;eax; c02975b4 &lt;xtime+fb4/1514&gt;<BR>
&gt;&gt;ebx; c11c7eec &lt;_end+f10e6c/4548fe0&gt;<BR>
&gt;&gt;ecx; c11c7ed0 &lt;_end+f10e50/4548fe0&gt;<BR>
&gt;&gt;edx; c02975b4 &lt;xtime+fb4/1514&gt;<BR>
&gt;&gt;esi; c48656c0 &lt;[hostap]prism2_rx_80211+160/500&gt;<BR>
&gt;&gt;esp; c0277f38 &lt;init_task_union+1f38/f1f0&gt;<BR>
&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; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <BR>
Trace; c011ebd9 &lt;del_timer+c39/e40&gt;<BR>
Trace; c011b362 &lt;tasklet_kill+92/c0&gt;<BR>
Trace; c011b274 &lt;__tasklet_hi_schedule+114/140&gt;<BR>
Trace; c011b083 &lt;do_softirq+93/a0&gt;<BR>
Trace; c010857d &lt;enable_irq+13d/140&gt;<BR>
Trace; c0105330 &lt;default_idle+0/e0&gt;<BR>
Trace; c010a9b8 &lt;disable_irq_nosync+1e18/3c70&gt;<BR>
Trace; c0105330 &lt;default_idle+0/e0&gt;<BR>
Trace; c0105353 &lt;default_idle+23/e0&gt;<BR>
Trace; c01053f2 &lt;default_idle+c2/e0&gt;<BR>
Trace; c0105000 &lt;empty_zero_page+1000/1310&gt;<BR>
&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; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <BR>
&lt;0&gt;Kernel panic: Aiee, killing interrupt handler!<BR>
&nbsp; <BR>
<BR>
What might go wrong with the code? <BR>
<BR>
Any clue would be appreciated. <BR>
<BR>
Thanks &amp; regards,<BR>
Manisha<BR>

</P>
<br><br>
<A target="_blank" HREF="http://clients.rediff.com/signature/track_sig.asp"><IMG SRC="http://ads.rediff.com/RealMedia/ads/adstream_nx.cgi/www.rediffmail.com/inbox.htm@Bottom" BORDER=0 VSPACE=0 HSPACE=0></a>