Note: This bug is displayed in read-only format because
the product is no longer active in Red Hat Bugzilla.
RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Description of problem:
When run auto test timer device run, hit a issue(just hit once, file this bz to trace this issue and for developer to do further analysis).
using ioctl(fd, RTC_UIE_ON, 0) to set rtc_cmos, ioctl can not return in 360s.
Version-Release number of selected component (if applicable):
qemu-kvm-rhev-2.1.2-16.el7
How reproducible:
Only hit one time
Steps to Reproduce:
1.boot a rhel 7.1 guest using following cli:
/bin/qemu-kvm \
-S \
-name 'virt-tests-vm1' \
-sandbox off \
-M pc \
-nodefaults \
-vga qxl \
-global qxl-vga.vram_size=33554432 \
-chardev socket,id=qmp_id_qmpmonitor1,path=/tmp/monitor-qmpmonitor1-20141212-151022-e03tMo1X,server,nowait \
-mon chardev=qmp_id_qmpmonitor1,mode=control \
-chardev socket,id=serial_id_serial0,path=/tmp/serial-serial0-20141212-151022-e03tMo1X,server,nowait \
-device isa-serial,chardev=serial_id_serial0 \
-chardev socket,id=seabioslog_id_20141212-151022-e03tMo1X,path=/tmp/seabios-20141212-151022-e03tMo1X,server,nowait \
-device isa-debugcon,chardev=seabioslog_id_20141212-151022-e03tMo1X,iobase=0x402 \
-device ich9-usb-uhci1,id=usb1,bus=pci.0,addr=03 \
-drive id=drive_image1,if=none,cache=none,snapshot=off,aio=native,file=/home/autotest-devel/client/tests/virt/shared/data/images/RHEL-Server-7.1-64-virtio.raw \
-device virtio-blk-pci,id=image1,drive=drive_image1,bootindex=0,bus=pci.0,addr=04 \
-device virtio-net-pci,mac=9a:a7:a8:a9:aa:ab,id=id3fVvl9,vectors=4,netdev=idFYIIrx,bus=pci.0,addr=05 \
-netdev tap,id=idFYIIrx,vhost=on,vhostfd=23,fd=22 \
-m 4096 \
-smp 4,maxcpus=4,cores=2,threads=1,sockets=2 \
-cpu 'SandyBridge',+kvm_pv_unhalt \
-device usb-tablet,id=usb-tablet1,bus=usb1.0,port=1 \
-spice port=3000,password=123456,addr=0,image-compression=auto_glz,zlib-glz-wan-compression=auto,streaming-video=all,agent-mouse=on,playback-compression=on,ipv4 \
-rtc base=utc,clock=host,driftfix=slew \
-boot order=cdn,once=c,menu=off \
-enable-kvm
2.inside guest do following test.
# ./rtctest /dev/rtc0 8192
Note: rtctest.c and Makefile will be added in the attachment.
3.
Actual results:
After step 2, find "# ./rtctest /dev/rtc0 8192" will hang at ioctl(fd, RTC_UIE_ON, 0).
Expected results:
Should be returned in 360 s.
Additional info:
QE has find guest are using rtc_cmos.
# cat /sys/class/rtc/rtc0/name
rtc_cmos
Attachment is the log of autotest.
Description of problem: When run auto test timer device run, hit a issue(just hit once, file this bz to trace this issue and for developer to do further analysis). using ioctl(fd, RTC_UIE_ON, 0) to set rtc_cmos, ioctl can not return in 360s. Version-Release number of selected component (if applicable): qemu-kvm-rhev-2.1.2-16.el7 How reproducible: Only hit one time Steps to Reproduce: 1.boot a rhel 7.1 guest using following cli: /bin/qemu-kvm \ -S \ -name 'virt-tests-vm1' \ -sandbox off \ -M pc \ -nodefaults \ -vga qxl \ -global qxl-vga.vram_size=33554432 \ -chardev socket,id=qmp_id_qmpmonitor1,path=/tmp/monitor-qmpmonitor1-20141212-151022-e03tMo1X,server,nowait \ -mon chardev=qmp_id_qmpmonitor1,mode=control \ -chardev socket,id=serial_id_serial0,path=/tmp/serial-serial0-20141212-151022-e03tMo1X,server,nowait \ -device isa-serial,chardev=serial_id_serial0 \ -chardev socket,id=seabioslog_id_20141212-151022-e03tMo1X,path=/tmp/seabios-20141212-151022-e03tMo1X,server,nowait \ -device isa-debugcon,chardev=seabioslog_id_20141212-151022-e03tMo1X,iobase=0x402 \ -device ich9-usb-uhci1,id=usb1,bus=pci.0,addr=03 \ -drive id=drive_image1,if=none,cache=none,snapshot=off,aio=native,file=/home/autotest-devel/client/tests/virt/shared/data/images/RHEL-Server-7.1-64-virtio.raw \ -device virtio-blk-pci,id=image1,drive=drive_image1,bootindex=0,bus=pci.0,addr=04 \ -device virtio-net-pci,mac=9a:a7:a8:a9:aa:ab,id=id3fVvl9,vectors=4,netdev=idFYIIrx,bus=pci.0,addr=05 \ -netdev tap,id=idFYIIrx,vhost=on,vhostfd=23,fd=22 \ -m 4096 \ -smp 4,maxcpus=4,cores=2,threads=1,sockets=2 \ -cpu 'SandyBridge',+kvm_pv_unhalt \ -device usb-tablet,id=usb-tablet1,bus=usb1.0,port=1 \ -spice port=3000,password=123456,addr=0,image-compression=auto_glz,zlib-glz-wan-compression=auto,streaming-video=all,agent-mouse=on,playback-compression=on,ipv4 \ -rtc base=utc,clock=host,driftfix=slew \ -boot order=cdn,once=c,menu=off \ -enable-kvm 2.inside guest do following test. # ./rtctest /dev/rtc0 8192 Note: rtctest.c and Makefile will be added in the attachment. 3. Actual results: After step 2, find "# ./rtctest /dev/rtc0 8192" will hang at ioctl(fd, RTC_UIE_ON, 0). Expected results: Should be returned in 360 s. Additional info: QE has find guest are using rtc_cmos. # cat /sys/class/rtc/rtc0/name rtc_cmos Attachment is the log of autotest.