qemu-devel
[Top][All Lists]
Advanced

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

[Qemu-devel] using qemu arm bring up 2 cpus on x86, hang up on guest fil


From: Wangkai (Kevin,C)
Subject: [Qemu-devel] using qemu arm bring up 2 cpus on x86, hang up on guest file system
Date: Fri, 31 Oct 2014 03:46:38 +0000

Hi all,
I am using qemu-system-arm emulate armv7 with 2 cpus on x86_64 host, when I do 
the command tar -xf xxx.tar or rm -r xxx, after a while,
Guest system hang up on file system:

When mmc request a block, that cannot receive a request done event, it seems 
request done irq loss.
After I change the cpu to single core, the problem was solved.

Is there some problem on qemu multi-core emulation?

Guest kernel:
Linux ARMv7-VM 3.10.34 #6 SMP Wed Sep 24 10:48:44 UTC 2014 armv7l GNU/Linux

Kernel backtrace:
kworker/u4:2    D 8033c97c     0   437      2 0x00000000
Workqueue: kmmcd mmc_rescan
[<8033c97c>] (__schedule+0x210/0x5c4) from [<80265208>] 
(__mmc_claim_host+0x94/0x188)
[<80265208>] (__mmc_claim_host+0x94/0x188) from [<8026b6fc>] 
(mmc_sd_detect+0x20/0x74)
[<8026b6fc>] (mmc_sd_detect+0x20/0x74) from [<802675f4>] 
(mmc_rescan+0x17c/0x2cc)
[<802675f4>] (mmc_rescan+0x17c/0x2cc) from [<80036dc4>] 
(process_one_work+0x110/0x370)
[<80036dc4>] (process_one_work+0x110/0x370) from [<8003749c>] 
(worker_thread+0x13c/0x3bc)
[<8003749c>] (worker_thread+0x13c/0x3bc) from [<8003c974>] (kthread+0xb4/0xb8)
[<8003c974>] (kthread+0xb4/0xb8) from [<8000e1d8>] (ret_from_fork+0x14/0x3c)
mmcqd/0         S 8033c97c     0   441      2 0x00000000
[<8033c97c>] (__schedule+0x210/0x5c4) from [<80265e94>] 
(mmc_start_req+0x21c/0x370)
[<80265e94>] (mmc_start_req+0x21c/0x370) from [<80273080>] 
(mmc_blk_issue_rw_rq+0xb8/0xa58)
[<80273080>] (mmc_blk_issue_rw_rq+0xb8/0xa58) from [<80273bd0>] 
(mmc_blk_issue_rq+0x1b0/0x50c)
[<80273bd0>] (mmc_blk_issue_rq+0x1b0/0x50c) from [<802746c8>] 
(mmc_queue_thread+0xb0/0x144)
[<802746c8>] (mmc_queue_thread+0xb0/0x144) from [<8003c974>] (kthread+0xb4/0xb8)
[<8003c974>] (kthread+0xb4/0xb8) from [<8000e1d8>] (ret_from_fork+0x14/0x3c)


Qemu 2.0.0:
qemu-system-arm -M vexpress-a9 -kernel ./zImage -initrd ./initrd -nographic -m 
1024 -smp 2 -net nic,macaddr=52:54:07:12:34:56 -net 
tap,ifname=tap7,script=./ifup,downscript=./ifdown -sd ./base.qcow2 -append 
console=ttyAMA0,115200 -serial telnet::17000,server,nowait -nodefaults

regards,
Kevin

reply via email to

[Prev in Thread] Current Thread [Next in Thread]