RE: Timer manipulation in 2.6.13

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

 



Hi Arjan,

Thanks again.

I guess you defined the function modify_timer to return void and you have run the driver only once. We have done the same. But on the second run it generates the oops.

We have tried to delete the timer in release function in the driver and then there is no OOPS but we are not sure about the outcome.

Any pointer will be highly appreciated.

~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: Arjan van de Ven [mailto:arjan@xxxxxxxxxxxxx]
Sent: Saturday, February 25, 2006 8:33 PM
To: Abu M. Muttalib
Cc: kernelnewbies@xxxxxxxxxxxx
Subject: RE: Timer manipulation in 2.6.13


On Sun, 2006-02-26 at 07:04 +0530, Abu M. Muttalib wrote:
> Hi Arjan,
> 
> Thanks for your reply.
> 
> I have created a standalone device and a device driver for it. scullc, to be
> specific, from ldd3 source code. Anyways I am sending you the source code as
> attachment. This is compilable standalone. You need to do an insmod as
> follows:

I fixed a few compiler warnings (which showed real bugs) in your code,
and now I can't reproduce the oops at all

I have attached the updated main.c to this email




--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive:       http://mail.nl.linux.org/kernelnewbies/
FAQ:           http://kernelnewbies.org/faq/



[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