lguest problem on boot of guest kernel

Rusty Russell
Sat, 02 Jun 2007 03:28:06 -0000

On Fri, 2007-06-01 at 17:25 +0200, Nicholas Mc Guire
wrote:
> Hi !
>
> Kenrel 2.6.21 (kernel.org)
> Patch  lguest-2.6.21-254.patch
> Distro Slackware 11.0
> GCC    3.4.6
> GLIBC  2.3.6
> HW     model name      : AMD Duron(tm) procu{s{
>
>
> Module                  Size  Used by
> tun                     7680  0
> lg                     54600  0
>
>
>   just started playing with lguest - patching, compiling and booting the
>   host-kernel goes ok - compiling lguest is ok as well after hardcodeing
>   SIOCBRADDIF - but on the first boot attempt of a guest linux I get:
>
> root@darkstar:/usr/src/linux-2.6.21# Documentation/lguest/lguest
> 64m vmlinux --tunnet=192.168.2.1 --block=../root_fs root=/dev/lgba
> lguest: unhandled trap 6 at 0xc0117903 (0x0)
>
>   this should be in "c01178db T reserve_top_address" - any idea
what could
> be wrong ?

Hi Nicholas!

	You're the second one to hit this in as many days.  I just uploaded an
updated patch, but the summary is that you have to turn off COMPAT_VDSO
for the 2.6.21 patch.  (You can actually leave it on in the host, it's
just the guests...)

Thanks for the bug report!
Rusty.