<p dir="ltr"><br>
On Aug 3, 2013 3:02 AM, "neha naik" <<a href="mailto:nehanaik27@gmail.com">nehanaik27@gmail.com</a>> wrote:<br>
><br>
> Hi All,<br>
> I looked into my issue and i had only one cpu on that machine and i was getting messages like process # waiting for # secs.<br>
> My theory is that this process was of doing some kind of busy looping on that cpu so that the operating system could<br>
> not even generate a dump.<br>
> The moment i increased the number of cpus i got the dump. I am just posting this<br>
How did you do that?How can you limit the number of cpus?I wonder if there is some sysfs control for that?<br>
because someone else may find it useful.<br>
><br>
> Regards,<br>
> Neha<br>
><br>
> On Thu, May 30, 2013 at 11:44 AM, <<a href="mailto:Valdis.Kletnieks@vt.edu">Valdis.Kletnieks@vt.edu</a>> wrote:<br>
>><br>
>> On Thu, 30 May 2013 11:31:49 -0600, neha naik said:<br>
>><br>
>> > I have loaded the linux crashdump on ubuntu machine. I can manually<br>
>> > generate the crashdump by the 'echo c > /proc/sysrq-trigger'.<br>
>> > However, i am having a panic in a module i have written, which is not<br>
>> > generating a core dump. I simply see the stack in the console and it kind of<br>
>> > hangs there. I have to manually power it off and power it on ...<br>
>> > Can someone explain why this happens? Is it because the kernel has gone<br>
>> > into such a state that it cannot even follow the procedure for<br>
>> > crash dump.<br>
>><br>
>> Most likely, your module isn't in fact panic'ing, but oops'ing.<br>
>> There's a number of kernel variables that control whether to panic.<br>
>><br>
>> ls -l /proc/sys/kernel/*panic*<br>
>><br>
>> and for example 'echo 1 > /proc/sys/kernel/panic_on_oops' will cause<br>
>> a panic if something oops'es.<br>
><br>
><br>
><br>
> _______________________________________________<br>
> Kernelnewbies mailing list<br>
> <a href="mailto:Kernelnewbies@kernelnewbies.org">Kernelnewbies@kernelnewbies.org</a><br>
> <a href="http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies">http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies</a><br>
><br>
</p>