[Bug 1195524] Re: race condition / transient failure to provision

2013-06-28 Thread Long Li
Can you also share the kernel logs, and all the files in
/var/lib/waagent?

In the waagent.log, the new host name seems uncommon:

2013/06/28 15:08:12 EnvMonitor: Detected host name change: ubuntu - 
gwaclhostblkhljy4re3yp9swkdwp63kswkss9bqhn0zm3f3gunipzu5vwdr8qzw
2013/06/28 15:08:12 Setting host name: 
gwaclhostblkhljy4re3yp9swkdwp63kswkss9bqhn0zm3f3gunipzu5vwdr8qzw

Is it expected?

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to walinuxagent in Ubuntu.
https://bugs.launchpad.net/bugs/1195524

Title:
  race condition / transient failure to provision

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

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 1195524] Re: race condition / transient failure to provision

2013-06-28 Thread Long Li
Can you also share the kernel logs, and all the files in
/var/lib/waagent?

In the waagent.log, the new host name seems uncommon:

2013/06/28 15:08:12 EnvMonitor: Detected host name change: ubuntu - 
gwaclhostblkhljy4re3yp9swkdwp63kswkss9bqhn0zm3f3gunipzu5vwdr8qzw
2013/06/28 15:08:12 Setting host name: 
gwaclhostblkhljy4re3yp9swkdwp63kswkss9bqhn0zm3f3gunipzu5vwdr8qzw

Is it expected?

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1195524

Title:
  race condition / transient failure to provision

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

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


[Bug 994870] Re: kernel panic on boot with hyper-v

2012-05-15 Thread Long Li
Update: We only see this issue when using 1 CPU for a Hyper-V guest.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/994870

Title:
  kernel panic on boot with hyper-v

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

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


[Bug 994870] Re: kernel panic on boot with hyper-v

2012-05-16 Thread Long Li
After removing ata_piix from the kernel, the panic problem goes away.

It seems the regression comes from this commit:

commit a207c1ea485cc9cd7d546eadeb0877515c952f2a
Author: Andy Whitcroft a...@canonical.com
Date:   Thu Mar 8 11:32:35 2012 +

UBUNTU: SAUCE: ata_piix: defer disks to the Hyper-V drivers by
default

When we are hosted on a Microsoft Hyper-V hypervisor the guest disks
are exposed both via the Hyper-V paravirtualised drivers and via an
emulated SATA disk drive.  In this case we want to use the paravirtualised
drivers if we can as they are much more efficient.  Note that the Hyper-V
paravirtualised drivers only expose the virtual hard disk devices, the
CDROM/DVD devices must still be enumerated.

Check the disk type when picking up its ID and if it appears to be a
disk just report it disconnected.

BugLink: http://bugs.launchpad.net/bugs/929545
BugLink: http://bugs.launchpad.net/bugs/942316
Signed-off-by: Andy Whitcroft a...@canonical.com

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/994870

Title:
  kernel panic on boot with hyper-v

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

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


[Bug 994870] Re: kernel panic on boot with hyper-v

2012-05-08 Thread Long Li
This is a 64bit instance. This VM is running on 8 VCPU and 14GB RAM.
This issue repros on other VCPU and RAM settings too but with much less
chance.

However, the kernel panic traces are not consistent for each repro. The
trace in the bug report happens at a early stage of boot, at which point
we have yet to load the Linux Hyper-V drivers.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/994870

Title:
  kernel panic on boot with hyper-v

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

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


[Bug 1581243] Re: [Hyper-V] PCI Passthrough kernel hang and explicit barriers

2016-05-25 Thread Long Li
Tested. Everything worked as expected.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1581243

Title:
  [Hyper-V] PCI Passthrough kernel hang and explicit barriers

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

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


[Bug 1570124] Re: [Hyper-V] In-flight PCI Passthrough Patches

2016-04-26 Thread Long Li
We have tested the proposed kernel. It is looking good.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1570124

