[Lguest] lguest doesn't compile on 2.6.31 kernel?

Rusty Russell rusty at rustcorp.com.au
Tue Sep 29 20:48:46 EST 2009

On Tue, 29 Sep 2009 07:32:00 pm octane indice wrote:
> Hello
> I just switch to the 2.6.31 kernel and lguest doesn't compile anymore:
> octane at slack:/usr/src/linux/Documentation/lguest$ make
> cc -m32 -Wall -Wmissing-declarations -Wmissing-prototypes -O3
> -I../../include -I../../arch/x86/include -U_FORTIFY_SOURCE    lguest.c   -o
> lguest
> lguest.c:21:25: error: sys/eventfd.h: No such file or directory

Hmm, seems like your glibc headers are too old?  Removing the header should
work (though you'll get that warning).

> But it doesn't work:
> root at slack:~# /usr/src/linux/Documentation/lguest/lguest 48 --block
> /tmp/disk.img /boot/bzImage-2.6.31 ro root=/dev/vda1
> lguest: unhandled trap 13 at 0x5fd7e0 (0x0)
> root at slack:~#

Looks like it didn't get far.  Can you send your kernel .config?


More information about the Lguest mailing list