![]() | |||||||||||||
Messages in this thread Patch in this message |
print system_utsname.version in i386 oops to make it possible doing a double check that the oops is matching the vmlinux we're looking at. for example: (2.6.15-git12) --> (2.6.15-git12 #1 SMP Tue Jan 17 13:59:15 JST 2006) Signed-off-by: Akinobu Mita <mita@miraclelinux.com> ---- traps.c | 5 +++-- 1 files changed, 3 insertions(+), 2 deletions(-) --- 2.6-git/arch/i386/kernel/traps.c.orig 2006-01-17 12:45:41.000000000 +0900 +++ 2.6-git/arch/i386/kernel/traps.c 2006-01-17 12:49:35.000000000 +0900 @@ -239,9 +239,10 @@ void show_registers(struct pt_regs *regs } print_modules(); printk(KERN_EMERG "CPU: %d\nEIP: %04x:[<%08lx>] %s VLI\n" - "EFLAGS: %08lx (%s) \n", + "EFLAGS: %08lx (%s %s) \n", smp_processor_id(), 0xffff & regs->xcs, regs->eip, - print_tainted(), regs->eflags, system_utsname.release); + print_tainted(), regs->eflags, system_utsname.release, + system_utsname.version); print_symbol(KERN_EMERG "EIP is at %s\n", regs->eip); printk(KERN_EMERG "eax: %08lx ebx: %08lx ecx: %08lx edx: %08lx\n", regs->eax, regs->ebx, regs->ecx, regs->edx); - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/ | ||||||||||||
| Last update: 2006-01-17 11:19 [from the cache] ©2003-2008 | |||||||||||||