Hyper-V: PV Drivers for Ubuntu guests running on Hyper-V lose root device to ata_piix
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
linux (Ubuntu) |
Fix Released
|
Medium
|
Andy Whitcroft |
Bug Description
Microsoft PV drivers are unable to access the root device because the native driver gets to take over the root device
before our PV drivers get loaded. The strategies Microsoft currently use on other distributions are based on setting up modprobe rules but these will not work on Ubuntu as the native (ata*) driver is built directly into the kernel. Here are the options Microsoft would like to propose for getting around this problem:
1. Build Hyper-V relevant storage driver as part of the kernel and we
can fix the initialization ordering to ensure that our PV drivers
control the root device when Ubuntu is running on a Hyper-V host.
When not running on a Hyper-V host, our drivers will not
successfully initialize and so will not have any effect. This would
simultaneously address a need for fast boot while also addressing
the performance issues on the root device when hosted on Hyper-V.
2. Modify the ata driver to recognize that when hosted on Hyper-V, it
should not control the disks.
Given that our PV block driver currently does not support CD/DVD
devices, I suspect we will end up with some combination of the two
approaches listed. Let me know your preference. If you want to go this
route, we can certainly help with the engineering work.
Changed in linux (Ubuntu): | |
importance: | Undecided → Medium |
tags: | added: kernel-da-key precise |
summary: |
- PV Drivers for Ubuntu guests running on Hyper-V unable to control root - device + Hyper-V: PV Drivers for Ubuntu guests running on Hyper-V lose root + device to ata_piix |
Changed in linux (Ubuntu): | |
assignee: | nobody → Andy Whitcroft (apw) |
tags: |
added: bot-quit-nagging removed: kernel-request-3.2.0-15.24 precise |
Changed in linux (Ubuntu): | |
status: | Incomplete → Confirmed |
Changed in linux (Ubuntu): | |
status: | Confirmed → Fix Committed |
This bug is missing log files that will aid in diagnosing the problem. From a terminal window please run:
apport-collect 929545
and then change the status of the bug to 'Confirmed'.
If, due to the nature of the issue you have encountered, you are unable to run this command, please add a comment stating that fact and change the bug status to 'Confirmed'.
This change has been made by an automated script, maintained by the Ubuntu Kernel Team.