Nim crash 0613

root's picture

You were trying to install the lpar from mksysb image via nim and you got stuck on boot with LED code 0613.

The console is stuck here:

TFTP BOOT ---------------------------------------------------
Server IP.....................192.168.69.47
Client IP.....................192.168.69.98
Gateway IP....................192.168.69.1
Subnet Mask...................255.255.255.128
( 1  ) Filename................./tftpboot/GZLPAR
TFTP Retries..................5
Block Size....................512
FINAL PACKET COUNT = 38913
FINAL FILE SIZE = 19922944  BYTES

Elapsed time since release of system processors: 30892 mins 41 secs


-------------------------------------------------------------------------------
                                Welcome to AIX.
                   boot image timestamp: 19:32:56 01/27/2014
                 The current time and date: 19:55:54 01/27/2014
       processor count: 6;  memory size: 12288MB;  kernel size: 29153194
boot device: /vdevice/l-lan@30000004:speed=auto,duplex=auto,192.168.69.47,,192.168.69.98,192.168.69.1,5,5,255.255.255.128,512
-------------------------------------------------------------------------------

and the error on HMC is like this:

hscroot@gzhmc:~> lsrefcode -m 9117-MMC-SN6540000 -r lpar --filter "lpar_names=Client_GZLPAR" -F lpar_name:refcode
Client_GZLPAR:0613

According to IBM docs, 613 is "Failure setting up route tables" and "hangs usually occur because a route is incorrectly defined for a network in the NIM database. Verify that the correct gateways are specified between networks, and all gateways are functional. Use debug-enabled network boot images to determine which routes could not be defined."

So we have to go back to nim and see what is wrong.

The nim client is configured to use the interface gznim_net:
gznim@root:/home/root # lsnim -l GZLPAR_adm
GZLPAR_adm:
   class          = machines
   type           = standalone
   current_master = gznim
   connect        = nimsh
   sync_required  = yes
   platform       = chrp
   netboot_kernel = 64
[color=green]   if1            = gznim_net GZLPAR_adm 0[/color]
   cable_type1    = N/A
   Cstate         = BOS installation has been enabled
   prev_state     = ready for a NIM operation
   Mstate         = not running
   boot           = boot
   lpp_source     = lppsource_61-08-02
   mksysb         = mksysb_I89_GZLPAR_adm
   nim_script     = nim_script
   spot           = spot_61-08-02
   control        = master
So this is what we have to modify! The default gateway is not accessible and nim client is unable to find our nfs server because of that.
Wrong configuration:
gznim@root:/home/root # lsnim -l gznim_net
gznim_net:
   class      = networks
   type       = ent
   Nstate     = ready for use
   prev_state = ready for use
   net_addr   = 192.168.69.0
   snm        = 255.255.255.128
   routing1   = ent-adm_mop 192.168.69.1
   routing2   = vlan30 192.168.69.1
[color=red]   routing3   = default 10.16.27.21
   routing4   = ent-Network1 10.16.27.21[/color]
Correction and good output:
gznim@root:/home/root # smitty nim_routing
Change/Show Characteristics of a Network Install Route

Type or select values in entry fields.
Press Enter AFTER making all desired changes.

[Entry Fields]
Originating Network Name gznim_net
Network Install Route routing3
Gateway Used by Originating Network [192.168.69.1]
Destination Network Name default
Force no
gznim@root:/home/root # lsnim -l  gznim_net
gznim_net:
   class      = networks
   type       = ent
   Nstate     = ready for use
   prev_state = ready for use
   net_addr   = 192.168.69.0
   snm        = 255.255.255.128
   routing1   = ent-adm_mop 192.168.69.1
   routing2   = vlan30 192.168.69.1
[color=green]   routing3   = default 192.168.69.1
   routing4   = ent-Network1 192.168.69.1[/color]

Now the nim client is able to boot correctly:

-------------------------------------------------------------------------------
                                Welcome to AIX.
                   boot image timestamp: 19:32:56 01/27/2014
                 The current time and date: 19:55:54 01/27/2014
       processor count: 6;  memory size: 12288MB;  kernel size: 29153194
boot device: /vdevice/l-lan@30000004:speed=auto,duplex=auto,192.168.69.47,,192.168.69.98,192.168.69.1,5,5,255.255.255.128,512
-------------------------------------------------------------------------------


 ******* Please define the System Console. *******

Type a 1 and press Enter to use this terminal as the
  system console.
Pour definir ce terminal comme console systeme, appuyez
  sur 1 puis sur Entree.
Taste 1 und anschliessend die Eingabetaste druecken, um
  diese Datenstation als Systemkonsole zu verwenden.
Premere il tasto 1 ed Invio per usare questo terminal
  come console.
Escriba 1 y pulse Intro para utilizar esta terminal como
  consola del sistema.
Escriviu 1 1 i premeu Intro per utilitzar aquest
  terminal com a consola del sistema.
Digite um 1 e pressione Enter para utilizar este terminal
  como console do sistema.

END!

Thou shalt not steal!

If you want to use this information on your own website, please remember: by doing copy/paste entirely it is always stealing and you should be ashamed of yourself! Have at least the decency to create your own text and comments and run the commands on your own servers and provide your output, not what I did!

Or at least link back to this website.

Recent content

root
root
root
root
root
root
root
root
root
root
root
root
root
root
root
root
root
root
root
root
root
root
root
root
root
root
root
root
root
root