Chapter 3 Flashcards
- Which of the following commands conveniently lists all connected PCI devices?
lspci
[root@station root]$ cat /proc/interrupts
CPU0
0: 29957960 XT-PIC timer
1: 78565 XT-PIC keyboard
2: 0 XT-PIC cascade
5: 75302119 XT-PIC eth0
8: 1 XT-PIC rtc
9: 0 XT-PIC Intel ICH 82801AA
11: 198578 XT-PIC usb-uhci, eth1
14: 258317 XT-PIC ide0
15: 20398 XT-PIC ide1
NMI: 0
ERR: 0
About how long has the system been running (since the last boot)?
About 30,000 seconds (about 8 hours)
What about the above output implies a misconfiguration of the machine?
Which of the following files lists currently claimed I/O ports?
Which of the following files lists the physical addresses of currently mapped memory (including RAM and other devices)?
[root@station root]$ lspci -v
…
00:1f.2 USB Controller: Intel Corp. 82801AA USB (rev 02) (prog-if 00 [UHCI])
Subsystem: Intel Corp. 82801AA USB
Flags: bus master, medium devsel, latency 0, IRQ 11
I/O ports at 2440 [size=32]
00:1f.5 Multimedia audio controller: Intel Corp. 82801AA AC’97 Audio (rev 02)
Subsystem: Compaq Computer Corporation: Unknown device b1bf
Flags: bus master, medium devsel, latency 0, IRQ 9
I/O ports at 2000 [size=256]
I/O ports at 2400 [size=64]
01:00.0 VGA compatible controller: nVidia Corporation NV5M64 [RIVA TNT2 Model 64/Model 64 Pro] (rev 15) (prog-if 00 [VGA])
Subsystem: nVidia Corporation: Unknown device 0017
Flags: bus master, 66Mhz, medium devsel, latency 64, IRQ 10
Memory at 41000000 (32-bit, non-prefetchable) [size=16M]
Memory at 44000000 (32-bit, prefetchable)[size=32M]
Expansion ROM at <unassigned> [disabled] [size=64K]<br></br> Capabilities: [60] Power Management version 1<br></br> Capabilities: [44] AGP version 2.0<br></br> ...</unassigned>
What IRQ is the USB controller using?
11
What I/O port base address(es) is (are) being used by the sound card?
D.
2000 and 2400
How much of the video card’s memory has been mapped into the system?
C.
48 megabytes
[root@station root]$ cat /etc/modprobe.d/custom.conf
alias parport_lowlevel parport_pc
alias eth0 8139too
alias snd-card-0 i810_audio
alias usb-controller usb-uhci
Which kernel module is the device driver for the network interface card associated with the interface eth0?
8139too
file lists modules loaded on the system?
/proc/devices