Chapter 3 Flashcards

1
Q
  1. Which of the following commands conveniently lists all connected PCI devices?
A

lspci

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

[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

A
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

About how long has the system been running (since the last boot)?

A

About 30,000 seconds (about 8 hours)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

What about the above output implies a misconfiguration of the machine?

A
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

Which of the following files lists currently claimed I/O ports?

A
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

Which of the following files lists the physical addresses of currently mapped memory (including RAM and other devices)?

A
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

[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>

A
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

What IRQ is the USB controller using?

A

11

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

What I/O port base address(es) is (are) being used by the sound card?

A

D.
2000 and 2400

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

How much of the video card’s memory has been mapped into the system?

A

C.
48 megabytes

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

[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

A
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

Which kernel module is the device driver for the network interface card associated with the interface eth0?

A

8139too

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

file lists modules loaded on the system?

A

/proc/devices

How well did you know this?
1
Not at all
2
3
4
5
Perfectly