Re: [CFT] ELF Relocatable x86 and x86_64 bzImages

From: Vivek Goyal
Date: Mon Jul 31 2006 - 16:23:43 EST


On Mon, Jul 31, 2006 at 10:19:04AM -0600, Eric W. Biederman wrote:
>
> I have spent some time and have gotten my relocatable kernel patches
> working against the latest kernels. I intend to push this upstream
> shortly.
>
> Could all of the people who care take a look and test this out
> to make certain that it doesn't just work on my test box?
>
Hi Eric,

Currently I am testing your patches on i386. With CONFIG_RELOCATABLE=y
kernel boots fine and kexec also works.

But my kernel hangs on kexec on panic case. It hangs early in
decompress_kernel(). Kernel hangs at following condition.

+ if (((u32)output - CONFIG_PHYSICAL_START) & 0x3fffff)
+ error("Destination address not 4M aligned");

I have reserved 64MB at 16M and kernel is loaded at 16M.

I had expected that I would get "Destination address not 4M aligned" on
serial console but did not happen. Had to put outb() to get to this point.

Will look more into it.

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