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.
Bug 895399 - Fail to boot win7 guest with x-data-plane=on for the system disk
Summary: Fail to boot win7 guest with x-data-plane=on for the system disk
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: qemu-kvm
Version: 6.4
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: rc
: ---
Assignee: Stefan Hajnoczi
QA Contact: Virtualization Bugs
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-01-15 07:56 UTC by Sibiao Luo
Modified: 2013-11-21 06:29 UTC (History)
13 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-11-21 06:29:22 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2013:1553 0 normal SHIPPED_LIVE Important: qemu-kvm security, bug fix, and enhancement update 2013-11-20 21:40:29 UTC

Description Sibiao Luo 2013-01-15 07:56:01 UTC
Description of problem:
this issue was separated from https://bugzilla.redhat.com/show_bug.cgi?id=877836#c27
If specify the x-data-plane=on for the system disk, it will fail to boot up with error that 'A disk read error occurred'.

Version-Release number of selected component (if applicable):
host info:
kernel-2.6.32-348.el6.x86_64
qemu-kvm-0.12.1.2-2.345.el6.test.x86_64
guest info:
win7 64bit
virtio-win-1.5.4-1

How reproducible:
100%

Steps and results:
If specify the x-data-plane=on for the system disk, it will fail to boot up with error that 'A disk read error occurred', the detail log will be pasted as following:
eg:...-drive file=/home/windows_7_ultimate_sp1_x64.raw,if=none,id=drive-virtio-disk,format=raw,cache=none,aio=native,werror=stop,rerror=stop -device virtio-blk-pci,bus=pci.0,addr=0x4,scsi=off,x-data-plane=on,drive=drive-virtio-disk,id=virtio-disk,bootindex=1...

Google, Inc.
Serial Graphics Adapter 07/26/11
SGABIOS $Id: sgabios.S 8 2010-04-22 00:03:40Z nlaredo $ (mockbuild.redhat.com) Tue Jul 26 15:05:08 UTC 2011
4 0

SeaBIOS (version seabios-0.6.1.2-26.el6)

gPXE (http://etherboot.org) - 00:05.0 CB00 PCI2.10 PnP BBS PMM7FE0@10 CB00
Press Ctrl-B to configure gPXE (PCI 00:05.0)...main_channel_link: add main channel client
main_channel_handle_parsed: net test: latency 0.077000 ms, bitrate 9266968325 bps (8837.669683 Mbps)
inputs_connect: inputs channel client create
red_dispatcher_set_cursor_peer: 
                                                                               
Press F12 for boot menu.

Select boot device:

1. Virtio disk PCI:0:4           <---------select 1
2. Virtio disk PCI:0:6
3. Floppy [drive A]
4. DVD/CD [ata1-1: QEMU DVD-ROM ATAPI-4 DVD/CD]
5. gPXE (PCI 00:05.0)
6. Legacy option rom

Booting from Hard Disk...

A disk read error occurred
Press Ctrl+Alt+Del to restart

Expected results:
it can boot win7 guest with x-data-plane=on for the system disk successfully.

Additional info:

Comment 1 Stefan Hajnoczi 2013-01-15 13:46:18 UTC
Please try this build, it includes Windows patches:

https://brewweb.devel.redhat.com/taskinfo?taskID=5273068

Comment 2 Ademar Reis 2013-01-15 14:53:53 UTC
Hopefully a dupe of Bug 895392. If not, we'll probably have to wait until RHEL6.5 to fix it (unless Stefan has a trivial patch that can be reviewed and included tomorrow, in snapshot 4).

Comment 3 Stefan Hajnoczi 2013-02-04 15:54:15 UTC
(In reply to comment #1)
> Please try this build, it includes Windows patches:
> 
> https://brewweb.devel.redhat.com/taskinfo?taskID=5273068

Ping.

Please confirm that Windows 7 boot works now.

Comment 4 Sibiao Luo 2013-02-05 03:19:04 UTC
(In reply to comment #3)
> (In reply to comment #1)
> > Please try this build, it includes Windows patches:
> > 
> > https://brewweb.devel.redhat.com/taskinfo?taskID=5273068
> 
> Ping.
> 
> Please confirm that Windows 7 boot works now.
this build (qemu-kvm-0.12.1.2-2.351.el6.test.src.rpm, x86_64) was deleted, so i have to try this issue with the latest version qemu-kvm-0.12.1.2-2.355.el6.x86_64.

host info:
kernel-2.6.32-358.el6.x86_64
qemu-kvm-0.12.1.2-2.355.el6.x86_64
guest info:
win7 64bit
virtio-win-1.6.2-1.el6

steps:
the same as comment #0

qemu-kvm command line:
# /usr/libexec/qemu-kvm -M rhel6.4.0 -enable-kvm -m 2048 -smp 2,sockets=2,cores=1,threads=1 -usb -device usb-tablet,id=input0 -name data-plane -uuid 990ea161-6b67-47b2-b803-19fb01d30d30 -rtc base=localtime,clock=host,driftfix=slew -device virtio-serial-pci,id=virtio-serial0,max_ports=16,bus=pci.0,addr=0x3 -chardev socket,id=channel1,path=/tmp/helloworld1,server,nowait -device virtserialport,chardev=channel1,name=com.redhat.rhevm.vdsm,bus=virtio-serial0.0,id=port1 -chardev socket,id=channel2,path=/tmp/helloworld2,server,nowait -device virtserialport,chardev=channel2,name=com.redhat.rhevm.vdsm,bus=virtio-serial0.0,id=port2 -drive file=/home/windows_7_ultimate_sp1_x64.raw,if=none,id=drive-virtio-disk,format=raw,cache=none,aio=native,werror=stop,rerror=stop -device virtio-blk-pci,bus=pci.0,addr=0x4,scsi=off,x-data-plane=on,drive=drive-virtio-disk,id=virtio-disk,bootindex=1 -netdev tap,id=hostnet0,vhost=on,script=/etc/qemu-ifup -device e1000,netdev=hostnet0,id=virtio-net-pci0,mac=BC:96:9D:05:51:EC,bus=pci.0,addr=0x5 -balloon none -spice port=5931,disable-ticketing -vga qxl -global qxl-vga.vram_size=67108864 -boot menu=on -monitor stdio

results:
it can boot win7 guest with x-data-plane=on for the system disk successfully, no  any error like 'A disk read error occurred'.

Press F12 for boot menu.

Select boot device:

1. Virtio disk PCI:0:4           <---------select it
2. Floppy [drive A]
3. DVD/CD [ata1-1: QEMU DVD-ROM ATAPI-4 DVD/CD]
4. gPXE (PCI 00:05.0)
5. Legacy option rom

Booting from Hard Disk...

It can boot up susccessfully without any error.

Comment 11 errata-xmlrpc 2013-11-21 06:29:22 UTC
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-1553.html


Note You need to log in before you can comment on or make changes to this bug.