[Bug 1712867] Re: [Hyper-V] 16.04 kexec-tools doesn't match linux-azure

2017-09-19 Thread Launchpad Bug Tracker
This bug was fixed in the package linux-azure - 4.11.0-1011.11

---
linux-azure (4.11.0-1011.11) xenial; urgency=low

  * linux-azure: 4.11.0-1011.11 -proposed tracker (LP: #1718265)

  *  KVP scripts location for linux-azure image (LP: #1718264)
- SAUCE: azure: hv_kvp_daemon: search for HV scripts in /usr/sbin/

  * [linux-azure] RTC options not present in kernel config (LP: #1718262)
- [Config] azure: Enable RTC

linux-azure (4.11.0-1010.10) xenial; urgency=low

  * linux-azure: 4.11.0-1010.10 -proposed tracker (LP: #1717616)

  * linux-azure: persistent memory is not working (LP: #1715755)
- ext4: fix fault handling when mounted with -o dax,ro
- [Config] azure: CONFIG_ND_BLK=y
- [Config] azure: CONFIG_ACPI_NFIT=y

  * [Hyper-V] 16.04 kexec-tools doesn't match linux-azure  (LP: #1712867)
- x86/KASLR: Fix kexec kernel boot crash when KASLR randomization fails

 -- Marcelo Henrique Cerri   Tue, 19 Sep
2017 15:47:22 -0300

** Changed in: linux-azure (Ubuntu Xenial)
   Status: Fix Committed => Fix Released

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

Title:
  [Hyper-V] 16.04 kexec-tools doesn't match linux-azure

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

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

[Bug 1712867] Re: [Hyper-V] 16.04 kexec-tools doesn't match linux-azure

2017-09-19 Thread Marcelo Cerri
** Changed in: crash (Ubuntu)
   Status: Fix Released => Fix Committed

** Changed in: crash (Ubuntu Xenial)
   Importance: Undecided => High

** Changed in: crash (Ubuntu Xenial)
 Assignee: (unassigned) => Marcelo Cerri (mhcerri)

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

Title:
  [Hyper-V] 16.04 kexec-tools doesn't match linux-azure

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

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

[Bug 1712867] Re: [Hyper-V] 16.04 kexec-tools doesn't match linux-azure

2017-09-15 Thread Launchpad Bug Tracker
This bug was fixed in the package kexec-tools - 1:2.0.10-1ubuntu2.4

---
kexec-tools (1:2.0.10-1ubuntu2.4) xenial; urgency=medium

  [Marcelo Henrique Cerri]
  * [Hyper-V] 16.04 kexec-tools doesn't match linux-azure (LP: #1712867)
- [PATCH] build_mem_phdrs(): check if p_paddr is invalid
- [PATCH] kexec-tools/x86: get_kernel_vaddr_and_size off-by-one fix
- Increase crashkernel size to 256M for machines with 2G or more of memory.

 -- Stefan Bader   Tue, 12 Sep 2017 09:12:32
+0200

** Changed in: kexec-tools (Ubuntu Xenial)
   Status: Fix Committed => Fix Released

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

Title:
  [Hyper-V] 16.04 kexec-tools doesn't match linux-azure

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

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

[Bug 1712867] Re: [Hyper-V] 16.04 kexec-tools doesn't match linux-azure

2017-09-15 Thread Launchpad Bug Tracker
This bug was fixed in the package crash - 7.1.4-1ubuntu4.2

---
crash (7.1.4-1ubuntu4.2) xenial; urgency=medium

  [ Marcelo Henrique Cerri ]
  * [Hyper-V] 16.04 kexec-tools doesn't match linux-azure (LP: #1712867)
d/p/0011-Fix-for-Linux-commit-0100301bfdf56a2a370c7157b5ab0fb.patch
d/p/0012-Fix-for-the-ps-t-option-in-3.17-and-later-kernels-th.patch
d/p/0013-Fix-for-the-irq-s-option-for-Linux-4.2-and-later-ker.patch
d/p/0014-Improvement-of-the-accuracy-of-the-allocated-objects.patch
d/p/0015-When-reading-a-task-s-task_struct.flags-field-check-.patch
d/p/0016-Fix-for-Linux-4.8-rc1-commit-500462a9de657f86edaa102.patch
d/p/0017-Improvement-of-the-dev-d-option-to-display-I-O-stati.patch
d/p/0018-Introduction-of-a-new-bt-v-option-that-checks-the-ke.patch
d/p/0019-Fix-for-Linux-4.9-rc1-commits-15f4eae70d365bba26854c.patch
d/p/0020-Fix-for-Linux-4.10-commit-7fd8329ba502ef76dd91db561c.patch
d/p/0021-Prepare-for-the-kernel-s-taint_flag.true-and-taint_f.patch
d/p/0022-Prevent-the-livepatch-taint-flag-check-during-the-sy.patch

 -- Stefan Bader   Tue, 12 Sep 2017 09:15:25
+0200

** Changed in: crash (Ubuntu Xenial)
   Status: Fix Committed => Fix Released

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

Title:
  [Hyper-V] 16.04 kexec-tools doesn't match linux-azure

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

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

[Bug 1712867] Re: [Hyper-V] 16.04 kexec-tools doesn't match linux-azure

2017-09-15 Thread Marcelo Cerri
** Tags removed: verification-needed verification-needed-xenial
** Tags added: verification-done verification-done-xenial

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

Title:
  [Hyper-V] 16.04 kexec-tools doesn't match linux-azure

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

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

[Bug 1712867] Re: [Hyper-V] 16.04 kexec-tools doesn't match linux-azure

2017-09-15 Thread Marcelo Cerri
I have verified kexec-tools and crash with the 4.4 kernel in a ppc64el
machine and both packages are working 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/1712867

Title:
  [Hyper-V] 16.04 kexec-tools doesn't match linux-azure

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

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

[Bug 1712867] Re: [Hyper-V] 16.04 kexec-tools doesn't match linux-azure

2017-09-15 Thread Steve Langasek
** Changed in: crash (Ubuntu)
   Status: In Progress => Fix Released

** Changed in: kexec-tools (Ubuntu)
   Status: Fix Committed => Fix Released

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

Title:
  [Hyper-V] 16.04 kexec-tools doesn't match linux-azure

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

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

[Bug 1712867] Re: [Hyper-V] 16.04 kexec-tools doesn't match linux-azure

2017-09-15 Thread Marcelo Cerri
** Changed in: kexec-tools (Ubuntu)
   Status: In Progress => Fix Committed

** Changed in: linux-azure (Ubuntu Xenial)
   Status: In Progress => Fix Committed

** Changed in: linux-azure (Ubuntu)
   Status: In Progress => 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/1712867

Title:
  [Hyper-V] 16.04 kexec-tools doesn't match linux-azure

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

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

[Bug 1712867] Re: [Hyper-V] 16.04 kexec-tools doesn't match linux-azure

2017-09-15 Thread Stefan Bader
Additionally took the new crash version and installed it on s390x. I can
still load dumps produced before and also dumps done after updating
crash (just in case crash is in any way used to produce the dumps, which
I do not think is true).

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

Title:
  [Hyper-V] 16.04 kexec-tools doesn't match linux-azure

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

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

[Bug 1712867] Re: [Hyper-V] 16.04 kexec-tools doesn't match linux-azure

2017-09-15 Thread Marcelo Cerri
I also verified that the current version fails to load the kdump kernel
with linux-azure (4.11.0-1009.9) and that the version in -proposed fixes
the problem. The version in -proposed also works as expected with the
4.4 xenial kernel running in azure and in kvm.

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

Title:
  [Hyper-V] 16.04 kexec-tools doesn't match linux-azure

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

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

[Bug 1712867] Re: [Hyper-V] 16.04 kexec-tools doesn't match linux-azure

2017-09-15 Thread Stefan Bader
Verified on Azure with 4.11 kernel that the current version (updates)
fails to load the kdump kernel and the new one from proposed succeeds to
load.

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

Title:
  [Hyper-V] 16.04 kexec-tools doesn't match linux-azure

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

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

[Bug 1712867] Re: [Hyper-V] 16.04 kexec-tools doesn't match linux-azure

2017-09-15 Thread Steve Langasek
Hello Joshua, or anyone else affected,

Accepted crash into xenial-proposed. The package will build now and be
available at https://launchpad.net/ubuntu/+source/crash/7.1.4-1ubuntu4.2
in a few hours, and then in the -proposed repository.

Please help us by testing this new package.  See
https://wiki.ubuntu.com/Testing/EnableProposed for documentation on how
to enable and use -proposed.Your feedback will aid us getting this
update out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug,
mentioning the version of the package you tested and change the tag from
verification-needed-xenial to verification-done-xenial. If it does not
fix the bug for you, please add a comment stating that, and change the
tag to verification-failed-xenial. In either case, details of your
testing will help us make a better decision.

Further information regarding the verification process can be found at
https://wiki.ubuntu.com/QATeam/PerformingSRUVerification .  Thank you in
advance!

** Changed in: crash (Ubuntu Xenial)
   Status: New => 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/1712867

Title:
  [Hyper-V] 16.04 kexec-tools doesn't match linux-azure

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

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

[Bug 1712867] Re: [Hyper-V] 16.04 kexec-tools doesn't match linux-azure

2017-09-15 Thread Stefan Bader
Verified that kexec-tools 1:2.0.10-1ubuntu2.4 on s390x still works (with
4.4 kernel).

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

Title:
  [Hyper-V] 16.04 kexec-tools doesn't match linux-azure

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

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

[Bug 1712867] Re: [Hyper-V] 16.04 kexec-tools doesn't match linux-azure

2017-09-14 Thread Steve Langasek
Hello Joshua, or anyone else affected,

Accepted kexec-tools into xenial-proposed. The package will build now
and be available at https://launchpad.net/ubuntu/+source/kexec-
tools/1:2.0.10-1ubuntu2.4 in a few hours, and then in the -proposed
repository.

Please help us by testing this new package.  See
https://wiki.ubuntu.com/Testing/EnableProposed for documentation on how
to enable and use -proposed.Your feedback will aid us getting this
update out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug,
mentioning the version of the package you tested and change the tag from
verification-needed-xenial to verification-done-xenial. If it does not
fix the bug for you, please add a comment stating that, and change the
tag to verification-failed-xenial. In either case, details of your
testing will help us make a better decision.

Further information regarding the verification process can be found at
https://wiki.ubuntu.com/QATeam/PerformingSRUVerification .  Thank you in
advance!

** Description changed:

  [Impact]
  
  Currently it's not possible to use the kdump functionality in xenial
- when running the linux-azure kernel. The problem is actually caused but
+ when running the linux-azure kernel. The problem is actually caused by
  several factors:
  
  1. kexec fails to parse /proc/kcore and thus fails to load the crash
  kernel. That's similar to bug #1713940 and it's related to 4.10+
  kernels.
  
  2. When the crash kernel boots, a bug in KASLR causes it to crash in a
  very early stage. For the user, it seems the system just rebooted after
  the crash.
  
  3. Currently in azure, crashkernel=128G is not enough to boot and run
  the dump procedure with 4.11+ kernels. That value needs to be increased
  in order to kdump to succeed.
  
  4. After the vmcore is dumped, the current version of crash in xenial is
  not able to parse it. All the necessary fixes are already upstream and
  can be backported.
  
  [Test Case]
  
  1. Install the linux-azure kernel in an azure instance (although it's
  possible to run linux-azure in bare metal or kvm, the KASLR issue only
  is triggered in azure).
  
  2. Follow the instructions in https://help.ubuntu.com/lts/serverguide
  /kernel-crash-dump.html to setup kdump and manually trigger a crash
  using /proc/sysrq-trigger.
  
  The vmcore must be generated and it should be possible to inspect it
  using crash.
  
  [Regression Potential]
  
  Since both kexec-tools and crash are being changed to support 4.10+
  kernels, it's very important that they continue to handle 4.4 kernels
  properly.
  
  The same steps above can be used to test linux-generic for regressions.
  
  [Other Info]
  
  Original description:
  
  --8<--
  Because the linux-azure kernel is based on 4.11, kexec on 16.04 gives the 
following error:
  kdump-tools[1436]: ELF core (kcore) parse failed
  
  Perhaps the artful kexec-tools should be backported?
  --8<--

** Description changed:

  [Impact]
  
  Currently it's not possible to use the kdump functionality in xenial
  when running the linux-azure kernel. The problem is actually caused by
  several factors:
  
  1. kexec fails to parse /proc/kcore and thus fails to load the crash
  kernel. That's similar to bug #1713940 and it's related to 4.10+
  kernels.
  
  2. When the crash kernel boots, a bug in KASLR causes it to crash in a
  very early stage. For the user, it seems the system just rebooted after
  the crash.
  
  3. Currently in azure, crashkernel=128G is not enough to boot and run
  the dump procedure with 4.11+ kernels. That value needs to be increased
  in order to kdump to succeed.
  
  4. After the vmcore is dumped, the current version of crash in xenial is
  not able to parse it. All the necessary fixes are already upstream and
  can be backported.
  
  [Test Case]
  
  1. Install the linux-azure kernel in an azure instance (although it's
  possible to run linux-azure in bare metal or kvm, the KASLR issue only
  is triggered in azure).
  
  2. Follow the instructions in https://help.ubuntu.com/lts/serverguide
  /kernel-crash-dump.html to setup kdump and manually trigger a crash
  using /proc/sysrq-trigger.
  
  The vmcore must be generated and it should be possible to inspect it
  using crash.
  
+ 3. Perform these same tests for the linux-generic kernel, on each
+ supported architecture.
+ 
  [Regression Potential]
  
  Since both kexec-tools and crash are being changed to support 4.10+
  kernels, it's very important that they continue to handle 4.4 kernels
  properly.
  
  The same steps above can be used to test linux-generic for regressions.
  
  [Other Info]
  
  Original description:
  
  --8<--
  Because the linux-azure kernel is based on 4.11, kexec on 16.04 gives the 
following error:
  kdump-tools[1436]: ELF core (kcore) parse failed
  
  Perhaps the artful kexec-tools should be backported?
  --8<--

** Changed in: kexec-tools (Ubuntu Xenial)
   Status: In Progress => Fix 

[Bug 1712867] Re: [Hyper-V] 16.04 kexec-tools doesn't match linux-azure

2017-09-14 Thread Marcelo Cerri
** Description changed:

+ [Impact]
+ 
+ Currently it's not possible to use the kdump functionality in xenial
+ when running the linux-azure kernel. The problem is actually caused but
+ several factors:
+ 
+ 1. kexec fails to parse /proc/kcore and thus fails to load the crash
+ kernel. That's similar to bug #1713940 and it's related to 4.10+
+ kernels.
+ 
+ 2. When the crash kernel boots, a bug in KASLR causes it to crash in a
+ very early stage. For the user, it seems the system just rebooted after
+ the crash.
+ 
+ 3. Currently in azure, crashkernel=128G is not enough to boot and run
+ the dump procedure with 4.11+ kernels. That value needs to be increased
+ in order to kdump to succeed.
+ 
+ 4. After the vmcore is dumped, the current version of crash in xenial is
+ not able to parse it. All the necessary fixes are already upstream and
+ can be backported.
+ 
+ [Test Case]
+ 
+ 1. Install the linux-azure kernel in an azure instance (although it's
+ possible to run linux-azure in bare metal or kvm, the KASLR issue only
+ is triggered in azure).
+ 
+ 2. Follow the instructions in https://help.ubuntu.com/lts/serverguide
+ /kernel-crash-dump.html to setup kdump and manually trigger a crash
+ using /proc/sysrq-trigger.
+ 
+ The vmcore must be generated and it should be possible to inspect it
+ using crash.
+ 
+ [Regression Potential]
+ 
+ Since both kexec-tools and crash are being changed to support 4.10+
+ kernels, it's very important that they continue to handle 4.4 kernels
+ properly.
+ 
+ The same steps above can be used to test linux-generic for regressions.
+ 
+ [Other Info]
+ 
+ Original description:
+ 
+ --8<--
  Because the linux-azure kernel is based on 4.11, kexec on 16.04 gives the 
following error:
  kdump-tools[1436]: ELF core (kcore) parse failed
  
  Perhaps the artful kexec-tools should be backported?
+ --8<--

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

Title:
  [Hyper-V] 16.04 kexec-tools doesn't match linux-azure

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

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

[Bug 1712867] Re: [Hyper-V] 16.04 kexec-tools doesn't match linux-azure

2017-09-13 Thread Joshua R. Poulson
We are testing and will report soon.

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

Title:
  [Hyper-V] 16.04 kexec-tools doesn't match linux-azure

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

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

[Bug 1712867] Re: [Hyper-V] 16.04 kexec-tools doesn't match linux-azure

2017-09-08 Thread Marcelo Cerri
The following packages/versions are available in the PPA
https://launchpad.net/~canonical-kernel-team/+archive/ubuntu/azure/ for
testing:

- crash - 7.1.4-1ubuntu4.2~rc1
- kexec-tools - 1:2.0.10-1ubuntu2.4~rc1
- linux-azure - 4.11.0-1010.10~rc2
- linux-meta-azure - 4.11.0.1010.10~rc1

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

Title:
  [Hyper-V] 16.04 kexec-tools doesn't match linux-azure

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

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

[Bug 1712867] Re: [Hyper-V] 16.04 kexec-tools doesn't match linux-azure

2017-09-08 Thread Marcelo Cerri
I was able to make the xenial version of crash to work with both the
linux-generic and linux-azure kernels applying the following upstream
changes:

Commit: 7e0cb8b516788c7ba1ef9f32556df347ba0da187
Fix for Linux commit 0100301bfdf56a2a370c7157b5ab0fbf9313e1cd, which rewrote 
the X86_64 switch_to() code by embedding the __switch_to() call inside a new 
__switch_to_asm() assembly code ENTRY() function. Without the patch, the 
message "crash: cannot determine thread return address" gets displayed during 
initialization, and the "bt" command shows frame #0 starting at "schedule" 
instead of "__schedule". (ander...@redhat.com)
Commit: 63f7707d2b534bab2a18c52db41daae7e9c5e505
Fix for the "ps -t" option in 3.17 and later kernels that contain commit 
ccbf62d8a284cf181ac28c8e8407dd077d90dd4b, which changed the 
task_struct.start_time member from a struct timespec to a u64. Without the 
patch, the "RUN TIME" value is nonsensical. (ander...@redhat.com)

Commit: c1eb2b99e2d9201583aac5a664126d83039bddff
Fix for the "irq -s" option for Linux 4.2 and later kernels.  Without the 
patch, the irq_chip.name string (e.g. "IO-APIC", "PCI-MSI", etc.) is missing 
from the display. (rabin.vinc...@axis.com)

Commit: 76a71fed90c6304110dbce61d6c833543f2f1ac8
Improvement of the accuracy of the allocated objects count for each kmem_cache 
shown by "kmem -s" in kernels configured with CONFIG_SLUB. Without the patch, 
the values under the ALLOCATED column may be too large because cached per-cpu 
objects are counted as allocated. (vinayakm.l...@gmail.com)

Commit: 569002249b1d57162a1e94f529d295828d4e0253
When reading a task's task_struct.flags field, check for its size, which was 
changed from an unsigned long to an unsigned int. (dave.kleik...@oracle.com)

Commit: 10192898cf59b7b4bb102ef39c72ab65bd401471
Fix for Linux 4.8-rc1 commit 500462a9de657f86edaa102f8ab6bff7f7e43fc2, in which 
Thomas Gleixner redesigned the kernel timer mechanism to switch to a 
non-cascading wheel.  Without the patch, the "timer" command fails with the 
message "timer: zero-size memory allocation! (called from )" 
(ander...@redhat.com)

Commit: df08978f31ba39e94b3096804f4e0776373c8b53
Improvement of the "dev -d" option to display I/O statics for disks whose 
device driver uses the blk-mq interface.  Currently "dev -d" always displays 0 
in all fields for the blk-mq disk because blk-mq does not increment/decrement 
request_list.count[2] on I/O creation and I/O completion.  The following values 
are used in blk-mq in such situations:   - I/O creation:   
blk_mq_ctx.rq_dispatched[2]   - I/O completion: blk_mq_ctx.rq_completed[2] So, 
we can get the counter of in-progress I/Os as follows:   in progress I/Os == 
rq_dispatched - rq_completed This patch displays the result of above 
calculation for the disk. It determines whether the device driver uses blk-mq 
if the request_queue.mq_ops is not NULL.  The "DRV" field is displayed as 
"N/A(MQ)" if the value for in-flight in the device driver does not exist for 
blk-mq. (m.miz...@jp.fujitsu.com)

Commit: db552975315fec06a957c937803935d8fbddfd2d
Introduction of a new "bt -v" option that checks the kernel stack of all tasks 
for evidence of stack overflows.  It does so by verifying the thread_info.task 
address, ensuring the thread_info.cpu value is a valid cpu number, and checking 
the end of the stack for the STACK_END_MAGIC value. (ander...@redhat.com)

Commit: c9f932440bd06f0a3d6d3ecc30d5c670021d5e5a
Fix for Linux 4.9-rc1 commits 15f4eae70d365bba26854c90b6002aaabb18c8aa and 
c65eacbe290b8141554c71b2c94489e73ade8c8d, which have introduced a new 
CONFIG_THREAD_INFO_IN_TASK configuration.  This configuration moves each task's 
thread_info structure from the base of its kernel stack into its task_struct.  
Without the patch, the crash session fails during initialization with the error 
"crash: invalid structure member offset: thread_info_cpu". (ander...@redhat.com)

Commit: 24a696228c56fd4354d29abe05b206373e0c8bfb
Fix for Linux 4.10 commit 7fd8329ba502ef76dd91db561c7aed696b2c7720 
"taint/module: Clean up global and module taint flags handling". Without the 
patch, when running against Linux 4.10-rc1 and later kernels, the crash utility 
fails during session initialization with the message "crash: invalid structure 
size: tnt". (pan...@redhat.com)

Commit: e37dd7852f590e3334420e5b41a833085ab1d0b0
Prepare for the kernel's "taint_flag.true" and "taint_flag.false" member names 
to be changed to "c_true" and "c_false", which fixes build problems when an 
out-of-tree module defines "true" or "false". (ander...@redhat.com)

Commit: 651c824ffe2fd7eb8e416dbf4ff5c9a1da6ef7c6
Prevent the livepatch taint flag check during the system banner display from 
generating a fatal session-killing error if relevant kernel symbol names or 
data structures change in the future (again). (ander...@redhat.com)

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

[Bug 1712867] Re: [Hyper-V] 16.04 kexec-tools doesn't match linux-azure

2017-09-08 Thread Marcelo Cerri
** Changed in: crash (Ubuntu)
   Status: Confirmed => 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/1712867

Title:
  [Hyper-V] 16.04 kexec-tools doesn't match linux-azure

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

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

[Bug 1712867] Re: [Hyper-V] 16.04 kexec-tools doesn't match linux-azure

2017-09-08 Thread Joshua R. Poulson
Looks good! Glad we're making progress.

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

Title:
  [Hyper-V] 16.04 kexec-tools doesn't match linux-azure

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

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

[Bug 1712867] Re: [Hyper-V] 16.04 kexec-tools doesn't match linux-azure

2017-09-08 Thread Marcelo Cerri
linux-azure kernel patch: https://lists.ubuntu.com/archives/kernel-
team/2017-September/086944.html

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

Title:
  [Hyper-V] 16.04 kexec-tools doesn't match linux-azure

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

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

[Bug 1712867] Re: [Hyper-V] 16.04 kexec-tools doesn't match linux-azure

2017-09-08 Thread Marcelo Cerri
I was able to properly dump a vmcore with the following steps:

1. kexec-tools patches with:
   - ed15ba1b9977 build_mem_phdrs(): check if p_paddr is invalid
   - 9f62cbfc kexec/arch/i386: Add support for KASLR memory randomization
   - dbb99d938810 kexec-tools/x86: get_kernel_vaddr_and_size off-by-one fix

2. crashkernel increased to 192M

3. linux-azure patched with:
   - da63b6b20077 x86/KASLR: Fix kexec kernel boot crash when KASLR 
randomization fails

4. Forced storvsc instead of ata_piix.

With those changes, I was able to consistently dump vmcore images
without any issues using several types of azure instances.

Besides that the utility crash also needs to be updated. Currently the
xenial version of crash is not able to parse a linux-azure vmcore but
the artful version is.

I'm running some tests with the artful crash utility and the linux-
generic kernel to check if it's viable to bring that version to xenial.

** Also affects: crash (Ubuntu)
   Importance: Undecided
   Status: New

** Changed in: kexec-tools (Ubuntu)
   Status: Confirmed => In Progress

** Changed in: kexec-tools (Ubuntu Xenial)
   Status: Confirmed => In Progress

** Changed in: kexec-tools (Ubuntu)
   Importance: Undecided => High

** Changed in: kexec-tools (Ubuntu Xenial)
   Importance: Undecided => High

** Changed in: kexec-tools (Ubuntu)
 Assignee: (unassigned) => Marcelo Cerri (mhcerri)

** Changed in: kexec-tools (Ubuntu Xenial)
 Assignee: (unassigned) => Marcelo Cerri (mhcerri)

** Changed in: crash (Ubuntu)
   Status: New => Confirmed

** Changed in: crash (Ubuntu)
   Importance: Undecided => High

** Changed in: crash (Ubuntu)
 Assignee: (unassigned) => Marcelo Cerri (mhcerri)

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

Title:
  [Hyper-V] 16.04 kexec-tools doesn't match linux-azure

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

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

[Bug 1712867] Re: [Hyper-V] 16.04 kexec-tools doesn't match linux-azure

2017-09-08 Thread Marcelo Cerri
** No longer affects: makedumpfile (Ubuntu)

** No longer affects: makedumpfile (Ubuntu Xenial)

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

Title:
  [Hyper-V] 16.04 kexec-tools doesn't match linux-azure

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/kexec-tools/+bug/1712867/+subscriptions

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

[Bug 1712867] Re: [Hyper-V] 16.04 kexec-tools doesn't match linux-azure

2017-09-08 Thread Marcelo Cerri
** Also affects: kexec-tools (Ubuntu)
   Importance: Undecided
   Status: New

** Changed in: kexec-tools (Ubuntu)
   Status: New => Confirmed

** Changed in: kexec-tools (Ubuntu Xenial)
   Status: New => Confirmed

** Changed in: makedumpfile (Ubuntu Xenial)
   Status: New => Confirmed

** Changed in: makedumpfile (Ubuntu)
   Status: New => Confirmed

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

Title:
  [Hyper-V] 16.04 kexec-tools doesn't match linux-azure

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/kexec-tools/+bug/1712867/+subscriptions

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

[Bug 1712867] Re: [Hyper-V] 16.04 kexec-tools doesn't match linux-azure

2017-09-05 Thread Joshua R. Poulson
Any news? Anything I should help test?

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

Title:
  [Hyper-V] 16.04 kexec-tools doesn't match linux-azure

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

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

[Bug 1712867] Re: [Hyper-V] 16.04 kexec-tools doesn't match linux-azure

2017-09-01 Thread Steve Langasek
** Also affects: makedumpfile (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/1712867

Title:
  [Hyper-V] 16.04 kexec-tools doesn't match linux-azure

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

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


[Bug 1712867] Re: [Hyper-V] 16.04 kexec-tools doesn't match linux-azure

2017-09-01 Thread Marcelo Cerri
Porting the artful kexec-tools from artful to xenial fixes the kcore
parse failure and doesn't cause any regressions when used with the
regular xenial kernel.

However, although "kdump-config load" doesn't fail anymore, the dump is
not generated when using linux-azure. The artful kexec-tools also
requires kdump-tools to be ported from artful. Because of that, I
backported the necessary fixes into the xenial kexec-tools in order to
keep the same kdump-tools version. The result was the same as using
artful kexec-tools/kdump-tools and the dump wasn't generated when using
linux-azure.

Further investigation is still necessary.

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

Title:
  [Hyper-V] 16.04 kexec-tools doesn't match linux-azure

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

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


[Bug 1712867] Re: [Hyper-V] 16.04 kexec-tools doesn't match linux-azure

2017-08-31 Thread Marcelo Cerri
** Changed in: linux-azure (Ubuntu Xenial)
 Assignee: (unassigned) => Marcelo Cerri (mhcerri)

** Changed in: linux-azure (Ubuntu Xenial)
   Status: New => In Progress

** Changed in: linux-azure (Ubuntu Xenial)
   Importance: Undecided => High

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

Title:
  [Hyper-V] 16.04 kexec-tools doesn't match linux-azure

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

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


[Bug 1712867] Re: [Hyper-V] 16.04 kexec-tools doesn't match linux-azure

2017-08-31 Thread Andy Whitcroft
** Also affects: linux-azure (Ubuntu Xenial)
   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/1712867

Title:
  [Hyper-V] 16.04 kexec-tools doesn't match linux-azure

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

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


[Bug 1712867] Re: [Hyper-V] 16.04 kexec-tools doesn't match linux-azure

2017-08-30 Thread Marcelo Cerri
** Changed in: linux-azure (Ubuntu)
   Status: Confirmed => 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/1712867

Title:
  [Hyper-V] 16.04 kexec-tools doesn't match linux-azure

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

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


[Bug 1712867] Re: [Hyper-V] 16.04 kexec-tools doesn't match linux-azure

2017-08-24 Thread Marcelo Cerri
** Changed in: linux-azure (Ubuntu)
   Importance: Undecided => High

** Changed in: linux-azure (Ubuntu)
 Assignee: (unassigned) => Marcelo Cerri (mhcerri)

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

Title:
  [Hyper-V] 16.04 kexec-tools doesn't match linux-azure

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

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