[Bug 2042885] Re: [UBUNTU 22.04] Running smartctl on NVME hit segmentation fault

Łukasz Zemczak 2042885 at bugs.launchpad.net
Tue Jan 2 13:17:03 UTC 2024


Okay, this looks okay-ish enough to sponsor, so I will upload it to the jammy queue. However, there's a few things:
1) This is only the debdiff for jammy, and I see mantic also doesn't have this change. Should we also upload this to mantic? We have this rule to make sure every change is available in the newer series as well as the older ones.
2) The test case should be made a bit more specific. Like, this only reproduces on a big endian system, right? Can you detail a bit more on where to test it then etc.?

** Also affects: smartmontools (Ubuntu Lunar)
   Importance: Undecided
       Status: New

** Also affects: smartmontools (Ubuntu Jammy)
   Importance: Undecided
       Status: New

** Also affects: smartmontools (Ubuntu Mantic)
   Importance: Undecided
       Status: New

** Changed in: smartmontools (Ubuntu)
       Status: In Progress => Fix Released

** Changed in: smartmontools (Ubuntu Jammy)
       Status: New => In Progress

** Changed in: smartmontools (Ubuntu Lunar)
       Status: New => Won't Fix

-- 
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:
  In Progress
Status in smartmontools source package in Lunar:
  Won't Fix
Status in smartmontools source package in Mantic:
  New

Bug description:
  [ Impact ]

   * smartmontools crash when it is reading NVME error log on a big-
  endian system

  [ Test Plan ]

   * 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
  normally

  [ Where problems could occur ]

   * The process of reading error log page from NVME device on big-
  endian system

  [ Other Info ]
   

  ------------------------------------------

  == 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