[Kernel-packages] [Bug 2031200] Re: Ubuntu 22.04, "nvme list" will hang for 60 seconds after "nvme subsystem-reset"

2023-08-30 Thread Paul White
In comment #3:
> and then change the status of the bug to 'Confirmed'.

Changing on behalf of reporter.

** 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/2031200

Title:
  Ubuntu 22.04, "nvme list" will hang for 60 seconds after "nvme
  subsystem-reset"

Status in linux package in Ubuntu:
  Confirmed

Bug description:
  Issue description:
  root:~# lsb_release -a
  No LSB modules are available.
  Distributor ID:   Ubuntu
  Description:  Ubuntu 22.04 LTS
  Release:  22.04
  Codename: jammy

  root:~# uname -a
  Linux dapu-Star-Lake 5.19.0-46-generic #47~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC 
Wed Jun 21 15:35:31 UTC 2 x86_64 x86_64 x86_64 GNU/Linux

  root:~#nvme subsystem-reset /dev/nvme0

  root:~#nvme list  //This command will hang about 60 seconds.

  Issue analysis:
  Maybe it hangs in function nvme_wait_reset. When we revert the following 
commit, this issue will disappear.
  if (!nvme_wait_reset(ctrl))
  
https://github.com/torvalds/linux/commit/1e866afd4bcdd01a70a5eddb4371158d3035ce03?diff=split
  --- 
  ProblemType: Bug
  ApportVersion: 2.20.11-0ubuntu82.4
  Architecture: amd64
  AudioDevicesInUse: Error: command ['fuser', '-v', '/dev/snd/seq', 
'/dev/snd/timer'] failed with exit code 1:
  CRDA: N/A
  CasperMD5CheckResult: pass
  DistroRelease: Ubuntu 22.04
  InstallationDate: Installed on 2022-10-27 (306 days ago)
  InstallationMedia: Ubuntu 22.04 LTS "Jammy Jellyfish" - Release amd64 
(20220419)
  IwConfig:
   lono wireless extensions.
   
   enp65s0f0np0  no wireless extensions.
   
   enp65s0f1np1  no wireless extensions.
  MachineType: Tencent Star Lake
  Package: linux (not installed)
  ProcFB: 0 astdrmfb
  ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-6.2.0-26-generic 
root=UUID=43fd528b-f8c3-4718-a47d-103fa6de50c2 ro quiet splash vt.handoff=7
  ProcVersionSignature: Ubuntu 6.2.0-26.26~22.04.1-generic 6.2.13
  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.2.0-26-generic N/A
   linux-backports-modules-6.2.0-26-generic  N/A
   linux-firmware20220329.git681281e4-0ubuntu3.14
  RfKill:
   
  Tags:  jammy
  Uname: Linux 6.2.0-26-generic x86_64
  UpgradeStatus: No upgrade log present (probably fresh install)
  UserGroups: N/A
  _MarkForUpload: True
  dmi.bios.date: 12/09/2021
  dmi.bios.release: 5.14
  dmi.bios.vendor: Tencent
  dmi.bios.version: 1.53.02
  dmi.board.asset.tag: To be filled by O.E.M.
  dmi.board.name: TC1-SLMB-A
  dmi.board.vendor: Inventec
  dmi.board.version: MBD3A43200D1
  dmi.chassis.asset.tag: To be filled by O.E.M.
  dmi.chassis.type: 23
  dmi.chassis.vendor: Tencent
  dmi.modalias: 
dmi:bvnTencent:bvr1.53.02:bd12/09/2021:br5.14:svnTencent:pnStarLake:pvrC2:rvnInventec:rnTC1-SLMB-A:rvrMBD3A43200D1:cvnTencent:ct23:cvr:sku01234567890123456789AB:
  dmi.product.family: Default string
  dmi.product.name: Star Lake
  dmi.product.sku: 01234567890123456789AB
  dmi.product.version: C2
  dmi.sys.vendor: Tencent

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/2031200/+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 2031200] Re: Ubuntu 22.04, "nvme list" will hang for 60 seconds after "nvme subsystem-reset"

2023-08-29 Thread shenlinghai
apport information

** Tags added: apport-collected

** Description changed:

  Issue description:
  root:~# lsb_release -a
  No LSB modules are available.
  Distributor ID:   Ubuntu
  Description:  Ubuntu 22.04 LTS
  Release:  22.04
  Codename: jammy
  
  root:~# uname -a
  Linux dapu-Star-Lake 5.19.0-46-generic #47~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC 
Wed Jun 21 15:35:31 UTC 2 x86_64 x86_64 x86_64 GNU/Linux
  
  root:~#nvme subsystem-reset /dev/nvme0
  
  root:~#nvme list  //This command will hang about 60 seconds.
  
  Issue analysis:
  Maybe it hangs in function nvme_wait_reset. When we revert the following 
commit, this issue will disappear.
  if (!nvme_wait_reset(ctrl))
  
https://github.com/torvalds/linux/commit/1e866afd4bcdd01a70a5eddb4371158d3035ce03?diff=split
+ --- 
+ ProblemType: Bug
+ ApportVersion: 2.20.11-0ubuntu82.4
+ Architecture: amd64
+ AudioDevicesInUse: Error: command ['fuser', '-v', '/dev/snd/seq', 
'/dev/snd/timer'] failed with exit code 1:
+ CRDA: N/A
+ CasperMD5CheckResult: pass
+ DistroRelease: Ubuntu 22.04
+ InstallationDate: Installed on 2022-10-27 (306 days ago)
+ InstallationMedia: Ubuntu 22.04 LTS "Jammy Jellyfish" - Release amd64 
(20220419)
+ IwConfig:
+  lono wireless extensions.
+  
+  enp65s0f0np0  no wireless extensions.
+  
+  enp65s0f1np1  no wireless extensions.
+ MachineType: Tencent Star Lake
+ Package: linux (not installed)
+ ProcFB: 0 astdrmfb
+ ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-6.2.0-26-generic 
root=UUID=43fd528b-f8c3-4718-a47d-103fa6de50c2 ro quiet splash vt.handoff=7
+ ProcVersionSignature: Ubuntu 6.2.0-26.26~22.04.1-generic 6.2.13
+ 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.2.0-26-generic N/A
+  linux-backports-modules-6.2.0-26-generic  N/A
+  linux-firmware20220329.git681281e4-0ubuntu3.14
+ RfKill:
+  
+ Tags:  jammy
+ Uname: Linux 6.2.0-26-generic x86_64
+ UpgradeStatus: No upgrade log present (probably fresh install)
+ UserGroups: N/A
+ _MarkForUpload: True
+ dmi.bios.date: 12/09/2021
+ dmi.bios.release: 5.14
+ dmi.bios.vendor: Tencent
+ dmi.bios.version: 1.53.02
+ dmi.board.asset.tag: To be filled by O.E.M.
+ dmi.board.name: TC1-SLMB-A
+ dmi.board.vendor: Inventec
+ dmi.board.version: MBD3A43200D1
+ dmi.chassis.asset.tag: To be filled by O.E.M.
+ dmi.chassis.type: 23
+ dmi.chassis.vendor: Tencent
+ dmi.modalias: 
dmi:bvnTencent:bvr1.53.02:bd12/09/2021:br5.14:svnTencent:pnStarLake:pvrC2:rvnInventec:rnTC1-SLMB-A:rvrMBD3A43200D1:cvnTencent:ct23:cvr:sku01234567890123456789AB:
+ dmi.product.family: Default string
+ dmi.product.name: Star Lake
+ dmi.product.sku: 01234567890123456789AB
+ dmi.product.version: C2
+ dmi.sys.vendor: Tencent

** Attachment added: "AlsaInfo.txt"
   
https://bugs.launchpad.net/bugs/2031200/+attachment/5696290/+files/AlsaInfo.txt

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

Title:
  Ubuntu 22.04, "nvme list" will hang for 60 seconds after "nvme
  subsystem-reset"

Status in linux package in Ubuntu:
  Incomplete

Bug description:
  Issue description:
  root:~# lsb_release -a
  No LSB modules are available.
  Distributor ID:   Ubuntu
  Description:  Ubuntu 22.04 LTS
  Release:  22.04
  Codename: jammy

  root:~# uname -a
  Linux dapu-Star-Lake 5.19.0-46-generic #47~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC 
Wed Jun 21 15:35:31 UTC 2 x86_64 x86_64 x86_64 GNU/Linux

  root:~#nvme subsystem-reset /dev/nvme0

  root:~#nvme list  //This command will hang about 60 seconds.

  Issue analysis:
  Maybe it hangs in function nvme_wait_reset. When we revert the following 
commit, this issue will disappear.
  if (!nvme_wait_reset(ctrl))
  
https://github.com/torvalds/linux/commit/1e866afd4bcdd01a70a5eddb4371158d3035ce03?diff=split
  --- 
  ProblemType: Bug
  ApportVersion: 2.20.11-0ubuntu82.4
  Architecture: amd64
  AudioDevicesInUse: Error: command ['fuser', '-v', '/dev/snd/seq', 
'/dev/snd/timer'] failed with exit code 1:
  CRDA: N/A
  CasperMD5CheckResult: pass
  DistroRelease: Ubuntu 22.04
  InstallationDate: Installed on 2022-10-27 (306 days ago)
  InstallationMedia: Ubuntu 22.04 LTS "Jammy Jellyfish" - Release amd64 
(20220419)
  IwConfig:
   lono wireless extensions.
   
   enp65s0f0np0  no wireless extensions.
   
   enp65s0f1np1  no wireless extensions.
  MachineType: Tencent Star Lake
  Package: linux (not installed)
  ProcFB: 0 astdrmfb
  ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-6.2.0-26-generic 
root=UUID=43fd528b-f8c3-4718-a47d-103fa6de50c2 ro quiet splash vt.handoff=7
  ProcVersionSignature: Ubuntu 6.2.0-26.26~22.04.1-generic 6.2.13
  PulseList: Error: command ['pacmd', 'list'] failed with exit code 1: No 
PulseAudio daemon running, or not running as session daemon.
  RelatedPackageVer