[Bug 929545] Re: Hyper-V: PV Drivers for Ubuntu guests running on Hyper-V lose root device to ata_piix

2012-12-13 Thread Luis Henriques
After a IRC chat with Ben Howard, I'm tagging this as verified in Precise. ** Tags removed: verification-needed-precise ** Tags added: verification-done-precise -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu.

[Bug 929545] Re: Hyper-V: PV Drivers for Ubuntu guests running on Hyper-V lose root device to ata_piix

2012-12-07 Thread Luis Henriques
This bug is awaiting verification that the kernel for Precise in -proposed solves the problem (3.2.0-35.55). Please test the kernel and update this bug with the results. If the problem is solved, change the tag 'verification-needed-precise' to 'verification-done-precise'. If verification is not

[Bug 929545] Re: Hyper-V: PV Drivers for Ubuntu guests running on Hyper-V lose root device to ata_piix

2012-03-09 Thread Launchpad Bug Tracker
** Branch linked: lp:ubuntu/linux-lowlatency -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/929545 Title: Hyper-V: PV Drivers for Ubuntu guests running on Hyper-V lose root device to ata_piix To

[Bug 929545] Re: Hyper-V: PV Drivers for Ubuntu guests running on Hyper-V lose root device to ata_piix

2012-03-09 Thread Launchpad Bug Tracker
This bug was fixed in the package linux - 3.2.0-18.29 --- linux (3.2.0-18.29) precise; urgency=low [ Andy Whitcroft ] * [Config] restore build-% shortcut * SAUCE: ata_piix: defer disks to the Hyper-V drivers by default - LP: #929545, #942316 [ Eugeni Dodonov ] *

[Bug 929545] Re: Hyper-V: PV Drivers for Ubuntu guests running on Hyper-V lose root device to ata_piix

2012-03-08 Thread Andy Whitcroft
Ok this fix was incomplete as the CDROM/DVD are not supported via the hyper-v paravirt drivers. An updated fix is now applied. ** Changed in: linux (Ubuntu) Status: Fix Released = Fix Committed -- You received this bug notification because you are a member of Ubuntu Bugs, which is

[Bug 929545] Re: Hyper-V: PV Drivers for Ubuntu guests running on Hyper-V lose root device to ata_piix

2012-02-17 Thread Launchpad Bug Tracker
This bug was fixed in the package linux - 3.2.0-17.26 --- linux (3.2.0-17.26) precise; urgency=low [ Andy Whitcroft ] * [Config] clean up the human consumable package descriptions * [Config] fix generic flavour description * [Config] clean up linux-tools package descriptions

[Bug 929545] Re: Hyper-V: PV Drivers for Ubuntu guests running on Hyper-V lose root device to ata_piix

2012-02-16 Thread Nick Barcet
** Changed in: linux (Ubuntu) Status: Incomplete = Confirmed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/929545 Title: Hyper-V: PV Drivers for Ubuntu guests running on Hyper-V lose root

[Bug 929545] Re: Hyper-V: PV Drivers for Ubuntu guests running on Hyper-V lose root device to ata_piix

2012-02-16 Thread Andy Whitcroft
** Changed in: linux (Ubuntu) Status: Confirmed = Fix Committed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/929545 Title: Hyper-V: PV Drivers for Ubuntu guests running on Hyper-V lose root

[Bug 929545] Re: Hyper-V: PV Drivers for Ubuntu guests running on Hyper-V lose root device to ata_piix

2012-02-15 Thread Andy Whitcroft
We have pulled together a backport from that currnetly sitting in linux- next, roughtly what will hit 3.4, we have combined that with the fixes to the ata_piix driver identified above. @Mike could you test that for us in combination with the initramfs tools bits you already have. The kernel

[Bug 929545] Re: Hyper-V: PV Drivers for Ubuntu guests running on Hyper-V lose root device to ata_piix

2012-02-15 Thread Mike Sterling
I've confirmed that the combination of linux-image (from above) and the initramfs-tools / initramfs-tools-bin from http://people.canonical.com/~apw/lp917135-precise/ result in a system booting and using hv_storvsc to handle the root device instead of ata_piix. -M -- You received this bug

