ITEM: DG8441L

0301-102 mkboot: The IOCTL call failed with a return code of -1



Question:

Env:
  AIX 4.1.5 
  RISC 590
  sysback 3.3.3.17
  
Problem:
  Customer runs this command:
  mksbnetboot -B -d "ethernet" -T rs6k -k mp

He is getting these error messages:

IOCTL error 255:
0301-102 mkboot: The IOCTL call failed with a return code of -1
0301-158 bosboot: mkboot failed to create /tmp/..d_image.

Action Taken:
I had the customer run this command:
bosboot -a  -d /dev/ent1 -b /tmp/boot.ent1  -k /usr/lib/boot/unix_up \\
        -T rs6k

It failed in the exact same way

ls -l | grep ent1= it is there
changed the ent1 file to ent1.bak
rerun the bosboot which worked just fine
I had the customer put the ent1 file back and
changed the mksbnetboot script:

CHANGE:

\# Set device to hardware name used by bosboot
case "$DEVICE" in
   token-ring|tokenring)
                DEVICE=/dev/tok0;;
   ethernet)
                DEVICE=/dev/ent0;;
   
   tok*|ent*|fd*|rfd*)
                DEVICE=/dev/$DEVICE;;
esac


TO:
--

\# Set device to hardware name used by bosboot
case "$DEVICE" in
   token-ring|tokenring)
                DEVICE=/dev/tok;;
   ethernet)
                DEVICE=/dev/ent;;
   
   tok*|ent*|fd*|rfd*)
                DEVICE=/dev/$DEVICE;;
esac

This corrected the problem.  As stated by the NIM development
this is the correct method to run the bosboot command against
the network devices.


Support Line: 0301-102 mkboot: The IOCTL call failed with a return code of -1 ITEM: DG8441L
Dated: July 1997 Category: N/A
This HTML file was generated 99/06/24~13:30:16
Comments or suggestions? Contact us