LKML Archive on lore.kernel.org
help / color / mirror / Atom feed
* laptop / computer hardlocks during execution of 32bit applications(binaries) on 64bit system (Gentoo)
@ 2007-12-29 19:57 Matthew
  2007-12-29 23:04 ` Fwd: " Matthew
  0 siblings, 1 reply; 34+ messages in thread
From: Matthew @ 2007-12-29 19:57 UTC (permalink / raw)
  To: linux-kernel, roland, Ingo Molnar, tglx

Hi everybody,

since yesterday my laptop kept on hard-locking when launching 32bit
binaries / apps
I didn't know what to do but

miguel botón was the one pointing me in the right direction, namely bisect :)

kudos to him & the others involved in his zen-sources project:
http://repo.or.cz/w/linux-2.6/zen-sources.git

bisect said the following is the causer:

bfba91b199b0e67497db81f05dd1105c269712cb is first bad commit
commit bfba91b199b0e67497db81f05dd1105c269712cb
Author: Roland McGrath <roland@redhat.com>
Date:   Sun Dec 23 12:47:41 2007 +0100

    x86 user_regset math_emu

    This converts the ptrace/signal accessors for i387 math_emu
    state to the user_regset interface style, and calls these
    from the old interfaces.

    It also cleans up math_emulate's ptrace check to be a
    single-step check, which is what it really wants.

    Signed-off-by: Roland McGrath <roland@redhat.com>
    Signed-off-by: Ingo Molnar <mingo@elte.hu>
    Signed-off-by: Thomas Gleixner <tglx@linutronix.de>

:040000 040000 829c61799b4618522fabf435b2e1b7f4b338cebe
859f184810d1f504af20ba9919819fd41dbcd37c M	arch

I'm now waiting for others to confirm it (another user of that
kernel-tree has also reported the same behavior):
http://forums.gentoo.org/viewtopic-p-4667387.html#4667387

architecture:
processor	: 1
vendor_id	: GenuineIntel
cpu family	: 6
model		: 15
model name	: Intel(R) Core(TM)2 Duo CPU     T7500  @ 2.20GHz
stepping	: 11

system:
Portage 2.1.4_rc11 (default-linux/amd64/2007.0, gcc-4.2.2,
glibc-2.7-r1, 2.6.24-rc6-ga25ef5f6-dirty x86_64
app-shells/bash:     3.2_p17-r1
dev-java/java-config: 1.3.7, 2.1.3
dev-lang/python:     2.4.4-r7
dev-python/pycrypto: 2.0.1-r6
sys-apps/baselayout: 2.0.0_rc6
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.61-r1
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.16.1-r3, 2.18-r1
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.24
virtual/os-headers:  2.6.22-r2
ACCEPT_KEYWORDS="amd64 ~amd64"

keep up the good work !

it's my first run of bisect so sorry for any false-alarm caused by
wrong handling - in advance ;)

Mat

^ permalink raw reply	[flat|nested] 34+ messages in thread
* Re: Fwd: Fwd: laptop / computer hardlocks during execution of 32bit applications(binaries) on 64bit system (Gentoo)
@ 2008-01-11  2:22 Ed Tomlinson
  2008-01-14 16:16 ` Ingo Molnar
  0 siblings, 1 reply; 34+ messages in thread
From: Ed Tomlinson @ 2008-01-11  2:22 UTC (permalink / raw)
  To: Ingo Molnar, Matthew, H. Peter Anvin, linux-kernel, Thomas Gleixner

>> - if yes, does booting with "nmi_watchdog=2 idle=poll" give you a 
>>   working NMI watchdog? (working NMI watchdog means the NMI counts 
>>   increase for all cores in /proc/interrupts).

> booting with the above gives me an incrementing NMI counter in /proc/interrupts

Ingo,

Is there anything else that needs to be set in the kernel config for the nmi watchdog to trigger?

I ask because I just had a hang but nothing showed on the _serial_ console - I waited a couple
of minutes before rebooting....  Is there any other way to verify the watchdog is working?

I seem to need X active with mix of 32 and 64 bit applications active to get hung here.  A massivily
threaded 64 bit java app along with 32 bit firefox and a wine active will eventually trigger things here.
If I had to guess I would say that it the switch from 32 to 64 (or vise versa) that triggers the isuue.

TIA & test/debug patches welcome,
Ed Tomlinson


^ permalink raw reply	[flat|nested] 34+ messages in thread

end of thread, other threads:[~2008-01-15 23:41 UTC | newest]

Thread overview: 34+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-12-29 19:57 laptop / computer hardlocks during execution of 32bit applications(binaries) on 64bit system (Gentoo) Matthew
2007-12-29 23:04 ` Fwd: " Matthew
2007-12-30  0:28   ` Miguel Botón
2008-01-02  8:40     ` Ingo Molnar
     [not found]       ` <e85b9d30801080333y3d6668ccgf20f9666d0326884@mail.gmail.com>
2008-01-08 11:40         ` Fwd: " Matthew
2008-01-09  0:58           ` H. Peter Anvin
2008-01-10  9:05             ` Matthew
2008-01-10  9:42               ` Ingo Molnar
2008-01-10 12:43                 ` Matthew
2008-01-10 12:48                   ` Ingo Molnar
2008-01-10 12:59                     ` Matthew
2008-01-10 13:24                       ` Ingo Molnar
2008-01-10 13:08                     ` Ed Tomlinson
2008-01-10 13:32                       ` Ingo Molnar
2008-01-10 15:56                         ` Matthew
2008-01-10 16:38                         ` Ed Tomlinson
2008-01-10 23:35                   ` Zan Lynx
2008-01-10 21:10             ` Matthew
2008-01-10 21:17               ` H. Peter Anvin
2008-01-10 21:52                 ` Matthew
2008-01-10 21:57                   ` H. Peter Anvin
2008-01-10 22:28                     ` Matthew
2008-01-10 22:30                       ` H. Peter Anvin
2008-01-10 22:53                         ` Matthew
2008-01-14 16:13                           ` Ingo Molnar
2008-01-14 16:47                             ` Matthew
2008-01-14 17:00                               ` Ingo Molnar
2008-01-14 22:16                                 ` Ed Tomlinson
2008-01-15 17:11                                   ` Matthew
2008-01-15 22:09                                   ` Ingo Molnar
2008-01-15 23:41                                     ` Ed Tomlinson
     [not found]         ` <20080108113820.GA16380@elte.hu>
2008-01-08 11:52           ` Matthew
2008-01-11  2:22 Fwd: " Ed Tomlinson
2008-01-14 16:16 ` Ingo Molnar

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).