HarryWei / cloudxy

Automatically exported from code.google.com/p/cloudxy
6 stars 3 forks source link

Install OS with "qemu-system-x86_64" command into HLFS backend storage #32

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. git clone git://git.qemu.org/qemu.git
2. cd qemu
3, git reset --hard v1.3.0
4. cp ../hlfs/patches/hlfs_driver_for_qemu.patch ./ 
5. git apply hlfs_driver_for_qemu.patch
6, Modify the dead path
7, ./configure 
8, make
9, cd x86_64-softmmu
10, $ ./qemu-system-x86_64 -hda hlfs:local:///tmp/testenv/testfs -cdrom 
/home/jiawei/test/ubuntu-12.04.1-desktop-amd64.iso -boot d -m 512 -no-acpi

What is the expected output? What do you see instead?
Expected output:
Install OS correctly and produce some hlfs segment files into HLFS backend 
storage dir.

See instead:
[...]
do not need flush now
-- flush worker doing --
 we should do clean in silent period ;access timestamp:0,cur timestamp:1359723547552
 we should do clean in silent period ;access timestamp:0,cur timestamp:1359723548552
 we should do clean in silent period ;access timestamp:0,cur timestamp:1359723549553
 we should do clean in silent period ;access timestamp:0,cur timestamp:1359723550553
 we should do clean in silent period ;access timestamp:0,cur timestamp:1359723551553
 time wait res for cond is :0 !
--blocks_count:0,buff_len:0--
do not need flush now
-- flush worker doing --
 we should do clean in silent period ;access timestamp:0,cur timestamp:1359723552553
 we should do clean in silent period ;access timestamp:0,cur timestamp:1359723553553
 we should do clean in silent period ;access timestamp:0,cur timestamp:1359723554553
 we should do clean in silent period ;access timestamp:0,cur timestamp:1359723555553
 we should do clean in silent period ;access timestamp:0,cur timestamp:1359723556554
 time wait res for cond is :0 !
--blocks_count:0,buff_len:0--
do not need flush now
-- flush worker doing --
 we should do clean in silent period ;access timestamp:0,cur timestamp:1359723557554
 we should do clean in silent period ;access timestamp:0,cur timestamp:1359723558554
 we should do clean in silent period ;access timestamp:0,cur timestamp:1359723559554
 we should do clean in silent period ;access timestamp:0,cur timestamp:1359723560554
 we should do clean in silent period ;access timestamp:0,cur timestamp:1359723561554
 time wait res for cond is :0 !
--blocks_count:0,buff_len:0--
do not need flush now
-- flush worker doing --
 we should do clean in silent period ;access timestamp:0,cur timestamp:1359723562554
 we should do clean in silent period ;access timestamp:0,cur timestamp:1359723563554
 we should do clean in silent period ;access timestamp:0,cur timestamp:1359723564554
 we should do clean in silent period ;access timestamp:0,cur timestamp:1359723565555
 we should do clean in silent period ;access timestamp:0,cur timestamp:1359723566555
 time wait res for cond is :0 !
--blocks_count:0,buff_len:0--
do not need flush now
-- flush worker doing --
 we should do clean in silent period ;access timestamp:0,cur timestamp:1359723567555
 we should do clean in silent period ;access timestamp:0,cur timestamp:1359723568555
 we should do clean in silent period ;access timestamp:0,cur timestamp:1359723569555
 we should do clean in silent period ;access timestamp:0,cur timestamp:1359723570555
 we should do clean in silent period ;access timestamp:0,cur timestamp:1359723571555
 time wait res for cond is :0 !
--blocks_count:0,buff_len:0--
do not need flush now
-- flush worker doing --
 we should do clean in silent period ;access timestamp:0,cur timestamp:1359723572555
 we should do clean in silent period ;access timestamp:0,cur timestamp:1359723573555
 we should do clean in silent period ;access timestamp:0,cur timestamp:1359723574555
 we should do clean in silent period ;access timestamp:0,cur timestamp:1359723575556
 we should do clean in silent period ;access timestamp:0,cur timestamp:1359723576556
 time wait res for cond is :0 !
