Guest freezes at boot time

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

 



Hi ,
Thanks Christoffer for logging ideas ... I enabled them and left it on for
some time and the guest reached the qemu login prompt and froze(cannot
actually type root in the prompt) .I saw of a lot of logs showing a
softlockup on cpu 0.  Here is the final set of logs that I get before the
freeze

BUG: soft lockup detected on CPU#0!
[<c0027448>] (dump_stack+0x0/0x14) from [<c0057a54>]
(softlockup_tick+0x94/0xa8)
[<c00579c0>] (softlockup_tick+0x0/0xa8) from [<c0046ca8>]
(run_local_timers+0x18/0x1c)
 r4 = C03922C0  r3 = 00000000
[<c0046c90>] (run_local_timers+0x0/0x1c) from [<c0046cf0>]
(update_process_times+0x44/0x70)
[<c0046cac>] (update_process_times+0x0/0x70) from [<c0026ebc>]
(timer_tick+0xcc/0xe4)
 r5 = 00000001  r4 = C7F5BCD0
[<c0026df0>] (timer_tick+0x0/0xe4) from [<c002df5c>]
(integrator_timer_interrupt+0x30/0x4c)
 r4 = C0244044  r3 = F1300000
[<c002df2c>] (integrator_timer_interrupt+0x0/0x4c) from [<c00236b0>]
(__do_irq+0x54/0x9c)
 r5 = 00000000  r4 = C02064C0
[<c002365c>] (__do_irq+0x0/0x9c) from [<c0023980>] (do_level_IRQ+0x68/0xc0)
 r8 = 00000013  r7 = 00000000  r6 = C7F5BCD0  r5 = 00000006
 r4 = C023CB50  r3 = C023E370
[<c0023918>] (do_level_IRQ+0x0/0xc0) from [<c0023588>]
(asm_do_IRQ+0x4c/0x120)
 r6 = 00000001  r5 = C7F5BCD0  r4 = FFFFFFFF  r3 = C0023918
[<c002353c>] (asm_do_IRQ+0x0/0x120) from [<c0021a10>] (__irq_svc+0x30/0xa0)
 r5 = F1000000  r4 = FFFFFFFF
[<c0042738>] (__do_softirq+0x0/0xf0) from [<c0042870>] (irq_exit+0x48/0x50)
 r6 = 00000001  r5 = C7F5BD68  r4 = FFFFFFFF  r3 = 00000002
[<c0042828>] (irq_exit+0x0/0x50) from [<c0023640>] (asm_do_IRQ+0x104/0x120)
[<c002353c>] (asm_do_IRQ+0x0/0x120) from [<c0021a10>] (__irq_svc+0x30/0xa0)
 r5 = F1000000  r4 = FFFFFFFF
[<c0026ccc>] (do_gettimeofday+0x0/0xdc) from [<c004193c>]
(getnstimeofday+0x1c/0x3c)
 r8 = 00804111  r7 = C099E000  r6 = C0244044  r5 = 0066962A
 r4 = C09D2690  r3 = 000002D6
[<c0041920>] (getnstimeofday+0x0/0x3c) from [<c0053bf4>]
(ktime_get_ts+0x20/0x60)
 r4 = C09D2690
[<c0053bd4>] (ktime_get_ts+0x0/0x60) from [<c003ba18>]
(copy_process+0x2ec/0x1064)
 r6 = 00000000  r5 = 00000000  r4 = C09D2580  r3 = FFFFFFFF
[<c003b72c>] (copy_process+0x0/0x1064) from [<c003c854>]
(do_fork+0xc4/0x1e0)
[<c003c790>] (do_fork+0x0/0x1e0) from [<c0023eb8>] (kernel_thread+0x6c/0x7c)
[<c0023e4c>] (kernel_thread+0x0/0x7c) from [<c004ce64>]
(__call_usermodehelper+0x34/0x68)
 r7 = C0A16A38  r6 = C0A16A28  r5 = 20000013  r4 = C7801D10
[<c004ce30>] (__call_usermodehelper+0x0/0x68) from [<c004d474>]
(run_workqueue+0xc8/0x12c)
 r4 = C0A16A20  r3 = C004CE30
