Re: compilation on ubuntu 32 bit host?

Avi Kivity
2006-11-14T13:51:19Z

Gildas wrote:
> Hi all,
>
> My macbookpro has been reinstalled in ubuntu/edgy and I was able to
> compile kvm against kernel 2.6.17-10-generic.
>
> When booting with "noapic nosmp", I can finally insmod kvm.ko. When I
> don't boot with "noapic nosmp", insmod leads to a kernel panic
> (smp_call_function.interrupt)
>

Looks like the BIOS sets up only one core. I'll cook up a patch to test
all cores for VT.

> But then, if I run "sudo /usr/local/bin/qemu -hda vm.img -cdrom
> ubuntu-6.10-desktop-i386.iso -boot d -m 384", qemu crash with the
> following errors:
>
> set_vram_mapping: memory: e0000000 - e0800000
> set_vram_mapping: return 0x9e17f000
> vga_update_vram: base 0x9e17f000 ptr 0x9e97f008
> vga_update_vram: done
> exception 13 (0)
> Aborted (core dumped)
>
> In /var/log/syslog I have the following:
>
> msrs: 1
> vmwrite error: reg 2012 value 0 (err 12)
> vmwrite error: reg 401c value 0 (err 12)
>
>

These are benign.

Please post the tail of dmesg and an strace.

--
error compiling committee.c: too many arguments to function