[Bug 2042885] Re: [UBUNTU 22.04] Running smartctl on NVME hit segmentation fault
Andreas Hasenack
2042885 at bugs.launchpad.net
Thu Jan 11 18:02:02 UTC 2024
This was accepted for jammy so that the verification there can start,
but an upload for mantic is still needed before anything can be released
to updates.
--
You received this bug notification because you are a member of Ubuntu
Sponsors, which is subscribed to the bug report.
https://bugs.launchpad.net/bugs/2042885
Title:
[UBUNTU 22.04] Running smartctl on NVME hit segmentation fault
Status in Ubuntu on IBM z Systems:
In Progress
Status in smartmontools package in Ubuntu:
Fix Released
Status in smartmontools source package in Jammy:
Fix Committed
Status in smartmontools source package in Lunar:
Won't Fix
Status in smartmontools source package in Mantic:
In Progress
Bug description:
[ Impact ]
* smartmontools crash when it is reading NVME error log on a big-
endian system.
[ Test Plan ]
* Prepare a big-endian system (like an Ubuntu on s390y)
and attach an NVME drive to it.
This nvme drive could have error logs, but it's ok if it doesn't.
* Run `sudo smartctl -i -a /dev/nvme0` against NVME drive to get SMART data
and hit Segmentation fault.
* Run this command again with patched smartctl will show SMART data and error
logs normally
[ Where problems could occur ]
* The process of reading error log page from NVME device on big-
endian system.
[ Other Info ]
* Ubuntu 'noble' is not affected, since it incl. v7.4 which incl. the
fix already.
* We skip 23.04, since it is too close to end of life (in about 2
weeks from now).
------------------------------------------
== Comment: #0 - SCHAYNE BELLROSE <Schayne.Bellrose1 at ibm.com> - 2023-10-31 10:08:10 ==
---Problem Description---
Ran sudo smartctl -i -a /dev/nvme0 against NVME drive to get SMART data but hit Segmentation fault
Contact Information = Schayne Bellrose/schayne.bellrose1 at ibm.com
---Additional Hardware Info---
DPM system and added Storage group contains a NVME drive set for data.
---uname output---
Linux t249sb2 5.15.0-87-generic #97-Ubuntu SMP Mon Oct 2 21:11:23 UTC 2023 s390x s390x s390x GNU/Linux
Machine Type = 3932
---Steps to Reproduce---
Run the following command
smartctl -i -a /dev/nvme0
*Additional Instructions for Schayne Bellrose/schayne.bellrose1 at ibm.com:
-Post a private note with access information to the machine that the bug is occuring on.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu-z-systems/+bug/2042885/+subscriptions
More information about the Ubuntu-sponsors
mailing list