Bug 953097
Summary: | virtio-rng, boot the guest with two rng device, cat /dev/hwrng in guest, guest will call trace | ||||||
---|---|---|---|---|---|---|---|
Product: | Red Hat Enterprise Linux 6 | Reporter: | Amit Shah <amit.shah> | ||||
Component: | kernel | Assignee: | Amit Shah <amit.shah> | ||||
Status: | CLOSED ERRATA | QA Contact: | Virtualization Bugs <virt-bugs> | ||||
Severity: | medium | Docs Contact: | |||||
Priority: | medium | ||||||
Version: | 6.4 | CC: | acathrow, amit.shah, flang, juzhang, lnovich, mazhang, michen, qzhang, rhod, sradvan, virt-maint, yunzheng | ||||
Target Milestone: | rc | ||||||
Target Release: | --- | ||||||
Hardware: | Unspecified | ||||||
OS: | Unspecified | ||||||
Whiteboard: | |||||||
Fixed In Version: | kernel-2.6.32-375.el6 | Doc Type: | Bug Fix | ||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | 917505 | Environment: | |||||
Last Closed: | 2013-11-21 18:14:18 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: | |||||||
Bug Depends On: | 917505 | ||||||
Bug Blocks: | 917953 | ||||||
Attachments: |
|
Description
Amit Shah
2013-04-17 11:19:51 UTC
This request was evaluated by Red Hat Product Management for inclusion in a Red Hat Enterprise Linux release. Product Management has requested further review of this request by Red Hat Engineering, for potential inclusion in a Red Hat Enterprise Linux release for currently deployed products. This request is not yet committed for inclusion in a release. Patch(es) available on kernel-2.6.32-375.el6 Hi Amit, I try verify this bug on qemu-kvm-0.12.1.2-2.376.el6.x86_64, but did not found virtio-rng-pci in qemu device list, so do we support this device in rhel6u4 ? [root@localhost qemu]# uname -r 2.6.32-394.el6.x86_64 [root@localhost qemu]# rpm -qa |grep qemu qemu-kvm-debuginfo-0.12.1.2-2.376.el6.x86_64 qemu-guest-agent-0.12.1.2-2.375.el6.x86_64 qemu-img-0.12.1.2-2.376.el6.x86_64 qemu-kvm-0.12.1.2-2.376.el6.x86_64 qemu-kvm-tools-0.12.1.2-2.376.el6.x86_64 gpxe-roms-qemu-0.9.7-6.9.el6.noarch [root@localhost qemu]# /usr/libexec/qemu-kvm -device ? name "pci-bridge", bus PCI name "virtio-scsi-pci", bus PCI, alias "virtio-scsi" name "virtio-balloon-pci", bus PCI name "virtio-serial-pci", bus PCI, alias "virtio-serial" name "virtio-net-pci", bus PCI name "virtio-blk-pci", bus PCI, alias "virtio-blk" name "i82562", bus PCI name "i82559er", bus PCI name "i82559c", bus PCI name "i82559b", bus PCI name "i82559a", bus PCI name "i82558b", bus PCI name "i82558a", bus PCI name "i82557c", bus PCI name "i82557b", bus PCI name "i82557a", bus PCI name "i82551", bus PCI name "i82550", bus PCI name "pcnet", bus PCI name "rtl8139", bus PCI name "e1000", bus PCI, desc "Intel Gigabit Ethernet" name "smbus-eeprom", bus I2C name "usb-hub", bus USB name "usb-host", bus USB name "usb-kbd", bus USB name "usb-mouse", bus USB name "usb-tablet", bus USB name "usb-storage", bus USB name "scsi-disk", bus SCSI, desc "virtual SCSI disk or CD-ROM (legacy)" name "scsi-block", bus SCSI, desc "SCSI block device passthrough" name "scsi-cd", bus SCSI, desc "virtual SCSI CD-ROM" name "scsi-hd", bus SCSI, desc "virtual SCSI disk" name "scsi-generic", bus SCSI, desc "pass through generic scsi device (/dev/sg*)" name "usb-ccid", bus USB, desc "CCID Rev 1.1 smartcard reader" name "ccid-card-passthru", bus ccid-bus, desc "passthrough smartcard" name "usb-redir", bus USB name "virtserialport", bus virtio-serial-bus name "virtconsole", bus virtio-serial-bus name "ich9-usb-ehci1", bus PCI name "usb-ehci", bus PCI name "i6300esb", bus PCI name "ne2k_pci", bus PCI name "ide-drive", bus IDE name "isa-ide", bus ISA name "ES1370", bus PCI, desc "ENSONIQ AudioPCI ES1370" name "AC97", bus PCI, desc "Intel 82801AA AC97 Audio" name "intel-hda", bus PCI, desc "Intel HD Audio Controller" name "hda-micro", bus HDA, desc "HDA Audio Codec, duplex (speaker, microphone)" name "hda-duplex", bus HDA, desc "HDA Audio Codec, duplex (line-out, line-in)" name "hda-output", bus HDA, desc "HDA Audio Codec, output-only (line-out)" name "VGA", bus PCI name "SUNW,fdtwo", bus System name "sysbus-fdc", bus System name "isa-serial", bus ISA name "cirrus-vga", bus PCI, desc "Cirrus CLGD 54xx VGA" name "isa-parallel", bus ISA name "sga", bus ISA, desc "Serial Graphics Adapter" name "ich9-usb-uhci3", bus PCI name "ich9-usb-uhci2", bus PCI name "ich9-usb-uhci1", bus PCI name "piix4-usb-uhci", bus PCI name "piix3-usb-uhci", bus PCI name "ib700", bus ISA name "ne2k_isa", bus ISA name "testdev", bus ISA name "isa-debugcon", bus ISA name "pci-assign", bus PCI, desc "pass through host pci devices to the guest" name "qxl", bus PCI, desc "Spice QXL GPU (secondary)" name "qxl-vga", bus PCI, desc "Spice QXL GPU (primary, vga compatible)" Thanks, Mazhang. reproduce on rhel6u4 guest kernel-2.6.32-358.el6.x86_64. Steps to Reproduce: 1.boot guest with two rng device: /usr/libexec/qemu-kvm \ -M pc \ -cpu SandyBridge \ -m 2G \ -smp 2,sockets=1,cores=2,threads=1,maxcpus=16 \ -enable-kvm \ -name win7 \ -uuid 990ea161-6b67-47b2-b803-19fb01d30d12 \ -smbios type=1,manufacturer='Red Hat',product='RHEV Hypervisor',version=el6,serial=koTUXQrb,uuid=feebc8fd-f8b0-4e75-abc3-e63fcdb67170 \ -k en-us \ -rtc base=localtime,clock=host,driftfix=slew \ -no-kvm-pit-reinjection \ -monitor stdio \ -qmp tcp:0:6667,server,nowait \ -boot menu=on \ -bios /usr/share/seabios/bios.bin \ -netdev tap,id=hostnet0,downscript=no,vhost=on \ -device virtio-net-pci,netdev=hostnet0,id=net0,mac=00:1a:4a:2e:28:1c,bus=pci.0,addr=0x4 \ -vga qxl \ -spice port=5901,disable-ticketing \ -global PIIX4_PM.disable_s3=0 \ -global PIIX4_PM.disable_s4=0 \ -drive file=/home/rhel6u5.qcow2,if=none,id=drive-ide0-0-0,format=qcow2,cache=none,aio=threads \ -device ide-drive,bus=ide.0,unit=0,drive=drive-ide0-0-0,id=ide0-0-0,bootindex=1 \ -device virtio-rng-pci \ -device virtio-rng-pci \ 2. in guest open /dev/hwrng # cat /dev/hwrng Results: the guest will call trace and reboot. Created attachment 767662 [details]
guest call trace vmcore-dmesg
verify this bug on rhel6u4 guest kernel-2.6.32-392.el6.x86_64 Steps to Reproduce: 1.boot guest with two rng device: /usr/libexec/qemu-kvm \ -M pc \ -cpu SandyBridge \ -m 2G \ -smp 2,sockets=1,cores=2,threads=1,maxcpus=16 \ -enable-kvm \ -name win7 \ -uuid 990ea161-6b67-47b2-b803-19fb01d30d12 \ -smbios type=1,manufacturer='Red Hat',product='RHEV Hypervisor',version=el6,serial=koTUXQrb,uuid=feebc8fd-f8b0-4e75-abc3-e63fcdb67170 \ -k en-us \ -rtc base=localtime,clock=host,driftfix=slew \ -no-kvm-pit-reinjection \ -monitor stdio \ -qmp tcp:0:6667,server,nowait \ -boot menu=on \ -bios /usr/share/seabios/bios.bin \ -netdev tap,id=hostnet0,downscript=no,vhost=on \ -device virtio-net-pci,netdev=hostnet0,id=net0,mac=00:1a:4a:2e:28:1c,bus=pci.0,addr=0x4 \ -vga qxl \ -spice port=5901,disable-ticketing \ -global PIIX4_PM.disable_s3=0 \ -global PIIX4_PM.disable_s4=0 \ -drive file=/home/rhel6u5.qcow2,if=none,id=drive-ide0-0-0,format=qcow2,cache=none,aio=threads \ -device ide-drive,bus=ide.0,unit=0,drive=drive-ide0-0-0,id=ide0-0-0,bootindex=1 \ -device virtio-rng-pci \ -device virtio-rng-pci \ 2. in guest open /dev/hwrng # cat /dev/hwrng Results: guest will not call trace. Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. http://rhn.redhat.com/errata/RHSA-2013-1645.html |