[Bug 929545] Re: Hyper-V: PV Drivers for Ubuntu guests running on Hyper-V lose root device to ata_piix

2012-02-14 Thread Andy Whitcroft
So at least some of the disk is readable as we were able to see and report the partition table: [6.665440] scsi 0:0:0:0: Direct-Access Msft Virtual Disk 1.0 PQ: 0 ANSI: 4 [6.672178] sd 0:0:0:0: [sda] 167772160 512-byte logical blocks: (85.8 GB/80.0 GiB) [6.678902] sd

[Bug 929545] Re: Hyper-V: PV Drivers for Ubuntu guests running on Hyper-V lose root device to ata_piix

2012-02-14 Thread Mike Sterling
After some internal investigation, this is a known issue in the build of hv_storvsc that is present in the Ubuntu kernel sources, including 3.2.0-16. The latest version of the driver, available in linux-next after Feb 14 (at its new location in /drivers/scsi/storvsc_drv.c) has that resolved, as

[Bug 929545] Re: Hyper-V: PV Drivers for Ubuntu guests running on Hyper-V lose root device to ata_piix

2012-02-13 Thread Andy Whitcroft
Ok I've put together updating initramfs-tools which should include the correct hv_* module which hopefully will allow the right drivers to be loaded. Could you install the initramfs-tools from the URL below. You will also need to ensure the initramfs is rebuilt, and then retest as before:

[Bug 929545] Re: Hyper-V: PV Drivers for Ubuntu guests running on Hyper-V lose root device to ata_piix

2012-02-13 Thread Tim Miller Dyck
Hi, The intention here is to boot every disk volume using the virtual Hyper-V SCSI adapter? That would be different than the procedure for setting up VM guest disks (on Windows systems only?) as described in Microsoft's Hyper-V docs, but maybe that is the goal. from

[Bug 929545] Re: Hyper-V: PV Drivers for Ubuntu guests running on Hyper-V lose root device to ata_piix

2012-02-13 Thread Andy Whitcroft
@Tim -- I can't claim to have ever booted in this environment. The request to switch the boot disks over to the paravirtualised drivers was made as the performance over IDE is poor. It has been suggested by those in the know so I am assuming that it should work, though as I say I do not have

[Bug 929545] Re: Hyper-V: PV Drivers for Ubuntu guests running on Hyper-V lose root device to ata_piix

2012-02-13 Thread Mike Sterling
This doesn't change what the VM boots from - we still require that the system boot from an IDE disk. What this does enable is our hv_storvsc driver to control the root device, which uses hv_vmbus to communicate with dom0. hv_storvsc and hv_blkvsc were merged upstream a while back, and hv_storvsc

[Bug 929545] Re: Hyper-V: PV Drivers for Ubuntu guests running on Hyper-V lose root device to ata_piix

2012-02-13 Thread Andy Whitcroft
@Mike -- I think we both mean the same thing, I just am looking at things from inside. Did the new kerenl and initramfs-tools combination work for you? -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu.

[Bug 929545] Re: Hyper-V: PV Drivers for Ubuntu guests running on Hyper-V lose root device to ata_piix

2012-02-13 Thread Mike Sterling
Andy, what's the correct process to try both the kernel-image and the updated initramfs-tools? I installed the kernel-image, the initramfs- tools, and the initramfs-tools-bin package at once using dpkg -i, but I'm still getting the same hang as before. -- You received this bug notification

[Bug 929545] Re: Hyper-V: PV Drivers for Ubuntu guests running on Hyper-V lose root device to ata_piix

2012-02-13 Thread Andy Whitcroft
@Mike -- I think i would expect that to work in that combination. Could we: 1) install all three and then confirm that the initramfs image at least contains the required drivers, using something like the below (remember to sub in the right kernel version): zcat

[Bug 929545] Re: Hyper-V: PV Drivers for Ubuntu guests running on Hyper-V lose root device to ata_piix

2012-02-13 Thread Andy Whitcroft
@Mike -- if you are able to get onto freenode irc, then you might also like to come find me there, we might be able to diagnose this quicker there. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/929545

[Bug 929545] Re: Hyper-V: PV Drivers for Ubuntu guests running on Hyper-V lose root device to ata_piix

