Succeeds.

Welcome to Ubuntu 16.04.2 LTS (GNU/Linux 4.4.0-77-generic x86_64)

 * Documentation:  https://help.ubuntu.com
 * Management:     https://landscape.canonical.com
 * Support:        https://ubuntu.com/advantage

  Get cloud support with Ubuntu Advantage Cloud Guest:
    http://www.ubuntu.com/business/services/cloud

0 packages can be updated.
0 updates are security updates.


Last login: Wed Apr 26 19:33:01 2017 from 167.220.1.17
jrp@jrpcudau:~$ dmesg | grep [Nn][Vv]
[    0.000000] BIOS-e820: [mem 0x000000001ffff000-0x000000001fffffff] ACPI NVS
[    0.108095] smpboot: APIC(0) Converting physical 0 to logical package 0
[    0.200051] PM: Registering ACPI NVS region [mem 0x1ffff000-0x1fffffff] 
(4096 bytes)
[    1.150948] rtc_cmos 00:00: alarms up to one month, 114 bytes nvram
[   19.933256] sd 2:0:0:0: [storvsc] Add. Sense: Invalid command operation code
[   19.933268] sd 3:0:1:0: [storvsc] Add. Sense: Invalid command operation code
[   19.933304] sd 2:0:0:0: [storvsc] Add. Sense: Invalid command operation code
[   19.933312] sd 3:0:1:0: [storvsc] Add. Sense: Invalid command operation code
[   21.402336] nvidia: module license 'NVIDIA' taints kernel.
[   21.406984] nvidia: module verification failed: signature and/or required 
key missing - tainting kernel
[   21.411864] nvidia c4d9:00:00.0: can't derive routing for PCI INT A
[   21.411867] nvidia c4d9:00:00.0: PCI INT A: no GSI
[   21.414385] nvidia-nvlink: Nvlink Core is being initialized, major device 
number 246
[   21.414395] NVRM: loading NVIDIA UNIX x86_64 Kernel Module  375.51  Wed Mar 
22 10:26:12 PDT 2017 (using threaded interrupts)
[   21.530031] nvidia-modeset: Loading NVIDIA Kernel Mode Setting Driver for 
UNIX platforms  375.51  Wed Mar 22 09:00:58 PDT 2017
[   21.531290] [drm] [nvidia-drm] [GPU ID 0xc4d90000] Loading driver
[   21.594837] nvidia-uvm: Loaded the UVM driver in 8 mode, major device number 
245
jrp@jrpcudau:~$ lspci
0000:00:00.0 Host bridge: Intel Corporation 440BX/ZX/DX - 82443BX/ZX/DX Host 
bridge (AGP disabled) (rev 03)
0000:00:07.0 ISA bridge: Intel Corporation 82371AB/EB/MB PIIX4 ISA (rev 01)
0000:00:07.1 IDE interface: Intel Corporation 82371AB/EB/MB PIIX4 IDE (rev 01)
0000:00:07.3 Bridge: Intel Corporation 82371AB/EB/MB PIIX4 ACPI (rev 02)
0000:00:08.0 VGA compatible controller: Microsoft Corporation Hyper-V virtual 
VGA
c4d9:00:00.0 3D controller: NVIDIA Corporation GK210GL [Tesla K80] (rev a1)
jrp@jrpcudau:~$ nvidia-smi
Wed Apr 26 19:50:27 2017
+-----------------------------------------------------------------------------+
| NVIDIA-SMI 375.51                 Driver Version: 375.51                    |
|-------------------------------+----------------------+----------------------+
| GPU  Name        Persistence-M| Bus-Id        Disp.A | Volatile Uncorr. ECC |
| Fan  Temp  Perf  Pwr:Usage/Cap|         Memory-Usage | GPU-Util  Compute M. |
|===============================+======================+======================|
|   0  Tesla K80           Off  | C4D9:00:00.0     Off |                    0 |
| N/A   41C    P0    60W / 149W |      0MiB / 11439MiB |      0%      Default |
+-------------------------------+----------------------+----------------------+

+-----------------------------------------------------------------------------+
| Processes:                                                       GPU Memory |
|  GPU       PID  Type  Process name                               Usage      |
|=============================================================================|
|  No running processes found                                                 |
+-----------------------------------------------------------------------------+

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1684971

Title:
  [Hyper-V][SAUCE] pci-hyperv: Use only 16 bit integer for PCI domain

Status in linux package in Ubuntu:
  Fix Committed
Status in linux source package in Xenial:
  Fix Committed
Status in linux source package in Yakkety:
  Fix Committed
Status in linux source package in Zesty:
  In Progress
Status in linux source package in Artful:
  Fix Committed

Bug description:
  The following patch fixes a problem with "[PATCH] pci-hyperv: Use
  device serial number as PCI domain" where some drivers were expecting
  a u16 instead of a u32 for PCI device serial numbers, as observed by
  Oops and hangs in Azure on NC and NV GPU instances.

  From: Haiyang Zhang <haiya...@microsoft.com>

  This patch uses the lower 16 bits of the serial number as PCI
  domain, otherwise some drivers may not be able to handle it.

  Signed-off-by: Haiyang Zhang <haiya...@microsoft.com>
  ---
   drivers/pci/host/pci-hyperv.c |    4 +++-
   1 files changed, 3 insertions(+), 1 deletions(-)

  diff --git a/drivers/pci/host/pci-hyperv.c b/drivers/pci/host/pci-hyperv.c
  index e73880c..b18dff3 100644
  --- a/drivers/pci/host/pci-hyperv.c
  +++ b/drivers/pci/host/pci-hyperv.c
  @@ -1334,9 +1334,11 @@ static void put_pcichild(struct hv_pci_dev *hpdev,
         * can have shorter names than based on the bus instance UUID.
         * Only the first device serial number is used for domain, so the
         * domain number will not change after the first device is added.
  +      * The lower 16 bits of the serial number is used, otherwise some
  +      * drivers may not be able to handle it.
         */
        if (list_empty(&hbus->children))
  -             hbus->sysdata.domain = desc->ser;
  +             hbus->sysdata.domain = desc->ser & 0xFFFF;
        list_add_tail(&hpdev->list_entry, &hbus->children);
        spin_unlock_irqrestore(&hbus->device_list_lock, flags);
        return hpdev;
  -- 
  1.7.1

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

-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to     : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to