Solaris Common Messages and Troubleshooting Guide

TRAP 3E

Cause

The Ultra system fails to boot with TRAP 3E. The system sometimes also displays bad magic number errors.

This error is caused by a bad super block on the boot disk. Which, in turn, could have been caused by a SCSI configuration problem.

Action

To fix:

  1. Check the SCSI bus for illegal configuration, bad cables, and duplicate SCSI addresses.

  2. Boot from CD-ROM as single user.


    OK boot cdrom -sw
    

  3. Attempt to fsck(1M) boot disk. This could fail with a super block error.


    # fsck /dev/rdsk/device
    

  4. Find the locations of alternate super blocks. BE SURE TO USE AN UPPERCASE -N. For example:


    # newfs -N /dev/rdsk/c0t0d0s0
    /dev/rdsk/c0t0d0s0:     2048960 sectors in 1348 cylinders of 19 tracks, 
    80 sectors 1000.5MB in 85 cyl groups (16 c/g, 11.88MB/g, 5696 i/g)
    super-block backups (for fsck -F ufs -o b=#) at:
    32, 24432, 48832, 73232, 97632, 122032, 146432, 170832, 195232, 219632,
    244032, 268432, 292832, 317232, 341632, 366032, 390432, 414832, 439232,
    463632, 488032, 512432, 536832, 561232, 585632, 610032, 634432, 658832,
    683232, 707632, 732032, 756432, 778272, 802672, 827072, 851472, 875872,
    900272, 924672, 949072, 973472, 997872, 1022272, 1290672, ...

  5. Using an alternate super block, run fsck(1M) on the disk. You might have to try more than one alternate super block to make this to work. Pick a couple from the beginning, the middle, and the end.


    # fsck -o b=<altblk> /dev/rdsk/c0t0d0s0

  6. The boot block is probably bad too. Restore it while you are booted from the CD-ROM.


    # /usr/sbin/installboot /usr/platform/architecture/lib/fs/ufs/bootblk 
    /dev/rdsk/c0t0d0s0

  7. Reboot the operating environment.


    # reboot