Re: Illegal instruction on wget()

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> Date: Thu, 13 Sep 2012 00:04:13 -0400
> Subject: Re:  Illegal instruction on wget()
> From: c.dall@xxxxxxxxxxxxxxxxxxxxxx
> To: jessica.allison.2012@xxxxxxxxxxx
> CC: peter.maydell@xxxxxxxxxx; kvmarm@xxxxxxxxxxxxxxxxxxxxx
>
> I use the same config for guest/kernel, and same kernel source code.

If I use the same zImage for the guest as for the host, then the guest does not boot. I get an additional kernel BUG() which I didn't get before:

console [ttyAMA0] enabled
INFO: rcu_sched self-detected stall on CPU { 0}  (t=6000 jiffies)
[<80011c69>] (unwind_backtrace+0x1/0x9c) from [<80064045>] (rcu_check_callbacks+0x125/0x510)
[<80064045>] (rcu_check_callbacks+0x125/0x510) from [<80031a09>] (update_process_times+0x2d/0x50)
[<80031a09>] (update_process_times+0x2d/0x50) from [<80053ce7>] (tick_periodic+0x37/0xb4)
[<80053ce7>] (tick_periodic+0x37/0xb4) from [<80053de3>] (tick_handle_periodic+0x23/0x68)
[<80053de3>] (tick_handle_periodic+0x23/0x68) from [<800541f7>] (tick_do_periodic_broadcast+0xa3/0xbc)
[<800541f7>] (tick_do_periodic_broadcast+0xa3/0xbc) from [<80054223>] (tick_handle_periodic_broadcast+0x13/0x50)
[<80054223>] (tick_handle_periodic_broadcast+0x13/0x50) from [<80018045>] (sp804_timer_interrupt+0x25/0x30)
[<80018045>] (sp804_timer_interrupt+0x25/0x30) from [<8005ec2d>] (handle_irq_event_percpu+0x41/0x198)
[<8005ec2d>] (handle_irq_event_percpu+0x41/0x198) from [<8005edcb>] (handle_irq_event+0x47/0x5c)
[<8005edcb>] (handle_irq_event+0x47/0x5c) from [<800609ff>] (handle_fasteoi_irq+0x63/0xec)
[<800609ff>] (handle_fasteoi_irq+0x63/0xec) from [<8005e7c1>] (generic_handle_irq+0x19/0x2c)
[<8005e7c1>] (generic_handle_irq+0x19/0x2c) from [<8000e137>] (handle_IRQ+0x3b/0x80)
[<8000e137>] (handle_IRQ+0x3b/0x80) from [<8000922b>] (gic_handle_irq+0x23/0x48)
[<8000922b>] (gic_handle_irq+0x23/0x48) from [<8000d41b>] (__irq_svc+0x3b/0x5c)
Exception stack(0x8f895d70 to 0x8f895db8)
5d60:                                     00000100 00000001 00288000 00000040
5d80: 8f873200 000002d6 8f894000 00000001 00000000 80460a1c 804520c0 8045209c
5da0: 00000002 8f895db8 8004b33b 8002b87e 20000133 ffffffff
[<8000d41b>] (__irq_svc+0x3b/0x5c) from [<8002b87e>] (msecs_to_jiffies+0xa/0x28)
[<8002b87e>] (msecs_to_jiffies+0xa/0x28) from [<8004b33b>] (run_rebalance_domains+0x6f/0x134)
[<8004b33b>] (run_rebalance_domains+0x6f/0x134) from [<8002c2a1>] (__do_softirq+0xb5/0x1a4)
[<8002c2a1>] (__do_softirq+0xb5/0x1a4) from [<8002c62b>] (irq_exit+0x3b/0x40)
[<8002c62b>] (irq_exit+0x3b/0x40) from [<8000e13b>] (handle_IRQ+0x3f/0x80)
[<8000e13b>] (handle_IRQ+0x3f/0x80) from [<8000922b>] (gic_handle_irq+0x23/0x48)
[<8000922b>] (gic_handle_irq+0x23/0x48) from [<8000d41b>] (__irq_svc+0x3b/0x5c)
Exception stack(0x8f895e80 to 0x8f895ec8)
5e80: 8f892188 00002180 0cc00040 8030dcc0 00002180 8f892188 8f8921b8 00000000
5ea0: 0cc00040 8f8b0020 00000000 00000000 00000000 8f895ec8 80089919 800b8f88
5ec0: 80000033 ffffffff
[<8000d41b>] (__irq_svc+0x3b/0x5c) from [<800b8f88>] (init_special_inode+0x0/0x74)
[<800b8f88>] (init_special_inode+0x0/0x74) from [<8f895f0c>] (0x8f895f0c)

And then it falls over with:

