On 07/20/2010 12:28 PM, miles kuo wrote:
> When I ran the test script on Autotest, it failed on the ending of
> unattended install.
> 
> 10:59:59 DEBUG| (qemu) /bin/sh: line 1: 20294 Segmentation fault (core
> dumped) /usr/bin/qemu-kvm -name 'vm1' -monitor
> unix:'/tmp/monitor-humanmonitor1-20100720-103308-ztOV',server,nowait
> -serial unix:'/tmp/serial-20100720-103308-ztOV',server,nowait -drive
> file='/tmp/kvm_autotest_root/images/win2008-r2.raw',index=0,if=ide
> -net nic,vlan=0,netdev=idBfXiYE,model=e1000,macaddr='52:54:00:12:34:56'
> -netdev 
> user,id=idBfXiYE,hostfwd=tcp::5000-:10022,hostfwd=tcp::5002-:12323,hostfwd=tcp::5003-:10023
> -m 512 -smp 1 -drive
> file='/tmp/kvm_autotest_root/isos/windows/en_windows_server_2008_r2_standard_enterprise_datacenter_and_web_x64_dvd_x15-59754.iso',media=cdrom,index=2
> -drive 
> file='/tmp/kvm_autotest_root/isos/windows/winutils.iso',media=cdrom,index=3
> -fda 
> '/home/kvm/0718/autotest/client/tests/kvm/images/win2008-r2-64/floppy.img'
> -vnc :6 -boot d -usb -vga cirrus
> 
> 
> Here's the tests.cfg file:
> - @qemu_kvm_windows_quick:
> qemu_binary = /usr/bin/qemu-kvm
> mem = 512
> image_size = 25G
> only raw
> only e1000
> only ide
> only up
> only no_pci_assignable
> only smallpages
> extra_params +=" -usb -vga cirrus"
> only Win2008.r2
> only unattended_install.cdrom boot shutdown
> 
> But when I ran the /"usr/bin/qemu-kvm" by hand, the OS installed
> successfully. Is there any problem with Autotest framework?
> 
> 
> Best regards!
> 
> Jin Bing Guo

It's unlikely that a problem in autotest made qemu segfault.  Autotest
just runs the qemu-kvm command exactly as you would run it by hand.
When you ran qemu-kvm by hand, did you use the command line above?
Either way, if you want to find out what happened to qemu, look at the
DEBUG log (results/default/kvm...unattended_install.cdrom/debug/*.DEBUG)
as well as the serial console output (same directory, serial-vm1.log)
and the screendumps (same directory, screendumps_vm1/).  If you'd like
anyone else to take a look at those please attach them to an e-mail
message.  If you can find a core dump it should be useful to look at it
too (using gdb) but I think it's too big to send by e-mail.

Thanks,
Michael
_______________________________________________
Autotest mailing list
[email protected]
http://test.kernel.org/cgi-bin/mailman/listinfo/autotest

Reply via email to