Atsushi Nemoto wrote: > It looks very strange. "lui k1, %hi(kernelsp)" should be enough for > the -msym32 kernel. What is a version of binutils and gcc you are using? > > And could you show me disassembled list of handle_int (or some other > rountines using get_saved_sp) of failed kernel? > > If you were using gcc 3.x, does this fix work for you? > > #if defined(CONFIG_32BIT) || (defined(KBUILD_64BIT_SYM32) && __GNUC__ >= 4) > lui k1, %hi(kernelsp) > #else # mips64-unknown-linux-gnu-ld --version GNU ld version 2.16.1 # mips64-unknown-linux-gnu-gcc --version mips64-unknown-linux-gnu-gcc (GCC) 4.1.1 (Gentoo 4.1.1-r3) And the disassembly of vmlinux.32 for the handle_int function is attached. I haven't built a kernel w/ gcc-3.x for some time, probably last time being when I was chasing down the strange funkiness in my Octane's userland in 2.6.19. --Kumba -- Gentoo/MIPS Team Lead "Such is oft the course of deeds that move the wheels of the world: small hands do them because they must, while the eyes of the great are elsewhere." --Elrond