--blocks_count:0,buff_len:0--
do not need flush now
-- flush worker doing --
 we should do clean in silent period ;access timestamp:0,cur timestamp:1359723577556
 we should do clean in silent period ;access timestamp:0,cur timestamp:1359723578556
 we should do clean in silent period ;access timestamp:0,cur timestamp:1359723579556
 we should do clean in silent period ;access timestamp:0,cur timestamp:1359723580556
 we should do clean in silent period ;access timestamp:0,cur timestamp:1359723581556
 time wait res for cond is :0 !
--blocks_count:0,buff_len:0--
do not need flush now
-- flush worker doing --
 we should do clean in silent period ;access timestamp:0,cur timestamp:1359723582556
 we should do clean in silent period ;access timestamp:0,cur timestamp:1359723583556
 we should do clean in silent period ;access timestamp:0,cur timestamp:1359723584556
 we should do clean in silent period ;access timestamp:0,cur timestamp:1359723585557
 we should do clean in silent period ;access timestamp:0,cur timestamp:1359723586557
 time wait res for cond is :0 !
--blocks_count:0,buff_len:0--
do not need flush now
-- flush worker doing --
 we should do clean in silent period ;access timestamp:0,cur timestamp:1359723587557
 we should do clean in silent period ;access timestamp:0,cur timestamp:1359723588557
 we should do clean in silent period ;access timestamp:0,cur timestamp:1359723589557
 we should do clean in silent period ;access timestamp:0,cur timestamp:1359723590557
 we should do clean in silent period ;access timestamp:0,cur timestamp:1359723591557
 time wait res for cond is :0 !
--blocks_count:0,buff_len:0--
do not need flush now
-- flush worker doing --
 we should do clean in silent period ;access timestamp:0,cur timestamp:1359723592557
 we should do clean in silent period ;access timestamp:0,cur timestamp:1359723593557
 we should do clean in silent period ;access timestamp:0,cur timestamp:1359723594558
 we should do clean in silent period ;access timestamp:0,cur timestamp:1359723595558
 we should do clean in silent period ;access timestamp:0,cur timestamp:1359723596558
 time wait res for cond is :0 !
--blocks_count:0,buff_len:0--
do not need flush now
-- flush worker doing --
 we should do clean in silent period ;access timestamp:0,cur timestamp:1359723597558
 we should do clean in silent period ;access timestamp:0,cur timestamp:1359723598558
 we should do clean in silent period ;access timestamp:0,cur timestamp:1359723599558
 we should do clean in silent period ;access timestamp:0,cur timestamp:1359723600558
 we should do clean in silent period ;access timestamp:0,cur timestamp:1359723601558
 time wait res for cond is :0 !
--blocks_count:0,buff_len:0--
do not need flush now
-- flush worker doing --
 we should do clean in silent period ;access timestamp:0,cur timestamp:1359723602558
 we should do clean in silent period ;access timestamp:0,cur timestamp:1359723603559
 we should do clean in silent period ;access timestamp:0,cur timestamp:1359723604559
 we should do clean in silent period ;access timestamp:0,cur timestamp:1359723605559
 we should do clean in silent period ;access timestamp:0,cur timestamp:1359723606559
 time wait res for cond is :0 !
--blocks_count:0,buff_len:0--
do not need flush now
-- flush worker doing --
 we should do clean in silent period ;access timestamp:0,cur timestamp:1359723607559
 we should do clean in silent period ;access timestamp:0,cur timestamp:1359723608559
 we should do clean in silent period ;access timestamp:0,cur timestamp:1359723609559
 we should do clean in silent period ;access timestamp:0,cur timestamp:1359723610559
 we should do clean in silent period ;access timestamp:0,cur timestamp:1359723611559
 time wait res for cond is :0 !