[<c004d3ac>] (run_workqueue+0x0/0x12c) from [<c004d5d8>]
(worker_thread+0x100/0x13c)
 r7 = C0A16A30  r6 = C0A16A28  r5 = C0A16A20  r4 = C7F5A000
[<c004d4d8>] (worker_thread+0x0/0x13c) from [<c0050bd4>]
(kthread+0x100/0x134)
 r8 = 00000000  r7 = C0A16A20  r6 = C004D4D8  r5 = C0A21F10
 r4 = C7F5A000
[<c0050ad4>] (kthread+0x0/0x134) from [<c0040374>] (do_exit+0x0/0x7bc)
 r7 = 00000000  r6 = 00000000  r5 = 00000000  r4 = 00000000
First jump to user space!

BUG: soft lockup detected on CPU#0!
[<c0027448>] (dump_stack+0x0/0x14) from [<c0057a54>]
(softlockup_tick+0x94/0xa8)
[<c00579c0>] (softlockup_tick+0x0/0xa8) from [<c0046ca8>]
(run_local_timers+0x18/0x1c)
 r4 = C095CAE0  r3 = 00000000
[<c0046c90>] (run_local_timers+0x0/0x1c) from [<c0046cf0>]
(update_process_times+0x44/0x70)
[<c0046cac>] (update_process_times+0x0/0x70) from [<c0026ebc>]
(timer_tick+0xcc/0xe4)
 r5 = 00000001  r4 = C7801DF8
[<c0026df0>] (timer_tick+0x0/0xe4) from [<c002df5c>]
(integrator_timer_interrupt+0x30/0x4c)
 r4 = C0244044  r3 = F1300000
[<c002df2c>] (integrator_timer_interrupt+0x0/0x4c) from [<c00236b0>]
(__do_irq+0x54/0x9c)
 r5 = 00000000  r4 = C02064C0
[<c002365c>] (__do_irq+0x0/0x9c) from [<c0023980>] (do_level_IRQ+0x68/0xc0)
 r8 = 00000000  r7 = 00008371  r6 = C7801DF8  r5 = 00000006
 r4 = C023CB50  r3 = C023E370
[<c0023918>] (do_level_IRQ+0x0/0xc0) from [<c0023588>]
(asm_do_IRQ+0x4c/0x120)
 r6 = 00000001  r5 = C7801DF8  r4 = FFFFFFFF  r3 = C0023918
[<c002353c>] (asm_do_IRQ+0x0/0x120) from [<c0021a10>] (__irq_svc+0x30/0xa0)
 r5 = F1000000  r4 = FFFFFFFF
[<c0042738>] (__do_softirq+0x0/0xf0) from [<c0042870>] (irq_exit+0x48/0x50)
 r6 = 00000001  r5 = C7801E90  r4 = FFFFFFFF  r3 = 00000022
[<c0042828>] (irq_exit+0x0/0x50) from [<c0023640>] (asm_do_IRQ+0x104/0x120)
[<c002353c>] (asm_do_IRQ+0x0/0x120) from [<c0021a10>] (__irq_svc+0x30/0xa0)
 r5 = F1000000  r4 = FFFFFFFF
[<c0053904>] (hrtimer_start+0x0/0xd4) from [<c01daea8>]
(do_nanosleep+0x48/0x88)
[<c01dae60>] (do_nanosleep+0x0/0x88) from [<c0053a1c>]
(hrtimer_nanosleep+0x44/0x14c)
 r6 = C7801F88  r5 = C7801F38  r4 = BEA62AF0
[<c00539d8>] (hrtimer_nanosleep+0x0/0x14c) from [<c0053bc0>]
(sys_nanosleep+0x9c/0xb0)
 r7 = 000000A2  r6 = 00000000  r5 = BEA62AF0  r4 = C7801F88
[<c0053b24>] (sys_nanosleep+0x0/0xb0) from [<c0021e00>]
(ret_fast_syscall+0x0/0x3c)
 r5 = BEA62A70  r4 = BEA62AF0
Kernel config is available through /proc/config.gz

Log in as root with no password.BUG: soft lockup detected on CPU#0!
[<c0027448>] (dump_stack+0x0/0x14) from [<c0057a54>]
(softlockup_tick+0x94/0xa8)
[<c00579c0>] (softlockup_tick+0x0/0xa8) from [<c0046ca8>]
(run_local_timers+0x18/0x1c)
 r4 = C095C860  r3 = 00000000
