Kernel panic when running this kernel on Ubuntu 1604 on HyperV with Mellanox 
CX3 SR-IOV enabled.
Could you please build a test kernel based on this one (test kernel 4.4.0-65): 

https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1667007
http://kernel.ubuntu.com/~jsalisbury/lp1667007/xenial/



[    7.976040] Modules linked in: mlx4_core(+) pci_hyperv i2c_piix4 8250_fintek 
hyperv_fb hv_ballo                          on input_leds joydev serio_raw 
mac_hid ib_iser rdma_cm iw_cm ib_cm ib_sa ib_mad ib_core ib_addr is             
             csi_tcp libiscsi_tcp libiscsi scsi_transport_iscsi parport_pc 
ppdev lp parport autofs4 btrfs raid1                          0 raid456 
async_raid6_recov async_memcpy async_pq async_xor async_tx xor raid6_pq 
libcrc32c raid1                           raid0 multipath linear hid_generic 
hyperv_keyboard crct10dif_pclmul crc32_pclmul hid_hyperv hv_net                 
         vsc hv_storvsc hid scsi_transport_fc ghash_clmulni_intel hv_utils 
aesni_intel aes_x86_64 lrw gf128                          mul glue_helper 
ablk_helper cryptd psmouse tulip pata_acpi hv_vmbus floppy fjes
[    7.976040] CPU: 0 PID: 668 Comm: systemd-udevd Tainted: G    B D         
4.4.0-64-generic #85~                          lp1667527
[    7.976041] Hardware name: Microsoft Corporation Virtual Machine/Virtual 
Machine, BIOS 090006                            04/28/2016
[    7.976042]  0000000000000286 0000000096836efa ffff8800f277f1e8 
ffffffff813f8083
[    7.976043]  ffffea0003a87500 ffffffff81cd75a2 ffff8800f277f210 
ffffffff811937ee
[    7.976043]  ffffea0003a87540 ffff880107ffbf80 ffff8800f277f320 
ffff8800f277f2d8
[    7.976044] Call Trace:
[    7.976044]  [<ffffffff813f8083>] dump_stack+0x63/0x90
[    7.976045]  [<ffffffff811937ee>] bad_page.part.68+0xae/0x100
[    7.976046]  [<ffffffff81197c86>] get_page_from_freelist+0x516/0xa50
[    7.976048]  [<ffffffff81198f19>] __alloc_pages_nodemask+0x159/0x2a0
[    7.976049]  [<ffffffff811e2a7c>] alloc_pages_current+0x8c/0x110
[    7.976050]  [<ffffffff8119354e>] __get_free_pages+0xe/0x40
[    7.976051]  [<ffffffff811beba4>] __tlb_remove_page+0x54/0xa0
[    7.976053]  [<ffffffff811bfa9e>] unmap_page_range+0x50e/0x7a0
[    7.976054]  [<ffffffff811bfdad>] unmap_single_vma+0x7d/0xe0
[    7.976055]  [<ffffffff811c0871>] unmap_vmas+0x51/0xa0
[    7.976056]  [<ffffffff811c9df7>] exit_mmap+0xa7/0x170
[    7.976057]  [<ffffffff8107e0a7>] mmput+0x57/0x130
[    7.976058]  [<ffffffff81083f2a>] do_exit+0x27a/0xb00
[    7.976059]  [<ffffffff81031c41>] oops_end+0xa1/0xd0
[    7.976060]  [<ffffffff810320fb>] die+0x4b/0x70
[    7.976061]  [<ffffffff8102f121>] do_trap+0xb1/0x140
[    7.976062]  [<ffffffff8102f4a9>] do_error_trap+0x89/0x110
[    7.976063]  [<ffffffff811edef7>] ? kfree+0x147/0x150
[    7.976064]  [<ffffffff81558c5e>] ? dev_printk_emit+0x4e/0x70
[    7.976068]  [<ffffffffc0443c0d>] ? mlx4_free_eq+0x11d/0x190 [mlx4_core]
[    7.976069]  [<ffffffff8102fa10>] do_invalid_op+0x20/0x30
[    7.976070]  [<ffffffff8183e10e>] invalid_op+0x1e/0x30
[    7.976074]  [<ffffffffc0443c0d>] ? mlx4_free_eq+0x11d/0x190 [mlx4_core]
[    7.976075]  [<ffffffff811edef7>] ? kfree+0x147/0x150
[    7.976079]  [<ffffffffc0443c0d>] mlx4_free_eq+0x11d/0x190 [mlx4_core]
[    7.976083]  [<ffffffffc04443f2>] mlx4_init_eq_table+0x2b2/0x630 [mlx4_core]
[    7.976087]  [<ffffffffc044efe8>] mlx4_setup_hca+0x1f8/0x7a0 [mlx4_core]
[    7.976091]  [<ffffffffc04502d0>] mlx4_load_one+0xb60/0x1680 [mlx4_core]
[    7.976095]  [<ffffffffc0451312>] mlx4_init_one+0x522/0x6c0 [mlx4_core]
[    7.976097]  [<ffffffff8144a075>] local_pci_probe+0x45/0xa0
[    7.976098]  [<ffffffff8144b4b3>] pci_device_probe+0x103/0x150
[    7.976099]  [<ffffffff8155d4c2>] driver_probe_device+0x222/0x4a0
[    7.976100]  [<ffffffff8155d7c4>] __driver_attach+0x84/0x90
[    7.976102]  [<ffffffff8155d740>] ? driver_probe_device+0x4a0/0x4a0
[    7.976103]  [<ffffffff8155b0ec>] bus_for_each_dev+0x6c/0xc0
[    7.976104]  [<ffffffff8155cc7e>] driver_attach+0x1e/0x20
[    7.976105]  [<ffffffff8155c7bb>] bus_add_driver+0x1eb/0x280
[    7.976105]  [<ffffffffc03be000>] ? 0xffffffffc03be000
[    7.976106]  [<ffffffff8155e0d0>] driver_register+0x60/0xe0
[    7.976107]  [<ffffffff8144999c>] __pci_register_driver+0x4c/0x50
[    7.976113]  [<ffffffffc03be115>] mlx4_init+0x115/0x1000 [mlx4_core]
[    7.976113]  [<ffffffff81002123>] do_one_initcall+0xb3/0x200
[    7.976115]  [<ffffffff811ed0f3>] ? kmem_cache_alloc_trace+0x183/0x1f0
[    7.976116]  [<ffffffff8118dae3>] do_init_module+0x5f/0x1cf
[    7.976117]  [<ffffffff8110a94f>] load_module+0x166f/0x1c10
[    7.976118]  [<ffffffff81106ef0>] ? __symbol_put+0x60/0x60
[    7.976119]  [<ffffffff81214cf0>] ? kernel_read+0x50/0x80
[    7.976120]  [<ffffffff8110b134>] SYSC_finit_module+0xb4/0xe0
[    7.976121]  [<ffffffff8110b17e>] SyS_finit_module+0xe/0x10
[    7.976122]  [<ffffffff8183c5f2>] entry_SYSCALL_64_fastpath+0x16/0x71
[    7.976123] BUG: Bad page state in process systemd-udevd  pfn:ea1d3
[    7.976123] page:ffffea0003a874c0 count:-1 mapcount:0 mapping:          
(null) index:0x0
[    7.976124] flags: 0xffffc000000000()
[    7.976124] page dumped because: nonzero _count

-- 
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/1667527

Title:
  [Hyper-V] pci-hyperv: Use device serial number as PCI domain

Status in linux package in Ubuntu:
  In Progress
Status in linux source package in Xenial:
  In Progress

Bug description:
  This allows PCI domain numbers starts with 1, and also unique
  on the same VM. So names, such as VF NIC names, that include
  domain number as part of the name, can be shorter than that
  based on part of bus UUID previously. The new names will also
  stay same for VMs created with copied VHD and same number of
  devices.

  This is needed for SR-IOV in Azure.

  This is Bjorn's tree for 4.11 here:
  https://git.kernel.org/cgit/linux/kernel/git/helgaas/pci.git/commit/?h=pci
  /host-hv&id=4a9b0933bdfcd85da840284bf5a0eb17b654b9c2

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