2012-02-13 Thread Mike Sterling
Ah-ha. mike@ubuntu:~$ sudo zcat /boot/initrd.img-3.2.0-16-generic | cpio -it | grep hv_ lib/modules/3.2.0-16-generic/kernel/drivers/hv/hv_vmbus.ko lib/modules/3.2.0-16-generic/kernel/drivers/hv/hv_utils.ko lib/modules/3.2.0-16-generic/kernel/drivers/staging/hv/hv_mouse.ko

[Bug 929545] Re: Hyper-V: PV Drivers for Ubuntu guests running on Hyper-V lose root device to ata_piix

2012-02-13 Thread Mike Sterling
Just an update as to where we are on this bug: With the updated packages from apw, I've confirmed that hv_storvsc is present in the initrd from -pre6 combined with the early 3.2.0-16. However, after a reboot, the system barfs a bunch of errors about rejecting I/O due to an offline device. Output

[Bug 929545] Re: Hyper-V: PV Drivers for Ubuntu guests running on Hyper-V lose root device to ata_piix

2012-02-12 Thread Andy Whitcroft
@Mike -- i suspect that that actually means it worked. But of course with the other bug, you don't have the drivers in your initramfs. I'll have to get an updated initramfs package for you as well. -- You received this bug notification because you are a member of Ubuntu Bugs, which is

[Bug 929545] Re: Hyper-V: PV Drivers for Ubuntu guests running on Hyper-V lose root device to ata_piix

2012-02-10 Thread Andy Whitcroft
** Summary changed: - 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: (unassigned) = Andy Whitcroft (apw) -- You received this bug

[Bug 929545] Re: Hyper-V: PV Drivers for Ubuntu guests running on Hyper-V lose root device to ata_piix

2012-02-10 Thread Andy Whitcroft
** Tags removed: kernel-request-3.2.0-15.24 precise ** Tags added: bot-quit-nagging -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/929545 Title: Hyper-V: PV Drivers for Ubuntu guests running on

[Bug 929545] Re: Hyper-V: PV Drivers for Ubuntu guests running on Hyper-V lose root device to ata_piix

2012-02-10 Thread Andy Whitcroft
Ok. I have attempted to add hyper-v detection to the ata_piix driver. This basically defers handling to hyper-v by default if the hypervisor is detected. I have also added an override to allow this to be suppressed from the command line. Could someone with a hyper-v based cloud test the kernels

[Bug 929545] Re: Hyper-V: PV Drivers for Ubuntu guests running on Hyper-V lose root device to ata_piix

2012-02-10 Thread Mike Sterling
I've tested this, but it doesn't appear to work as expected. I installed today's precise-server ISO and then installed the new linux-image via dpkg -i. Checking /sys/block/sda/device/driver/0:0:0:0/vendor reported the driver as ATA instead of Msft as we would expect. ** Attachment added: dmesg

[Bug 929545] Re: Hyper-V: PV Drivers for Ubuntu guests running on Hyper-V lose root device to ata_piix

2012-02-10 Thread Mike Sterling
** Attachment added: dmesg when using the prefer_ms_hyperv=0 flag https://bugs.launchpad.net/ubuntu/+source/linux/+bug/929545/+attachment/2730134/+files/prefer_ms_hyperv.out -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu.

[Bug 929545] Re: Hyper-V: PV Drivers for Ubuntu guests running on Hyper-V lose root device to ata_piix

2012-02-10 Thread Andy Whitcroft
Hmm, looks like the patch isn't quite right. I'll spin a replacement test kernel shortly. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/929545 Title: Hyper-V: PV Drivers for Ubuntu guests running

[Bug 929545] Re: Hyper-V: PV Drivers for Ubuntu guests running on Hyper-V lose root device to ata_piix

2012-02-10 Thread Andy Whitcroft
Ok I've updated the test kernels hopefully fixing the issue. If we could re-test the as before. Thanks. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/929545 Title: Hyper-V: PV Drivers for Ubuntu

[Bug 929545] Re: Hyper-V: PV Drivers for Ubuntu guests running on Hyper-V lose root device to ata_piix

2012-02-10 Thread Mike Sterling
That didn't seem to work either - it was unable to mount the root filesystem. If there are steps that I can do within the shell to further diagnose, let me know. ** Attachment added: Boot failure.