<P>
Hi All,<BR>
<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 & 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 & AP2. when I did "cardctl eject" 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: 0<BR>
EIP: 0010:[<c48656c0>] Not tainted<BR>
Using defaults from ksymoops -t elf32-i386 -a i386<BR>
EFLAGS: 00010286<BR>
eax: c02975b4 ebx: c11c7eec ecx: c11c7ed0 edx: c02975b4<BR>
esi: c48656c0 edi: fffffffe ebp: 00000046 esp: c0277f38<BR>
ds: 0018 es: 0018 ss: 0018<BR>
Process swapper (pid: 0, stackpage=c0277000)<BR>
Stack: c011ebd9 c11c7ed0 c0277f40 c0277f40 00000000 c028c730 fffffffe 00000046<BR>
c011b362 c011b274 00000000 00000001 c011b083 c028c730 c028b900 00000000<BR>
c023be38 c0277f98 c010857d c0105330 c0276000 c0276000 ffffe000 c010a9b8<BR>
Call Trace: [<c011ebd9>] [<c011b362>] [<c011b274>] [<c011b083>] [<c010857d>]<BR>
[<c0105330>] [<c010a9b8>] [<c0105330>] [<c0105353>] [<c01053f2>] [<c0105000>]<BR>
Code: Bad EIP value.<BR>
<BR>
<BR>
>>EIP; c48656c0 <[hostap]prism2_rx_80211+160/500> <=====<BR>
<BR>
>>eax; c02975b4 <xtime+fb4/1514><BR>
>>ebx; c11c7eec <_end+f10e6c/4548fe0><BR>
>>ecx; c11c7ed0 <_end+f10e50/4548fe0><BR>
>>edx; c02975b4 <xtime+fb4/1514><BR>
>>esi; c48656c0 <[hostap]prism2_rx_80211+160/500><BR>
>>esp; c0277f38 <init_task_union+1f38/f1f0><BR>
<BR>
Trace; c011ebd9 <del_timer+c39/e40><BR>
Trace; c011b362 <tasklet_kill+92/c0><BR>
Trace; c011b274 <__tasklet_hi_schedule+114/140><BR>
Trace; c011b083 <do_softirq+93/a0><BR>
Trace; c010857d <enable_irq+13d/140><BR>
Trace; c0105330 <default_idle+0/e0><BR>
Trace; c010a9b8 <disable_irq_nosync+1e18/3c70><BR>
Trace; c0105330 <default_idle+0/e0><BR>
Trace; c0105353 <default_idle+23/e0><BR>
Trace; c01053f2 <default_idle+c2/e0><BR>
Trace; c0105000 <empty_zero_page+1000/1310><BR>
<BR>
<0>Kernel panic: Aiee, killing interrupt handler!<BR>
<BR>
<BR>
What might go wrong with the code? <BR>
<BR>
Any clue would be appreciated. <BR>
<BR>
Thanks & 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>