Re: Kernel panic during SysRq-b on Alpha

From: Ivan Kokshaysky
Date: Thu Sep 22 2005 - 04:06:41 EST


On Wed, Sep 21, 2005 at 11:42:32PM -0700, Andrew Morton wrote:
> Wow, never seen that done before. Does it actually work? For keyboard,
> serial console and /proc/sysrq-trigger?

Yes, all of this works for me.

There is another problem on Alpha with 2.6.14-rc kernels, much worse:
slab.c:index_of() works _only_ when it's really inlined, because of
__builtin_constant_p() check. It happens to work on other archs
due to "always_inline" alchemy in compiler.h, but on Alpha we undo
the "inline" redefinitions as they heavily break our internal stuff.
So the slab.c blows up very early on boot (at least when compiled
with gcc3).

I'd be happy if it is possible to stop global redefining of "inline"
keywords and just use __attribute__((always_inline)) when needed.
If not, I don't know how to fix that cleanly.

Richard?

Ivan.
-
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/