lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <4AC371C6.3050104@softplc.com>
Date:	Wed, 30 Sep 2009 09:57:10 -0500
From:	Dick Hollenbeck <dick@...tplc.com>
To:	Steven Rostedt <rostedt@...dmis.org>
CC:	linux-kernel@...r.kernel.org, Peter Zijlstra <peterz@...radead.org>
Subject: Re: 2.6.31.1 boot crash, compiled with ftrace

Steven Rostedt wrote:
> On Wed, 2009-09-30 at 04:03 -0400, Steven Rostedt wrote:
>   
>> On Tue, 2009-09-29 at 10:21 -0500, Dick Hollenbeck wrote:
>>     
>>> Please help with a kernel boot crash.  This is happening with ftrace 
>>> enabled.   (I have yet to try without ftrace.)  This same box runs 
>>> kernel 2.6.26 fine.
>>>
>>> While running 'make oldconfig' coming up from 2.6.26, the three most 
>>> significant changes were:
>>>
>>> 1) changed CPU from 486 to Pentium-Classic
>>>
>>> 2) Added "High Memory Support" 4 GB
>>>
>>> 3) Enabled various ftrace options, because I am on the hunt for some 
>>> insane latency problems.
>>>
>>>       
>> Hi Dick,
>>
>> Thanks for reporting this. Peter and I have been taking some look at it.
>> We are not sure that it is ftrace related. have you tried booting the
>> kernel without adding ftrace?
>>     
>
> Hi,
>
> I just booted your config a couple of times without any issues. How
> reproducible is this?
>
> Thanks,
>
> -- Steve
>   

Steve,

Thank you *very* much for your help.  *This* is what makes linux great, 
not just the code, and you are part of it.

The target is an embedded industrial box, and I'm booting from CF card 
via IDE.  I switched build computers, target box stayed the same and the 
CF card stayed the same.  With the switch, the compiler changed and the 
USB CF writer changed (used to create the root fs on the CF card before 
it is moved), as did some configuration options.  I am now booting.  I 
am most suspicious of the original CF card writer device at this point.  
Please do not spend any more time on it unless I come back for another 
plea for help, such as if its the config options change.  I need more 
time to narrow down the explanation for the failure to boot.

My real pursuit here is to find the reason for a nearly 1 second latency 
when running a SCHED_RR userspace process.  The filesystem is ext3 off 
the flash card via IDE. Linux is yanking the machine away from this 
process sporadically for up to 1 second, no disk file calls in this 
proces, only some serial port and networking (epoll) userspace calls in 
a loop.  It is insane.  So I have to get either LTT or FTRACE enabled, 
never used either before.  Its been a tough 2 weeks.  Just getting the 
LTT patches in sync with a decent kernel has been nearly unbearable.

Thanks again,

Dick


--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