101.1 Hardware-Einstellungen ermitteln und konfigurieren
Gewichtung | 2 |
Beschreibung | Kandidaten sollten in der Lage sein, die wesentliche Hardware eines Systems zu bestimmen und zu konfigurieren. |
Hauptwissensgebiete:
- Integrierte Peripheriegeräte aktivieren und deaktivieren.
- Systeme mit oder ohne externe Peripheriegeräte wie Tastaturen konfigurieren.
- Die verschiedenen Arten von Massenspeicher unterscheiden.
- Die Unterschiede zwischen Coldplug- und Hotplug-Geräten kennen.
- Hardwareressourcen für Geräte ermitteln.
- Werkzeuge und Hilfsprogramme, um verschiedene Hardware-Informationen aufzulisten (z.B. `lsusb`, `lspci` usw.).
- Werkzeuge und Hilfsprogramme, um USB-Geräte zu manipulieren.
- Konzeptuelles Verständnis von sysfs, udev, dbus.
Hier ist eine auszugsweise Liste der verwendeten Dateien, Begriffe und Hilfsprogramme:
- /sys/
- /proc/
- /dev/
- modprobe
- lsmod
- lspci
- lsusb
[email protected]:~$ cat /proc/interrupts # # CPU0 CPU1 CPU2 CPU3 # 0: 47 0 0 0 IO-APIC 2-edge timer # 1: 2 3 2 2 IO-APIC 1-edge i8042 # 8: 1 0 0 0 IO-APIC 8-edge rtc0 # 9: 130 441 476 432 IO-APIC 9-fasteoi acpi # 12: 479 881 794 922 IO-APIC 12-edge i8042 # 16: 0 0 0 0 IO-APIC 16-fasteoi mmc0 # 19: 25 93 61846 38344 IO-APIC 19-fasteoi ehci_hcd:usb2, firewire_ohci, ips # 23: 338 1580 3382 2107 IO-APIC 23-fasteoi ehci_hcd:usb1 # 24: 3 299 1737 1 PCI-MSI 409600-edge eth0 # 25: 4842 107263 4825 4843 PCI-MSI 512000-edge 0000:00:1f.2 # 26: 136 735 14137 129 PCI-MSI 32768-edge i915 # 27: 7 5 7 6 PCI-MSI 360448-edge mei_me # 28: 110 627 118 286023 PCI-MSI 1572864-edge iwlwifi # 29: 93 263 332 279 PCI-MSI 442368-edge snd_hda_intel # NMI: 718 842 707 693 Non-maskable interrupts # LOC: 632929 449766 746751 487792 Local timer interrupts # SPU: 0 0 0 0 Spurious interrupts # PMI: 718 842 707 693 Performance monitoring interrupts # IWI: 0 2 2 0 IRQ work interrupts # RTR: 1 0 0 0 APIC ICR read retries # RES: 58590 51367 73936 52431 Rescheduling interrupts # CAL: 2380 1931 2258 2237 Function call interrupts # TLB: 534314 519315 566697 471461 TLB shootdowns # TRM: 0 0 0 0 Thermal event interrupts # THR: 0 0 0 0 Threshold APIC interrupts # DFR: 0 0 0 0 Deferred Error APIC interrupts # MCE: 0 0 0 0 Machine check exceptions # MCP: 15 15 15 15 Machine check polls # ERR: 0 # MIS: 0 # PIN: 0 0 0 0 Posted-interrupt notification event # PIW: 0 0 0 0 Posted-interrupt wakeup event # #
whatis modinfo # modinfo (8) - Show information about a Linux Kernel module whatis lsmod # lsmod (8) - Show the status of modules in the Linux Kernel whatis insmod # insmod (8) - Simple program to insert a module into the Linux Kernel whatis modprobe # modprobe (8) - Add and remove modules from the Linux Kernel modprobe -h | grep -E '\-v,|\-C,|\-n,|\-r,|\-f,|\-show-d' # -r, --remove Remove modules instead of inserting # -f, --force Force module insertion or removal. # -D, --show-depends Only print module dependencies and exit # -n, --dry-run Do not execute operations, just print out # -n, --show Same as --dry-run # -C, --config=FILE Use FILE instead of default search paths # -v, --verbose enables more messages whatis depmod # depmod (8) - Generate modules.dep and map files. whatis rmmod # rmmod (8) - Simple program to remove a module from the Linux Kernel rmmod -h | grep -E '\-v,|\-f,' # -f, --force forces a module unload and may crash your # -v, --verbose enables more messages
[email protected]:~$ lsmod | head -n6 # Module Size Used by # drbg 32768 1 # ansi_cprng 16384 0 # ctr 16384 3 # ccm 20480 3 # vmnet 53248 13 [email protected]:~$ cat /proc/modules | grep -E 'drbg|ansi_cprng|ctr|ccm|vmnet' # drbg 32768 1 - Live 0x0000000000000000 # ansi_cprng 16384 0 - Live 0x0000000000000000 # ctr 16384 3 - Live 0x0000000000000000 # ccm 20480 3 - Live 0x0000000000000000 # vmnet 53248 13 - Live 0x0000000000000000 (OE) [[email protected] ~]# modprobe -lt fs | head -n 5 kernel/fs/nfs_common/nfs_acl.ko kernel/fs/nls/nls_cp737.ko kernel/fs/nls/nls_cp775.ko kernel/fs/nls/nls_cp850.ko kernel/fs/nls/nls_cp852.ko [[email protected] ~]# modprobe -lt net | head kernel/drivers/net/phy/marvell.ko kernel/drivers/net/phy/davicom.ko kernel/drivers/net/phy/cicada.ko kernel/drivers/net/phy/lxt.ko kernel/drivers/net/phy/qsemi.ko