> On Wed, 2008-07-16 at 14:44 -0700, Dave Hansen wrote:
>
>> On a suggestion of Anthony's, I tried a defconfig kernel.
>>
>> It is now bombing out on an assertion in the lapic code:
>>
>>
http://sr71.net/~dave/linux/2.6.26-oops1.txt
>>
>
> I think I found it!!!
>
> $ (objdump -d kvm.ko ; objdump -d kvm-intel.ko ) | egrep 'sub.*0x...,.*esp|>:' | egrep sub -B1
> 00001a90 <kvm_vcpu_ioctl>:
> 1a9a: 81 ec 60 06 00 00 sub __PLACEHOLDER__0_x660,%esp
> --
> 00004e90 <kvm_arch_vcpu_ioctl>:
> 4e9d: 81 ec 6c 08 00 00 sub __PLACEHOLDER__0_x86c,%esp
> --
> 00005900 <kvm_arch_vm_ioctl>:
> 5903: 81 ec 34 05 00 00 sub __PLACEHOLDER__0_x534,%esp
> --
> 0000d4f0 <paging64_prefetch_page>:
> d4f8: 81 ec 1c 01 00 00 sub __PLACEHOLDER__0_x11c,%esp
> --
> 0000dfd0 <paging32_prefetch_page>:
> dfd8: 81 ec 1c 01 00 00 sub __PLACEHOLDER__0_x11c,%esp
> --
> 0000f390 <kvm_pv_mmu_op>:
> f3a1: 81 ec 28 02 00 00 sub __PLACEHOLDER__0_x228,%esp
>
> We're simply overflowing the stack. I changed all of the large on-stack
> allocations to 'static', and it actually boots now. I know 'static'
> isn't safe, but it was good for a quick test.
>
>