--blocks_count:0,buff_len:0--
do not need flush now
-- flush worker doing --
 we should do clean in silent period ;access timestamp:0,cur timestamp:1359723612560
 we should do clean in silent period ;access timestamp:0,cur timestamp:1359723613560
 we should do clean in silent period ;access timestamp:0,cur timestamp:1359723614560
 we should do clean in silent period ;access timestamp:0,cur timestamp:1359723615560
 we should do clean in silent period ;access timestamp:0,cur timestamp:1359723616560
 time wait res for cond is :0 !
--blocks_count:0,buff_len:0--
do not need flush now
-- flush worker doing --
 we should do clean in silent period ;access timestamp:0,cur timestamp:1359723617560
 we should do clean in silent period ;access timestamp:0,cur timestamp:1359723618560
 we should do clean in silent period ;access timestamp:0,cur timestamp:1359723619560
 we should do clean in silent period ;access timestamp:0,cur timestamp:1359723620561
 we should do clean in silent period ;access timestamp:0,cur timestamp:1359723621561
 time wait res for cond is :0 !
--blocks_count:0,buff_len:0--
do not need flush now
-- flush worker doing --
 we should do clean in silent period ;access timestamp:0,cur timestamp:1359723622561
 we should do clean in silent period ;access timestamp:0,cur timestamp:1359723623561
 we should do clean in silent period ;access timestamp:0,cur timestamp:1359723624561
 we should do clean in silent period ;access timestamp:0,cur timestamp:1359723625561
 we should do clean in silent period ;access timestamp:0,cur timestamp:1359723626561
 time wait res for cond is :0 !
--blocks_count:0,buff_len:0--
do not need flush now
-- flush worker doing --
 we should do clean in silent period ;access timestamp:0,cur timestamp:1359723627562
 we should do clean in silent period ;access timestamp:0,cur timestamp:1359723628562
 we should do clean in silent period ;access timestamp:0,cur timestamp:1359723629562
 we should do clean in silent period ;access timestamp:0,cur timestamp:1359723630562
 we should do clean in silent period ;access timestamp:0,cur timestamp:1359723631562
 time wait res for cond is :0 !
--blocks_count:0,buff_len:0--
do not need flush now
-- flush worker doing --
 we should do clean in silent period ;access timestamp:0,cur timestamp:1359723632562
 we should do clean in silent period ;access timestamp:0,cur timestamp:1359723633562
 we should do clean in silent period ;access timestamp:0,cur timestamp:1359723634562
 we should do clean in silent period ;access timestamp:0,cur timestamp:1359723635562
 we should do clean in silent period ;access timestamp:0,cur timestamp:1359723636563
 time wait res for cond is :0 !
--blocks_count:0,buff_len:0--
do not need flush now
-- flush worker doing --
 we should do clean in silent period ;access timestamp:0,cur timestamp:1359723637563
 we should do clean in silent period ;access timestamp:0,cur timestamp:1359723638563
 we should do clean in silent period ;access timestamp:0,cur timestamp:1359723639563
 we should do clean in silent period ;access timestamp:0,cur timestamp:1359723640563
 we should do clean in silent period ;access timestamp:0,cur timestamp:1359723641563
 time wait res for cond is :0 !
--blocks_count:0,buff_len:0--
do not need flush now
-- flush worker doing --
 we should do clean in silent period ;access timestamp:0,cur timestamp:1359723642563
 we should do clean in silent period ;access timestamp:0,cur timestamp:1359723643563
 we should do clean in silent period ;access timestamp:0,cur timestamp:1359723644563
 we should do clean in silent period ;access timestamp:0,cur timestamp:1359723645563
 we should do clean in silent period ;access timestamp:0,cur timestamp:1359723646564
 time wait res for cond is :0 !
--blocks_count:0,buff_len:0--
do not need flush now
-- flush worker doing --
 we should do clean in silent period ;access timestamp:0,cur timestamp:1359723647564
 we should do clean in silent period ;access timestamp:0,cur timestamp:1359723648564
 we should do clean in silent period ;access timestamp:0,cur timestamp:1359723649564
 we should do clean in silent period ;access timestamp:0,cur timestamp:1359723650564
 we should do clean in silent period ;access timestamp:0,cur timestamp:1359723651564
 time wait res for cond is :0 !
