Thread (94 messages) flat view 94 messages, 6 authors, 2011-02-02

Re: 2.6.36/2.6.37: broken compatibility with userspace input-utils ?

From: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Date: 2011-01-28 21:10:11
Also in: linux-media, lkml

On Fri, Jan 28, 2011 at 04:03:07PM -0500, Mark Lord wrote:
On 11-01-28 03:55 PM, Mark Lord wrote:
quoted
On 11-01-28 11:42 AM, Dmitry Torokhov wrote:
quoted
On Thu, Jan 27, 2011 at 11:53:25AM -0800, Dmitry Torokhov wrote:
quoted
On Thu, Jan 27, 2011 at 01:12:48PM -0500, Mark Lord wrote:
quoted
On 11-01-27 11:39 AM, Dmitry Torokhov wrote:
..
quoted
quoted
quoted
quoted
Hmm, what about compiling with debug and getting a core then?
Sure.  debug is easy, -g, but you'll have to tell me how to get it
do produce a core dump.
See if adjusting /etc/security/limits.conf will enable it to dump core.
Otherwise you'll have to stick 'ulimit -c unlimited' somewhere...
..
quoted
Any luck with getting the core? I'd really like to resolve this issue.
..

I'm upgrading the box to new userspace now.
But I still have the old installation drive,
so perhaps I'll go there now and try this.

My plan is to replace /usr/bin/ir-keytable with a script
that issues the 'ulimit -c unlimited' command and then
invokes the original /usr/bin/ir-keytable binary.

Should take half an hour or so before I get back here again.
No-go.  According to the syslog, the segfault has not happened
since I reconfigured the kernel and startup sequence two days
ago to resolve an XFS mount issue.

Something in there changed the init timing just enough to make
it go away, I believe.
OK, this reinforces my suspicion that the cause of segfault is the race
we were discussing with Mauro, not the keymap retrieval fix.

I shall be sending the patch to Linus/stable in the next pull then.

Thank you for your help.

-- 
Dmitry
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help