Re: non-modular 2.6 ppc kernels miscompiled by gcc-3.3.1?

From: Benjamin Herrenschmidt
Date: Sun Oct 12 2003 - 08:21:35 EST


On Sun, 2003-10-12 at 15:10, Mikael Pettersson wrote:
> When I compile a non-modular 2.6 kernel for ppc with gcc-3.3.1,
> it oopses in __copy_tofrom_user() [copy_mount_options()] in
> user-space's first mount /proc call. User-space limps along
> for a while, oopsing in every mount call, and then hangs.
>
> This occurs with 2.6.0-test5, test6, and the test7-based
> linuxppc-2.5 tree (rsync:ed today).
>
> Enabling CONFIG_MODULES=y but still keeping everything built-in
> prevents the oopses.

Smells like some section alignement issues. Can you check
how the __ex_table section is aligned and where __start___ex_table
points to ? (using objdump)

Ben.


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