[Kernel-packages] [Bug 1795857] Re: enable CONFIG_DRM_BOCHS

2019-03-29 Thread Thomas Lamprecht
I've send a patch for the kernel part of this request:
https://lists.ubuntu.com/archives/kernel-team/2019-March/099704.html

Additionally to it the kmod's "blacklist bochs-drm" entry from it's
/etc/modprobe.d/blacklist-framebuffer.conf file it ships would need to
get removed.

With this I can successfully start VMs wit stdvga as display under QEMU and/or 
QEMU/KVM again.
Without this it's completely broken, but note that the installation itself 
works, you'll only see the issues after you boot in the fresh installed system.

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

Title:
  enable CONFIG_DRM_BOCHS

Status in kmod package in Ubuntu:
  New
Status in linux package in Ubuntu:
  Confirmed

Bug description:
  CONFIG_DRM_BOCHS got disabled for
  https://bugs.launchpad.net/ubuntu/+source/kmod/+bug/1378648

  but doing so regressed running qemu with the 'std' VGA driver, where
  it'd fail to start X after install, as mentioned on bug 1794280

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


[Kernel-packages] [Bug 1861147] Re: No fc connect after update from 4.15.0-72 to 4.15.0-76

2020-02-12 Thread Thomas Lamprecht
** Package changed: ubuntu => linux (Ubuntu)

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

Title:
  No fc connect after update from 4.15.0-72 to 4.15.0-76

Status in linux package in Ubuntu:
  Confirmed

Bug description:
  No fc connect after update from 4.15.0-72-generic to 4.15.0-76-generic.
  rescan-scsi-bus no found luns.
  HP BL-460c G7
  06:00.0 Fibre Channel: QLogic Corp. ISP2532-based 8Gb Fibre Channel to PCI 
Express HBA (rev 02)
  06:00.1 Fibre Channel: QLogic Corp. ISP2532-based 8Gb Fibre Channel to PCI 
Express HBA (rev 02)

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


[Kernel-packages] [Bug 1851709] [NEW] Ubuntu-5.0.0-33.35 introduces KVM regression with old Intel CPUs and Linux guests

2019-11-07 Thread Thomas Lamprecht
Public bug reported:

Mostly the same info as on a related kernel.org bugzilla entr[0].

[0]: https://bugzilla.kernel.org/show_bug.cgi?id=205441

We got issues reported with old Intel CPUs and Linux guest run with
QEMU/KVM after a recent kernel update which is based on
Ubuntu-5.0.0-33.35.

I bisected this here, with following result:
git bisect log 
# bad: [3b931173c97b0d73f80ea55b72bb2966a246167f] UBUNTU: Ubuntu-5.0.0-33.35
# good: [5d5a6b36e94909962297fae609bff487de3cc43a] UBUNTU: Ubuntu-5.0.0-30.32
git bisect start '3b931173c97b0d73f80ea55b72bb2966a246167f'
'5d5a6b36e94909962297fae609bff487de3cc43a'
# good: [7b4f844b33969ab166800f8936beef153fab736e] net/ibmvnic: free reset work
of removed device from queue
git bisect good 7b4f844b33969ab166800f8936beef153fab736e
# bad: [6c1fc88702a4f33886b44ce5b6f374893b95e369] arm64: tlb: Ensure we execute
an ISB following walk cache invalidation
git bisect bad 6c1fc88702a4f33886b44ce5b6f374893b95e369
# good: [e627a027b54eccc95f9e374d69aead7f1498877b] loop: Add LOOP_SET_DIRECT_IO
to compat ioctl
git bisect good e627a027b54eccc95f9e374d69aead7f1498877b
# good: [29919eff6333bc67ec580b454afdd8b49883df2f] libata/ahci: Drop PCS quirk
for Denverton and beyond
git bisect good 29919eff6333bc67ec580b454afdd8b49883df2f
# good: [cb44193f94af73928f8df049ffbb6b4a0be136ae] PM / devfreq: passive: fix
compiler warning
git bisect good cb44193f94af73928f8df049ffbb6b4a0be136ae
# good: [b1d479b27b26966aea931094b31864979d7f8102] scsi: implement .cleanup_rq
callback
git bisect good b1d479b27b26966aea931094b31864979d7f8102
# bad: [ec15813844b05d8cbd4352c65a20e57d16f9f936] media: sn9c20x: Add MSI
MS-1039 laptop to flip_dmi_table
git bisect bad ec15813844b05d8cbd4352c65a20e57d16f9f936
# good: [e83601f51a90d9739ced9ff42b6f202f8f802c72] parisc: Disable HP HSC-PCI
Cards to prevent kernel crash
git bisect good e83601f51a90d9739ced9ff42b6f202f8f802c72
# good: [6d393bdf3b3f4b629070329488d3c6a3e142602b] KVM: x86: set
ctxt->have_exception in x86_decode_insn()
git bisect good 6d393bdf3b3f4b629070329488d3c6a3e142602b
# bad: [208007519a7385a57b0c0a3c180142a521594876] KVM: x86: Manually calculate
reserved bits when loading PDPTRS
git bisect bad 208007519a7385a57b0c0a3c180142a521594876
# first bad commit: [208007519a7385a57b0c0a3c180142a521594876] KVM: x86:
Manually calculate reserved bits when loading PDPTRS

Which is:

   KVM: x86: Manually calculate reserved bits when loading PDPTRS

BugLink: https://bugs.launchpad.net/bugs/1848367

commit 16cfacc8085782dab8e365979356ce1ca87fd6cc upstream.

Manually generate the PDPTR reserved bit mask when explicitly loading
PDPTRs.  The reserved bits that are being tracked by the MMU reflect the
current paging mode, which is unlikely to be PAE paging in the vast
majority of flows that use load_pdptrs(), e.g. CR0 and CR4 emulation,
__set_sregs(), etc...  This can cause KVM to incorrectly signal a bad
PDPTR, or more likely, miss a reserved bit check and subsequently fail
a VM-Enter due to a bad VMCS.GUEST_PDPTR.

Add a one off helper to generate the reserved bits instead of sharing
code across the MMU's calculations and the PDPTR emulation.  The PDPTR
reserved bits are basically set in stone, and pushing a helper into
the MMU's calculation adds unnecessary complexity without improving
readability.

Oppurtunistically fix/update the comment for load_pdptrs().

Note, the buggy commit also introduced a deliberate functional change,
"Also remove bit 5-6 from rsvd_bits_mask per latest SDM.", which was
effectively (and correctly) reverted by commit cd9ae5fe47df ("KVM: x86:
Fix page-tables reserved bits").  A bit of SDM archaeology shows that
the SDM from late 2008 had a bug (likely a copy+paste error) where it
listed bits 6:5 as AVL and A for PDPTEs used for 4k entries but reserved
for 2mb entries.  I.e. the SDM contradicted itself, and bits 6:5 are and
always have been reserved.

Fixes: 20c466b56168d ("KVM: Use rsvd_bits_mask in load_pdptrs()")
Cc: sta...@vger.kernel.org
Cc: Nadav Amit 
Reported-by: Doug Reiland 
Signed-off-by: Sean Christopherson 
Reviewed-by: Peter Xu 
Signed-off-by: Paolo Bonzini 
Signed-off-by: Greg Kroah-Hartman 
Signed-off-by: Kamal Mostafa 
Signed-off-by: Kleber Sacilotto de Souza 


This one is also included in the 4.19.81 (or more correctly, it's there since 
v4.19.77) with commit 496cf984a60edb5534118a596613cc9971e406e8 [0] or
upstream commit 16cfacc8085782dab8e365979356ce1ca87fd6cc [1].

[0]:
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable-rc.git/commit/?h=v4.19.82&id=496cf984a60edb5534118a596613cc9971e406e8
[1]: https://git.kernel.org/torvalds/c/16cfacc8085782dab8e365979356ce1ca87fd6cc

Funny thing is: I cannot reproduce this with a 5.3.7 (Eoan) kernel, which _also_
includes above commit. So possible another patch is missing in the backport,
did not find anything obvious though...

So summary for r

[Kernel-packages] [Bug 1851709] Re: Ubuntu-5.0.0-33.35 introduces KVM regression with old Intel CPUs and Linux guests

2019-11-07 Thread Thomas Lamprecht
Thanks Mr. Kernel Bot but I really do not think that this bug misses
logs :)

** Changed in: linux (Ubuntu)
   Status: Incomplete => Confirmed

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

Title:
  Ubuntu-5.0.0-33.35 introduces KVM regression with old Intel CPUs and
  Linux guests

Status in linux package in Ubuntu:
  Confirmed

Bug description:
  Mostly the same info as on a related kernel.org bugzilla entr[0].

  [0]: https://bugzilla.kernel.org/show_bug.cgi?id=205441

  We got issues reported with old Intel CPUs and Linux guest run with
  QEMU/KVM after a recent kernel update which is based on
  Ubuntu-5.0.0-33.35.

  I bisected this here, with following result:
  git bisect log 
  # bad: [3b931173c97b0d73f80ea55b72bb2966a246167f] UBUNTU: Ubuntu-5.0.0-33.35
  # good: [5d5a6b36e94909962297fae609bff487de3cc43a] UBUNTU: Ubuntu-5.0.0-30.32
  git bisect start '3b931173c97b0d73f80ea55b72bb2966a246167f'
  '5d5a6b36e94909962297fae609bff487de3cc43a'
  # good: [7b4f844b33969ab166800f8936beef153fab736e] net/ibmvnic: free reset 
work
  of removed device from queue
  git bisect good 7b4f844b33969ab166800f8936beef153fab736e
  # bad: [6c1fc88702a4f33886b44ce5b6f374893b95e369] arm64: tlb: Ensure we 
execute
  an ISB following walk cache invalidation
  git bisect bad 6c1fc88702a4f33886b44ce5b6f374893b95e369
  # good: [e627a027b54eccc95f9e374d69aead7f1498877b] loop: Add 
