[Bug 2069649] Re: lshw hangs running forever at Network Interfaces CLASS

olive 2069649 at bugs.launchpad.net
Mon Oct 14 18:20:28 UTC 2024


It appears that lshw is blocking on an input/output (I/O) operation
related to a virtual network interface, specifically /dev/vmnet1, which
is often associated with VMware. This could indicate a problem with the
virtualization module or permissions related to that interface.

the command sudo /usr/bin/lshw -class network does not work either

sudo strace lshw :

readlink("/sys", 0x7fff674c6210, 1023)  = -1 EINVAL (Argument invalide)
readlink("/sys/class", 0x7fff674c6210, 1023) = -1 EINVAL (Argument invalide)
readlink("/sys/class/net", 0x7fff674c6210, 1023) = -1 EINVAL (Argument invalide)
readlink("/sys/class/net/dev", 0x7fff674c6210, 1023) = -1 ENOENT (Aucun fichier ou dossier de ce nom)
access("/sys/class/net//dev/vmnet1/device", F_OK) = -1 ENOENT (Aucun fichier ou dossier de ce nom)
readlink("/sys", 0x7fff674c62a0, 1023)  = -1 EINVAL (Argument invalide)
readlink("/sys/class", 0x7fff674c62a0, 1023) = -1 EINVAL (Argument invalide)
readlink("/sys/class/net", 0x7fff674c62a0, 1023) = -1 EINVAL (Argument invalide)
readlink("/sys/class/net/dev", 0x7fff674c62a0, 1023) = -1 ENOENT (Aucun fichier ou dossier de ce nom)
openat(AT_FDCWD, "/sys/class/net//dev/vmnet1/modalias", O_RDONLY) = -1 ENOENT (Aucun fichier ou dossier de ce nom)
socket(AF_INET, SOCK_DGRAM, IPPROTO_IP) = 4
ioctl(4, SIOCGIFADDR, {ifr_name="/dev/vmnet1"

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

Title:
  lshw hangs running forever at Network Interfaces CLASS

Status in lshw package in Ubuntu:
  Confirmed

Bug description:
  When I execute the lshw the command doesn't finish, hangs ant Network
  Interface Scanning.

  ==========================================================

  Script started on 2024-06-17 17:55:35-03:00 [TERM="xterm-256color" TTY="/dev/pts/1" COLUMNS="152" LINES="24"]
  [?2004h]0;root at toca-work: /home/carlos/Dados/BeginConfigroot at toca-work:BeginConfig# lshw -html
  [?2004l

  DMI

  SMP

  PA-RISC

  device-tree

  SPD

  memory

  /proc/cpuinfo

  CPUID

  PCI (sysfs)

  ISA PnP

  PnP (sysfs)

  PCMCIA

  PCMCIA

  Virtual I/O (VIRTIO) devices

  IBM Virtual I/O (VIO)

  kernel device tree (sysfs)

  USB

  IDE

  SCSI

  NVMe

  MMC

  sound

  graphics

  input

  S/390 devices

  Network interfaces
  ^C
  [?2004h]0;root at toca-work: /home/carlos/Dados/BeginConfigroot at toca-work:BeginConfig# [?2004l

  exit

  Script done on 2024-06-17 17:56:01-03:00 [COMMAND_EXIT_CODE="130"]

  ========================================================

  ii  lshw           02.19.git.2021.06.19.996aaad9c7-2build3 amd64        information about hardware configuration
  ii  lshw-gtk       02.19.git.2021.06.19.996aaad9c7-2build3 amd64        graphical information about hardware configuration

  Linux toca-work 6.8.0-35-generic #35-Ubuntu SMP PREEMPT_DYNAMIC Mon
  May 20 15:51:52 UTC 2024 x86_64 x86_64 x86_64 GNU/Linux

  Description:	Ubuntu 24.04 LTS
  Release:	24.04

  OS: Ubuntu trixie/sid (noble) x86_64
  Host: Inspiron 5480
  Kernel: 6.8.0-35-generic
  Uptime: 1 hour, 48 mins
  Packages: 2400 (dpkg), 8 (flatpak-system), 16 (snap)
  Shell: bash 5.2.21
  Resolution: 1920x1080
  Terminal: gnome-terminal
  CPU: Intel i7-8565U (8) @ 4.6GHz
  GPU: Intel WhiskeyLake-U GT2 [UHD Graphics 620]
  GPU: NVIDIA GeForce MX150
  Memory: 6.03 GiB / 31.06 GiB (19%)
  Network: Wifi6
  BIOS: Dell Inc. 2.5 (07/29/2019)

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




More information about the foundations-bugs mailing list