[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.
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 manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/929545/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[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 done by one week from today, this fix will be
dropped from the source code, and this bug will be closed.

See https://wiki.ubuntu.com/Testing/EnableProposed for documentation how
to enable and use -proposed. Thank you!


** Tags added: verification-needed-precise

-- 
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 manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/929545/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[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 manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/929545/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[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 ]

  * SAUCE: drm: give up on edid retries when i2c bus is not responding
- LP: #855124

  [ Seth Forshee ]

  * SAUCE: (drop after 3.3) platform/x86: Add driver for Apple gmux device
- LP: #925544

  [ Upstream Kernel Changes ]

  * bsg: fix sysfs link remove warning
- LP: #946928
  * regset: Prevent null pointer reference on readonly regsets
- LP: #949905
- CVE-2012-1097
  * regset: Return -EFAULT, not -EIO, on host-side memory fault
- LP: #949905
- CVE-2012-1097

  [ Wu Fengguang ]

  * SAUCE: (drop after 3.4) ALSA: hda - add id for Atom Cedar Trail HDMI
codec
 -- Leann Ogasawara leann.ogasaw...@canonical.com   Fri, 09 Mar 2012 07:56:11 
-0800

** Changed in: linux (Ubuntu)
   Status: Fix Committed = Fix Released

** CVE added: http://www.cve.mitre.org/cgi-
bin/cvename.cgi?name=2012-1097

-- 
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 manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/929545/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[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 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 manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/929545/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[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
- LP: #593107
  * deviations -- note the source of the Hyper-V updates
  * SAUCE: ata_piix: defer to the Hyper-V drivers by default
- LP: #929545

  [ Eugeni Dodonov ]

  * SAUCE: drm/i915: do not enable RC6p on Sandy Bridge

  [ Kees Cook ]

  * SAUCE: (drop after 3.3) security: create task_free security callback
  * SAUCE: (drop after 3.3) security: Yama LSM
  * SAUCE: (drop after 3.3) Yama: add PR_SET_PTRACER_ANY
  * SAUCE: Yama: add link restrictions
  * SAUCE: security: unconditionally chain to Yama LSM

  [ Leann Ogasawara ]

  * Drop ndiswrapper

  [ Robert Hooker ]

  * SAUCE: drm/i915: Enable RC6 by default on sandybridge.

  [ Tim Gardner ]

  * SAUCE: ipheth: Add iPhone 4S
- LP: #900802
  * dropped hv_mouse
  * [Config] CONFIG_X86_NUMACHIP=y

  [ Upstream Kernel Changes ]

  * Staging: hv: vmbus: Support building the vmbus driver as part of the
kernel
  * hv: Add Kconfig menu entry
  * Drivers: hv: Fix a memory leak
  * Drivers: hv: Make the vmbus driver unloadable
  * Drivers: hv: Get rid of an unnecessary check in hv.c
  * Staging: hv: mousevsc: Make boolean states boolean
  * Staging: hv: mousevsc: Inline the code for mousevsc_on_device_add()
  * Staging: hv: mousevsc: Inline the code for reportdesc_callback()
  * Staging: hv: mousevsc: Cleanup mousevsc_on_channel_callback()
  * Staging: hv: mousevsc: Add a new line to a debug string
  * Staging: hv: mousevsc: Get rid of unnecessary include files
  * Staging: hv: mousevsc: Address some style issues
  * Staging: hv: mousevsc: Add a check to prevent memory corruption
  * Staging: hv: mousevsc: Use the KBUILD_MODNAME macro
  * Staging: hv: storvsc: Use mempools to allocate struct
storvsc_cmd_request
  * Staging: hv: storvsc: Cleanup error handling in the probe function
  * Staging: hv: storvsc: Fixup the error when processing SET_WINDOW
command
  * Staging: hv: storvsc: Fix error handling storvsc_host_reset()
  * Staging: hv: storvsc: Use the accessor function shost_priv()
  * Staging: hv: storvsc: Use the unlocked version queuecommand
  * Staging: hv: storvsc: use the macro KBUILD_MODNAME
  * Staging: hv: storvsc: Get rid of an unnecessary forward declaration
  * Staging: hv: storvsc: Upgrade the vmstor protocol version
  * Staging: hv: storvsc: Support hot add of scsi disks
  * Staging: hv: storvsc: Support hot-removing of scsi devices
  * staging: hv: Use kmemdup rather than duplicating its implementation
  * staging: hv: move hv_netvsc out of staging area
  * Staging: hv: mousevsc: Properly add the hid device
  * Staging: hv: storvsc: Disable clustering
  * Staging: hv: storvsc: Cleanup storvsc_device_alloc()
  * Staging: hv: storvsc: Fix a bug in storvsc_command_completion()
  * Staging: hv: storvsc: Fix a bug in copy_from_bounce_buffer()
  * Staging: hv: storvsc: Implement per device memory pools
  * Staging: hv: remove hv_mouse driver as it's now in the hid directory
  * Staging: hv: update TODO file
  * Staging: hv: storvsc: Fix a bug in create_bounce_buffer()
  * net/hyperv: Fix long lines in netvsc.c
  * net/hyperv: Add support for promiscuous mode setting
  * net/hyperv: Fix the stop/wake queue mechanism
  * net/hyperv: Remove unnecessary kmap_atomic in netvsc driver
  * net/hyperv: Add NETVSP protocol version negotiation
  * net/hyperv: Add support for jumbo frame up to 64KB
  * net/hyperv: fix possible memory leak in do_set_multicast()
  * net/hyperv: rx_bytes should account the ether header size
  * net/hyperv: fix the issue that large packets be dropped under bridge
  * net/hyperv: Use netif_tx_disable() instead of netif_stop_queue() when
necessary
  * net/hyperv: Fix the page buffer when an RNDIS message goes beyond page
boundary
  * HID: Move the hid-hyperv driver out of staging
  * HID: hv_mouse: Properly add the hid device
  * HID: hyperv: Properly disconnect the input device
  * Staging: hv: storvsc: Cleanup some comments
  * Staging: hv: storvsc: Cleanup storvsc_probe()
  * Staging: hv: storvsc: Cleanup storvsc_queuecommand()
  * Staging: hv: storvsc: Introduce defines for srb status codes
  * Staging: hv: storvsc: Cleanup storvsc_host_reset_handler()
  * Staging: hv: storvsc: Move and cleanup storvsc_remove()
  * Staging: hv: storvsc: Add a comment to explain life-cycle management
  * Staging: hv: storvsc: Get rid of the on_io_completion in
hv_storvsc_request
  * Staging: hv: storvsc: Rename the context field in hv_storvsc_request
  * Staging: hv: storvsc: Miscellaneous cleanup of storvsc driver
  * Staging: hv: storvsc: Cleanup the code for generating protocol version
  * Staging: hv: storvsc: Cleanup some protocol related constants
  * Staging: hv: storvsc: Get rid of some unused defines
  * 

[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
  device to ata_piix

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/929545/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[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
  device to ata_piix

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/929545/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[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 images are the newest ones in the same place as before (see
above).  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 guests running on Hyper-V lose root
  device to ata_piix

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/929545/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[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 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 manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/929545/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[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 0:0:0:0: Attached scsi generic sg0 type 0
[6.682081] sd 0:0:0:0: [sda] Write Protect is off
[6.686096] input: Microsoft Vmbus HID-compliant Mouse as 
/devices/virtual/input/input2
[6.691830] sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, 
supports DPO and FUA
[6.702828]  sda: sda1 sda2  sda5 
[6.706727] scsi1 : storvsc_host_t
[6.710982] sd 0:0:0:0: [sda] Attached SCSI disk

Though the issues seem to start where we start a scsi scan.

-- 
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 manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/929545/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[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 well as other cleanup issues from the community
review.

In fact, I would strongly suggest that the latest hv* drivers from
linux-next be used if at all possible. The snapshot being used as the
base for the Precise kernel only has the hv_vmbus driver out of staging.
With the release of the 3.3 kernel, the hv_netvsc and hv_mouse drivers
were approved for exit, and we've already received word that the
hv_storvsc driver will exit in 3.4. The quality of code after going
through the community review is leaps and bounds better than what is
present in 3.2, and should be ideal for a -LTS release.

To accomplish this, you can either pull from linux-next and replace the
files in /drivers/staging/hv (which would require no changes to the
build system), or pull the appropriate files out of the various folders
(as well as the Kconfigs) and place them in the locations as of linux-
next:

drivers/hv, drivers/net/hyperv/, drivers/hid/hid-hyperv.c,
drivers/scsi/storvsc_drv.c

Please let me know how you'd like to proceed on this.

-M

-- 
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 manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/929545/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[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:

http://people.canonical.com/~apw/lp917135-precise/

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 guests running on Hyper-V lose root
  device to ata_piix

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/929545/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[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 http://technet.microsoft.com/en-us/library/dd183729%28WS.10%29.aspx

You can select either integrated device electronics (IDE) or SCSI devices on 
virtual machines:
IDE devices. Hyper-V uses emulated devices with IDE controllers. You can 
 have up to two IDE controllers with two disks on each controller. The startup 
 disk (sometimes referred to as the boot disk) must be attached to one of the 
 IDE devices. The startup disk can be either a virtual hard disk or a physical 
 disk. Although a virtual machine must use an IDE device as the startup disk 
 to start the guest operating system, you have many options to choose from 
 when selecting the physical device that will provide the storage for the IDE 
 device. For example, you can use any of the types of physical storage 
 identified in the introduction section.
SCSI devices. Each virtual machine supports up to 256 SCSI disks (four 
 SCSI controllers with each controller supporting up to 64 disks). SCSI 
 controllers use a type of device developed specifically for use with virtual 
 machines and use the virtual machine bus to communicate. The virtual machine 
 bus must be available when the guest operating system is started. Therefore, 
 virtual hard disks attached to SCSI controllers cannot be used as startup 
 disks.
...
Note
Although the I/O performance of physical SCSI and IDE devices can differ 
significantly, this is not true for the virtualized SCSI and IDE devices in 
Hyper-V. Hyper-V. IDE and SCSI devices both offer equally fast I/O performance 
when integration services are installed in the guest operating system.

I can try this early 12.04 code out too on a Hyper-V host. I am using
Ubuntu 10.04 as a guest OS quite a bit on Hyper-V hosts.

Regards,
Tim Miller Dyck

-- 
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 manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/929545/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[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 access to anything to test myself.

-- 
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 manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/929545/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[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 is a generic block device that handles both IDE and SCSI
traffic.

-- 
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 manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/929545/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[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.
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 manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/929545/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[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 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 manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/929545/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[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 /boot/initrd.img-KERNELVERSION | cpio -it | grep hv_

2) can we get a dmesg from the failing boot if at all possible

3) can we try modprobing the required modules from the initramfs prompt
(I think this is just hv_storvsc) and see if the drives are then
detected (in dmesg) if so you could then try exiting from the shell
which should retry the mount.

-- 
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 manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/929545/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[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

Title:
  Hyper-V: PV Drivers for Ubuntu guests running on Hyper-V lose root
  device to ata_piix

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/929545/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[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
lib/modules/3.2.0-16-generic/kernel/drivers/staging/hv/hv_netvsc.ko
79943 blocks
mike@ubuntu:~$

We're missing hv_storvsc in the initrd.

-- 
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 manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/929545/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[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 from boot is available
here:

http://paste.ubuntu.com/841283/

It's unclear if this is an issue with the hv_storvsc driver or something
else, however.

-- 
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 manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/929545/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[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 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 manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/929545/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[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 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 manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/929545/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[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 Hyper-V lose root
  device to ata_piix

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/929545/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[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 below and report whether they work here.  Could
you please include a dmesg of a successful boot so I can confirm the
detection has recorded itself correctly.  It would also be helpful to
get a boot with ata_piix.prefer_ms_hyperv=0, again a dmesg would be
useful.  Kernels are at the URL below:

http://people.canonical.com/~apw/lp929545-precise/

Kernels should be synced shortly.  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 guests running on Hyper-V lose root
  device to ata_piix

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/929545/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[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 output from the 3.2.0-16-generic kernel
   
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/929545/+attachment/2730133/+files/hv_detect_dmesg.out

-- 
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 manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/929545/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[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.
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 manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/929545/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[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 on Hyper-V lose root
  device to ata_piix

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/929545/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[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 guests running on Hyper-V lose root
  device to ata_piix

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/929545/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[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.
   
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/929545/+attachment/2730739/+files/bootfailure.png

-- 
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 manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/929545/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs