Re: deadlock hrtimers

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

 



[...]
> When I try to use the module in qemu everything seems to work (the
> computation continue and the results are as I aspected) but I had a
> sort of warning on the emulator.
> In attachement I add this messages.
> Otherwise when I try the module on real pc the machine hang on in a
> deadlock, but sadly I don't know how the save the output of the kernel
> debugger because I have no serial port
> on my second pc..

You can try netconsole. see Documentation/networking/netconsole.txt.

> If I recompile the kernel with no High Resolution Timer Support the
> patch works also in the real machine.
> I see that the module set an hrtimer inside a section locked by a
> spinlock. Could be this a problem?

Yes, mos likely looks like an already acquired lock is being
reacquired. Try to release the corrupt spinlock after your job
finishes in htimer_interrupt.

HTH
   --Pradeep

>
> Thanks in advance
> Nicoka
>



-- 
Pradeep

--
To unsubscribe from this list: send an email with
"unsubscribe kernelnewbies" to ecartis@xxxxxxxxxxxx
Please read the FAQ at 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