Red Hat Bugzilla – Bug 533886
F12 libguestfs SRPM fails selftest on RHEL6 with ide (works fine w/ virtio)
Last modified: 2010-03-16 13:25:13 EDT
Created attachment 368250 [details]
Log of libguestfs build+test run
[CC'd to rwmjones for reclassification if filed against the wrong component]
Description of problem:
The libguestfs virtual appliance is unable to find its attached hard drive when booting, and thus fails selftest badly. Rebuilding to use virtio works around this.
Version-Release number of selected component (if applicable):
CD install media RHEL6.0-20091020.1
Steps to Reproduce:
1. Pull the libguest srpm from Fedora 12
2. Ensure that packages needed for guest can be found under /var/cache/yum
3. Attempt to build with rpmbuild -ba libguestfs.spec
Package fails to build in selftest -- guest is unable to detect IDE devices.
Package should build as it does on Fedora 12.
Log of unsuccessful build and test run attached.
Assigning to me to have a look at this.
On further investigation, this looks to me like an issue in libguestfs, particularly with the appliance build; no modules matching /lib/modules/*/kernel/drivers/ata/*.ko exist within the generated appliance.
Adding ata_piix.ko to the libguestfs module whitelist makes things better.
Yes, I reproduced this problem.
I compiled from git using the following commands:
and then I tested it using guestfish:
><fs> alloc /tmp/test.img 10M
[no devices are listed]
I'm going to try adding ata_piix.ko to kmod.whitelist.in
and see if that makes any difference.
Confirmed: fixed by adding ata_piix.ko.
I've pushed a patch upstream for this:
No point having this bug private, so moved
to Virtualization Tools / libguestfs.