--blocks_count:0,buff_len:0--
do not need flush now
-- flush worker doing --
 we should do clean in silent period ;access timestamp:0,cur timestamp:1359723652564
 we should do clean in silent period ;access timestamp:0,cur timestamp:1359723653564
 we should do clean in silent period ;access timestamp:0,cur timestamp:1359723654564
 we should do clean in silent period ;access timestamp:0,cur timestamp:1359723655565
 we should do clean in silent period ;access timestamp:0,cur timestamp:1359723656565
 time wait res for cond is :0 !
--blocks_count:0,buff_len:0--
do not need flush now
-- flush worker doing --
 we should do clean in silent period ;access timestamp:0,cur timestamp:1359723657565
 we should do clean in silent period ;access timestamp:0,cur timestamp:1359723658565
 we should do clean in silent period ;access timestamp:0,cur timestamp:1359723659565
 we should do clean in silent period ;access timestamp:0,cur timestamp:1359723660565
 we should do clean in silent period ;access timestamp:0,cur timestamp:1359723661565
 time wait res for cond is :0 !
--blocks_count:0,buff_len:0--
do not need flush now
-- flush worker doing --
 we should do clean in silent period ;access timestamp:0,cur timestamp:1359723662565
 we should do clean in silent period ;access timestamp:0,cur timestamp:1359723663565
 we should do clean in silent period ;access timestamp:0,cur timestamp:1359723664566
 we should do clean in silent period ;access timestamp:0,cur timestamp:1359723665566
 we should do clean in silent period ;access timestamp:0,cur timestamp:1359723666566
 time wait res for cond is :0 !
--blocks_count:0,buff_len:0--
do not need flush now
-- flush worker doing --
 we should do clean in silent period ;access timestamp:0,cur timestamp:1359723667566
 we should do clean in silent period ;access timestamp:0,cur timestamp:1359723668566
 we should do clean in silent period ;access timestamp:0,cur timestamp:1359723669566
 we should do clean in silent period ;access timestamp:0,cur timestamp:1359723670566
 we should do clean in silent period ;access timestamp:0,cur timestamp:1359723671566
 time wait res for cond is :0 !
--blocks_count:0,buff_len:0--
do not need flush now
-- flush worker doing --
 we should do clean in silent period ;access timestamp:0,cur timestamp:1359723672567
 we should do clean in silent period ;access timestamp:0,cur timestamp:1359723673567
 we should do clean in silent period ;access timestamp:0,cur timestamp:1359723674567
 we should do clean in silent period ;access timestamp:0,cur timestamp:1359723675567
 we should do clean in silent period ;access timestamp:0,cur timestamp:1359723676567
 time wait res for cond is :0 !
--blocks_count:0,buff_len:0--
do not need flush now
-- flush worker doing --
 we should do clean in silent period ;access timestamp:0,cur timestamp:1359723677567
 we should do clean in silent period ;access timestamp:0,cur timestamp:1359723678567
 we should do clean in silent period ;access timestamp:0,cur timestamp:1359723679567
 we should do clean in silent period ;access timestamp:0,cur timestamp:1359723680567
 we should do clean in silent period ;access timestamp:0,cur timestamp:1359723681568
 time wait res for cond is :0 !
--blocks_count:0,buff_len:0--
do not need flush now
[...]

NOTE: The following words are printed circularly.

--blocks_count:0,buff_len:0--
do not need flush now
-- flush worker doing --
 we should do clean in silent period ;access timestamp:0,cur timestamp:1359723672567
 we should do clean in silent period ;access timestamp:0,cur timestamp:1359723673567
 we should do clean in silent period ;access timestamp:0,cur timestamp:1359723674567
 we should do clean in silent period ;access timestamp:0,cur timestamp:1359723675567
 we should do clean in silent period ;access timestamp:0,cur timestamp:1359723676567

Original issue reported on code.google.com by harryxi...@gmail.com on 1 Feb 2013 at 1:09

GoogleCodeExporter commented 9 years ago

Original comment by kanghua...@gmail.com on 9 Feb 2013 at 6:27