lshw hangs running forever at Network Interfaces CLASS

Bug #2069649 reported by Carlos Alberto Santos
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
lshw (Ubuntu)
Confirmed
Undecided
Unassigned

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@toca-work: /home/carlos/Dados/BeginConfigroot@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@toca-work: /home/carlos/Dados/BeginConfigroot@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)

description: updated
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in lshw (Ubuntu):
status: New → Confirmed
Revision history for this message
Dennis (skinner927) wrote :

Also on 24.04, lshw version is also the same.

Here's the tail of "sudo strace lshw" (yes strace freezes and doesn't finish printing the line):

readlink("/sys/class/net", 0x7ffd187682a0, 1023) = -1 EINVAL (Invalid argument)
readlink("/sys/class/net/dev", 0x7ffd187682a0, 1023) = -1 ENOENT (No such file or directory)
access("/sys/class/net//dev/vmnet1/device", F_OK) = -1 ENOENT (No such file or directory)
readlink("/sys", 0x7ffd18768330, 1023) = -1 EINVAL (Invalid argument)
readlink("/sys/class", 0x7ffd18768330, 1023) = -1 EINVAL (Invalid argument)
readlink("/sys/class/net", 0x7ffd18768330, 1023) = -1 EINVAL (Invalid argument)
readlink("/sys/class/net/dev", 0x7ffd18768330, 1023) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/sys/class/net//dev/vmnet1/modalias", O_RDONLY) = -1 ENOENT (No such file or directory)
socket(AF_INET, SOCK_DGRAM, IPPROTO_IP) = 4
ioctl(4, SIOCGIFADDR, {ifr_name="/dev/vmnet1"

vmnet1 is an interface for VMware Workstation Pro 17.5.2 with modified kernel modules from https://github.com/mkubecek/vmware-host-modules/tree/workstation-17.5.1 that work with newer kernels.

I'm curious if Carlos is also using Workstation pro with those kernel modules.

Curious where strace stalls for Carlos: sudo strace lshw 2>&1 | tee -a /tmp/out

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.