Red Hat Bugzilla – Bug 484364
block-rw-range-check.patch breaks qcow2
Last modified: 2009-04-09 01:41:48 EDT
If I create a new qcow2 file and try and install Fedora 8 on it, the installer never shows sda in the partitioning screen. anaconda.log shows:
removing drive sda from disk lists; adding to skip list
Turns out this isn't a problem with kvm-83 from git, so I added some debugging to block-rw-range-check.patch:
+ if (ret)
+ printf("Failing bdrv_rd_badreq_sectors(%ld, %d) : total_sectors = %ld\n",
+ sector_num, nb_sectors, bs->total_sectors);
and I see:
Failing bdrv_rd_badreq_sectors(192, 1) : total_sectors = 192
Reproduced here. Investigating.
Found the issue: the patch on Rawhide is using bdrv_rd_badreq_sectors() instead of bdrv_rw_badreq_sectors() on bdrv_aio_write().
Fixed on Rawhide CVS (kvm-83-4.fc11)
Reassigning: The kvm package no longer exists in rawhide/F11, since it is now part of 'qemu'.
Fix is present in new merged RPM qemu-0.10-0.9.kvm20090310git.fc11.x86_64
*** Bug 491582 has been marked as a duplicate of this bug. ***
Created attachment 336611 [details]
Screenshot showing hard drive not found message
Created attachment 336612 [details]
Screenshot of a warning message we got
Created attachment 336613 [details]
------- Comment From firstname.lastname@example.org 2009-04-09 01:30 EDT-------
Tested in F11beta and qemu-kvm could recognize the hard drive.