aix系统应用基础-07 devices

合集下载
相关主题
  1. 1、下载文档前请自行甄别文档内容的完整性,平台不提供额外的编辑、内容补充、找答案等附加服务。
  2. 2、"仅部分预览"的文档,不可在线预览部分如存在完整性等问题,可反馈申请退款(可完整预览的文档不适用该条件!)。
  3. 3、如文档侵犯您的权益,请联系客服反馈,我们会尽快为您处理(人工客服工作时间:9:00-18:30)。

pci
IBM PCI Ethernet Adapter (22100020)
adapter 14101800
pci
IBM PCI Tokenring Adapter (14101800)
adapter ppa
isa_sio Standard I/O Parallel Port Adapter
adapter isa_keyboard isa_sio Keyboard Adapter
# lsattr -E -l sys0 -a realmem
realmem 131072
Amount of usable physical memory in Kbytes
© Copyright IBM Corporation 2019
False
Device states
Predefined Database
1
root root root root
system system system system
root root
system system
root root root root
system system system system
20,0 Oct 29 02:25 20,64 Oct 29 02:26 20,0 Oct 29 02:25 20,64 Oct 29 02:26
keylock normal realmem 131072 iostat true
value
description
State of system keylock at boot time False Amount of usable physical memory KbytesFalse Continuously maintain DISK I/O history True
14101800 pci
IBM PCI Tokenring Adapter (14101800)
chrp_ecp isa_sio
CHRP IEEE1284 (ECP) Parallel Port Adapter
keyboard kma_chrp Keyboard Adapter
Customized Configuration Database
Unit 7 Devices
© Copyright IBM Corporation 2019
Course materials may not be reproduced in whole or in part without the prior written permission of IBM.
5.1
© Copyright IBM Corporation 2019
Device addressing • Location codes are used for device addressing • The location code for a device is a path from the adapter in
rmt0
fd0
© Copyright IBM Corporation 2019
rmt1
Device configuration database
Class memory tape disk adapter adapter adapter adapter
Name sa0 sioka0 rmt0 hdisk0 hdisk1 mem0 ent0
status location description
Available
System Object
Available
PCI Bus
Available
10-58 ISA Bus
Available
01-S1 Standard I/O Serial Port
Available
10-80 Wide/Fast-20 SCSI I/O Controller
the CPU drawer or system unit, through the signal cables and the asynchronous distribution box (if there is one) to the device
..
..
# lsdev -Pc tape
tape tape tape tape
.. ..
1200mb-c 150mb scsi 3490e scsi 4mm2gb scsi
scsi 1.2 GB 1/4-Inch Tape Drive 150 MB 1/4-Inch Tape Drive 3490E Autoloading Tape Drive 2.0 GB 4mm Tape Drive
22,0 Oct 29 02:25 22,1 Oct 29 02:25
14,1 14,2 14,1 14,2
Oct 29 02:44 Nov 1 05:31 Oct 29 02:44 Nov 1 05:31
fd0 fd1 rfd0 rfd1
rmt0 rmt0.1
hdisk0 hdisk1 rhdisk0 rhdisk1
entry
Device Driver
Kernel /unix
Device Driver
39
ODM: cd0 available 10-80-00-3,0
# ls -l /dev/cd0 br--r--r-- root
5. Device available
system 39,
© Copyright IBM Corporation 2019
Available
10-80-00-3,0
SCSI Multimedia CD-ROM Drive
Defined
10-80-00-6,0
4.0 GB 4mm Tape Drive
Leabharlann BaiduAvailable
10-80-00-4,0
16 Bit SCSI Disk Drive
Available
10-80-00-5,0
16 Bit SCSI Disk Drive
Available
Memory
Available
10-60 IBM 10/100 Mbps Ethernet PCI
Available
10-90 IBM PCI Tokenring Adapter
# lsattr -EH -l sys0
attribute user_settable
© Copyright IBM Corporation 2019
Device terminology • Physical Devices • Ports • Device Drivers • Logical Devices • /dev Directory
© Copyright IBM Corporation 2019
# lsdev -P -H
class type subclass
description
memory totmem sys
Memory
tape 4mm4gb scsi 4.0 GB 4mm Tape Drive
disk osdisk scsi Other SCSI Disk Drive
adapter 22100020
0 /dev/cd0
SMIT Devices menu
# smit devices
Devices
Move cursor to desired item and press Enter. Install/Configure Devices Added After IPL Printer/Plotter TTY Asynchronous Adapters PTY Console MPIO Management Fixed Disk Disk Array CD ROM Drive Read/Write Optical Drive Diskette Drive Tape Drive Communications Graphic Displays Graphic Input Devices Low Function Terminal (LFT) SCSI Initiator Device SCSI Adapter FC Adapter IDE Adapter iSCSI Asynchronous I/O Multimedia List Devices Configure/Unconfigure Devices Install Additional Device Software PCI Hot Plug Manager SSA Disks SSA RAID Arrays
Status
Location
Description
Available 01-S1
Standard I/O Serial Port
Available 01-K1-00
Keyboard Adapter
Available 10-80-00-0.0 SCSI 4mm Tape Drive
Available 10-80-00-4,0 16 Bit SCSI Disk Drive
Undefined
Supported Device
mkdev -l or
cfgmgr
Customized Database
Defined
Not Usable
Available
Ready for Use
rmdev -dl rmdev -dl
rmdev -l
© Copyright IBM Corporation 2019
Available 10-80-00-5,0 16 Bit SCSI Disk Drive
Available
Memory
Available 10-60
IBM 10/100 Mbps Ethernet PC Adapter (23100020)
lft
lft
diskette fd
printer ibm4019
node siofd parallel
Low Function Terminal Subsystem Diskette Drive IBM 4019 LaserPrinter
© Copyright IBM Corporation 2019
List all supported devices
PdDv (Predefined Devices)
© Copyright IBM Corporation 2019
List all defined devices
CuDv (Customized Devices)
# lsdev -C -H
name sys0 pci0 isa0 sa0 scsi0 cd0 rmt0 hdisk0 hdisk1 mem0 ent0 tok0
Unit objectives
After completing this unit, you should be able to:
• Describe the difference between logical and physical
devices
• Describe the purpose of the ODM predefined and
customized databases
• Describe the different states of a device • Describe the format of device location codes • Use SMIT to add/show/change/delete devices
Predefined Configuration Database
Type
Subclass
Description
totmem sys
Memory
4mm4gb scsi
4.0 GB 4mm Tape Drive
osdisk
scsi
Other SCSI Disk Drive
23100020 pci
IBM 10/100Mbps Ethernet PCI Adapter (23100020)
Listing of /dev directory
# ls -l /dev
brw-rw--rw
1
brw-rw--rw
1
crw-rw--rw
1
crw-rw--rw
1
:
:
crw-r--r--
1
crw-r--r--
1
:
:
brw-------
1
brw-------
1
crw-------
2
crw-------
Self-configuring devices
1. Who are you?
2. Answer: - CD-ROM - 10-80-00-3,0
cfgmgr
ODM: 3. cd0 defined
cd0 defined 10-80-00-3,0
4a) Load device driver 4b) Make /dev/cd0
相关文档
最新文档