> George France <[EMAIL PROTECTED]> wrote: > >Here is a trivial patch that will make ksymoops work again on Alpha. Cleaner patch. diff -urN linux-2.4.5-ac3-orig/arch/alpha/kernel/traps.c linux-2.4.5/arch/alpha/kernel/traps.c --- linux-2.4.5-ac3-orig/arch/alpha/kernel/traps.c Thu May 24 17:24:37 2001 +++ linux-2.4.5/arch/alpha/kernel/traps.c Tue May 29 00:42:40 2001 @@ -286,17 +286,11 @@ continue; if (tmp >= (unsigned long) &_etext) continue; - /* - * Assume that only the low 24-bits of a kernel text address - * is interesting. - */ - printk("%6x%c", (int)tmp & 0xffffff, (++i % 11) ? ' ' : '\n'); -#if 0 + printk("%lx%c", tmp, ' '); if (i > 40) { printk(" ..."); break; } -#endif } printk("\n"); } > > Thanks for that. Now if you can just persuade the Alpha people to > print the 'Code:' line in the same format as other architectures then > ksymoops can decode the instructions as well. If Alpha wants to > include its own instruction decoder as well then that is up to them but > I would appreciate a standard 'Code:' line being printed first. Could you send me an oops with the standard 'Code:' line? Best Regards, --George
diff -urN linux-2.4.5-ac3-orig/arch/alpha/kernel/traps.c linux-2.4.5/arch/alpha/kernel/traps.c --- linux-2.4.5-ac3-orig/arch/alpha/kernel/traps.c Thu May 24 17:24:37 2001 +++ linux-2.4.5/arch/alpha/kernel/traps.c Tue May 29 00:42:40 2001 @@ -286,17 +286,11 @@ continue; if (tmp >= (unsigned long) &_etext) continue; - /* - * Assume that only the low 24-bits of a kernel text address - * is interesting. - */ - printk("%6x%c", (int)tmp & 0xffffff, (++i % 11) ? ' ' : '\n'); -#if 0 + printk("%lx%c", tmp, ' '); if (i > 40) { printk(" ..."); break; } -#endif } printk("\n"); }