LinuxRSP.Ru. ��� �� ������������ ������� Linux �� ������� �����. (original) (raw)
3. ����� �� ���������� ��������� ��������
����� ��������������� ��������� ��������, �� ��������� � �����-���� ������������� ��� ����������. ��������, ��� ������� � ������������ ����������� ����������� ����, ������ ��� ���������� �������, ram-������, �������� �������� � �������.
3.1 ����� �������� �������� �������
��� ��������� ����� ��������� � ������ � ���������� ����� �������� �������� ��������.
�������� `root='
���� �������� �������� ���� ����� ���������� ����� ������������ � �������� �������� �� �� ����� ��������. �� ���������, ��� ��������� ����� �������� ��������� ���������� �������, �� ������� ���� ��������� ����. ��������, ���� ��������������� ���� ���� ��������� � �������, � ������� �������� �������� ��� `/dev/hda1', �� ��-��������� �������� ����������� ����� `/dev/hda1'. ����� �������� �������� ��-��������� � ������� � �������� ��������� ���������� ������-����, ����� ������������ `root=/dev/fd1'.
����������� ��������� ������������ ����� ���� ���������:
(1) /dev/hdaN �� /dev/hddN, ������� �������� ��������� N �� ST-506 ����������� ����� `�� a �� d'.
(2) /dev/sdaN �� /dev/sdeN, ������� �������� ��������� N �� SCSI ����������� ����� `�� a �� e'.
(3) /dev/xdaN �� /dev/xdbN, ������� �������� ��������� N �� XT ����������� ����� `�� a �� b'.
(4) /dev/fdN, �.�. ������ ������-����� � ������� N. ����� N=0 ������������� ���������� DOS `A:', � N=1 -- `B:'.
(5) /dev/nfs, �� ���������� �������� �����������, � ������, ������������ ���� �������� �������� �� �� ����.
����� ����������� ����� ��������� � ����� ����������� �������� ������������ ����������������� ��������� �������� ��������� � ������� major/minor (�.�. /dev/sda3 -- ������� (major) 8, ������� (minor) 3, ����� �������, �� ������ ������������ � �������� ������������ root=0x803
).
��� ���� �� �������� ���������� �������� ����, ������� ������ �������� ��-��������� � ������ ���� � �������, ����� �������, ����� ���� �������� �������� rdev
.
�������� `ro'
��� �������� ���� ����������, ����� �������� �������� �������, � ������� ������������ ������ �������� ������, ���� ���������. ��� �������� ��, ����������� ��� ��������. ������, ���� �������� �� ������������ � ����������� �������� ��� ������, �� �� ������� ������� ��������� ����������� �� � ����������� ����������� �������. ����� `ro' �������� ���� ����������� �������� �� ��� `readonly' (������ ������), ����� ������ ��������� �������� �� (fsck) ����� ������� ������������, ��� �� ������ �������� ����������� ���������� ������ ���. �� ���������, �� �������� �� ����� ���������� ���� � ��������������� ��, ���� ��� �� ����� ��������������� � ����������� �������� ������/������.
��� ���� �� �������� ���������� �������� ����, ������� ������ �������� ��-��������� � ������ ���� � �������, ����� �������, ����� ���� �������� �������� rdev
.
�������� `rw'
��� ������ ����������������� ����������� ���������, �������� ���� ����������� ������� �� � �������� ������/������. � ����� ������ ��-��������� ������� �� ����������� � �������� ������/������. �� ���������� ������� �������� ���� `fsck' �� �������� �������, �������������� ��� ������/������.
��� ����� ��������� ������������ �� �� ����� ��������, ���������� ���� � �������� � ����� ������; �������� ����� ����� rdev
.
3.2 ����� ���������� RAM-������
��� ��������� ����� �������� ���� ��� ��������� ����������� RAM-�����, ������ ������������ ��� �������� ������ �� ����� ��������� ��� � ������� � ���������� ����������, ������� ������ ���� ��� ����������� ��� ������� � �������� �������� �������.
�������� `ramdisk_start='
����� ��������� ������ ���� ���������� �� ������-����� �� ������ ������� ram-����� ���������� �������� ������� `ramdisk_start=<��������>'. ���� ������ �������� � ������ ����� �������� ������� ram-�����, �.�. ���������� ������� ���, ������� � �������� �����, ����� BIOS ������ ������� ����������� ������ � ����� ���� ����� ��������� ���� ����.
���������: ���� �� ����������� �������� ����� ram-�����, �� ���� ����� ���� ������ ������ ��, ����������� � ram-����, � ������� ����� ��������� � ������� LILO, ��� ��� ����� ���� ��� ��������� ����, ��� � ������ ������� ������.
���� �� ����������� ������������ boot/root ��������� (���� �� ����� 1, ����� ram-����� �� ����� 2), �� ram-���� ������ ���������� � �������� ����� � �������� �������� ������ ���� ����� ����. ��������� ��� �������� ��-���������, ��� ������ �� ����������� ������������ ��� �������.
�������� `load_ramdisk='
���� �������� �������� ���� -- ����� �� ��������� ����� ram-����� ��� ���. ��� `load_ramdisk=1' ���� ����� ��������� ������-���� � ram-����. ��-��������� �������� ����� ����, �.�. ���� �� ������ ��������� ram-����.
������ �������� ����� ���������� �������� � ������ ���������� �������� � linux/Documentation/ramdisk.txt
. ����� ������ ������ ��������� � ���������� ����� ��������� � ������ ���� � ������� `rdev'.
�������� `prompt_ramdisk='
���� �������� �������� ���� � ������������� ������� ����������� ������������ ��� ������� ������-����� � ������� ram-�����. � ������������ ������������ ����� ram-����� ��������� �� ��� �� �������, � ������� ������ ��� ����������� �������� ����, ������� ����������� �� �����. � ���� ������ ����� ������������ `prompt_ramdisk=0'. � ������������ ������������ ��� ����������� �������� �����, ������� ����� ������� `prompt_ramdisk=1'. ��������� ��� �������� ��-���������, � ���������������� ��� �� �����������. (������������ �������: ��������� ������ ���������� ����� LILO `vga=ask', �������� ������������������ ������� �������� � ���������� �������� ����������� ���� �� ��������.)
������ �������� ����� ���������� �������� � ������ ���������� �������� � linux/Documentation/ramdisk.txt
. ����� ������ ������ ��������� � ���������� ����� ��������� � ������ ���� � ������� `rdev'.
�������� `ramdisk_size='
��������� � ���������������� ������ ram-����� ������ �����������, �� ���� �������������, ������� ���� ����������� ��� �������, ����� �� �� ����� ��� ������ � �� ������� ��� � ����������. ��-��������� ��� 4096 (�.�. 4��), ��� ������ ����������. �� ������ �������� �������� ��-���������, ������� ������ ��� ������ � ������� ��������� ��������.
������ �������� ����� ���������� �������� � ������ ���������� �������� � linux/Documentation/ramdisk.txt
. ����� ������ ������ ��������� � ���������� ����� ��������� � ������ ���� � ������� `rdev'.
�������� `ramdisk=' (����������)
(���������: ���� �������� ������� � �� ������ �������������� �� �����, ������� � v1.3.47. ������� ���������� ram-�����, ������� ����� ������������, ������� �����.)
���������� ������ ���������� RAM-����� � ��. ��������, ���� ���������� �������� �� �� ������-����� 1.44��, ����������� � RAM-����, ����� ������������:
ramdisk=1440
��� ���� �� �������� ���������� �������� ����, ������� ������ �������� ��-��������� � ������ ���� � �������, ����� �������, ����� ���� �������� �������� rdev
.
�������� `noinitrd' (��������� RAM-����)
� �����, ������� � v2.x, �������� �������� �������� ���������� ����� ���� RAM-����, � ���� ��������� /linuxrc
������ RAM. ��� ����������� ������ ������������ ��� �������� �������, ����������� ��� ������������ �������� �������� �� (��������, �������� ������� �������� SCSI, ���������� � ������ RAM-�����, � ����� ������������ �������� �������� ������� �� SCSI �����).
���������� �������� `noinitrd' ���������� ��� ����� ����������� � ������� initrd ����� �������� ����. ���� �������, �� ������ �������������� �� � RAM-����, ��� ����� �������� ����� /dev/initrd
, ������� ����� ��������� ��������������� ����� ������������� ������ � ������������ �� �������. ����� �������� �� ������������� ���������� RAM-����� �������� � linux/Documentation/initrd.txt
. ����� ����, �������������� �������� ���������� ����� ����� � ����� ������ ������� LILO � LOADLIN.
3.3 ��������� �������� ���������� �������
��������� ��������� ���������� �������� Linux �� ����������� ��� ���������� ���������� � ����������� ������� ����� �������.
�������� `mem='
� ����� ��������� ��� ����������: ���������� �� ������������� ��� �������� ������ ������������� ������ (��� �������� ��������, ���� �� ������ ���������� ����� ������, ��������� Linux). ������ (� ����� ������������) ���������� -- ������� mem=nopentium
, ���������� ���� Linux �� ������������ ������� ������������� ������� 4�� ������� (4MB page table performance feature).
������������ BIOS, ��������� � ������������ PC � ������������ ���������� ������������� ������, ���� ����������� ��� �������� 64 ��. (��, ��� ���� �������� �������������, ��� � � 1024 ���������� ������... ��!) ��� �������� ��� ����������� ���������� ������������� ������ Linux ���������� ��� ������������ . ���� � ��� ����������� ����� 64 �� ������, �� ������ ������������ ���� �������� ��������, ����� �������� Linux � ���������� ��������� ������. ���� ��������� ������������ ������ �� ������������� ��������� mem=
.
``���� ������ ����� �������� ��������� `mem=xx', ������� �� �������, �� ���� �����������, ��� �� �������, �� ���� ��� ������ ��� �������� � �������� �����. �������� ���������� ����� ������� ����� ���, �.�., ��������, `mem=0x1000000' ��������, ��� �� ����������� 16 �� ������. ��� ������ � 96 �� ��� ����� `mem=0x6000000'. ���� �� �������� Linux, ��� ������ ������� ������, ��� ����������� � ����������������, �������� ������������: �������� �� �����, ��, � �������� �����, �����������.''
������, ��� �������� �� ����������� ������ ���� �����������������, � ��� ����������� ���������� � ���������� ����� ������������ �������������� �������� `k' � `M' (������� ������). (`k' ������� ����� ������ �������� �� 10 ���, � `M' - �� 20 ���.) �������� �������� ��� ������ � 128 �� ����� ���� "mem=128m
".
�������� `swap='
�� ��������� ������������ ����������� ��������� ��������� ���������� ������ (VM), ����������� � ��������� �� ����. �� ����� ����� ��������� ������ ��������:
MAX_PAGE_AGE
PAGE_ADVANCE
PAGE_DECLINE
PAGE_INITIAL_AGE
AGE_CLUSTER_FRACT
AGE_CLUSTER_MIN
PAGEOUT_WEIGHT
BUFFEROUT_WEIGHT
������������������ ������� �������� ��������� linux/mm/swap.c
� ������ ������� �� ��������� � /proc/sys/vm
. � �������� linux/Documentation/vm/
������� ��������� �������� ������������ �� ���� ����, ������������� � ������.
�������� `buff='
��������, ������� �� `swap=', ��������� ������������ ��������� ��������� ���������, ��������� � ����������� �������� �������. �� ����� ����� ��������� ����� ��������:
MAX_BUFF_AGE
BUFF_ADVANCE
BUFF_DECLINE
BUFF_INITIAL_AGE
BUFFEROUT_WEIGHT
BUFFERMEM_GRACE
������������������ ������� �������� ��������� linux/mm/swap.c
� ������ ������� �� ��������� � /proc/sys/vm
. � �������� linux/Documentation/vm/
������� ��������� �������� ������������ �� ���� ����, ������������� � ������.
3.4 ��������� �������� ��� �������� ������� NFS
Linux ������������ �������, ���� ����������� ������� �������, ��������� ��������� �� �������� ������ ��� NFS (Network FileSystem -- ������� �������� �������). ��� ��������� ������������, ����� �������� ����������� ������� ������� � ����� ������ ��� ����� �������� �������. �������, �����, ��� ��������� �������� root=/dev/nfs
. ��������� ���������� �� ������������� NFS � �������� �������� �� ������� � ����� linux/Documentation/nfsroot.txt
. �� ������ ��������� ���� ����, ��������� ���� ��� ������ ������� �����, ����������� �� ������ ������ ����� �����.
�������� `nfsroot='
���� �������� �������� ���� ����� ������, ����� ������� � � ������ ������� NFS ������������ � �������� �������� ��. ������ ����� ��������� ���������:
nfsroot=[<server-ip>:]<root-dir>[,<nfs-options>]
���� �������� nfsroot �� ��� ��� � ��������� ������, �� ��-��������� ����� ������������ `/tftpboot/%s'. ������ ����� ���������:
-- ������ ����� IP ������� NFS. ���� ��� ���� �� ������, �� ��-��������� ����� ����� ��������� ���������� nfsaddrs (��. ����). ���� �� ���������� ����� ���������, ��������, ���������� ������������� ������ �������� RARP � NFS. ������ ���������� ��� ���� ������.
-- ��� �������� �� �������, ������������ ��� ���������. ���� � ������ ������� ����� `%s', �� ��� ����� �������� �� ASCII-������������� IP ������ �������.
-- ����������� ����� NFS. ��� ����� ��������� ��������. ���� ���� ����� �� ������, �� ����� ������������ ��������� ���������:
port = ��� ������ ������� portmap �������
rsize = 1024
wsize = 1024
timeo = 7
retrans = 3
acregmin = 3
acregmax = 60
acdirmin = 30
acdirmax = 60
flags = hard, nointr, noposix, cto, ac
�������� `nfsaddrs='
��� �������� �������� ������������� ��������� ������ �������� ����������, ����������� ��� ���������� �� ����. ���� ��� �������� ������, �� ��� ��������� ���� �������� ���� ���������� ������������ RARP �/��� BOOTP. ������ ���������:
nfsaddrs=<my-ip>:<serv-ip>:<gw-ip>:<netmask>:<name>:<dev>:<auto>
-- IP ����� �������. ���� ������, ����� ����� ��������� � ������� RARP ��� BOOTP. ����� ��������� ����� �������� �� ��, ����� ��� �������� �� ����� ���������������� ���� � ��������� . ���� �������� ������, �� �� RARP, �� BOOTP �������������� �� �����.
-- IP ����� ������� NFS. ���� ��� ����������� ������ ������� ������������ RARP � ���� �������� �� ������, �� ����� ����������� ������ ������ �� ���������� �������. ��� ������������� ������ RARP � NFS ��������, ������� ����� ��� ������ RARP (��� �������� ������), � ������ NFS ������� � ��������� nfsroot (��. ����). ���� ��� ���� �������, �� ����� ����������� ����� �������, ����������� �� ������ RARP ��� BOOTP.
-- IP ����� �����, ���� ������ ��������� � ������ �������. ���� ���� �������, �� ������� ����� �������������� �� �����, ���������������, ��� ������ ��������� � ��������� ����, ���� �������� �� ���� �������� � ������� BOOTP.
-- ����� ���� ��� �������� ����������. ���� ���� �������, �� ������� ����� ����� ����� �� IP ������ �������, ���� �� ����� �������� �������� �� BOOTP.
-- ��� �������. ���� ���� �������, ����� ����������� IP ����� ������� � ASCII ������� ��� ��������, ��������� �� BOOTP.
-- ��� ������������� �������� ����������. ���� ���� �������, �� ��� RARP �������� ����� ������������ ��� ����������, � ��� BOOTP -- ������ ���������. ��� NFS ����� ������������ ����������, �� ������� ���� �������� ������ RARP ��� BOOTP. ���� � ��� ������ ���� ����������, �� �������� ������ �������� ��� ����.
-- ������������ ����� ��������������������. ���� ������ `rarp' ��� `bootp', �� ������������ ��������� ��������. ���� �������� -- `both' (���) ��� �������, �� ����� ��������� ��� ���������, ��������� ��� ���� ��������� ��� ���������������� ����. ������������� `none' �������� ���������� ��������������������. � ���� ������ �� ������ ������� ��� ����������� �������� � ���������� �����.
���� ����� ���� ������������ ��������� ��������� nfsaddrs (��� ���� ���������� `:') � ������ ���������� ��������������������. ������ � ���� ������ �������� `none' �� ���������.
3.5 ������ �������������� ��������� ��������
��� ��������� ��������� ��������� �������� ��������� ������������ ����������� ��������� ���������� ��������� �����.
�������� `debug'
���� �������� ������ (� �� ����� ������) ��������� ��������� ����� ������� printk()
. ���� ��������� ��������� ������, ������� printk()
�������� ����� �� ������� �������, � ����� ����� �������� �������� � ������� ��� ����������� klogd()
�� �����. ������� ������ ������ ��������� �� ������� ������ � ������������ �� ����� � ���, ��� � ������, ��������, ������ ����� ��������� �� ��������� � ����� ��������.
��������� �������� ������� ��������� �������� ���������� console_loglevel
. ��-��������� �� ������� ������������ ���, ��� ������ ������� (DEBUG
- ������� 7). (��� ������ ���������� � ����� kernel.h
) ������������� debug
� �������� �������� ��������� �������� ��������� ������� �� ������� 10, �.�.��� ��������� ���� �������� �� �������.
������ ������� ������� ����� ���������� �� ����� ���������� ������ ��������� klogd()
. ��� ��� ������� �������� �� �������� man ��� ������������� � ����� ������� ������.
�������� `init='
��-��������� �� ����� �������� ���� ��������� ��������� `init', ������� ����� �������������� ��������� ��� ������������, �������� ��������� getty, �������� ������� `rc' � �.�. � ������ ���� ���� /sbin/init
, ����� /etc/init
(�����������) �, ����������, ��������� ��������� /bin/sh
(�������� � /etc/rc
). ����, ��������, ���� ��������� init ���������� �, ����� �������, �� �� ������ �����������, �� ������ ������ ������������ ���������� ������ �������� init=/bin/sh
, ������� ����� ���������� ��� �� ����� �������� ��������������� � �������� ����� �������� ������������ ���������.
�������� `kbd-reset'
������ �� i386 ������� ���� Linux �� ���������� ��� �������� ���������� ����������, ����������� ��� ��� ������ BIOS. ��, ��� ������, �� ��� ������ ������ ��, ��� ������. ������������� ���� ����� ����� ������ ���, ���� � ��� ���� �������� � �����������. ����� ������ ���������� ������ ����� �� ����� �������������. (��������� ����������, ��� ��� ������ �������� ������, ��-���������).
�������� `maxcpus='
�����, ��������� � ���� ���������, ������������ ������������ ���������� ����������� � ������ SMP. ������������� 0 ������������ ����� nosmp
.
�������� `mca-pentium'
������ IBM ������ 95 � Microchannel, �� ���� ���������, �������� �� ����� �����, ������ ����������� Linux ��� ����������� ���� ��������������� ������������. ��������� ��� ���������� Pentium ����� ���������� �������������� �����������, ���� ���� (� �������� ���������) ����� ������ � ������� ����� ����� ��������.
�������� `md='
If your root filesystem is on a Multiple Device then you can use this (assuming you compiled in boot support) to tell the kernel the multiple device layout. The format (from the file linux/Documentation/md.txt
) is:
���� ���� �������� ������� ����������� �� ��������� (Multiple) ����������, �� �� ������ ������������ ��� �������� (�������, ��� ��������� �������������� � ��������), ����� �������� ���� ������������ (layout) ���������� ����������. ������ (�� ������������linux/Documentation/md.txt
) �����:
md=md_device_num,raid_level,chunk_size_factor,fault_level,dev0,dev1,...,devN
��� md_device_num
���������� ��������� md, �.�. 0 �������� md0, 1 -- md1 � �.�. ��� raid_level
����������� -1 ��� ��������� ������ � 0 ��� striped ������. ������ ������ ���� �� ��������������. chunk_size_factor
������ ��� raid-0 � raid-1 � ������������� ������ ����� (chunk) ��� PAGE_SIZE, ��������� ����� �� ��������� ����������. fault_level
-- ������ ��� raid-1 � ������������� ������������ ���������� ������. (���� �� �������������� ��-�� ���������� ��������� �������� ��� raid1.) dev0-devN -- ������ ���������, ����������� ��������, ������� ���������� �������������� ���������� md: ��������, /dev/hda1,/dev/hdc1,/dev/sda1
�������� `no387'
� ��������� ������������� i387 ���� ������, ���������� � 32-������� ���������� ������. ��������, ��������� ������ ���� ULSI-387 �������� ������� ��������� ��� ����������� � ��������� �������, �������� ��-�� ������ � �������� FRSAV/FRRESTOR. �������� �������� `no387' ��������� Linux ������������ ���. �����������, ���� ���� �� �������. �������, � ��� ����� ������ ���� ���� � ���������� �������������� ��������. ��� ����� ���� ����� ��������, ���� � ��� _�������������_���� �� ������ 386 ����� � 80287 FPU, �.�. Linux �� ����� ������������ 80287.
�������� `no-hlt'
� ��������� ��� i386 (� ��� �����������) ���� ���������� `hlt', ������������ ��� ������ �� ������, ���� ������� ���������� (����������, �����, ���� � �.�.) �� ������� ��� ��� ���������� ������. ��� ��������� ���������� ������� � ����� `����������� �����������', � ������� �� ����� ��� ����� ���� ������� ���������� ��� �� �������� (������ ����� ����������). � ��������� ������ ����� i486DX-100 ���� �������� � �������� `hlt', ����� ������� ��� �� ����� ������� ��������� � ������� �����. � ������� ��������� `no-hlt' ����� ��������� Linux ��� ����������� ���������� ��������� ����������� ���� ������ ��������� ����������. ��� �������� ���������� ����� ����������� ����� ������������ Linux, ���� �������� �� ����������� ������ ����� ���������� �� ��������.
�������� `no-scroll'
���� �������� ��������� ��� �������� ������� ���������� (�������������), ������� ������ ������� ���������� ���������� Braille.
�������� `noapic'
��� ����� ��������� SMP ���� �� ������������ ����������� ����������� ����������� ���������� � ����������������� �������. ��������� ������ � ������������ linux/Documentation/IO-APIC.txt
.
�������� `nosmp'
��������� SMP ���� �� SMP ������� �������� ����� �����������. ������ ������������ ������ ��� ������� � ����������� ������� ����������� ���������� �������� �� SMP.
�������� `panic='
� ������������� ������ ������ ���� (�.�. ���������� ������, ������������ �����, � ������� ���� ������� ���������� ��������� ��� �������� �������������� � ����������� ������ ���������), ��-��������� ��������� �������� � ���� ���������, ���� ���-������ �� ������, ������� �������� �� ��������� ������ �� ������ � ������������ ������. ������, ���� ������ �������� ������������� � ������������� �����, �������� ����� ����������, ����� ������ ������������� ����������� ����, ��� ��������� � ������. ��������, ��� panic=30
��� �������� ���� ���������� ������������� ����� 30 ������ ����� ������ ����. ������� �������� ������������� ��������� ��-���������, �.�. ����� ������������� ���������.
�������, ��� ��� ����� ����-���� ����� ����� ��������� � �������� ����� sysctl ��������� /proc/sys/kernel/panic
.
�������� `pci='
�������� `pirq='
Using this option tells a SMP kernel information on the PCI slot versus IRQ settings for SMP motherboards which are unknown (or known to be blacklisted). See linux/Documentation/IO-APIC.txt
for more information.
��� ����� �������� SMP ���� ���������� �� ���������� IRQ ����� PCI ����������� (��� ��������� � ������ ������) ����������� ���� SMP. ��������� ������ � linux/Documentation/IO-APIC.txt
.
�������� `profile='
������������ ���� ����� ��������� �����, ����������� �� ���������� ��� � ��� ���� ������� ����� ���, ������� ��������������� �������������. ��� ����� ��������� ��� ������� ����� �������� ��� ��������. ������ ������ ������. �� ����� ������ �������������� ���� � ���������������, ����������� ��-���������. � ����� ������, ��� ����������� ���������� ���� readprofile.c
, ������� ������� ������������ �����/proc/profile
.
�������� `reboot='
��� ����� ������ ��� ������������, ����������� Linux ��� "�����������" ���������� (������ ����� /sbin/init
�������� Ctrl-Alt-Delete). ��-���������, ���� � v2.0 ��������� "��������" ������������ (�.�. ������ �����, BIOS ��������� ������ � �.�.) ������ "������" ������������ (�.�. ��� ������� ������, ������ �� �����������). "��������" ������������ ���� ������� ��-���������, ��������� ��������� ��������� ���������� ��������/������������� ������������, �� ������������ ���������� "������" ������������. ����� ��������� � ������� ������� ("�������" ��������), ��������� reboot=w
��� ����������� ����� �����, ������������ �� ����� w
.
����� ������� ��� ������������? ��������� �������� ����������� � ���-������� �� ����� ����� ������������ ������ ������������ � ���������� ��� ���������� ������ �� ����. ��� �������� �������� ����� ����� ���� ���������������� � ������ � ��� ������ ����� ����� ��������. ������ ������� ��� �������, ������������� ����� ������� �� �������� ������, �/��� SCSI BIOS'�, ����� ������������������ ��� �������� ��������, �������� ������� �������� ������ ������ ������������.
�������� `reserve='
������������ ��� _������_��������� ������ I/O �� �������� (probe). ������ �������:
reserve=iobase,extent[,iobase,extent]...
� ��������� ������� ������ ���������� �������� �������� ��������� �� ������ ��������� (auto-probing) � ������������ ���������. �������� ����� ��������� ����� ����������������� ����������, ���������� ���������� �������� (��� �� ��������� ethernet ������), ����������, ������������������ ��������, ����������, ��������� ������� ���� �������� ���������� probe, ��� ������ ����������, ������������� ������� ����� �� �� �������.
���� �������� �������� reserve
��������� ��� ��������, �������� �������� ������ I/O, ������� ����� ��������� �� ������������. ���� �������� ������������� � ������� ���� ����������� ������ ��� ��� ������������ (� ������ reserved
). ������, ��� ���� �������� �� ��������� ��� ����������� �����. ���������� ��� ��������� ������ ��� ������� ������� ��� � ����������� �������.
The I/O ports in the specified region are protected against device probes that do a check_region()
prior to probing blindly into a region of I/O space. This was put in to be used when some driver was hanging on a NE2000, or misidentifying some other device as its own. A correct device driver shouldn't probe a reserved region, unless another boot argument explicitly specifies that it do so. This implies that reserve
will most often be used with some other boot argument. Hence if you specify a reserve
region to protect a specific device, you must generally specify an explicit probe for that device. Most drivers ignore the port registration table if they are given an explicit address.
����� I/O � ��������� ��������� �������� �� ������ ���������, ������������ ���������� check_region()
������� ������ � ������� ������������ I/O. ��� �������� ������, ����� �������� � ��������� ����� ������� ��� NE2000, � ����� �������� ��������� ������ ����������, ��� ���� �����������. ���������� ������� ���������� �� ������ ����������� ����������������� ��������, ���� ������ �������� �������� �� ����� ���� ��������� ��� �������. ���������������, ��� reserve
���� ����� ������������ � ������ ����������� ����������. �.�. ���� �� ��������������� �������� reserve
��� ������ ���������� ����������, �� �� ������ ���� ������� ������ ������������ ����� ����������. ����������� ��������� ���������� ������� ����������� ������, ���� �� ������� ����� �����.
��������, ������ ��������
reserve=0x300,32 blah=0x300
�������� �� �������� ��� �������� ��������� � ������� 0x300-0x31f
, �� ����������� �������� ��� `blah'.
��� ������ � ������������ ����������� ������� ����������� �� 11 ����������, ����� ������� �� ������ ������� ������ 5 ����������������� ���������� ����� �������� ������ reserve
. ���� � ��� �������� ������� �������, �� ������� ��������� ���������� reserve
.
�������� `vga='
��������, ��� ��� �� ������ ����������� ��������. ��� �����, ���������������� LILO, � �� �����, ��� ������ ����������� ���������. ������ ��� ���������� ����� ��������� �������, ��� ����������� ���������� �����. ��� ����� ����� ���������� � ������� rdev -v
��� ������������ vidmode
� ����� vmlinuz. ��� ��������� ���� ��������� ������������ BIOS ��� ��������� ������ ������� ��-��������� �� ���������������� �������� ���� Linux. ������� ������ 80�50, 132�44 � �.�. ������ ������ ���������� ���� ����� - ���������� � vga=ask
, ������� ��������� ��� ������ ��������� �������, ���������� � ������������� � ����� �����-���������, �� �������� ����. ����� ����, ��� �� �������� ������ ����� �� ����������� ���� ������, ��� ����� ����� ��������� �� ����� `ask'. ����� ��������� ���������� �������� � ����� linux/Documentation/svga.txt
, ������������ �� ����� ������� �������� ����.
�������, ��� � �������� ���� (v2.1 � ����) ��� ���������, ���������� ���������� ��� �����, �������� ��� Video mode selection support
, ������� ��� ����� ���������� ���������, ���� �� ������� ������������ ��� �����������.