LOOP_SET_DIRECT_IO
  to compat ioctl
  git bisect good e627a027b54eccc95f9e374d69aead7f1498877b
  # good: [29919eff6333bc67ec580b454afdd8b49883df2f] libata/ahci: Drop PCS quirk
  for Denverton and beyond
  git bisect good 29919eff6333bc67ec580b454afdd8b49883df2f
  # good: [cb44193f94af73928f8df049ffbb6b4a0be136ae] PM / devfreq: passive: fix
  compiler warning
  git bisect good cb44193f94af73928f8df049ffbb6b4a0be136ae
  # good: [b1d479b27b26966aea931094b31864979d7f8102] scsi: implement .cleanup_rq
  callback
  git bisect good b1d479b27b26966aea931094b31864979d7f8102
  # bad: [ec15813844b05d8cbd4352c65a20e57d16f9f936] media: sn9c20x: Add MSI
  MS-1039 laptop to flip_dmi_table
  git bisect bad ec15813844b05d8cbd4352c65a20e57d16f9f936
  # good: [e83601f51a90d9739ced9ff42b6f202f8f802c72] parisc: Disable HP HSC-PCI
  Cards to prevent kernel crash
  git bisect good e83601f51a90d9739ced9ff42b6f202f8f802c72
  # good: [6d393bdf3b3f4b629070329488d3c6a3e142602b] KVM: x86: set
  ctxt->have_exception in x86_decode_insn()
  git bisect good 6d393bdf3b3f4b629070329488d3c6a3e142602b
  # bad: [208007519a7385a57b0c0a3c180142a521594876] KVM: x86: Manually calculate
  reserved bits when loading PDPTRS
  git bisect bad 208007519a7385a57b0c0a3c180142a521594876
  # first bad commit: [208007519a7385a57b0c0a3c180142a521594876] KVM: x86:
  Manually calculate reserved bits when loading PDPTRS

  Which is:

 KVM: x86: Manually calculate reserved bits when loading PDPTRS

  BugLink: https://bugs.launchpad.net/bugs/1848367

  commit 16cfacc8085782dab8e365979356ce1ca87fd6cc upstream.

  Manually generate the PDPTR reserved bit mask when explicitly loading
  PDPTRs.  The reserved bits that are being tracked by the MMU reflect the
  current paging mode, which is unlikely to be PAE paging in the vast
  majority of flows that use load_pdptrs(), e.g. CR0 and CR4 emulation,
  __set_sregs(), etc...  This can cause KVM to incorrectly signal a bad
  PDPTR, or more likely, miss a reserved bit check and subsequently fail
  a VM-Enter due to a bad VMCS.GUEST_PDPTR.

  Add a one off helper to generate the reserved bits instead of sharing
  code across the MMU's calculations and the PDPTR emulation.  The PDPTR
  reserved bits are basically set in stone, and pushing a helper into
  the MMU's calculation adds unnecessary complexity without improving
  readability.

  Oppurtunistically fix/update the comment for load_pdptrs().

  Note, the buggy commit also introduced a deliberate functional change,
  "Also remove bit 5-6 from rsvd_bits_mask per latest SDM.", which was
  effectively (and correctly) reverted by commit cd9ae5fe47df ("KVM: x86:
  Fix page-tables reserved bits").  A bit of SDM archaeology shows that
  the SDM from late 2008 had a bug (likely a copy+paste error) where it
  listed bits 6:5 as AVL and A for PDPTEs used for 4k entries but reserved
  for 2mb entries.  I.e. the SDM contradicted itself, and bits 6:5 are and
  always have been reserved.

  Fixes: 20c466b56168d ("KVM: Use rsvd_bits_mask in load_pdptrs()")
  Cc: sta...@vger.kernel.org
  Cc: Nadav Amit 
  Reported-by: Doug Reiland 
  Signed-off-by: Sean Christopherson 
  Reviewed-by: Peter Xu 
  Signed-off-by: Paolo Bonzini 
  Signed-off-by: Greg Kroah-Hartman 
  Signed-off-by: Kamal Mostafa 
  Signed-off-by: Kleber Sacilotto de Souza 

  
  This one is also included in the 4.19.

[Kernel-packages] [Bug 1552592] Re: KVM/QEMU live migration fails with Ubuntu wily kernel 4.2.0-30.35

2016-03-21 Thread Thomas Lamprecht
** Tags removed: verification-needed-wily
** Tags added: verification-done-wily

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

Title:
  KVM/QEMU live migration fails with Ubuntu wily kernel 4.2.0-30.35

Status in linux package in Ubuntu:
  Invalid
Status in linux-lts-wily package in Ubuntu:
  In Progress
Status in linux-lts-wily source package in Trusty:
  Triaged
Status in linux source package in Wily:
  Fix Committed

Bug description:
  commit 3f11933efc9ef55ecb2ac7e6d626e8d05a99a4b1 - "KVM: x86: expose
  MSR_TSC_AUX to userspace" from ubuntu-wily master git tree breaks
  KVM/QEMU live migration of host with a graphical user interface.

  == Reproduction ==

  Install kernel with 3f11933efc9ef55ecb2ac7e6d626e8d05a99a4b1 included 
(Ubuntu-4.2.0-30.35)
  Start VM with GUI
  Start migration (no post copy, same migration as you'd in qemu 2.4)
  When migration has finished and you switch the VNC over to the migration 
target the VM running but frozen showing the last frame buffer, its also not 
ping-able (so you ssh session is dead if you used that)

  This is independent of (x86_64) Hardware and Guest OS used and also
  the QEMU cpu type (I used mainly kvm64).

  == Backport Solution ==

  After a reverse bisect on the working 4.4 xenial kernel (where it's
  working with the patch from above) I found the missing part.

  While those two KVM patches listed above were backported/added another on was 
not, namely:
  81b1b9ca6d5ca5f3ce91c0095402def657cf5db3 (from upstream linus)
  KVM: VMX: Fix host initiated access to guest MSR_TSC_AUX
  
https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=81b1b9ca6d5ca5f3ce91c0095402def657cf5db3

  As there was a API change I made the rather trivial backport to the
  4.2 kernel and tested it successfully.

  The backported patch is attached to this report.

  Some further information and earlier posts from myself about this issue by 
can be found here:
  https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1540532
  https://lists.ubuntu.com/archives/kernel-team/2016-March/072356.html

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


[Kernel-packages] [Bug 1540532] Re: Wily update to v4.2.8-ckt3 stable release

2016-02-26 Thread Thomas Lamprecht
** Attachment added: "backtrace.log"
   
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1540532/+attachment/4581592/+files/backtrace.log

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

Title:
  Wily update to v4.2.8-ckt3 stable release

Status in linux package in Ubuntu:
  Confirmed
Status in linux source package in Wily:
  Fix Released

Bug description:
  SRU Justification

  Impact:
     The upstream process for stable tree updates is quite similar
     in scope to the Ubuntu SRU process, e.g., each patch has to
     demonstrably fix a bug, and each patch is vetted by upstream
     by originating either directly from a mainline/stable Linux tree or
     a minimally backported form of that patch. The v4.2.8-ckt3 upstream 
stable
     patch set is now available. It should be included in the Ubuntu
     kernel as well.

     git://kernel.ubuntu.com/ubuntu/linux.git

  TEST CASE: TBD

     The following patches from the v4.2.8-ckt3 stable release shall
  be applied:

  Linux 4.2.8-ckt3
  ipv6: update skb->csum when CE mark is propagated
  vxlan: fix test which detect duplicate vxlan iface
  batman-adv: Drop immediate batadv_hard_iface free function
  net: bpf: reject invalid shifts
  phonet: properly unshare skbs in phonet_rcv()
  net: preserve IP control block during GSO segmentation
  udp: disallow UFO for sockets with SO_NO_CHECK option
  sched,cls_flower: set key address type when present
  tcp_yeah: don't set ssthresh below 2
  bridge: Only call /sbin/bridge-stp for the initial network namespace
  unix: properly account for FDs passed over unix sockets
  af_unix: Fix splice-bind deadlock
  connector: bump skb->users before callback invocation
  sctp: sctp should release assoc when sctp_make_abort_user return NULL in 
sctp_close
  net: cdc_ncm: avoid changing RX/TX buffers on MTU changes
  veth: don’t modify ip_summed; doing so treats packets with bad checksums as 
good.
  NFS: Ensure we revalidate attributes before using execute_ok()
  NFSv4: Don't perform cached access checks before we've OPENed the file
  net/mlx4: Remove unused macro
  IB/mlx4: Initialize hop_limit when creating address handle
  mmc: debugfs: correct wrong voltage value
  team: Replace rcu_read_lock with a mutex in team_vlan_rx_kill_vid
  ARM: dts: armadillo800eva Correct extal1 frequency to 24 MHz
  printk: help pr_debug and pr_devel to optimize out arguments
  batman-adv: Drop immediate orig_node free function
  batman-adv: Drop immediate neigh_ifinfo free function
  batman-adv: Drop immediate batadv_neigh_node free function
  batman-adv: Drop immediate batadv_orig_ifinfo free function
  batman-adv: Avoid recursive call_rcu for batadv_nc_node
  batman-adv: Avoid recursive call_rcu for batadv_bla_claim
  bridge: fix lockdep addr_list_lock false positive splat
  btrfs: initialize the seq counter in struct btrfs_device
  Btrfs: clean up an error code in btrfs_init_space_info()
  include/linux/memblock.h: fix ordering of 'flags' argument in comments
  vmstat: make vmstat_updater deferrable again and shut down on idle
  net: tcp_memcontrol: properly detect ancestor socket pressure
  mmc: sd: limit SD card power limit according to cards capabilities
  kbuild: Demote 'sign-compare' warning to W=2
  bonding: Prevent IPv6 link local address on enslaved devices
  ipv6: tcp: add rcu locking in tcp_v6_send_synack()
  net: sctp: prevent writes to cookie_hmac_alg from accessing invalid memory
  um: Fix build error and kconfig for i386
  m68k/atari, m68k/sun3: Fix SCSI platform device registration when driver is 
modular
  phy: micrel: Fix finding PHY properties in MAC node for KSZ9031.
  target: Fix a memory leak in target_dev_lba_map_store()
  firmware: actually return NULL on failed request_firmware_nowait()
  power: test_power: correctly handle empty writes
  perf/x86: fix PEBS issues on Intel Atom/Core2
  perf/x86: Fix filter_events() bug with event mappings
  kconfig: return 'false' instead of 'no' in bool function
  sysrq: Fix warning in sysrq generated crash.
  x86/LDT: Print the real LDT base address
  mmc: sdhci: restore behavior when setting VDD via external regulator
  pinctrl: bcm2835: Fix memory leak in error path
  ALSA: fm801: detect FM-only card earlier
  ALSA: fm801: propagate TUNER_ONLY bit when autodetected
  ARM: imx: select SRC for i.MX7
  ALSA: fm801: explicitly free IRQ line
  tpm_tis: Use devm_free_irq not free_irq
  Drivers: hv: utils: use memdup_user in hvt_op_write
  Drivers: hv: util: catch allocation errors
  mtd: nand: denali: add missing nand_release() call in denali_remove()
  Revert "ACPI / LPSS: allow to use specific PM domain during ->probe()"
  mac80211: fix mgmt-tx abort cookie and leak
  mtd: nand: fix ONFI parameter page layout
  ASoC: tegra_alc5632: check return value
  ath9k_htc: check for underflow in ath9k_htc_rx_msg()
  PCI/MSI: Initiali

[Kernel-packages] [Bug 1540532] Re: Wily update to v4.2.8-ckt3 stable release

2016-02-26 Thread Thomas Lamprecht
Hi,

commit 3f11933efc9ef55ecb2ac7e6d626e8d05a99a4b1 - KVM: x86: expose MSR_TSC_AUX 
to userspace
breaks KVM/QEMU live migration of host with a graphical user interface.

== Software Versions: ==
Kenel: this one, namely: Ubuntu-4.2.0-30.35
kvm-qemu: 2.5.0

== Reproduction ==
Install kernel with 3f11933efc9ef55ecb2ac7e6d626e8d05a99a4b1 included 
(Ubuntu-4.2.0-30.35)
Start VM with GUI
Start migration (no post copy, same migration as you'd in qemu 2.4)
When migration has finished snf you switch the vnc over to the migration target 
the VM running but frozen showing the last frame buffer, its also not ping-able 

== VMs tested ==
Linux Mint Live ISO
elementaryOS Live ISO
Windows 7

VMs tested with minimal configuration. No disks on live cds, no network
(but also with both enabled tested, same result)

==  Hardware Used ==
Two Nested VMs on an  Intel(R) Core(TM) i7-4790K CPU @ 4.00GHz
Two physical supermicro servers with Intel(R) Xeon(R) CPU E5-2620 v3 @ 2.40GHz
NFS for storage (for the live ISOs and diskes)

== 
If I revert 3f11933efc9ef55ecb2ac7e6d626e8d05a99a4b1 and install the kernel on 
_both_ hosts the freeze does not happen anymore.
But this commit is also included in the ubuntu-xenial kernel (master and 
master-next tested) and there I have no such problem, thus its a side effect 
from some other (missing?) commit.

I'm currently trying to break the problem further down and try find the
real culprit (or get closer to it).

Backtrace of the hung Linux Mint ISO follows in next comment.

** Attachment added: "Log of the git bisect made"
   
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1540532/+attachment/4581591/+files/bisect.log

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

Title:
  Wily update to v4.2.8-ckt3 stable release

Status in linux package in Ubuntu:
  Confirmed
Status in linux source package in Wily:
  Fix Released

Bug description:
  SRU Justification

  Impact:
     The upstream process for stable tree updates is quite similar
     in scope to the Ubuntu SRU process, e.g., each patch has to
     demonstrably fix a bug, and each patch is vetted by upstream
     by originating either directly from a mainline/stable Linux tree or
     a minimally backported form of that patch. The v4.2.8-ckt3 upstream 
stable
     patch set is now available. It should be included in the Ubuntu
     kernel as well.

     git://kernel.ubuntu.com/ubuntu/linux.git

  TEST CASE: TBD

     The following patches from the v4.2.8-ckt3 stable release shall
  be applied:

  Linux 4.2.8-ckt3
  ipv6: update skb->csum when CE mark is propagated
  vxlan: fix test which detect duplicate vxlan iface
  batman-adv: Drop immediate batadv_hard_iface free function
  net: bpf: reject invalid shifts
  phonet: properly unshare skbs in phonet_rcv()
  net: preserve IP control block during GSO segmentation
  udp: disallow UFO for sockets with SO_NO_CHECK option
  sched,cls_flower: set key address type when present
  tcp_yeah: don't set ssthresh below 2
  bridge: Only call /sbin/bridge-stp for the initial network namespace
  unix: properly account for FDs passed over unix sockets
  af_unix: Fix splice-bind deadlock
  connector: bump skb->users before callback invocation
  sctp: sctp should release assoc when sctp_make_abort_user return NULL in 
sctp_close
  net: cdc_ncm: avoid changing RX/TX buffers on MTU changes
  veth: don’t modify ip_summed; doing so treats packets with bad checksums as 
good.
  NFS: Ensure we revalidate attributes before using execute_ok()
  NFSv4: Don't perform cached access checks before we've OPENed the file
  net/mlx4: Remove unused macro
  IB/mlx4: Initialize hop_limit when creating address handle
  mmc: debugfs: correct wrong voltage value
  team: Replace rcu_read_lock with a mutex in team_vlan_rx_kill_vid
  ARM: dts: armadillo800eva Correct extal1 frequency to 24 MHz
  printk: help pr_debug and pr_devel to optimize out arguments
  batman-adv: Drop immediate orig_node free function
  batman-adv: Drop immediate neigh_ifinfo free function
  batman-adv: Drop immediate batadv_neigh_node free function
  batman-adv: Drop immediate batadv_orig_ifinfo free function
  batman-adv: Avoid recursive call_rcu for batadv_nc_node
  batman-adv: Avoid recursive call_rcu for batadv_bla_claim
  bridge: fix lockdep addr_list_lock false positive splat
  btrfs: initialize the seq counter in struct btrfs_device
  Btrfs: clean up an error code in btrfs_init_space_info()
  include/linux/memblock.h: fix ordering of 'flags' argument in comments
  vmstat: make vmstat_updater deferrable again and shut down on idle
  net: tcp_memcontrol: properly detect ancestor socket pressure
  mmc: sd: limit SD card power limit according to cards capabilities
  kbuild: Demote 'sign-compare' warning to W=2
  bonding: Prevent IPv6 link local address on enslaved devices
  ipv6: tcp: add rcu l

[Kernel-packages] [Bug 1540532] Re: Wily update to v4.2.8-ckt3 stable release

2016-02-26 Thread Thomas Lamprecht
Follow up, I tried it with a Ubuntu Server and Alpine Linux without any
gui and it frozed also, same backtrace.

Sorry I could swear Alpine Linux did not froze when I first tested it in
a nested VM.

** Attachment added: "backtrace-qemu-migration-hang.log"
   
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1540532/+attachment/4581648/+files/backtrace-qemu-migration-hang.log

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

Title:
  Wily update to v4.2.8-ckt3 stable release

Status in linux package in Ubuntu:
  Confirmed
Status in linux source package in Wily:
  Fix Released

Bug description:
  SRU Justification

  Impact:
     The upstream process for stable tree updates is quite similar
     in scope to the Ubuntu SRU process, e.g., each patch has to
     demonstrably fix a bug, and each patch is vetted by upstream
     by originating either directly from a mainline/stable Linux tree or
     a minimally backported form of that patch. The v4.2.8-ckt3 upstream 
stable
     patch set is now available. It should be included in the Ubuntu
     kernel as well.

     git://kernel.ubuntu.com/ubuntu/linux.git

  TEST CASE: TBD

     The following patches from the v4.2.8-ckt3 stable release shall
  be applied:

  Linux 4.2.8-ckt3
  ipv6: update skb->csum when CE mark is propagated
  vxlan: fix test which detect duplicate vxlan iface
  batman-adv: Drop immediate batadv_hard_iface free function
  net: bpf: reject invalid shifts
  phonet: properly unshare skbs in phonet_rcv()
  net: preserve IP control block during GSO segmentation
  udp: disallow UFO for sockets with SO_NO_CHECK option
  sched,cls_flower: set key address type when present
  tcp_yeah: don't set ssthresh below 2
  bridge: Only call /sbin/bridge-stp for the initial network namespace
  unix: properly account for FDs passed over unix sockets
  af_unix: Fix splice-bind deadlock
  connector: bump skb->users before callback invocation
  sctp: sctp should release assoc when sctp_make_abort_user return NULL in 
sctp_close
  net: cdc_ncm: avoid changing RX/TX buffers on MTU changes
  veth: don’t modify ip_summed; doing so treats packets with bad checksums as 
good.
  NFS: Ensure we revalidate attributes before using execute_ok()
  NFSv4: Don't perform cached access checks before we've OPENed the file
  net/mlx4: Remove unused macro
  IB/mlx4: Initialize hop_limit when creating address handle
  mmc: debugfs: correct wrong voltage value
  team: Replace rcu_read_lock with a mutex in team_vlan_rx_kill_vid
  ARM: dts: armadillo800eva Correct extal1 frequency to 24 MHz
  printk: help pr_debug and pr_devel to optimize out arguments
  batman-adv: Drop immediate orig_node free function
  batman-adv: Drop immediate neigh_ifinfo free function
  batman-adv: Drop immediate batadv_neigh_node free function
  batman-adv: Drop immediate batadv_orig_ifinfo free function
  batman-adv: Avoid recursive call_rcu for batadv_nc_node
  batman-adv: Avoid recursive call_rcu for batadv_bla_claim
  bridge: fix lockdep addr_list_lock false positive splat
  btrfs: initialize the seq counter in struct btrfs_device
  Btrfs: clean up an error code in btrfs_init_space_info()
  include/linux/memblock.h: fix ordering of 'flags' argument in comments
  vmstat: make vmstat_updater deferrable again and shut down on idle
  net: tcp_memcontrol: properly detect ancestor socket pressure
  mmc: sd: limit SD card power limit according to cards capabilities
  kbuild: Demote 'sign-compare' warning to W=2
  bonding: Prevent IPv6 link local address on enslaved devices
  ipv6: tcp: add rcu locking in tcp_v6_send_synack()
  net: sctp: prevent writes to cookie_hmac_alg from accessing invalid memory
  um: Fix build error and kconfig for i386
  m68k/atari, m68k/sun3: Fix SCSI platform device registration when driver is 
modular
  phy: micrel: Fix finding PHY properties in MAC node for KSZ9031.
  target: Fix a memory leak in target_dev_lba_map_store()
  firmware: actually return NULL on failed request_firmware_nowait()
  power: test_power: correctly handle empty writes
  perf/x86: fix PEBS issues on Intel Atom/Core2
  perf/x86: Fix filter_events() bug with event mappings
  kconfig: return 'false' instead of 'no' in bool function
  sysrq: Fix warning in sysrq generated crash.
  x86/LDT: Print the real LDT base address
  mmc: sdhci: restore behavior when setting VDD via external regulator
  pinctrl: bcm2835: Fix memory leak in error path
  ALSA: fm801: detect FM-only card earlier
  ALSA: fm801: propagate TUNER_ONLY bit when autodetected
  ARM: imx: select SRC for i.MX7
  ALSA: fm801: explicitly free IRQ line
  tpm_tis: Use devm_free_irq not free_irq
  Drivers: hv: utils: use memdup_user in hvt_op_write
  Drivers: hv: util: catch allocation errors
  mtd: nand: denali: add missing nand_release() call in denali_remove()
  Revert "ACPI / LPSS: allow to use spe

[Kernel-packages] [Bug 1540532] Re: Wily update to v4.2.8-ckt3 stable release

2016-02-26 Thread Thomas Lamprecht
Soo, after some digging I found the root cause, while those two KVM patches 
listed above were backported/added another on was not, namely:
81b1b9ca6d5ca5f3ce91c0095402def657cf5db3
KVM: VMX: Fix host initiated access to guest MSR_TSC_AUX

I backported it to this Ubuntu-4.2.0-30.35 kernel and tested it
successfully.


** Patch added: 
"0001-KVM-VMX-Fix-host-initiated-access-to-guest-MSR_TSC_A.patch"
   
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1540532/+attachment/4581866/+files/0001-KVM-VMX-Fix-host-initiated-access-to-guest-MSR_TSC_A.patch

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

Title:
  Wily update to v4.2.8-ckt3 stable release

Status in linux package in Ubuntu:
  Confirmed
Status in linux source package in Wily:
  Fix Released

Bug description:
  SRU Justification

  Impact:
     The upstream process for stable tree updates is quite similar
     in scope to the Ubuntu SRU process, e.g., each patch has to
     demonstrably fix a bug, and each patch is vetted by upstream
     by originating either directly from a mainline/stable Linux tree or
     a minimally backported form of that patch. The v4.2.8-ckt3 upstream 
stable
     patch set is now available. It should be included in the Ubuntu
     kernel as well.

     git://kernel.ubuntu.com/ubuntu/linux.git

  TEST CASE: TBD

     The following patches from the v4.2.8-ckt3 stable release shall
  be applied:

  Linux 4.2.8-ckt3
  ipv6: update skb->csum when CE mark is propagated
  vxlan: fix test which detect duplicate vxlan iface
  batman-adv: Drop immediate batadv_hard_iface free function
  net: bpf: reject invalid shifts
  phonet: properly unshare skbs in phonet_rcv()
  net: preserve IP control block during GSO segmentation
  udp: disallow UFO for sockets with SO_NO_CHECK option
  sched,cls_flower: set key address type when present
  tcp_yeah: don't set ssthresh below 2
  bridge: Only call /sbin/bridge-stp for the initial network namespace
  unix: properly account for FDs passed over unix sockets
  af_unix: Fix splice-bind deadlock
  connector: bump skb->users before callback invocation
  sctp: sctp should release assoc when sctp_make_abort_user return NULL in 
sctp_close
  net: cdc_ncm: avoid changing RX/TX buffers on MTU changes
  veth: don’t modify ip_summed; doing so treats packets with bad checksums as 
good.
  NFS: Ensure we revalidate attributes before using execute_ok()
  NFSv4: Don't perform cached access checks before we've OPENed the file
  net/mlx4: Remove unused macro
  IB/mlx4: Initialize hop_limit when creating address handle
  mmc: debugfs: correct wrong voltage value
  team: Replace rcu_read_lock with a mutex in team_vlan_rx_kill_vid
  ARM: dts: armadillo800eva Correct extal1 frequency to 24 MHz
  printk: help pr_debug and pr_devel to optimize out arguments
  batman-adv: Drop immediate orig_node free function
  batman-adv: Drop immediate neigh_ifinfo free function
  batman-adv: Drop immediate batadv_neigh_node free function
  batman-adv: Drop immediate batadv_orig_ifinfo free function
  batman-adv: Avoid recursive call_rcu for batadv_nc_node
  batman-adv: Avoid recursive call_rcu for batadv_bla_claim
  bridge: fix lockdep addr_list_lock false positive splat
  btrfs: initialize the seq counter in struct btrfs_device
  Btrfs: clean up an error code in btrfs_init_space_info()
  include/linux/memblock.h: fix ordering of 'flags' argument in comments
  vmstat: make vmstat_updater deferrable again and shut down on idle
  net: tcp_memcontrol: properly detect ancestor socket pressure
  mmc: sd: limit SD card power limit according to cards capabilities
  kbuild: Demote 'sign-compare' warning to W=2
  bonding: Prevent IPv6 link local address on enslaved devices
  ipv6: tcp: add rcu locking in tcp_v6_send_synack()
  net: sctp: prevent writes to cookie_hmac_alg from accessing invalid memory
  um: Fix build error and kconfig for i386
  m68k/atari, m68k/sun3: Fix SCSI platform device registration when driver is 
modular
  phy: micrel: Fix finding PHY properties in MAC node for KSZ9031.
  target: Fix a memory leak in target_dev_lba_map_store()
  firmware: actually return NULL on failed request_firmware_nowait()
  power: test_power: correctly handle empty writes
  perf/x86: fix PEBS issues on Intel Atom/Core2
  perf/x86: Fix filter_events() bug with event mappings
  kconfig: return 'false' instead of 'no' in bool function
  sysrq: Fix warning in sysrq generated crash.
  x86/LDT: Print the real LDT base address
  mmc: sdhci: restore behavior when setting VDD via external regulator
  pinctrl: bcm2835: Fix memory leak in error path
  ALSA: fm801: detect FM-only card earlier
  ALSA: fm801: propagate TUNER_ONLY bit when autodetected
  ARM: imx: select SRC for i.MX7
  ALSA: fm801: explicitly free IRQ line
  tpm_tis: Use devm_free_irq not free_irq
  Drivers: hv: utils: use memdup_us

[Kernel-packages] [Bug 1540532] Re: Wily update to v4.2.8-ckt3 stable release

2016-02-26 Thread Thomas Lamprecht
For easy access, upstream patch is here (and also already included in 
ubuntu-xenial 4.4 kernel (git master repo))
https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=81b1b9ca6d5ca5f3ce91c0095402def657cf5db3

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

Title:
  Wily update to v4.2.8-ckt3 stable release

Status in linux package in Ubuntu:
  Confirmed
Status in linux source package in Wily:
  Fix Released

Bug description:
  SRU Justification

  Impact:
     The upstream process for stable tree updates is quite similar
     in scope to the Ubuntu SRU process, e.g., each patch has to
     demonstrably fix a bug, and each patch is vetted by upstream
     by originating either directly from a mainline/stable Linux tree or
     a minimally backported form of that patch. The v4.2.8-ckt3 upstream 
stable
     patch set is now available. It should be included in the Ubuntu
     kernel as well.

     git://kernel.ubuntu.com/ubuntu/linux.git

  TEST CASE: TBD

     The following patches from the v4.2.8-ckt3 stable release shall
  be applied:

  Linux 4.2.8-ckt3
  ipv6: update skb->csum when CE mark is propagated
  vxlan: fix test which detect duplicate vxlan iface
  batman-adv: Drop immediate batadv_hard_iface free function
  net: bpf: reject invalid shifts
  phonet: properly unshare skbs in phonet_rcv()
  net: preserve IP control block during GSO segmentation
  udp: disallow UFO for sockets with SO_NO_CHECK option
  sched,cls_flower: set key address type when present
  tcp_yeah: don't set ssthresh below 2
  bridge: Only call /sbin/bridge-stp for the initial network namespace
  unix: properly account for FDs passed over unix sockets
  af_unix: Fix splice-bind deadlock
  connector: bump skb->users before callback invocation
  sctp: sctp should release assoc when sctp_make_abort_user return NULL in 
sctp_close
  net: cdc_ncm: avoid changing RX/TX buffers on MTU changes
  veth: don’t modify ip_summed; doing so treats packets with bad checksums as 
good.
  NFS: Ensure we revalidate attributes before using execute_ok()
  NFSv4: Don't perform cached access checks before we've OPENed the file
  net/mlx4: Remove unused macro
  IB/mlx4: Initialize hop_limit when creating address handle
  mmc: debugfs: correct wrong voltage value
  team: Replace rcu_read_lock with a mutex in team_vlan_rx_kill_vid
  ARM: dts: armadillo800eva Correct extal1 frequency to 24 MHz
  printk: help pr_debug and pr_devel to optimize out arguments
  batman-adv: Drop immediate orig_node free function
  batman-adv: Drop immediate neigh_ifinfo free function
  batman-adv: Drop immediate batadv_neigh_node free function
  batman-adv: Drop immediate batadv_orig_ifinfo free function
  batman-adv: Avoid recursive call_rcu for batadv_nc_node
  batman-adv: Avoid recursive call_rcu for batadv_bla_claim
  bridge: fix lockdep addr_list_lock false positive splat
  btrfs: initialize the seq counter in struct btrfs_device
  Btrfs: clean up an error code in btrfs_init_space_info()
  include/linux/memblock.h: fix ordering of 'flags' argument in comments
  vmstat: make vmstat_updater deferrable again and shut down on idle
  net: tcp_memcontrol: properly detect ancestor socket pressure
  mmc: sd: limit SD card power limit according to cards capabilities
  kbuild: Demote 'sign-compare' warning to W=2
  bonding: Prevent IPv6 link local address on enslaved devices
  ipv6: tcp: add rcu locking in tcp_v6_send_synack()
  net: sctp: prevent writes to cookie_hmac_alg from accessing invalid memory
  um: Fix build error and kconfig for i386
  m68k/atari, m68k/sun3: Fix SCSI platform device registration when driver is 
modular
  phy: micrel: Fix finding PHY properties in MAC node for KSZ9031.
  target: Fix a memory leak in target_dev_lba_map_store()
  firmware: actually return NULL on failed request_firmware_nowait()
  power: test_power: correctly handle empty writes
  perf/x86: fix PEBS issues on Intel Atom/Core2
  perf/x86: Fix filter_events() bug with event mappings
  kconfig: return 'false' instead of 'no' in bool function
  sysrq: Fix warning in sysrq generated crash.
  x86/LDT: Print the real LDT base address
  mmc: sdhci: restore behavior when setting VDD via external regulator
  pinctrl: bcm2835: Fix memory leak in error path
  ALSA: fm801: detect FM-only card earlier
  ALSA: fm801: propagate TUNER_ONLY bit when autodetected
  ARM: imx: select SRC for i.MX7
  ALSA: fm801: explicitly free IRQ line
  tpm_tis: Use devm_free_irq not free_irq
  Drivers: hv: utils: use memdup_user in hvt_op_write
  Drivers: hv: util: catch allocation errors
  mtd: nand: denali: add missing nand_release() call in denali_remove()
  Revert "ACPI / LPSS: allow to use specific PM domain during ->probe()"
  mac80211: fix mgmt-tx abort cookie and leak
  mtd: nand: fix ONFI parameter page layout
  ASoC: tegra_alc5632: check

[Kernel-packages] [Bug 1552592] [NEW] KVM/QEMU live migration fails with Ubuntu wily kernel 4.2.0-30.35

2016-03-02 Thread Thomas Lamprecht
Public bug reported:

commit 3f11933efc9ef55ecb2ac7e6d626e8d05a99a4b1 - "KVM: x86: expose
MSR_TSC_AUX to userspace" from ubuntu-wily master git tree breaks
KVM/QEMU live migration of host with a graphical user interface.

== Reproduction ==

Install kernel with 3f11933efc9ef55ecb2ac7e6d626e8d05a99a4b1 included 
(Ubuntu-4.2.0-30.35)
Start VM with GUI
Start migration (no post copy, same migration as you'd in qemu 2.4)
When migration has finished and you switch the VNC over to the migration target 
the VM running but frozen showing the last frame buffer, its also not ping-able 
(so you ssh session is dead if you used that)

This is independent of (x86_64) Hardware and Guest OS used and also the
QEMU cpu type (I used mainly kvm64).

== Backport Solution ==

After a reverse bisect on the working 4.4 xenial kernel (where it's
working with the patch from above) I found the missing part.

While those two KVM patches listed above were backported/added another on was 
not, namely:
81b1b9ca6d5ca5f3ce91c0095402def657cf5db3 (from upstream linus)
KVM: VMX: Fix host initiated access to guest MSR_TSC_AUX
https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=81b1b9ca6d5ca5f3ce91c0095402def657cf5db3

As there was a API change I made the rather trivial backport to the 4.2
kernel and tested it successfully.

The backported patch is attached to this report.

Some further information and earlier posts from myself about this issue by can 
be found here:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1540532
https://lists.ubuntu.com/archives/kernel-team/2016-March/072356.html

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

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

Title:
  KVM/QEMU live migration fails with Ubuntu wily kernel 4.2.0-30.35

Status in linux package in Ubuntu:
  New

Bug description:
  commit 3f11933efc9ef55ecb2ac7e6d626e8d05a99a4b1 - "KVM: x86: expose
  MSR_TSC_AUX to userspace" from ubuntu-wily master git tree breaks
  KVM/QEMU live migration of host with a graphical user interface.

  == Reproduction ==

  Install kernel with 3f11933efc9ef55ecb2ac7e6d626e8d05a99a4b1 included 
(Ubuntu-4.2.0-30.35)
  Start VM with GUI
  Start migration (no post copy, same migration as you'd in qemu 2.4)
  When migration has finished and you switch the VNC over to the migration 
target the VM running but frozen showing the last frame buffer, its also not 
ping-able (so you ssh session is dead if you used that)

  This is independent of (x86_64) Hardware and Guest OS used and also
  the QEMU cpu type (I used mainly kvm64).

  == Backport Solution ==

  After a reverse bisect on the working 4.4 xenial kernel (where it's
  working with the patch from above) I found the missing part.

  While those two KVM patches listed above were backported/added another on was 
not, namely:
  81b1b9ca6d5ca5f3ce91c0095402def657cf5db3 (from upstream linus)
  KVM: VMX: Fix host initiated access to guest MSR_TSC_AUX
  
https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=81b1b9ca6d5ca5f3ce91c0095402def657cf5db3

  As there was a API change I made the rather trivial backport to the
  4.2 kernel and tested it successfully.

  The backported patch is attached to this report.

  Some further information and earlier posts from myself about this issue by 
can be found here:
  https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1540532
  https://lists.ubuntu.com/archives/kernel-team/2016-March/072356.html

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


[Kernel-packages] [Bug 1552592] Re: KVM/QEMU live migration fails with Ubuntu wily kernel 4.2.0-30.35

2016-03-02 Thread Thomas Lamprecht
** Patch added: 
"0001-KVM-VMX-Fix-host-initiated-access-to-guest-MSR_TSC_A.patch"
   
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1552592/+attachment/4587316/+files/0001-KVM-VMX-Fix-host-initiated-access-to-guest-MSR_TSC_A.patch

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

Title:
  KVM/QEMU live migration fails with Ubuntu wily kernel 4.2.0-30.35

Status in linux package in Ubuntu:
  New

Bug description:
  commit 3f11933efc9ef55ecb2ac7e6d626e8d05a99a4b1 - "KVM: x86: expose
  MSR_TSC_AUX to userspace" from ubuntu-wily master git tree breaks
  KVM/QEMU live migration of host with a graphical user interface.

  == Reproduction ==

  Install kernel with 3f11933efc9ef55ecb2ac7e6d626e8d05a99a4b1 included 
(Ubuntu-4.2.0-30.35)
  Start VM with GUI
  Start migration (no post copy, same migration as you'd in qemu 2.4)
  When migration has finished and you switch the VNC over to the migration 
target the VM running but frozen showing the last frame buffer, its also not 
ping-able (so you ssh session is dead if you used that)

  This is independent of (x86_64) Hardware and Guest OS used and also
  the QEMU cpu type (I used mainly kvm64).

  == Backport Solution ==

  After a reverse bisect on the working 4.4 xenial kernel (where it's
  working with the patch from above) I found the missing part.

  While those two KVM patches listed above were backported/added another on was 
not, namely:
  81b1b9ca6d5ca5f3ce91c0095402def657cf5db3 (from upstream linus)
  KVM: VMX: Fix host initiated access to guest MSR_TSC_AUX
  
https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=81b1b9ca6d5ca5f3ce91c0095402def657cf5db3

  As there was a API change I made the rather trivial backport to the
  4.2 kernel and tested it successfully.

  The backported patch is attached to this report.

  Some further information and earlier posts from myself about this issue by 
can be found here:
  https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1540532
  https://lists.ubuntu.com/archives/kernel-team/2016-March/072356.html

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


[Kernel-packages] [Bug 1552592] Re: KVM/QEMU live migration fails with Ubuntu wily kernel 4.2.0-30.35

2016-03-03 Thread Thomas Lamprecht
> This bug is missing log files that will aid in diagnosing the
problem. From a terminal window please run:

As this cannot be tracked through the hosts (log) and I posted this bug
report here at a request at the kernel ML from Kamal to track this issue
(and the patch is already queued and ACKed by some kernel team members)
I think it does not bring any additional value to add those logs here
and I'm currently not easily able to do so as I'm off work.

But if needed I can naturally fulfill the request.

** Changed in: linux (Ubuntu)
   Status: Incomplete => Confirmed

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

Title:
  KVM/QEMU live migration fails with Ubuntu wily kernel 4.2.0-30.35

Status in linux package in Ubuntu:
  Confirmed

Bug description:
  commit 3f11933efc9ef55ecb2ac7e6d626e8d05a99a4b1 - "KVM: x86: expose
  MSR_TSC_AUX to userspace" from ubuntu-wily master git tree breaks
  KVM/QEMU live migration of host with a graphical user interface.

  == Reproduction ==

  Install kernel with 3f11933efc9ef55ecb2ac7e6d626e8d05a99a4b1 included 
(Ubuntu-4.2.0-30.35)
  Start VM with GUI
  Start migration (no post copy, same migration as you'd in qemu 2.4)
  When migration has finished and you switch the VNC over to the migration 
target the VM running but frozen showing the last frame buffer, its also not 
ping-able (so you ssh session is dead if you used that)

  This is independent of (x86_64) Hardware and Guest OS used and also
  the QEMU cpu type (I used mainly kvm64).

  == Backport Solution ==

  After a reverse bisect on the working 4.4 xenial kernel (where it's
  working with the patch from above) I found the missing part.

  While those two KVM patches listed above were backported/added another on was 
not, namely:
  81b1b9ca6d5ca5f3ce91c0095402def657cf5db3 (from upstream linus)
  KVM: VMX: Fix host initiated access to guest MSR_TSC_AUX
  
https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=81b1b9ca6d5ca5f3ce91c0095402def657cf5db3

  As there was a API change I made the rather trivial backport to the
  4.2 kernel and tested it successfully.

  The backported patch is attached to this report.

  Some further information and earlier posts from myself about this issue by 
can be found here:
  https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1540532
  https://lists.ubuntu.com/archives/kernel-team/2016-March/072356.html

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


[Kernel-packages] [Bug 2037214] Re: evict_inodes inode xxx, i_count = 1, was skipped!

2023-11-07 Thread Thomas Lamprecht
This came indeed in via a cherry-pick made by Ubuntu [0], that was an
early attempt to fix a bug that was actually present in the ceph layer,
as confirmed by the original patch author[1], and fixed actually there
now [2].

[0]: https://git.launchpad.net/~ubuntu-
kernel/ubuntu/+source/linux/+git/mantic/commit/?h=master-
prep&id=a53dba9297be9597eac7b17738723bd44bac97ea

[1]:
https://lore.kernel.org/all/8443166a-7182--a489-14b5dab20...@redhat.com/

[2]: https://patchwork.kernel.org/project/ceph-
devel/patch/20221221093031.132792-1-xiu...@redhat.com/

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

Title:
  evict_inodes inode xxx, i_count = 1, was skipped!

Status in linux package in Ubuntu:
  Confirmed
Status in linux-oem-6.5 package in Ubuntu:
  Confirmed

Bug description:
  Hi,

  during boot the kernel logs the following messages:

  # dmesg | grep evict_inodes
  [   12.784805] evict_inodes inode d69da69b, i_count = 1, was skipped!
  [   12.784810] evict_inodes inode 8b9a7c55, i_count = 1, was skipped!
  [   12.784811] evict_inodes inode 8ff8e64c, i_count = 1, was skipped!
  [   12.784811] evict_inodes inode 194d080e, i_count = 1, was skipped!
  [   12.784812] evict_inodes inode 09b77b7b, i_count = 1, was skipped!
  [   12.811217] evict_inodes inode ec873c71, i_count = 1, was skipped!
  [   12.811222] evict_inodes inode 72bf501d, i_count = 1, was skipped!
  [   12.811223] evict_inodes inode b42b829a, i_count = 1, was skipped!
  [   12.811224] evict_inodes inode c7c5b4ef, i_count = 1, was skipped!
  [   13.412667] evict_inodes inode 61a23a39, i_count = 1, was skipped!
  [   13.412671] evict_inodes inode b42b829a, i_count = 1, was skipped!
  [   13.412671] evict_inodes inode 72bf501d, i_count = 1, was skipped!
  [   13.412672] evict_inodes inode c7c5b4ef, i_count = 1, was skipped!
  [   13.412673] evict_inodes inode ec873c71, i_count = 1, was skipped!

  Those messages are not displayed when I boot my system with a mainline Linux 
kernel.
  Moreover, in the mainline Linux source code, I do not find the lines where 
such a message could be printed.

  Therefore, those messages are probably caused by an Ubuntu patch.

  ProblemType: Bug
  DistroRelease: Ubuntu 23.10
  Package: linux-image-6.5.0-5-generic 6.5.0-5.5
  ProcVersionSignature: Ubuntu 6.5.0-5.5-generic 6.5.0
  Uname: Linux 6.5.0-5-generic x86_64
  ApportVersion: 2.27.0-0ubuntu2
  Architecture: amd64
  AudioDevicesInUse:
   USERPID ACCESS COMMAND
   /dev/snd/controlC0:  bonnaudl   4827 F wireplumber
   /dev/snd/seq:bonnaudl   4808 F pipewire
  CasperMD5CheckResult: unknown
  CurrentDesktop: KDE
  Date: Sun Sep 24 14:39:10 2023
  MachineType: {report['dmi.sys.vendor']} {report['dmi.product.name']}
  ProcFB: 0 i915drmfb
  ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-6.5.0-5-generic 
root=/dev/mapper/MonVolume2-UbuntuRacine ro vsyscall=none security=apparmor 
tpm_tis.interrupts=0 preempt=full split_lock_detect=off quiet splash 
vt.handoff=7
  PulseList: Error: command ['pacmd', 'list'] failed with exit code 1: No 
PulseAudio daemon running, or not running as session daemon.
  RelatedPackageVersions:
   linux-restricted-modules-6.5.0-5-generic N/A
   linux-backports-modules-6.5.0-5-generic  N/A
   linux-firmware   20230919.git3672ccab-0ubuntu2
  SourcePackage: linux
  UpgradeStatus: No upgrade log present (probably fresh install)
  dmi.bios.date: 05/26/2022
  dmi.bios.release: 7.16
  dmi.bios.vendor: INSYDE Corp.
  dmi.bios.version: 1.07.16NRTR4
  dmi.board.asset.tag: Tag 12345
  dmi.board.name: NS50_70MU
  dmi.board.vendor: TUXEDO
  dmi.board.version: Applicable
  dmi.chassis.asset.tag: No Asset Tag
  dmi.chassis.type: 10
  dmi.chassis.vendor: Notebook
  dmi.chassis.version: N/A
  dmi.ec.firmware.release: 7.7
  dmi.modalias: 
dmi:bvnINSYDECorp.:bvr1.07.16NRTR4:bd05/26/2022:br7.16:efr7.7:svnTUXEDO:pnTUXEDOInfinityBookS15Gen6:pvrNotApplicable:rvnTUXEDO:rnNS50_70MU:rvrApplicable:cvnNotebook:ct10:cvrN/A:skuNotApplicable:
  dmi.product.family: Not Applicable
  dmi.product.name: TUXEDO InfinityBook S 15 Gen6
  dmi.product.sku: Not Applicable
  dmi.product.version: Not Applicable
  dmi.sys.vendor: TUXEDO

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


[Kernel-packages] [Bug 2036675] Re: 5.15.0-85 live migration regression

2023-09-20 Thread Thomas Lamprecht
FYI, we solved a similar sounding issue by clearing the PKRU bit if it
was set in the to-be-restored XSAVE blob, but not available in the
current vCPU feature flags:

https://git.proxmox.com/?p=pve-
kernel.git;a=blob;f=patches/kernel/0008-kvm-xsave-set-mask-out-PKRU-bit-
in-xfeatures-if-
vCPU.patch;h=dda75b87de9a18ecb3a51d01d487727db77825e7;hb=1559d22f3510d8532aa756fe5d69c74c76211e1e

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

Title:
  5.15.0-85 live migration regression

Status in linux package in Ubuntu:
  Incomplete
Status in linux source package in Jammy:
  Fix Committed

Bug description:
  
  Fixes added for LP 2032164 [0] to resolve an issue in live migration have 
  unfortunately introduced a regression, causing a previously working live 
  migration pattern to fail when tested with the 5.15.0-85 kernel from 
-proposed.

  Specifically, live migration from a PKRU-enabled host running a kernel older
  than 5.15.0-85 to a host running the 5.15.0-85 kernel will fail.  The
  destination can be either with or without PKRU; both cases fail, although
  in different ways (one hangs, the other fails due to a PCID flag issue).

  The commits in question are

  commit fa9225d64f215e8109de10f6b6c7a08f033d0ec0
  Author: Dr. David Alan Gilbert 
  Date:   Mon Aug 21 14:47:28 2023 +0800

  KVM: x86: Always enable legacy FP/SSE in allowed user XFEATURES

  commit 27a189b881278c8ad9c16b0ee05668d724352733
  Author: Leonardo Bras 
  Date:   Mon Aug 21 14:47:27 2023 +0800

  x86/kvm/fpu: Limit guest user_xfeatures to supported bits of XCR0

  
  [0]   https://bugs.launchpad.net/bugs/2032164

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