Saturday, 1 June 2013
Media Setting issue when installing Sun Solaris 10, 11 OS on X86 Virtual Machine(VM)
The problem happens when installing Sun Solaris 10 or 11 OS on X86 VM. It does not allow the system continue to boot and do normal installation.
On x86: Default DMA Setting for CD and DVD Devices Might Cause Problems for Certain Systems
In the current Solaris release, Direct Memory Access (DMA) for CD and DVD devices is enabled by default. On some older x86 hardware, drives and controllers might not function properly if DMA is enabled. Different systems might generate different error messages. A typical error message is similar to the following example:
WARNING: /pci@0,0/pci-ide@f,1/ide@0 (ata0)
timeout: abort request, target=0 lun=0
WARNING: /pci@0,0/pci-ide@f,1/ide@0 (ata0)
timeout: abort request, target=0 lun=0
WARNING: /pci@0,0/pci-ide@f,1/ide@0 (ata0)
timeout: abort request, target=0 lun=0
WARNING: /pci@0,0/pci-ide@f,1/ide@0 (ata0)
timeout: reset bus, target=0 lun=0
Note, however, that such messages are generic and might also apply to failures that are not related to the default DMA setting.
Workaround: Disable DMA for CD or DVD devices by using the eeprom system command. Perform the following steps.
Become superuser.
Issue the following command:
# eeprom atapi-cd-dma-enabled=0
Reboot the system.
When you perform subsequent system boots, the DMA remains disabled until you enable the setting again.
If you are booting the system by using an optical device, do not use the eeprom command. Instead, edit the kernel command line by using the GRand Unifier Bootloader (GRUB) menu. Follow these steps.
Configure your system to boot from a DVD or CD.
Insert the appropriate media in your system.
Boot the system.
After the memory test and hardware detection are completed, the GRUB menu is displayed.
Using the arrow keys, select the appropriate installation option and press e.
A list of boot commands is displayed.
Select the boot command that begins with kernel and press e.
The kernel command is displayed on the screen in edit mode, similar to the following example:
grub edit>kernel /boot/multiboot kernel/unix -B install_media=cdrom
Using the arrow keys, navigate to the end of the command line and add the following argument:
atapi-cd-dma-enabled=0
The edited kernel command should be similar to the following example:
grub edit>kernel /boot/multiboot kernel/unix -B
install_media=cdrom atapi-cd-dma-enabled=0
After adding the argument, press Enter.
The modified kernel command is displayed in the GRUB menu.
To boot the system, press b.
References: Oracle Website and Oracle Docs
Labels:
oraclemis