Professional Documents
Culture Documents
Unit objectives
Identify good troubleshooting
Course ILT
Prioritize problems
– According to severity
Course ILT
Discussing troubleshooting
methodology
Course ILT The KDE Control Center
Hardware-related problems
Absence of a device driver
– Prevents operating system from using
Course ILT
hardware devices
Kudzu program
– Program used to detect and install
support for new hardware
Course ILT The kudzu welcome screen
Course ILT Configuring hardware using kudzu
Course ILT Activity A-2
Shared libraries
Other packages
ldd command
– Displays shared libraries used by a
program
continued
Software-related problems, continued
ldconfig command
– Updates the /etc/ld.so.conf and
Course ILT
/etc/ld.so.cache files
/etc/ld.so.conf files
– Contains a list of directories that contain
shared libraries
/etc/ld.so.cache file
– Contains the location of shared library
files
File descriptors and logs
File descriptors
– Connections a program makes to files
Course ILT
unlimit command
– Modifies process limit parameters
/var/log directory
– Contains most system log files
OS-related problems
Most software problems are related to
the operating system
Course ILT
Resolving software-related
problems
Course ILT Activity A-4
continued
Improving software performance
Upgrade CPU
Bus mastering
Course ILT
More RAM
Faster hard drive
CD-ROM on separate controller
Smaller kernel
sysstat utilities
System Statistics (sysstat) package
– Performance monitoring utilities
Course ILT
continued
sysstat utilities, continued
Input/Output Statistics (iostat)
command
Course ILT
free command
– Displays memory and swap statistics
Course ILT
vmstat command
– Displays memory, CPU, and swap
statistics
Course ILT Activity B-2
modules
– Reduces size of the kernel
– Runs faster
Compile standard device support into
the kernel
Support for other devices and features
as modules
Kernel modules
insmod command
– Inserts a module into the kernel
Course ILT
modprobe command
– Inserts module and all necessary
prerequisite modules into the kernel
lsmod command
– Lists modules currently used by the
kernel
continued
Kernel modules, continued
rmmod command
– Removes a module from the kernel
Course ILT
/etc/modules.conf file
– Used to load and alias modules at
system initialization
/etc/rc.d/rc.local file
– Loads modules at system initialization
Course ILT Activity C-1
during compilation
Course ILT The make menuconfig interface
Course ILT The make xconfig interface
Configuring code maturity level options
Course ILT
Course ILT Configuring USB support
Course ILT Activity C-2
Patch command
– Used to apply a patch to the kernel
source code
Course ILT Exercise C-3