[<c0046c90>] (run_local_timers+0x0/0x1c) from [<c0046cf0>]
(update_process_times+0x44/0x70)
[<c0046cac>] (update_process_times+0x0/0x70) from [<c0026ebc>]
(timer_tick+0xcc/0xe4)
 r5 = 00000001  r4 = C7FDFDC0
[<c0026df0>] (timer_tick+0x0/0xe4) from [<c002df5c>]
(integrator_timer_interrupt+0x30/0x4c)
 r4 = C0244044  r3 = F1300000
[<c002df2c>] (integrator_timer_interrupt+0x0/0x4c) from [<c00236b0>]
(__do_irq+0x54/0x9c)
 r5 = 00000000  r4 = C02064C0
[<c002365c>] (__do_irq+0x0/0x9c) from [<c0023980>] (do_level_IRQ+0x68/0xc0)
 r8 = C0969F40  r7 = C7FDE000  r6 = C7FDFDC0  r5 = 00000006
 r4 = C023CB50  r3 = C023E370
[<c0023918>] (do_level_IRQ+0x0/0xc0) from [<c0023588>]
(asm_do_IRQ+0x4c/0x120)
 r6 = 00000001  r5 = C7FDFDC0  r4 = FFFFFFFF  r3 = C0023918
[<c002353c>] (asm_do_IRQ+0x0/0x120) from [<c0021a10>] (__irq_svc+0x30/0xa0)
 r5 = F1000000  r4 = FFFFFFFF
[<c0042370>] (tasklet_action+0x0/0x104) from [<c004279c>]
(__do_softirq+0x64/0xf0)
 r4 = 00000001  r3 = C0042370
[<c0042738>] (__do_softirq+0x0/0xf0) from [<c0042870>] (irq_exit+0x48/0x50)
 r6 = 00000001  r5 = C7FDFE70  r4 = FFFFFFFF  r3 = 00000022
[<c0042828>] (irq_exit+0x0/0x50) from [<c0023640>] (asm_do_IRQ+0x104/0x120)
[<c002353c>] (asm_do_IRQ+0x0/0x120) from [<c0021a10>] (__irq_svc+0x30/0xa0)
 r5 = F1000000  r4 = FFFFFFFF
[<c0125618>] (write_chan+0x0/0x360) from [<c0121cfc>]
(tty_write+0x17c/0x21c)
[<c0121b80>] (tty_write+0x0/0x21c) from [<c00772fc>] (vfs_write+0xb8/0x17c)
[<c0077244>] (vfs_write+0x0/0x17c) from [<c0077488>] (sys_write+0x44/0x70)
 r7 = 00000004  r6 = 00000022  r5 = 40018000  r4 = C0969F40
[<c0077444>] (sys_write+0x0/0x70) from [<c0021e00>]
(ret_fast_syscall+0x0/0x3c)
 r9 = C7FDE000  r8 = C0021FC8  r6 = 402294F8  r5 = 40018000
 r4 = 00000022

BUG: soft lockup detected on CPU#0!
[<c0027448>] (dump_stack+0x0/0x14) from [<c0057a54>]
(softlockup_tick+0x94/0xa8)
[<c00579c0>] (softlockup_tick+0x0/0xa8) from [<c0046ca8>]
(run_local_timers+0x18/0x1c)
 r4 = C095C860  r3 = 00000000
[<c0046c90>] (run_local_timers+0x0/0x1c) from [<c0046cf0>]
(update_process_times+0x44/0x70)
[<c0046cac>] (update_process_times+0x0/0x70) from [<c0026ebc>]
(timer_tick+0xcc/0xe4)
 r5 = 00000001  r4 = C7FDFD00
[<c0026df0>] (timer_tick+0x0/0xe4) from [<c002df5c>]
(integrator_timer_interrupt+0x30/0x4c)
 r4 = C0244044  r3 = F1300000
[<c002df2c>] (integrator_timer_interrupt+0x0/0x4c) from [<c00236b0>]
(__do_irq+0x54/0x9c)
 r5 = 00000000  r4 = C02064C0
