OpenVMS image backup reports arithmetic trap, integer divide by zero

OpenVMS image backup reports arithmetic trap, integer divide by zero

Problem

"BACKUP/IMAGE" command results in "arithmetic trap / integer divide by zero" error message.

Example:

$ BACKUP /IMAGE /LOG /IGNORE=INTERLOCK DKA0: DKA100:
%SYSTEM-F-INTDIV, arithmetic trap, integer divide by zero at PC=8048EA98, PS=000 0001B

Affected OpenVMS versions:

  • OpenVMS 6.2-1H3 and below

  • VAX/VMS 6.2-1H3 and below

Affected Charon versions:

  • CHARON-AXP version 4.3 build 14600
    • Solved starting with CHARON-AXP V4.3 build 14601
    • V4.4 build 14802 and above are not affected
  • CHARON-VAX / Linux below build 12100
    • Solved starting with CHARON-VAX build 12100

Solution

This is related to disk size limitation and geometry

(blue star) Default geometry is set to 63 sectors per track and 63 tracks per cylinder

  • Disk images and physical disks can then be used without any issue if their size is less than 128GB
  • For disk images and physical disks larger then 128GB and up to 2TB, override disk geometry from the configuration file as follows:

    set <controller-name> geometry[<unit-no>] = "255/255"

    Example (for DKA100):

    set PKA geometry[100] = "255/255"

    .

(info) Use the "$ SHOW DEVICE <disk> /FULL" command to get disk geometry information
Example:

$ SHOW DEVICE DKA100 /FULL
...
Total blocks        286744185    Sectors per track           63
Total cylinders          6710    Tracks per cylinder         63

...



© Stromasys, 1999-2025  - All the information is provided on the best effort basis, and might be changed anytime without notice. Information provided does not mean Stromasys commitment to any features described. 
Need fast, reliable migration? We have done it countless times. Talk to an expert