RE: RE: timer_function+timer_list

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



-----Original Message-----
From: kernelnewbies-bounce@xxxxxxxxxxxx [mailto:kernelnewbies-bounce@xxxxxxxxxxxx]On Behalf Of kiran kumar
Sent: Tuesday, February 28, 2006 1:11 PM
To: Abu M.Muttalib
Cc: kernelnewbies@xxxxxxxxxxxx
Subject: Re: RE: timer_function+timer_list

as for as i know there is no need to deactivate the timer!
is it required to explicitly deactivate the timer!
[Abu M Muttalib] Yes, as far as we have observed in kernel 2.6.13 version. On second run the driver was generating an OOPS. On first run it was all OK. Seems there is some issue with the "timer_base" in timer.c.
if reqd where to deactivate the timer!
[Abu M Muttalib] If you are using the timer function in some driver then you can deactivate timer inside the close/release call or at module unload time. 


On Tue, 28 Feb 2006 Abu M.Muttalib wrote :
>Hi,
>
>Please see that you have used corresponding del_timer.
>
>~Abu
>Abu M. Muttalib
>Sr. Engineer, Embedded System,
>Aftek Infosys Ltd.,
>Pune, India
>Office: 91-20-25449260-65 X-256
>Mobile: (0)9881322820
>Email: abum@xxxxxxxxx
>
>
>
>  -----Original Message-----
>  From: kernelnewbies-bounce@xxxxxxxxxxxx
>[mailto:kernelnewbies-bounce@xxxxxxxxxxxx]On Behalf Of kiran kumar
>  Sent: Monday, February 27, 2006 12:01 PM
>  To: kernelnewbies@xxxxxxxxxxxx
>  Subject: timer_function+timer_list
>
>
>  hi all,
>    i have used struct timer_list function in tcp_ack_snd_check() defined in
>tcp_input.c to introduce the delay b/w acks!
>  the kernel compiled & booted successfully but when i run an application
>like ftp the kernel panics giving the oops msg as follows:
>      (i am only listing the end portion of the oops)
>    code:  89 5a 04 89 13 89 43 04 89 18 5b c3 8d 76 00 81 f9 ff 3f 00
>  <0> kernel panic : Aiee, kernel interrupt handler !
>  In interrupt handler - not syncing!
>
>  what might be the problem!
>
>  earlier i used mdelay to introduce the delay, it worked fine!
>    but i want to use struvt timer_list function!
>
>  pls help me in this regard!
>
>
>  warm regards,
>  kiran kumar s.k
>  N.I.T.K,surathkal
>
>

warm regards,
kiran kumar s.k
N.I.T.K,surathkal


[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux