VIOS Errors solutions
vios1host
inet0 changed
Method error (/usr/lib/methods/chgif):
0514-068 Cause not known.
0821-510 ifconfig: error calling entry point for /usr/lib/drivers/if_en: The spe
cified device does not exist.
0821-103 : The command /usr/sbin/ifconfig en0 inet 9.124.62.181 arp netmask 255
.255.255.0 mtu 1500 up failed.
0821-007 cfgif: ifconfig command failed.
The status of"en0" Interface in the current running system is uncertain.
0821-103 : The command /usr/lib/methods/cfgif -len0 failed.
# rmdev -dl en0
en0 deleted
smitty chinet
# rmtcpip
Running: rmdev -d -l en1
Running: rmdev -d -l en4
Deleting inet0 ODM entry
Running cfgmgr to initialize the network interfaces
Saving current /etc/hosts file to /etc/hosts.save file. Then cleaning up /etc/hosts file
Saving current /etc/resolv.conf file to /etc/resolv.conf.save. Then remov ing /etc/resolv.conf file
Setting host name to: localhost
Setting hostid to: 127.0.0.1
Please reboot the machine!
# ifconfig -a
lo0: flags=e08084b,c0
inet 127.0.0.1 netmask 0xff000000 broadcast 127.255.255.255
inet6 ::1%1/0
tcp_sendspace 131072 tcp_recvspace 131072 rfc1323 1
# for i in 0 1 2 3 4 5 6 7
> do rmdev -Rdl ent$i
> done
ent0 deleted
ent1 deleted
ent2 deleted
ent3 deleted
ent4 deleted
ent5 deleted
ent6 deleted
ent7 deleted
# cfgmgr
mkvdev -sea "physical adapter" -vadapter entXYZ -default entXYZ"previous one" -defaultid 1
mkvdev -sea ent0 -vadapter ent2 -default ent2 -defaultid 1
en0 Defined Standard Ethernet Network Interface
en1 Defined Standard Ethernet Network Interface
en2 Available Standard Ethernet Network Interface
en3 Defined Standard Ethernet Network Interface
en4 Defined Standard Ethernet Network Interface
en5 Defined Standard Ethernet Network Interface
en6 Defined Standard Ethernet Network Interface
en7 Defined Standard Ethernet Network Interface
How to delete backing device in VIOS
$ rmdev -dev ent26 -recursive
main: 86 Recived SEA events bytes 167
ent26 deleted
lsattr: 0514-519 The following device was not found in the customized
device configuration database:
ent26
/usr/sbin/lldpsync[51]: test: 0403-004 Specify a parameter with this command.
if this busy then do as below
# ifconfig en26 down
# ifconfig en26 detach
Q: how to move ent0 " defined" state to available state
$ lsdev -type adapter
name status description
ent0 Defined Logical Host Ethernet Port (lp-hea)
ent1 Available Virtual I/O Ethernet Adapter (l-lan)
fcs0 Available 4Gb FC PCI Express Adapter (df1000fe)
fcs1 Available 4Gb FC PCI Express Adapter (df1000fe)
lhea0 Defined Logical Host Ethernet Adapter (l-hea)
# /usr/sbin/rsct/install/bin/recfgct
0513-071 The ctcas Subsystem has been added.
0513-071 The ctrmc Subsystem has been added.
0513-059 The ctrmc Subsystem has been started. Subsystem PID is 9961572.
/usr/sbin/rsct/bin/rmcctrl -z ---> stop RMC
Start RMC
/usr/sbin/rsct/bin/rmcctrl -A
/usr/sbin/rsct/bin/rmcctrl -p
update patch in HMC for super user
hscroot@r4s28hmc:~> updhmc -t l -f ECLNewOpenCert.zip
copy from PSMB hscroot@r4s28hmc:~> updhmc -t l -f ECLNewOpenCert.zip
lssyscfg -m -r lpar -F rmc_state,rmc_osshutdown_capable,dlpar_mem_capable,dlpar_proc_capable,dlpar_io_capable --filter lpar_names=
lssyscfg -m 9.126.137.56 -r lpar -F mc_state,rmc_osshutdown_capable,dlpar_mem_capable,dlpar_proc_capable,dlpar_io_capable --filter lpar_names=9.124.62.181
Q: Dynamic add of virtual I/O resources failed: Failed to configure the Virtual I/O device on VIOS. Configure the devices by cfgdev command.
A:
$ lsmap -vadapter vhost0
SVSA Physloc Client Partition ID
--------------- -------------------------------------------- ------------------
vhost0 U7891.73X.060320B-V1-C11 0x00000002
VTD vtopt0
Status Available
LUN 0x8100000000000000
Backing device
Physloc
Mirrored N/A
VTD vtopt1
Status Available
LUN 0x8400000000000000
Backing device
Physloc
Mirrored N/A
$ rmdev .dev vhost0 .recursive^C
$ rmdev -dev vhost0 -recursive
vtopt0 deleted
vtopt1 deleted
vhost0 deleted
$ lsmap -vadapter vhost0
Device "vhost0" is not a Server Virtual SCSI Adapter (SVSA).
$ lsmap -all -npiv
Name Physloc ClntID ClntName ClntOS
------------- ---------------------------------- ------ -------------- -------
vfchost0 U7891.73X.060320B-V1-C12 2
Status:NOT_LOGGED_IN
FC name:fcs0 FC loc code:U78A5.001.WIHBC02-P1-C19-T1
Ports logged in:0
Flags:4
VFC client name: VFC client DRC:
$ lsmap -vadapter vhost0
Device "vhost0" is not a Server Virtual SCSI Adapter (SVSA).
$ lsnports
System doesn't have NPIV capable ports or no NPIV ports with the link up.
Answer: restart the VIOS.
Q: Why this came
Copy a System Dump to Removable Media
The system dump is 83223552 bytes and will be copied from /dev/lg_dumplv
to media inserted into the device from the list below.
Please make sure that you have sufficient blank, formatted
media before you continue.
Step One: Insert blank media into the chosen device.
Step Two: Type the number for that device and press Enter.
Device Type Path Name
>>>
88 Help ?
99 Exit -- Warning, the dump will be lost!
inet0 changed
Method error (/usr/lib/methods/chgif):
0514-068 Cause not known.
0821-510 ifconfig: error calling entry point for /usr/lib/drivers/if_en: The spe
cified device does not exist.
0821-103 : The command /usr/sbin/ifconfig en0 inet 9.124.62.181 arp netmask 255
.255.255.0 mtu 1500 up failed.
0821-007 cfgif: ifconfig command failed.
The status of"en0" Interface in the current running system is uncertain.
0821-103 : The command /usr/lib/methods/cfgif -len0 failed.
# rmdev -dl en0
en0 deleted
smitty chinet
# rmtcpip
Running: rmdev -d -l en1
Running: rmdev -d -l en4
Deleting inet0 ODM entry
Running cfgmgr to initialize the network interfaces
Saving current /etc/hosts file to /etc/hosts.save file. Then cleaning up /etc/hosts file
Saving current /etc/resolv.conf file to /etc/resolv.conf.save. Then remov ing /etc/resolv.conf file
Setting host name to: localhost
Setting hostid to: 127.0.0.1
Please reboot the machine!
# ifconfig -a
lo0: flags=e08084b,c0
inet 127.0.0.1 netmask 0xff000000 broadcast 127.255.255.255
inet6 ::1%1/0
tcp_sendspace 131072 tcp_recvspace 131072 rfc1323 1
# for i in 0 1 2 3 4 5 6 7
> do rmdev -Rdl ent$i
> done
ent0 deleted
ent1 deleted
ent2 deleted
ent3 deleted
ent4 deleted
ent5 deleted
ent6 deleted
ent7 deleted
# cfgmgr
mkvdev -sea "physical adapter" -vadapter entXYZ -default entXYZ"previous one" -defaultid 1
mkvdev -sea ent0 -vadapter ent2 -default ent2 -defaultid 1
en0 Defined Standard Ethernet Network Interface
en1 Defined Standard Ethernet Network Interface
en2 Available Standard Ethernet Network Interface
en3 Defined Standard Ethernet Network Interface
en4 Defined Standard Ethernet Network Interface
en5 Defined Standard Ethernet Network Interface
en6 Defined Standard Ethernet Network Interface
en7 Defined Standard Ethernet Network Interface
How to delete backing device in VIOS
$ rmdev -dev ent26 -recursive
main: 86 Recived SEA events bytes 167
ent26 deleted
lsattr: 0514-519 The following device was not found in the customized
device configuration database:
ent26
/usr/sbin/lldpsync[51]: test: 0403-004 Specify a parameter with this command.
if this busy then do as below
# ifconfig en26 down
# ifconfig en26 detach
Q: how to move ent0 " defined" state to available state
$ lsdev -type adapter
name status description
ent0 Defined Logical Host Ethernet Port (lp-hea)
ent1 Available Virtual I/O Ethernet Adapter (l-lan)
fcs0 Available 4Gb FC PCI Express Adapter (df1000fe)
fcs1 Available 4Gb FC PCI Express Adapter (df1000fe)
lhea0 Defined Logical Host Ethernet Adapter (l-hea)
# /usr/sbin/rsct/install/bin/recfgct
0513-071 The ctcas Subsystem has been added.
0513-071 The ctrmc Subsystem has been added.
0513-059 The ctrmc Subsystem has been started. Subsystem PID is 9961572.
/usr/sbin/rsct/bin/rmcctrl -z ---> stop RMC
Start RMC
/usr/sbin/rsct/bin/rmcctrl -A
/usr/sbin/rsct/bin/rmcctrl -p
update patch in HMC for super user
hscroot@r4s28hmc:~> updhmc -t l -f ECLNewOpenCert.zip
copy from PSMB hscroot@r4s28hmc:~> updhmc -t l -f ECLNewOpenCert.zip
lssyscfg -m
lssyscfg -m 9.126.137.56 -r lpar -F mc_state,rmc_osshutdown_capable,dlpar_mem_capable,dlpar_proc_capable,dlpar_io_capable --filter lpar_names=9.124.62.181
Q: Dynamic add of virtual I/O resources failed: Failed to configure the Virtual I/O device on VIOS. Configure the devices by cfgdev command.
A:
$ lsmap -vadapter vhost0
SVSA Physloc Client Partition ID
--------------- -------------------------------------------- ------------------
vhost0 U7891.73X.060320B-V1-C11 0x00000002
VTD vtopt0
Status Available
LUN 0x8100000000000000
Backing device
Physloc
Mirrored N/A
VTD vtopt1
Status Available
LUN 0x8400000000000000
Backing device
Physloc
Mirrored N/A
$ rmdev .dev vhost0 .recursive^C
$ rmdev -dev vhost0 -recursive
vtopt0 deleted
vtopt1 deleted
vhost0 deleted
$ lsmap -vadapter vhost0
Device "vhost0" is not a Server Virtual SCSI Adapter (SVSA).
$ lsmap -all -npiv
Name Physloc ClntID ClntName ClntOS
------------- ---------------------------------- ------ -------------- -------
vfchost0 U7891.73X.060320B-V1-C12 2
Status:NOT_LOGGED_IN
FC name:fcs0 FC loc code:U78A5.001.WIHBC02-P1-C19-T1
Ports logged in:0
Flags:4
VFC client name: VFC client DRC:
$ lsmap -vadapter vhost0
Device "vhost0" is not a Server Virtual SCSI Adapter (SVSA).
$ lsnports
System doesn't have NPIV capable ports or no NPIV ports with the link up.
Answer: restart the VIOS.
Q: Why this came
Copy a System Dump to Removable Media
The system dump is 83223552 bytes and will be copied from /dev/lg_dumplv
to media inserted into the device from the list below.
Please make sure that you have sufficient blank, formatted
media before you continue.
Step One: Insert blank media into the chosen device.
Step Two: Type the number for that device and press Enter.
Device Type Path Name
>>>
88 Help ?
99 Exit -- Warning, the dump will be lost!
Comments
Post a Comment