Re: bisected boot regression post 2.6.25-rc3.. please revert

From: Arjan van de Ven
Date: Mon Mar 03 2008 - 12:00:48 EST


Ingo Molnar wrote:
* Ingo Molnar <mingo@xxxxxxx> wrote:

Could you try to hack up a debug patch perhaps? Uninline the fucntion(s) then add two versions (one is that breaks on your box and one is that works on your box) of this same pmd_bad()/pud_bad() functions and do something like this (pseudocode):

i.e. something like the (tested) patch below. It is not clear whether your testcase is on 32-bit or 64-bit - so i went for the more likely 32-bit case first.


------------[ cut here ]------------
WARNING: at arch/x86/mm/pgtable_32.c:387 pmd_bad+0x44/0x53()
Modules linked in:
Pid: 1, comm: swapper Not tainted 2.6.25-rc3 #14
[<c0424ba5>] warn_on_slowpath+0x41/0x67
[<c0408c5c>] ? native_sched_clock+0x94/0xa6
[<c043f432>] ? lock_release_holdtime+0x1a/0x115
[<c04702d4>] ? handle_mm_fault+0x297/0x7e2
[<c063eee6>] ? _spin_unlock+0x1d/0x20
[<c04707f0>] ? handle_mm_fault+0x7b3/0x7e2
[<c04851c1>] ? do_sync_read+0xab/0xe9
[<c0417223>] pmd_bad+0x44/0x53
[<c046f37f>] follow_page+0x8b/0x1f2
[<c0470aa0>] get_user_pages+0x281/0x2ef
[<c0488dec>] get_arg_page+0x2d/0x79
[<c04f63cd>] ? strnlen_user+0x2f/0x4d
[<c0488efb>] copy_strings+0xc3/0x160
[<c0488fb4>] copy_strings_kernel+0x1c/0x2b
[<c048a109>] do_execve+0x11a/0x1f0
[<c0403351>] sys_execve+0x29/0x51
[<c0404ac6>] syscall_call+0x7/0xb
[<c0407697>] ? kernel_execve+0x17/0x1c
[<c04021d1>] ? _stext+0x69/0x12c
[<c040574f>] ? kernel_thread_helper+0x7/0x10
=======================
---[ end trace 63b854b89f6f375d ]---



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