[Bug 1821632] Re: dmidecode causing system crash
https://bugs.launchpad.net/ubuntu/+source/dmidecode/+bug/1858615 contains the comments indicating which git commit fixed this in the Ubuntu packages. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1821632 Title: dmidecode causing system crash To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/dmidecode/+bug/1821632/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1821632] Re: dmidecode causing system crash
** Changed in: dmidecode (Ubuntu) Status: Confirmed => 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/1821632 Title: dmidecode causing system crash To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/dmidecode/+bug/1821632/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1821632] Re: dmidecode causing system crash
Is there any chance of importing the fix from Debian? -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1821632 Title: dmidecode causing system crash To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/dmidecode/+bug/1821632/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1821632] Re: dmidecode causing system crash
** Changed in: dmidecode (Debian) Status: New => 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/1821632 Title: dmidecode causing system crash To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/dmidecode/+bug/1821632/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1821632] Re: dmidecode causing system crash
** Changed in: dmidecode (Debian) Status: Unknown => New -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1821632 Title: dmidecode causing system crash To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/dmidecode/+bug/1821632/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1821632] Re: dmidecode causing system crash
** Bug watch added: Debian Bug tracker #946911 https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=946911 ** Also affects: dmidecode (Debian) via https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=946911 Importance: Unknown Status: Unknown -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1821632 Title: dmidecode causing system crash To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/dmidecode/+bug/1821632/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1821632] Re: dmidecode causing system crash
Is there any chance of taking this patch into Ubuntu 18.04? Thanks. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1821632 Title: dmidecode causing system crash To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/dmidecode/+bug/1821632/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1821632] Re: dmidecode causing system crash
The attachment "0001-dmidecode-Only-scan-dev-mem-for-entry-point- on-x86.patch" seems to be a patch. If it isn't, please remove the "patch" flag from the attachment, remove the "patch" tag, and if you are a member of the ~ubuntu-reviewers, unsubscribe the team. [This is an automated message performed by a Launchpad user owned by ~brian-murray, for any issues please contact him.] ** Tags added: patch -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1821632 Title: dmidecode causing system crash To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/dmidecode/+bug/1821632/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1821632] Re: dmidecode causing system crash
Oops. Ubuntu 18.04 has dmidecode 3.0 not 3.1; this patch should work with that version (at least, it applies against unpatched upstream 3.0 anyway). ** Patch added: "0001-dmidecode-Only-scan-dev-mem-for-entry-point-on-x86.patch" https://bugs.launchpad.net/ubuntu/+source/dmidecode/+bug/1821632/+attachment/5306519/+files/0001-dmidecode-Only-scan-dev-mem-for-entry-point-on-x86.patch -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1821632 Title: dmidecode causing system crash To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/dmidecode/+bug/1821632/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1821632] Re: dmidecode causing system crash
The upstream patch (which was made after upstream release 3.2) back- ported to upstream 3.1 release (Ubuntu 18.04 contains dmidecode 3.1); it should presumably apply cleanly to Ubuntu's dmidecode-3.1 source. ** Patch added: "0001-dmidecode-Only-scan-dev-mem-for-entry-point-on-x86.patch" https://bugs.launchpad.net/ubuntu/+source/dmidecode/+bug/1821632/+attachment/5306518/+files/0001-dmidecode-Only-scan-dev-mem-for-entry-point-on-x86.patch -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1821632 Title: dmidecode causing system crash To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/dmidecode/+bug/1821632/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1821632] Re: dmidecode causing system crash
This bug is actually fixed in the dmidecode source code: (links removed in case that's why launchpad won't let me save this comment). Can we please back-port this fix into Ubuntu 18.04 AArch64? Thanks. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1821632 Title: dmidecode causing system crash To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/dmidecode/+bug/1821632/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1821632] Re: dmidecode causing system crash
The upstream commit is: http://git.savannah.nongnu.org/cgit/dmidecode.git/commit/?id=e12ec26e19e02281d3e7258c3aabb88a5cf5ec1d -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1821632 Title: dmidecode causing system crash To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/dmidecode/+bug/1821632/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1821632] Re: dmidecode causing system crash
The upstream bug report is: savannah.nongnu.org dmidecode bug 109697 (launchpad won't let me paste the whole link) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1821632 Title: dmidecode causing system crash To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/dmidecode/+bug/1821632/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1821632] Re: dmidecode causing system crash
> Reading illegal memory should not crash the system I think this depends on what the memory is. I agree 100% for any application-level memory (stuff from regular APIs like sbrk() or mmap() etc.). In this case, the application opens /dev/mem, which allows it to access arbitrary physical memory without restriction. It assumes that a certain physical memory region can be accessed (the DMI region) and does so. The HW triggers an SError in this case since no device exists at that location in memory, since this platform doesn't support DMI. This is correct HW response to the request. The solution is to prevent SW from accessing this location. This issue happens identically if you were to use an upstream kernel (which does support the HW), or the Ubuntu kernel (assuming it supports this HW model). Whether this SW access prevention is implemented in the kernel or the application may be open for debate. I believe the definition of the /dev/mem device is such that it does not intend to filter addresses to prevent applications from accessing invalid HW. As such, I believe it's up to the application to fix the issue; it should determine whether the platform supports DMI before explicitly using low-level primitives (/dev/mem) to attempt to access it. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1821632 Title: dmidecode causing system crash To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/dmidecode/+bug/1821632/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1821632] Re: dmidecode causing system crash
This problem seems to occur with kernels provided by NVIDIA for their Jetson T2 and Xavier boards. I got it when programs like cfengine or ocs-inventory-agent periodically called dmidecode. This crashed a Xavier board. See also https://devtalk.nvidia.com/default/topic/1003952/jetson-tx2 /dmidecode-crashes-r27-1-on-tx2/. Although NVIDIA blames the application (dmidecode), I consider this a kernel bug. Reading illegal memory should not crash the system, but simply fail with an error status. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1821632 Title: dmidecode causing system crash To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/dmidecode/+bug/1821632/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1821632] Re: dmidecode causing system crash
Status changed to 'Confirmed' because the bug affects multiple users. ** Changed in: dmidecode (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/1821632 Title: dmidecode causing system crash To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/dmidecode/+bug/1821632/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1821632] Re: dmidecode causing system crash
We could see the random crashes while using ubiquity plugins when dmidecode (arm64) is installed on the system. If dmidecode package is removed the system is stable and no crash is observed. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1821632 Title: dmidecode causing system crash To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/dmidecode/+bug/1821632/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1821632] Re: dmidecode causing system crash
We are using Ubuntu 18.04 (Bionic) Arm64 variant of distro -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1821632 Title: dmidecode causing system crash To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/dmidecode/+bug/1821632/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs