XK0-004 · Question #335
A technician recently installed Linux on a desktop computer. The desktop has two graphics cards from two different vendors. One of the graphics cards works, but the other does not. Which of the…
The correct answer is A. Ismod. lsmod lists all kernel modules currently loaded, making it the correct first step when a graphics card is not working, to check whether its driver module is present.
Question
A technician recently installed Linux on a desktop computer. The desktop has two graphics cards from two different vendors. One of the graphics cards works, but the other does not. Which of the following commands should the technician use to start troubleshooting this issue?
Options
- AIsmod
- BVmstat
- CGdm
- Dstartx
How the community answered
(31 responses)- A87% (27)
- B6% (2)
- C3% (1)
- D3% (1)
Why each option
lsmod lists all kernel modules currently loaded, making it the correct first step when a graphics card is not working, to check whether its driver module is present.
lsmod reads /proc/modules and displays every kernel module currently loaded, allowing the technician to quickly determine whether a driver for the non-functional graphics card vendor has been loaded - an absent or missing module immediately points to a driver installation or detection problem as the root cause.
vmstat reports virtual memory usage, paging, block I/O, and CPU activity and provides no information about hardware drivers or kernel module state.
gdm is the GNOME Display Manager that manages graphical login sessions and is not a diagnostic utility for inspecting kernel drivers or hardware detection.
startx launches an X Window System session but does not report on which kernel modules are loaded or whether a specific hardware driver is present.
Concept tested: lsmod kernel module inspection for GPU driver troubleshooting
Source: https://man7.org/linux/man-pages/man8/lsmod.8.html
Topics
Community Discussion
No community discussion yet for this question.