Description of problem: RHEL5.2 FV or PV guest cannot get files from RHEL5.2 Host CDROM or ISO Version-Release number of selected component (if applicable): How reproducible: Always reproducible Steps to Reproduce: 1. Complete host installation of RHEL5.2 x86_64 with Virtualization packages 2. Enable Intel VT function of BIOS. 3. Boot to RHEL5.2 host, use virt-manager to create a FV guest of RHEL5.2 4. Install FV guest from /var/lib/xen/iso/RHEL5.2-x86_64_DVD.iso 5. After FV guest finished installation, CDROM keep connecting to the DVD ISO 6. Boot into FV guest, but guest cannot get files from CDROM (DVD ISO) 7. Shutdown FV guest, change CDROM connecting to a DVD-R of RHEL5.2 x86_64 8. Boot into FV guest, still cannot get files from CDROM (DVD-R) Actual results: No matter guest is FV or PV, RHEL5.2 guest never reaches CDROM from RHEL5.2 host Expected results: Additional info: HTS-5.2-13 cert test kit, XEN guest test item has CDROM. Because of this issue, XEN guest CDROM test alwasys failed.
Created attachment 308763 [details] RHEL5.2 x86_64 Host logs
Bug ID 450639 is based on this bug, it's HTS-5.2-13 guest CDROM test item failed issue.
Please provide the files /root/.virt-manager/virt-manager.log /var/log/xen/xend.log /etc/xen/{NAME-OF-GUEST} And the output of 'virsh dumpxml NAME-OF-GUEST' for the guest you have just finished installing.
Created attachment 308799 [details] RHEL5.2 FV Guest Configurations & Logs
Well the guest has been re-connected to the /dev/scd0 device according to the logs, so its some reason failing to access the CD. Can you provide further debug info - On the host OS, the output of 'lshal' (while you have the CD media inserted in the /dev/scd0 drive) - On the host OS, the output of 'xenstore-ls' (after attaching the /dev/scd0 device to the running guest) - On the guest OS, the output of 'lshal' (again, after attaching /dev/scd0 to the running guest)
Created attachment 323413 [details] lshal logs from host and guest 1. in guest, use command "mount /dev/hdc /mnt" When source is /dev/scd0, even system reports mounted successfully, "ls /mnt" still shows nothing. When source is /var/lib/xen/iso/RHEL5.2_i386_CD1.iso, "ls /mnt" shows CD contents. 2. No matter CD source is CD-R or ISO, hts-5.2-20, FV guest "cdrom" test result still become failed all the time.
Hmm, do you still see this with RHEL 5.3? At the very least this likely isn't a virt-manager (or libvirt) issue, so reassigning to xen. Also interesting to check would be /var/log/audit/* to see if there are any selinux issues.
No response from the reporter in quite a few months. I'm going to close it out for now, but if this is still an issue, please feel free to reopen. Chris Lalancette
This bug was closed during 5.5 development and it's being removed from the internal tracking bugs (which are now for 5.6).