Switching to clocksource v2m-timer1
INFO: rcu_sched self-detected stall on CPUINFO: rcu_sched detected stalls on CPUs/tasks: { 1} (detected by 0, t=6002 jiffies)
[<80011c69>] (unwind_backtrace+0x1/0x9c) from [<80064407>] (rcu_check_callbacks+0x4e7/0x510)
[<80064407>] (rcu_check_callbacks+0x4e7/0x510) from [<80031a09>] (update_process_times+0x2d/0x50)
[<80031a09>] (update_process_times+0x2d/0x50) from [<80053ce7>] (tick_periodic+0x37/0xb4)
[<80053ce7>] (tick_periodic+0x37/0xb4) from [<80053de3>] (tick_handle_periodic+0x23/0x68)
[<80053de3>] (tick_handle_periodic+0x23/0x68) from [<800541f7>] (tick_do_periodic_broadcast+0xa3/0xbc)
[<800541f7>] (tick_do_periodic_broadcast+0xa3/0xbc) from [<80054223>] (tick_handle_periodic_broadcast+0x13/0x50)
[<80054223>] (tick_handle_periodic_broadcast+0x13/0x50) from [<80018045>] (sp804_timer_interrupt+0x25/0x30)
[<80018045>] (sp804_timer_interrupt+0x25/0x30) from [<8005ec2d>] (handle_irq_event_percpu+0x41/0x198)
[<8005ec2d>] (handle_irq_event_percpu+0x41/0x198) from [<8005edcb>] (handle_irq_event+0x47/0x5c)
[<8005edcb>] (handle_irq_event+0x47/0x5c) from [<800609ff>] (handle_fasteoi_irq+0x63/0xec)
[<800609ff>] (handle_fasteoi_irq+0x63/0xec) from [<8005e7c1>] (generic_handle_irq+0x19/0x2c)
[<8005e7c1>] (generic_handle_irq+0x19/0x2c) from [<8000e137>] (handle_IRQ+0x3b/0x80)
[<8000e137>] (handle_IRQ+0x3b/0x80) from [<8000922b>] (gic_handle_irq+0x23/0x48)
[<8000922b>] (gic_handle_irq+0x23/0x48) from [<8000d41b>] (__irq_svc+0x3b/0x5c)
Exception stack(0x80451f58 to 0x80451fa0)
1f40:                                                       80000000 00000000
1f60: 00000000 00000000 80450000 80450000 8048bc88 803062d8 804642d0 80450000
1f80: 00000000 00000000 00000000 80451fa0 8000e351 8000e352 40000033 ffffffff
[<8000d41b>] (__irq_svc+0x3b/0x5c) from [<8000e352>] (default_idle+0x1a/0x20)
[<8000e352>] (default_idle+0x1a/0x20) from [<8000e46f>] (cpu_idle+0x6b/0xa0)
[<8000e46f>] (cpu_idle+0x6b/0xa0) from [<80414571>] (start_kernel+0x1f5/0x244)
[<80414571>] (start_kernel+0x1f5/0x244) from [<8000808f>] (0x8000808f)

 { 1}  (t=6082 jiffies)
[<80011c69>] (unwind_backtrace+0x1/0x9c) from [<80064045>] (rcu_check_callbacks+0x125/0x510)
[<80064045>] (rcu_check_callbacks+0x125/0x510) from [<80031a09>] (update_process_times+0x2d/0x50)
[<80031a09>] (update_process_times+0x2d/0x50) from [<80053ce7>] (tick_periodic+0x37/0xb4)
[<80053ce7>] (tick_periodic+0x37/0xb4) from [<80053de3>] (tick_handle_periodic+0x23/0x68)
[<80053de3>] (tick_handle_periodic+0x23/0x68) from [<8001102d>] (handle_IPI+0xa9/0x110)
[<8001102d>] (handle_IPI+0xa9/0x110) from [<8000924b>] (gic_handle_irq+0x43/0x48)
[<8000924b>] (gic_handle_irq+0x43/0x48) from [<8000d41b>] (__irq_svc+0x3b/0x5c)
Exception stack(0x8f839e30 to 0x8f839e78)
9e20:                                     00290000 00000001 8f838000 8044f114
9e40: 8f803580 804611c0 8f44de18 000001d4 00000000 804611c0 800b7493 a0000013
9e60: 000001d5 8f839e78 800b7493 800a3814 80000033 ffffffff
[<8000d41b>] (__irq_svc+0x3b/0x5c) from [<800a3814>] (kmem_cache_alloc+0x60/0x124)
[<800a3814>] (kmem_cache_alloc+0x60/0x124) from [<800b7493>] (alloc_inode+0x2f/0x54)
[<800b7493>] (alloc_inode+0x2f/0x54) from [<800b7d65>] (new_inode_pseudo+0xd/0x50)
[<800b7d65>] (new_inode_pseudo+0xd/0x50) from [<800b7db5>] (new_inode+0xd/0x18)
[<800b7db5>] (new_inode+0xd/0x18) from [<80176c2d>] (debugfs_mknod.part.3.constprop.4+0x1d/0xfc)
[<80176c2d>] (debugfs_mknod.part.3.constprop.4+0x1d/0xfc) from [<80176e23>] (__create_file+0x117/0x140)
[<80176e23>] (__create_file+0x117/0x140) from [<8006ddfb>] (trace_create_file+0xf/0x28)
[<8006ddfb>] (trace_create_file+0xf/0x28) from [<80071087>] (__trace_add_event_call.constprop.5+0xc7/0x278)
[<80071087>] (__trace_add_event_call.constprop.5+0xc7/0x278) from [<8041cdef>] (event_trace_init+0x117/0x1b4)
[<8041cdef>] (event_trace_init+0x117/0x1b4) from [<80414627>] (do_one_initcall+0x67/0xf0)
[<80414627>] (do_one_initcall+0x67/0xf0) from [<804147d1>] (kernel_init+0x121/0x1b4)
[<804147d1>] (kernel_init+0x121/0x1b4) from [<8000e329>] (kernel_thread_exit+0x1/0x8)

Previously my guest "just" needed 3mins 45secs roughly to boot, now it takes over 10 mins to get to the point where it actually just halts...

>
> Emulated mmc card IO is going to be _really_ slow on the fast model.

I actually start it from RAM as initramfs, not MMC. I only have a very small VM rootfs.

Jess
 		 	   		  
_______________________________________________
kvmarm mailing list
kvmarm@xxxxxxxxxxxxxxxxxxxxx
https://lists.cs.columbia.edu/cucslists/listinfo/kvmarm



[Index of Archives]     [Linux KVM]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux