Solaris Common Messages and Troubleshooting Guide

TRAP 3E

Cause

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

This is caused by a bad superblock on the boot disk. Which, in turn, could have beee caused by a SCSI configuration problem.

Action

To fix:

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

2. Boot from cdrom in single user.


OK boot cdrom -sw

3. Attempt to fsck(1M) boot disk. This will probably fail with a superblock error.


# fsck /dev/rdsk/device

4. Find out locations of alternate superblocks. 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 superblock, fsck(1M) the disk. You may have to try more than one alternate superblock to get 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 we are booted from the cdrom.


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

7. Reboot the O.S. Should come up now.


# reboot