Notice: This website is an unofficial Microsoft Knowledge Base (hereinafter KB) archive and is intended to provide a reliable access to deleted content from Microsoft KB. All KB articles are owned by Microsoft Corporation. Read full disclaimer for more details.

CD-ROM device is no longer accessible after installing the Hyper-V Linux Integration Services in a Red Hat or CentOS virtual machine


Symptoms

Consider the following scenario:

· Red Hat or CentOS is installed in a Hyper-V virtual machine.

· The Linux Integration Services are installed in the virtual machine.

· After the Linux Integration Services are installed, the CD-ROM (/dev/cdrom) is no longer accessible in the virtual machine.

· If the Linux Integration Services are uninstalled, the CD-ROM is accessible in the virtual machine.

↑ Back to the top


Cause

This issue occurs because the Hyper-V Linux Integration Services unloads the ata_piix driver in order to provide an optimized IDE driver (hv_blkvsc) for the root file system. To get access to the CD-ROM device, the Linux Integration Services must be uninstalled.

↑ Back to the top


Workaround

To work around this issue, mount the ISO in the virtual machine. To mount an ISO file in the virtual machine, the following command must be run before executing the mount command:

# insmod /lib/modules/$(uname -r)/kernel/drivers/ata/ata_piix.ko

Alternatively, copy the ISO file into the virtual machine and mount it using the -o loop option.

↑ Back to the top


More Information

For more information about Hyper-V, visit the following Microsoft website: http://technet.microsoft.com/en-us/library/cc753637(WS.10).aspx

↑ Back to the top


Keywords: kb

↑ Back to the top

Article Info
Article ID : 2600152
Revision : 1
Created on : 1/7/2017
Published on : 8/18/2011
Exists online : False
Views : 86