bosboot Fails When Trying to Clone at 4.2.0.0


Environment

OS Level: AIX Version 4.2.0.0
Type/Model: J40

Problem

This problem occurred after booting from a version 4.2.0 CD-ROM install media and then restoring a mksysb. Just before reboot, the following error displays:
        0653-341 the file /dev/ipldevice does not exist
        0301-150 bosboot: invalid or no boot device specified.

        1) to continue 2) maintenance
This problem is the same as with the 604 chip at AIX Version 4.1.5. The fix for the 604 chip changes the logical volume manager (LVM) kernel extension such that the hd_cfg routine is now an exported symbol. The LVM libraries now reference this symbol.

When booting from a version 4.2.0 install CD-ROM/tape, the level of the LVM kernel extension that does not export this symbol is being used.

When the rootvg volume group is imported and the file systems are mounted, the new libraries that expect that symbol to be exported are now being used. This causes the error message when any LVM command is run.

The problem begins at PMP bos.rte.lvm.4.2.0.5.

Solution

Provided are workarounds for this problem when booting from various media.

When booting from CD-ROM

  1. At the screen with the options 1 Continue, 2 Maintenance, select 2.
  2. Enter the following command:
            # export LIBPATH=/../SPOT/usr/lib:$LIBPATH
    
    If you do not know the disk that your boot logical volume is on, find it with the following command:
            # lslv -l hd5
    
    For example, <diskname>=hdisk0
  3. Enter the following commands to finish booting:
            # ln -f /dev/r /dev/ipldevice
            # bosboot -ad /dev/ipldevice
            # bootlist -m normal hdisk# fd0 rmt0 cd0
            # exit
    

When booting from NIM

If you are booting from a NIM spot to install a mksysb, and this problem is encountered, follow these steps:

  1. Update the spot with the same level of bos.rte.lvm
  2. To rebuild the spot boot images, enter:
            # NIM -Fo check SPOTname
    

When booting from TAPE

NOTE: Remember, if you are cloning with product and mksysb tape, the bosinst.data file must have the field SWITCH_TO_PRODUCT_TAPE set to yes.

  1. At the screen with the options 1 Continue, 2 Maintenance, select 2.
  2. Enter the following commands:
            # export LIBPATH=/../usr/lib:$LIBPATH
            # cd /../usr/lib
            # mv libc.a libc.orig
    

    If you do not know the disk that your boot logical volume is on, find it with the following command:

            # lslv -l hd5
    
    For example, <diskname>=hdisk0
  3. Enter the following commands to finish booting:
            # ln -f /dev/r /dev/ipldevice
            # bosboot -ad /dev/ipldevice
            # exit
    

NOTE: APAR IX67692 documents tape, CD-ROM, and NIM workarounds. This problem has been corrected in AIX 4.2.1.


[ Doc Ref: 95383819320274     Publish Date: Apr. 28, 2000]