[<c002365c>] (__do_irq+0x0/0x9c) from [<c0023980>] (do_level_IRQ+0x68/0xc0)
 r8 = C0243844  r7 = C0243A44  r6 = C7FDFD00  r5 = 00000006
 r4 = C023CB50  r3 = C023E370
[<c0023918>] (do_level_IRQ+0x0/0xc0) from [<c0023588>]
(asm_do_IRQ+0x4c/0x120)
 r6 = 00000001  r5 = C7FDFD00  r4 = FFFFFFFF  r3 = C0023918
[<c002353c>] (asm_do_IRQ+0x0/0x120) from [<c0021a10>] (__irq_svc+0x30/0xa0)
 r5 = F1000000  r4 = FFFFFFFF
[<c0046568>] (__mod_timer+0x0/0xac) from [<c0046658>] (mod_timer+0x44/0x50)
 r6 = C0243C44  r5 = C7FDE000  r4 = C0987E00
[<c0046614>] (mod_timer+0x0/0x50) from [<c0111034>]
(cursor_timer_handler+0x2c/0x34)
[<c0111008>] (cursor_timer_handler+0x0/0x34) from [<c0046450>]
(run_timer_softirq+0x194/0x23c)
 r4 = C024303C  r3 = 80000013
[<c00462bc>] (run_timer_softirq+0x0/0x23c) from [<c004279c>]
(__do_softirq+0x64/0xf0)
[<c0042738>] (__do_softirq+0x0/0xf0) from [<c0042870>] (irq_exit+0x48/0x50)
 r6 = 00000001  r5 = C7FDFE28  r4 = FFFFFFFF  r3 = 00000022
[<c0042828>] (irq_exit+0x0/0x50) from [<c0023640>] (asm_do_IRQ+0x104/0x120)
[<c002353c>] (asm_do_IRQ+0x0/0x120) from [<c0021a10>] (__irq_svc+0x30/0xa0)
 r5 = F1000000  r4 = FFFFFFFF
[<c0133b5c>] (uart_start+0x0/0x30) from [<c0135c4c>] (uart_write+0xf0/0x104)
 r4 = C09B9760  r3 = 00000F37
[<c0135b5c>] (uart_write+0x0/0x104) from [<c012585c>]
(write_chan+0x244/0x360)
[<c0125618>] (write_chan+0x0/0x360) from [<c0121cfc>]
(tty_write+0x17c/0x21c)
[<c0121b80>] (tty_write+0x0/0x21c) from [<c00772fc>] (vfs_write+0xb8/0x17c)
[<c0077244>] (vfs_write+0x0/0x17c) from [<c0077488>] (sys_write+0x44/0x70)
 r7 = 00000004  r6 = 00000001  r5 = 40018000  r4 = C0969F40
[<c0077444>] (sys_write+0x0/0x70) from [<c0021e00>]
(ret_fast_syscall+0x0/0x3c)
 r9 = C7FDE000  r8 = C0021FC8  r6 = 402294F8  r5 = 40018000
 r4 = 00000001
qemu login:

And on the guest side ,
I have enabled the option --show kernel , and the last few line of the log
are


yaffs: Attempting MTD mount on 31.0, "mtdblock0"
yaffs_read_super: isCheckpointed 0
save exit: isCheckpointed 1
yaffs: dev is 32505857 name is "mtdblock1"
yaffs: passed flags ""
yaffs: Attempting MTD mount on 31.1, "mtdblock1"
yaffs_read_super: isCheckpointed 0
yaffs: dev is 32505858 name is "mtdblock2"
yaffs: passed flags ""
yaffs: Attempting MTD mount on 31.2, "mtdblock2"
yaffs_read_super: isCheckpointed 0
sh: can't access tty; job control turned off
# init: cannot find '/system/bin/playmp3', disabling 'bootsound'
eth0: link up
warning: `rild' uses 32-bit capabilities (legacy support in use)

The guest still doesnt boot fully to go to the home screen, it stops at the
android spalsh screen.
I am using images built from cupcake version of android (1.5) and SDK
android-sdk-linux_x86-1.0_r2.

I would appriciate if someone could point out what I am doing wrong here.

Thanks and Regards
Rahul
-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://lists.cs.columbia.edu/pipermail/android-virt/attachments/20101013/2f24031a/attachment-0001.html


[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