- 论坛徽章:
- 0
|
The term ASR stands for Automatic System Recovery. The version of ASR
referred to by this document is that which is used in the V210, 240,
and V250. The document will provide examples of user level
commands that would likely be used by someone troubleshooting or
administering a system.
List of user level commands and their uses:
.asr - Displays all devices that are disabled and states
if the device was disabled by USER
(by way of asr-disable) or FWDIAGS (POST or
OBDIAG)
asr-clear - Clears the state of any disabled device.This
includes devices disabled by a POST or OBDIAG
failure
asr-list-keys - Lists the device names available for use with
asr-enable and asr-disable commands
asr-disable xxx - Disables a device from use.It will appears as
"Disabled by USER" in the output of the .asr
command.Where "xxx" is a device name as
indicated the the output of "asr-list-keys"
asr-enable xxx - Enables a previously disabled device.Where "xxx"
is a device name as indicated the the output
of "asr-list-keys"
Examples:
{1} ok .asr
scsi Disabled by USER
No reason given
{1} ok asr-clear
{1} ok .asr
There are no devices disabled by ASR.
{1} ok asr-list-keys
key = usb /pci@1e,600000/@a
key = ide /pci@1e,600000/@d
key = net2&3 /pci@1d,700000/@2
key = net0&1 /pci@1f,700000/@2
key = scsi /pci@1c,600000/@2
key = hcm /pci@1c,600000/@1
key = pci2 /pci@1e,600000/@2
key = pci1 /pci@1e,600000/@3
key = pci0 /pci@1d,700000/@1
key = dimm7
key = dimm6
key = dimm5
key = dimm4
key = dimm3
key = dimm2
key = dimm1
key = dimm0
{1} ok asr-disable scsi
{1} ok .asr
scsi Disabled by USER
No reason given
{1} ok asr-enable scsi
{1} ok .asr
There are no devices disabled by ASR.
Additional Notes:
ASR will issue a summary message in the timeframe after the
banner but before booting the O/S when the system is reset:
Sun Fire V240, No Keyboard
Copyright 1998-2003 Sun Microsystems, Inc. All rights reserved.
OpenBoot[TM] 4.11.4, 2048 MB memory installed, Serial #53042731.
Ethernet address 0:3:ba:29:5e:2b, Host ID: 83295e2b.
ERROR: The following devices are disabled:
ide
Problems involving the ASR database may be indicated at the same
point but be preceded with the word "FATAL"
注意:/etc/path_to_inst为硬件与OS所识别的硬件之间的对应关系;如果有硬件的更新,可执行devfsadm来同步此文件;
如果在安装操作系统之前,有某些硬件已被ASR所禁用,则必须手工修改/etc/path_to_inst之间对应关系。
本文来自ChinaUnix博客,如果查看原文请点:http://blog.chinaunix.net/u/832/showart_79458.html |
|