Bug 1274692
Summary: | several problems with vioserial and vdagent | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Product: | [Community] Virtualization Tools | Reporter: | bertaudmarc | ||||||||
Component: | virt-viewer | Assignee: | Daniel Berrangé <berrange> | ||||||||
Status: | CLOSED NOTABUG | QA Contact: | |||||||||
Severity: | unspecified | Docs Contact: | |||||||||
Priority: | unspecified | ||||||||||
Version: | unspecified | CC: | beawaretheworldoftech, bertaudmarc, dfediuck, howrokuactivate, kingsleychibuike11, lsurette, martin, rohit.7002, shelp951, srevivo, vrozenfe, xen-maint | ||||||||
Target Milestone: | --- | ||||||||||
Target Release: | --- | ||||||||||
Hardware: | Unspecified | ||||||||||
OS: | Unspecified | ||||||||||
Whiteboard: | |||||||||||
Fixed In Version: | Doc Type: | Bug Fix | |||||||||
Doc Text: | Story Points: | --- | |||||||||
Clone Of: | Environment: | ||||||||||
Last Closed: | 2020-09-11 10:55:36 UTC | Type: | Bug | ||||||||
Regression: | --- | Mount Type: | --- | ||||||||
Documentation: | --- | CRM: | |||||||||
Verified Versions: | Category: | --- | |||||||||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||||||
Cloudforms Team: | --- | Target Upstream Version: | |||||||||
Embargoed: | |||||||||||
Attachments: |
|
Description
bertaudmarc
2015-10-23 11:50:51 UTC
Now I added in virt-manager a virtio serial controller. I start the vm, go in device manager and see a "PCI simple communication controller". I select "PCI simple", update driver, select the virtio serial driver (vioserial). The result is a BSOD with WDF_VIOLATION code. Other manipulation, independantly of the above one. In the virt-manager, I add hardware, select channel, name = com.redhat.spice.0 type= spicevmc I have the following message: error starting domain. early end of file from monitor. - device virtserialport, bus=virtio-serial0.0.nr=1,chardev=charchannel0,id=channel0,name=com.redhat.spice.0 virtio-serial bus: out of range port id specified, max allowed:0 device 'virtserialport' could not be initialzed. libvirt version: 1.2.9 qemu version: 2.1.2 Hi, Are you sure this bug is reported against the right product and component? This does not sounds like a RHEV issue. No ! By analogy with the bug https://bugzilla.redhat.com/show_bug.cgi?id=895356 which is not dependant of RHEV bur rather for windows 2012. I guess people like Vadim Rozenfeld or Martin could help. Any suggestion if I must move my question ? (In reply to bertaudmarc from comment #5) > No ! > By analogy with the bug https://bugzilla.redhat.com/show_bug.cgi?id=895356 > which is not dependant of RHEV bur rather for windows 2012. > I guess people like Vadim Rozenfeld or Martin could help. > Any suggestion if I must move my question ? First of all, you are mixing multiple issues into a single bug report. This makes it very difficult to handle and distribute the issues to people. I suggest multiple reports. Secondly, if you think Vadim or Martin can help - CC them, set NeedInfo or just email them / the users mailing list. - Why not file it on virt-manager, if you have issues around it? - I'm sure spice has components as well (perhaps even in freedesktop.org?) - issue 895356 is not a bug, but a Request For Enhancement. - I'd add logs. The libvirt.xml file for example, is critical.If you can't get the virtio-serial, try to get it working first, before everything else. These problems seem to be linked: no channel, no virtio-serial installed. Most errors often referred to buqzilla.redhat.com by searching with google: this is probably the best source to solve such problems ! It's the first time I use this site: I will CC them ... The xml file of my vm: sbs2012.xml <!-- WARNING: THIS IS AN AUTO-GENERATED FILE. CHANGES TO IT ARE LIKELY TO BE OVERWRITTEN AND LOST. Changes to this xml configuration should be made using: virsh edit sbs2012 or other application using the libvirt API. --> <domain type='kvm'> <name>sbs2012</name> <uuid>720bc189-1165-04b7-a92b-f17e9b194ca7</uuid> <memory unit='KiB'>16777216</memory> <currentMemory unit='KiB'>8388608</currentMemory> <vcpu placement='static'>8</vcpu> <os> <type arch='x86_64' machine='pc-0.12'>hvm</type> <boot dev='hd'/> </os> <features> <acpi/> <apic/> <pae/> </features> <cpu mode='custom' match='exact'> <model fallback='allow'>Nehalem</model> <vendor>Intel</vendor> <feature policy='require' name='tm2'/> <feature policy='require' name='est'/> <feature policy='require' name='monitor'/> <feature policy='require' name='ds'/> <feature policy='require' name='ss'/> <feature policy='require' name='vme'/> <feature policy='require' name='dtes64'/> <feature policy='require' name='rdtscp'/> <feature policy='require' name='ht'/> <feature policy='require' name='dca'/> <feature policy='require' name='pbe'/> <feature policy='require' name='tm'/> <feature policy='require' name='pdcm'/> <feature policy='require' name='vmx'/> <feature policy='require' name='ds_cpl'/> <feature policy='require' name='xtpr'/> <feature policy='require' name='acpi'/> </cpu> <clock offset='localtime'/> <on_poweroff>destroy</on_poweroff> <on_reboot>restart</on_reboot> <on_crash>restart</on_crash> <devices> <emulator>/usr/bin/kvm</emulator> <disk type='file' device='disk'> <driver name='qemu' type='raw' cache='none' io='native'/> <source file='/var/lib/libvirt/images/sbs2012-1.img'/> <target dev='vda' bus='virtio'/> <address type='pci' domain='0x0000' bus='0x00' slot='0x0b' function='0x0'/> </disk> <disk type='block' device='cdrom'> <driver name='qemu' type='raw'/> <source dev='/dev/sr0'/> <target dev='hdc' bus='ide'/> <readonly/> <shareable/> <address type='drive' controller='0' bus='1' target='0' unit='0'/> </disk> <disk type='file' device='cdrom'> <driver name='qemu' type='raw'/> <source file='/usr/share/virtio-win/virtio-win-0.1.110.iso'/> <target dev='hdd' bus='ide'/> <readonly/> <address type='drive' controller='0' bus='1' target='0' unit='1'/> </disk> <controller type='ide' index='0'> <address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x1'/> </controller> <controller type='usb' index='0' model='ich9-ehci1'> <address type='pci' domain='0x0000' bus='0x00' slot='0x07' function='0x0'/> </controller> <controller type='usb' index='0' model='ich9-uhci1'> <master startport='0'/> <address type='pci' domain='0x0000' bus='0x00' slot='0x08' function='0x0'$ </controller> <controller type='usb' index='0' model='ich9-uhci2'> <master startport='2'/> <address type='pci' domain='0x0000' bus='0x00' slot='0x09' function='0x0'$ </controller> <controller type='usb' index='0' model='ich9-uhci3'> <master startport='4'/> <address type='pci' domain='0x0000' bus='0x00' slot='0x0a' function='0x0'$ </controller> <controller type='pci' index='0' model='pci-root'/> <controller type='virtio-serial' index='0'> <address type='pci' domain='0x0000' bus='0x00' slot='0x03' function='0x0'$ </controller> <interface type='bridge'> <mac address='52:54:00:33:71:2f'/> <source bridge='br0'/> <model type='virtio'/> <address type='pci' domain='0x0000' bus='0x00' slot='0x0c' function='0x0'$ </interface> <serial type='pty'> <target port='0'/> </serial> <console type='pty'> <target type='serial' port='0'/> </console> <input type='tablet' bus='usb'/> <input type='mouse' bus='ps2'/> <input type='keyboard' bus='ps2'/> <graphics type='spice' autoport='yes' listen='127.0.0.1'> <listen type='address' address='127.0.0.1'/> </graphics> <sound model='es1370'> <address type='pci' domain='0x0000' bus='0x00' slot='0x04' function='0x0'$ </sound> <video> <model type='qxl' ram='65536' vram='65536' heads='1'/> <address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x0'$ </video> <memballoon model='virtio'> <address type='pci' domain='0x0000' bus='0x00' slot='0x05' function='0x0'$ </memballoon> </devices> </domain> (In reply to bertaudmarc from comment #1) > Now I added in virt-manager a virtio serial controller. > I start the vm, go in device manager and see a "PCI simple communication > controller". > > I select "PCI simple", update driver, select the virtio serial driver > (vioserial). The result is a BSOD with WDF_VIOLATION code. Have you managed to install vioserial driver? Or can you upload the relevant crash dump file? Thanks, Vadim. Yes, see comment #1, the result is a blue screen with WDF_VIOLATION code when I update the driver. The text begin by "your pc ran into a problem need to restart ...". Where is the crash dump in ws2012 ? Created attachment 1086522 [details]
dump on ws2012
I found this as dump
Created attachment 1086523 [details]
minidump
and this
Created attachment 1086537 [details]
dump analysis with windbg
I think What are you waiting for me now ? virt-viewer version: 1.0-1 I succeeded to create the Channel spice. Why now ? That will stay a mystery. When I start the vm I have the following message: Error starting domain: internal error: early end of file from monitor: possible problem: 2015-11-17T16:47:01.897072Z qemu-system-x86_64: -device virtserialport,bus=virtio-serial0.0,nr=1,chardev=charchannel0,id=channel0,name=com.redhat.spice.0: virtio-serial-bus: Out-of-range port id specified, max. allowed: 0 2015-11-17T16:47:01.897138Z qemu-system-x86_64: -device virtserialport,bus=virtio-serial0.0,nr=1,chardev=charchannel0,id=channel0,name=com.redhat.spice.0: Device 'virtserialport' could not be initialized As suggested by some people I changed in the xml file the following line: <type arch='x86_64' machine='pc-0.12'>hvm</type> by this one: <type arch='x86_64' machine='pc-1.1'>hvm</type> and ... the domain can start ! why ? Finally I installed the vioser.inf driver for the PCI simple communications controller ! The copy/paste procedure seems to work. The "fullscreen" is not auto ? My problems are solved but the explanation is welcome ;-) I have same problem solved here https://www.techbroot.com/2018/10/ps1-emulators-for-psp.html Closing since there are multiple issues described in this bug related to variously qemu, virt-manager and the guest OS. There is no obvious action required from POV of virt-view. The needinfo request[s] on this closed bug have been removed as they have been unresolved for 120 days |