* Re: What does unwcheck.pl do?
2004-10-25 17:21 What does unwcheck.pl do? Roland Dreier
@ 2004-10-25 18:06 ` Matthew Wilcox
2004-10-26 8:36 ` David Mosberger
` (2 subsequent siblings)
3 siblings, 0 replies; 5+ messages in thread
From: Matthew Wilcox @ 2004-10-25 18:06 UTC (permalink / raw)
To: linux-ia64
On Mon, Oct 25, 2004 at 10:21:50AM -0700, Roland Dreier wrote:
> ERROR: ia64_monarch_init_handler: 186 slots, total region length = 0
> 1 error detected in 9381 functions.
Don't worry about it. Somebody should fix it at some point, but it's
nothing you introduced.
--
"Next the statesmen will invent cheap lies, putting the blame upon
the nation that is attacked, and every man will be glad of those
conscience-soothing falsities, and will diligently study them, and refuse
to examine any refutations of them; and thus he will by and by convince
himself that the war is just, and will thank God for the better sleep
he enjoys after this process of grotesque self-deception." -- Mark Twain
^ permalink raw reply [flat|nested] 5+ messages in thread* Re: What does unwcheck.pl do?
2004-10-25 17:21 What does unwcheck.pl do? Roland Dreier
2004-10-25 18:06 ` Matthew Wilcox
@ 2004-10-26 8:36 ` David Mosberger
2004-10-26 23:53 ` Luck, Tony
2004-10-27 10:59 ` David Mosberger
3 siblings, 0 replies; 5+ messages in thread
From: David Mosberger @ 2004-10-26 8:36 UTC (permalink / raw)
To: linux-ia64
>>>>> On Mon, 25 Oct 2004 10:21:50 -0700, Roland Dreier <roland@topspin.com> said:
Roland> I can see the ERROR: comes from unwcheck.pl but I have no
Roland> idea what it is checking (something to do with unwind info?)
Roland> let alone how to fix the problem.
Roland> Is this benign or is there something to be fixed?
Both: it needs to be fixed, but it's (mostly) benign since the only
time we're executing that code is when the unwinder can't run anyhow,
since we're in the middle of delivering an MCA. That may (and
probably will) change in the future, so it's something that should be
fixed.
I was hoping someone who knows and could test the MCA code better
would fix it but that hasn't happened yet, so it's time for plan B.
Tony, below is a patch that fixes the unwind info enough that the
warning/error goes away. The unwind-info may not be 100% correct
though. Someone who can test/exercise this code may want to check on
that.
--david
=== arch/ia64/kernel/mca_asm.S 1.14 vs edited ==--- 1.14/arch/ia64/kernel/mca_asm.S 2003-12-23 08:52:44 -08:00
+++ edited/arch/ia64/kernel/mca_asm.S 2004-10-26 01:29:47 -07:00
@@ -868,7 +868,7 @@
GLOBAL_ENTRY(ia64_monarch_init_handler)
-
+ .prologue
// stash the information the SAL passed to os
SAL_TO_OS_MCA_HANDOFF_STATE_SAVE(r2)
;;
@@ -907,6 +907,7 @@
adds out0\x16,sp // out0 = pointer to pt_regs
;;
DO_SAVE_SWITCH_STACK
+ .body
adds out1\x16,sp // out0 = pointer to switch_stack
br.call.sptk.many rp=ia64_init_handler
^ permalink raw reply [flat|nested] 5+ messages in thread
* RE: What does unwcheck.pl do?
2004-10-25 17:21 What does unwcheck.pl do? Roland Dreier
2004-10-25 18:06 ` Matthew Wilcox
2004-10-26 8:36 ` David Mosberger
@ 2004-10-26 23:53 ` Luck, Tony
2004-10-27 10:59 ` David Mosberger
3 siblings, 0 replies; 5+ messages in thread
From: Luck, Tony @ 2004-10-26 23:53 UTC (permalink / raw)
To: linux-ia64
>Tony, below is a patch that fixes the unwind info enough that the
>warning/error goes away. The unwind-info may not be 100% correct
>though. Someone who can test/exercise this code may want to check on
>that.
I tried the patch ... but the error message is still there intermittently.
I saw it on the build for my zx2000 (zx1_defconfig with SMP=n), but not
for the tiger (tiger_defconfig).
-Tony
^ permalink raw reply [flat|nested] 5+ messages in thread
* RE: What does unwcheck.pl do?
2004-10-25 17:21 What does unwcheck.pl do? Roland Dreier
` (2 preceding siblings ...)
2004-10-26 23:53 ` Luck, Tony
@ 2004-10-27 10:59 ` David Mosberger
3 siblings, 0 replies; 5+ messages in thread
From: David Mosberger @ 2004-10-27 10:59 UTC (permalink / raw)
To: linux-ia64
>>>>> On Tue, 26 Oct 2004 16:53:48 -0700, "Luck, Tony" <tony.luck@intel.com> said:
>> Tony, below is a patch that fixes the unwind info enough that the
>> warning/error goes away. The unwind-info may not be 100% correct
>> though. Someone who can test/exercise this code may want to check on
>> that.
Tony> I tried the patch ... but the error message is still there
Tony> intermittently. I saw it on the build for my zx2000
Tony> (zx1_defconfig with SMP=n), but not for the tiger
Tony> (tiger_defconfig).
Works fine here. Are you sure you're not seeing the effect of a
not-quite-up-to-date toolchain?
--david
^ permalink raw reply [flat|nested] 5+ messages in thread