Title:
  [Hyper-V] In-flight PCI Passthrough Patches

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

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


[Bug 1709681] [NEW] Infiniband: add missing values in queue pair attributes

2017-08-09 Thread Long Li
Public bug reported:

On Azure, the RDMA device is exposed as a iWARP device. There is only
one such device in each VM, they are set at port 1.

A recent patch 5ecce4c9b17b("Check port number supplied by user verbs
cmds") starts checking on port_num in qp attributes passed from user
mode libraries. This requires that this value is correctly populated
when calling verb ib_modify_qp. Otherwise this call will fail.

The following patch fixed it. Please pick it up for linux-azure.

commit a62ab66b13a0f9bcb17b7b761f6670941ed5cd62
Author: Ismail, Mustafa 
Date:   Fri Jul 14 09:41:31 2017 -0500

RDMA/core: Initialize port_num in qp_attr

Initialize the port_num for iWARP in rdma_init_qp_attr.

Fixes: 5ecce4c9b17b("Check port number supplied by user verbs cmds")
Cc:  # v2.6.14+
Reviewed-by: Steve Wise 
Signed-off-by: Mustafa Ismail 
Tested-by: Mike Marciniszyn 
Signed-off-by: Doug Ledford 

** Affects: linux-azure (Ubuntu)
 Importance: Undecided
 Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1709681

Title:
  Infiniband: add missing values in queue pair attributes

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

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


[Bug 1701744] Re: [Hyper-V] Add infiniband support for Azure HPC

2017-07-13 Thread Long Li
Please build the driver as a kernel module package. The package name
should have something that match the hosting cluster ND version.
Currently we have 142 and 144.

For this driver, please build two kernel module packages:
.142.deb and .144.deb (those two packages are 
binary identical because ND142 and ND144 use the same infiniband interface)

Then build a master infiniband package, that contains those two
packages. When doing apt install , it copied the
kernel modules packages to /opt/Microsoft

e.g.

apt install 

will create the following deb files in /opt/Microsoft

.142.deb
.144.deb

The WALA will figure out which deb package to install based on host
passed ND version.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1701744

Title:
  [Hyper-V] Add infiniband support for Azure HPC

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

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


[Bug 1701744] Re: Add infiniband support for Azure HPC

2017-06-30 Thread Long Li
** Patch added: "Infiniband driver for kernel 4.11"
   
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1701744/+attachment/4906980/+files/0001-Add-infiniband-driver-for-Azure-HPC.patch

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1701744

Title:
  [Hyper-V] Add infiniband support for Azure HPC

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

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


[Bug 1701744] Re: Add infiniband support for Azure HPC

2017-06-30 Thread Long Li
** Patch added: "Infiniband driver build configuration for kernel 4.11"
   
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1701744/+attachment/4906981/+files/0002-Add-driver-build-configuration-to-infiniband.patch

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1701744

Title:
  [Hyper-V] Add infiniband support for Azure HPC

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

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


[Bug 1701744] [NEW] [Hyper-V] Add infiniband support for Azure HPC

2017-06-30 Thread Long Li
Public bug reported:

This is the infiniband driver for Azure HPC.

Windows Azure agent will provision an image for running infiniband RDMA
via DAPL when "OS.EnableRDMA=y" is defined in waagent.conf.

Note: Ubuntu image needs to load rdma_ucm on boot to expose the RDMA CM
interface to user-mode library.

** Affects: linux (Ubuntu)
 Importance: Undecided
 Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1701744

Title:
  [Hyper-V] Add infiniband support for Azure HPC

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

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


[Bug 1686208] [NEW] add version to rdma driver to support new method to bind to ND IP interface

2017-04-25 Thread Long Li
Public bug reported:

The Linux agent checks for module version, then decide how to pass the
Infiniband IP address to the RDMA driver.

The new RDMA driver supports discovery of IP by trying to bind to all
possible IP address. The driver needs to export the module version to
have linux agent use the new behavior.

** Affects: walinuxagent (Ubuntu)
 Importance: Undecided
 Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1686208

Title:
  add version to rdma driver to support new method to bind to ND IP
  interface

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

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


[Bug 1686208] Re: add version to rdma driver to support new method to bind to ND IP interface

2017-04-25 Thread Long Li
** Patch added: "Patch for RDMA driver"
   
https://bugs.launchpad.net/ubuntu/+source/walinuxagent/+bug/1686208/+attachment/4867953/+files/0001-vmbus-rdma-add-version-number.patch

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1686208

Title:
  add version to rdma driver to support new method to bind to ND IP
  interface

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

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


[Bug 1689627] Re: add version to rdma driver to support new method to bind to ND IP interface

2017-05-09 Thread Long Li
** Patch added: "Patch for RDMA driver"
   
https://bugs.launchpad.net/ubuntu/+source/walinuxagent/+bug/1689627/+attachment/4874277/+files/0001-vmbus-rdma-add-version-number.patch

** Package changed: walinuxagent (Ubuntu) => linux (Ubuntu)

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1689627

Title:
  [Hyper-V] add version to rdma driver to support new method to bind to
  ND IP interface

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

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


[Bug 1686208] Re: add version to rdma driver to support new method to bind to ND IP interface

2017-05-09 Thread Long Li
*** This bug is a duplicate of bug 1689627 ***
https://bugs.launchpad.net/bugs/1689627

** This bug has been marked a duplicate of bug 1689627
   add version to rdma driver to support new method to bind to ND IP interface

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1686208

Title:
  add version to rdma driver to support new method to bind to ND IP
  interface

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

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


[Bug 1689627] [NEW] [Hyper-V] add version to rdma driver to support new method to bind to ND IP interface

2017-05-09 Thread Long Li
Public bug reported:

The Linux agent (WALA) checks for module version, then decides how to
pass the InfiniBand IP address to the RDMA driver. The new RDMA driver
supports discovery of IP by trying to bind to all possible IP address.
The driver needs to export the module version to have WALA use the new
behavior.

** Affects: linux (Ubuntu)
 Importance: Undecided
 Status: Confirmed

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1689627

Title:
  [Hyper-V] add version to rdma driver to support new method to bind to
  ND IP interface

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

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


[Bug 1839673] Re: [linux-azure] Important InfiniBand patches for Ubuntu 18.04

2019-08-14 Thread Long Li
I suggest we can just keep 142 as is. The extra module size on disk is
not that bad at 140k.

The original design was to deal with future ND version updates.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1839673

Title:
  [linux-azure] Important InfiniBand patches for Ubuntu 18.04

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

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

[Bug 1839673] Re: [linux-azure] Important InfiniBand patches for Ubuntu 18.04

2019-08-14 Thread Long Li
I don't think we have ND 142 cluster in use, they have all been upgraded
to 144. So we only need the patch for ND 144.

This is not needed for 4.15. Ubuntu 16.04 is running older user-mode
drivers that don't cause problems.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1839673

Title:
  [linux-azure] Important InfiniBand patches for Ubuntu 18.04

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

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

[Bug 1838939] Re: Add alias to support Microsoft Azure RDMA device via MLX4

2019-08-07 Thread Long Li
When kernel device is probed, its vendor ID and device ID are used to
ask user-mode library to find the correct device driver in user-mode.
The patch will enable the correct user-mode driver is selected. There is
no additional configuration or time spent on the device initialization,
because at this time the kernel-mode driver is already loaded and
running, regardless if user-mode driver is loaded or net. To end user,
the cost and billing are not dependent on what driver is in use. If the
hardware is attached to VM, the billing is already in progress.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1838939

Title:
  Add alias to support Microsoft Azure RDMA device via MLX4

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/rdma-core/+bug/1838939/+subscriptions

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