AIX

AIX

Connect with fellow AIX users and experts to gain knowledge, share insights, and solve problems.

 View Only
  • 1.  bosboot -Da fails with errors

    Posted Thu April 22, 2010 04:47 PM

    Originally posted by: krisdhar


    Hi,

    Installation of AIX's native mpio results in a bosboot failure. Subsequently a bosboot -Da fails with the same set of errors. Below are the error messages it reported.

    bash-3.00# bosboot -a
    dump: /tmp/bosboot_336090_24844/unix_5754: dump: 0654-105 The file is not in a recognized format.
    Specify an executable file, object file, or archive file.
    nm: /tmp/bosboot_336090_24844/unix_5754: 0654-203 Specify an XCOFF object module.
    nm: /tmp/bosboot_336090_24844/unix_5754: 0654-203 Specify an XCOFF object module.
    nm: /tmp/bosboot_336090_24844/unix_5754: 0654-203 Specify an XCOFF object module.
    nm: /tmp/bosboot_336090_24844/unix_5754: 0654-203 Specify an XCOFF object module.
    nm: /tmp/bosboot_336090_24844/unix_5754: 0654-203 Specify an XCOFF object module.
    nm: /tmp/bosboot_336090_24844/unix_5754: 0654-203 Specify an XCOFF object module.
    nm: /tmp/bosboot_336090_24844/unix_5754: 0654-203 Specify an XCOFF object module.

    0301-108 /usr/lib/boot/bin/mkboot_chrp: Unable to read file blocks. Return code : 88

    0301-158 bosboot: mkboot failed to create bootimage.

    0301-165 bosboot: WARNING! bosboot failed - do not attempt to boot device.

    Any idea as to what is going wrong here? How do i go about fixing it?


  • 2.  Re: bosboot -Da fails with errors

    Posted Thu April 22, 2010 04:55 PM

    Originally posted by: SystemAdmin


    There's something wrong with your kernel file. By default, bosboot copies /unix to a temporary working directory. If /unix is missing, then it looks for /usr/lib/boot/unix. Thos are both supposed to be symlinks to a regular file.

    Anyways, the dump and the nm error messages both indicate that file is bogus. You can try to copy the matching version of that file from another machine, or perhaps you can get it from installation media. In any event, it MUST match whatever version of AIX you have installed.


  • 3.  Re: bosboot -Da fails with errors

    Posted Thu April 22, 2010 04:59 PM

    Originally posted by: krisdhar


    Thanks for the response. There is a symlink between /unix and unix_64. Are you saying that /unix is corrupted?

    bash-3.00# ls -l /unix
    lrwxrwxrwx 1 root system 21 Mar 13 2009 /unix -> /usr/lib/boot/unix_64

    Which file did you want me to copy over to this machine? /unix?


  • 4.  Re: bosboot -Da fails with errors

    Posted Thu April 22, 2010 06:09 PM

    Originally posted by: SystemAdmin


    what does ls -l /usr/lib/boot/unix_64 indicate?


  • 5.  Re: bosboot -Da fails with errors

    Posted Sat April 24, 2010 11:25 AM

    Originally posted by: krisdhar


    Hi there,
    I was able to fix those errors by copying over unix_64 from another machine (known good one) to the problematic one. But subsequently the kernel crashed while uninstalling an eFix. :(

    Anyways, i have the drive re-imaged now. Thanks for the suggestions.