[Spice-devel] Vdagent can not run

Arnon Gilboa agilboa at redhat.com
Wed May 9 01:20:48 PDT 2012


Hi Wangfeng,

Have you seen in qemu lines such as:

virtio-serial-bus: Unexpected port id XXXXXXXX for device 
virtio-serial-bus.0

virtio-serial-bus: Guest failure in adding device virtio-serial-bus.0

Thanks,
Arnon

wangfeng wangfeng wrote:
> Thank you very much
>
> 2012/5/9 Vadim Rozenfeld <vrozenfe at redhat.com>
>
>   
>> On Wednesday, May 09, 2012 09:42:11 AM wangfeng wangfeng wrote:
>>     
>>> Thank you for your reply. I have tried the following version and none
>>> worked fine.
>>>
>>> *virtioserial driver: *
>>> virtio-serial_20110725.zip , spice-guest-tools-0.1.exe
>>> *QEMU*:
>>> qemu0.14.0 ,  qemu-spice.v54
>>> *QEMU command line:*
>>> qemu-spice.v54/x86_64-softmmu/qemu-system-x86_64 \  (
>>> qemu0.14.0/qemu-system-x86_64)
>>> -drive file=/images/win7/win7.test.img,if=ide \
>>> -soundhw ac97 \
>>> -vga qxl \
>>> -spice port=1235,disable-ticketing \
>>> -enable-kvm \
>>> -m 512 \
>>> -device virtio-serial \
>>> -chardev spicevmc,id=vdagent,name=vdagent \
>>> -device virtserialport,chardev=vdagent,name=com.redhat.spice.0
>>>
>>>       
>> Thank you.
>> I will look into the problem.
>> Vadim.
>>     
>>> 2012/5/9 Vadim Rozenfeld <vrozenfe at redhat.com>
>>>
>>>       
>>>> On Wednesday, May 09, 2012 06:05:13 AM wangfeng wangfeng wrote:
>>>>         
>>>>> Hi,
>>>>> is there any progress about this ? I have tried old and new version,
>>>>> but neither version work fine.
>>>>> Thanks.
>>>>>           
>>>> Can you share the following information:
>>>> vioserial driver version, Qemu version, and QEMU command line.
>>>> Thanks,
>>>> Vadim.
>>>>
>>>>         
>>>>> 2012/4/25 Arnon Gilboa <agilboa at redhat.com>
>>>>>
>>>>>           
>>>>>> Seems like a virtio-serial driver issue. I have the similar
>>>>>>             
>> behavior
>>     
>>>> here
>>>>
>>>>         
>>>>>> with new driver.
>>>>>> As you can see in your log, vdservice fails to open virtio-serial.
>>>>>> Look in qemu for a line such as:
>>>>>> qemu-system-x86_64: virtio-serial-bus: Unexpected port id 42456816
>>>>>> for device virtio-serial-bus.0
>>>>>>
>>>>>> CC'ed the maintainer of the driver.
>>>>>> Vadim/Yan, any insight?
>>>>>>
>>>>>>
>>>>>> 10x,
>>>>>> Arnon
>>>>>>
>>>>>> wangfeng wangfeng wrote:
>>>>>>             
>>>>>>> Thank you very much.
>>>>>>> Here is vdservice.log:
>>>>>>>
>>>>>>> 4048::INFO::2012-04-25 17:16:15,932::VDService::main:**:***Service
>>>>>>> started***
>>>>>>> 4048::INFO::2012-04-25 17:16:15,932::log_version::1.**1.0.1009
>>>>>>> 4048::INFO::2012-04-25
>>>>>>>               
>> 17:16:15,932::VDService::**launch_agent::Wait
>>     
>>>> for
>>>>
>>>>         
>>>>>>> vdagent to connect
>>>>>>> 4048::INFO::2012-04-25
>>>>>>>               
>> 17:16:15,963::VDService::**launch_agent::Pipe
>>     
>>>>>>> connected by vdagent
>>>>>>> 4048::INFO::2012-04-25
>>>>>>>               
>>>> 17:16:15,963::VirtioVDIPort::**init::CreateFile()
>>>>
>>>>         
>>>>>>> \
>>>>>>> failed: 2
>>>>>>> 4048::INFO::2012-04-25
>>>>>>> 17:16:15,963::PCIVDIPort::**init::CreateFile() failed:
>>>>>>> 2
>>>>>>> 4048::INFO::2012-04-25 17:16:15,963::VDService::**execute::Failed
>>>>>>>               
>> to
>>     
>>>>>>> create
>>>>>>> VDIPort instance
>>>>>>>
>>>>>>>
>>>>>>> 2012/4/25 Arnon Gilboa <agilboa at redhat.com>
>>>>>>>
>>>>>>>               
>>>>>>>> Hi,
>>>>>>>> Seems like we are having again some issues with virtio-serial.
>>>>>>>> Can you please send vdservice.log as well?
>>>>>>>> 10x,
>>>>>>>> Arnon
>>>>>>>>
>>>>>>>> wangfeng wangfeng wrote:
>>>>>>>>                 
>>>>>>>>>  Hi,
>>>>>>>>>
>>>>>>>>>   I have installed vdservice successfully. But after I restart
>>>>>>>>>                   
>> the
>>     
>>>>>>>>> windows7 guest, vdagent can not run ,and vdservice stoped.
>>>>>>>>>
>>>>>>>>>   When I start vdservice it says  "The RHEV Spice Agent on local
>>>>>>>>>
>>>>>>>>> computer
>>>>>>>>> started and then stopped. Some services stop automatically if
>>>>>>>>>                   
>> they
>>     
>>>> are
>>>>
>>>>         
>>>>>>>>> not
>>>>>>>>> in use by other services or programs " .
>>>>>>>>>
>>>>>>>>>   What is the problem? Thanks!
>>>>>>>>>
>>>>>>>>>   Here is vdagentlog:
>>>>>>>>> 904::INFO::2012-04-25 16:27:22,009::VDAgent::run::*******Agent
>>>>>>>>>                   
>>>> started
>>>>
>>>>         
>>>>>>>>> in
>>>>>>>>> session 1***
>>>>>>>>> 904::INFO::2012-04-25 16:27:22,009::log_version::1.****1.0.1009
>>>>>>>>> 904::INFO::2012-04-25
>>>>>>>>> 16:27:22,009::DesktopLayout::****consistent_displays::#qxls 1
>>>>>>>>>                   
>>>> #others
>>>>
>>>>         
>>>>>>>>> 0 904::INFO::2012-04-25
>>>>>>>>> 16:27:22,009::VDAgent::****connect_pipe::Connected to
>>>>>>>>>
>>>>>>>>> service pipe
>>>>>>>>> 904::INFO::2012-04-25
>>>>>>>>> 16:27:22,009::VDAgent::send_****announce_capabilities::Sending
>>>>>>>>> capabilities:
>>>>>>>>> 904::INFO::2012-04-25 16:27:22,009::VDAgent::send_**
>>>>>>>>>
>>>>>>>>> announce_capabilities::37
>>>>>>>>> 904::INFO::2012-04-25
>>>>>>>>>
>>>>>>>>>                   
>> 16:27:22,009::VDAgent::input_****desktop_message_loop::**Desktop:
>>     
>>>>>>>>> Default
>>>>>>>>> 904::INFO::2012-04-25
>>>>>>>>> 16:27:22,009::VDAgent::input_****desktop_message_loop::First
>>>>>>>>> display setting
>>>>>>>>> 904::INFO::2012-04-25
>>>>>>>>>                   
>>>> 16:27:22,009::DisplaySetting::****load::loading
>>>>
>>>>         
>>>>>>>>> display
>>>>>>>>> setting
>>>>>>>>> 904::INFO::2012-04-25
>>>>>>>>>
>>>>>>>>>                   
>> 16:27:22,009::DisplaySetting::****reload_from_registry::**explorer
>>     
>>>> pid
>>>>
>>>>         
>>>>>>>>> 1276
>>>>>>>>> 904::INFO::2012-04-25 16:27:22,009::DisplaySetting::**
>>>>>>>>> **reload_wallpaper::
>>>>>>>>> 904::INFO::2012-04-25
>>>>>>>>> 16:27:22,024::DisplaySetting::****reload_wallpaper::wallpaper
>>>>>>>>> wasn't disabled
>>>>>>>>> 904::INFO::2012-04-25 16:27:22,024::DisplaySetting::****
>>>>>>>>> reload_font_smoothing::
>>>>>>>>> 904::INFO::2012-04-25
>>>>>>>>> 16:27:22,024::DisplaySetting::****reload_font_smoothing::font
>>>>>>>>> smoothing value
>>>>>>>>> didn't change
>>>>>>>>> 904::INFO::2012-04-25 16:27:22,024::DisplaySetting::**
>>>>>>>>> **reload_animation::
>>>>>>>>> 904::INFO::2012-04-25 16:27:22,024::DisplaySetting::****
>>>>>>>>> reload_win_animation::
>>>>>>>>> 904::INFO::2012-04-25
>>>>>>>>> 16:27:22,024::DisplaySetting::****reload_win_animation::reload
>>>>>>>>>                   
>>>> window
>>>>
>>>>         
>>>>>>>>> animation: success
>>>>>>>>> 904::INFO::2012-04-25 16:27:22,024::DisplaySetting::**
>>>>>>>>> **reload_ui_effects::
>>>>>>>>> 904::INFO::2012-04-25
>>>>>>>>> 16:27:22,024::DisplaySetting::****reload_ui_effects::****
>>>>>>>>> UserPreferencesMask
>>>>>>>>> =
>>>>>>>>> 80073e9e 12
>>>>>>>>> 904::INFO::2012-04-25 16:27:22,087::VDAgent::read_****
>>>>>>>>> completion::vdservice
>>>>>>>>> disconnected (109)
>>>>>>>>> 904::INFO::2012-04-25 16:27:22,087::VDAgent::run::****Agent
>>>>>>>>> stopped
>>>>>>>>>                   
>>>>  ------------------------------****----------------------------**--**
>>>>
>>>>         
>>>>>>>>> ------------
>>>>>>>>>
>>>>>>>>> ______________________________****_________________
>>>>>>>>> Spice-devel mailing list
>>>>>>>>> Spice-devel at lists.freedesktop.****org <Spice-devel at lists.**
>>>>>>>>> freedesktop.org <Spice-devel at lists.freedesktop.org>>
>>>>>>>>> http://lists.freedesktop.org/****mailman/listinfo/spice-devel<
>>>>>>>>>                   
>>>> http://l
>>>>
>>>>         
>>>>>>>>> ists.freedesktop.org/**mailman/listinfo/spice-devel>
>>>>>>>>> <**http://lists.freedesktop.org/**mailman/listinfo/spice-devel
>>>>>>>>>                   
>>>> <http:/
>>>>
>>>>         
>>>>>>>>> /lists.freedesktop.org/mailman/listinfo/spice-devel>
>>>>>>>>>                   
>
>   



More information about the Spice-devel mailing list