"Trap 3e" OBP error on Ultra 5.


 
Thread Tools Search this Thread
Operating Systems Solaris "Trap 3e" OBP error on Ultra 5.
# 1  
Old 04-14-2007
"Trap 3e" OBP error on Ultra 5.

My Ultra 5 (Solaris 10) is now unbootable, with the OBP failing with error "trap 3e" When it tries to boot from disk.

Disk is a Maxtor 80GB IDE, and was working previously.

I've booted to cdrom and run "Format" from Single user, but when I try to read the disk, it just core dumps.

I have no reason to believe this disk is bad.

Can anyone offer any guidance on troubleshooting this?


Thank you in advance,
Akbar.
# 2  
Old 04-14-2007
This error is caused by a bad super block on the boot disk.

Boot CD-ROM in single user mode.

Code:
# fsck /dev/rdsk/<device>

This may report a super-block error.
Code:
# newfs -N /dev/rdsk/<device> 
/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, ...

Your output will not be the same, but the list of numbers is the important bit.

Code:
fsck -o b=<altblock> /dev/rdsk/<device>

Where <altblock> is one of the numbers in the list ( you may need to do this several times with different superblocks, if so choose one from the start one from the middle and one from the end )
Code:
/usr/sbin/installboot /usr/platform/`uname -i`/lib/fs/ufs/bootblk /dev/rdsk/<device>

And reboot.
# 3  
Old 04-18-2007
Reborg, thank you for your response. Unfortunately, I was not able to resolve my issue using the information provided. At a certain point it became easier to reinstall the OS.

Thank you for your assitance though
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Bash script - Print an ascii file using specific font "Latin Modern Mono 12" "regular" "9"

Hello. System : opensuse leap 42.3 I have a bash script that build a text file. I would like the last command doing : print_cmd -o page-left=43 -o page-right=22 -o page-top=28 -o page-bottom=43 -o font=LatinModernMono12:regular:9 some_file.txt where : print_cmd ::= some printing... (1 Reply)
Discussion started by: jcdole
1 Replies

2. Shell Programming and Scripting

Trap triggered by "wrong parenthesizes" ?

I have following traps(s) in my code Line 913 triggers one of the traps with parenthesizes around (case-insensitive). Checked by removing them. Since it is a text I do not mind removing the offending () . But why it triggers both traps ? PS Where does the "bad" in trap... (0 Replies)
Discussion started by: annacreek
0 Replies

3. UNIX for Dummies Questions & Answers

Using "mailx" command to read "to" and "cc" email addreses from input file

How to use "mailx" command to do e-mail reading the input file containing email address, where column 1 has name and column 2 containing “To” e-mail address and column 3 contains “cc” e-mail address to include with same email. Sample input file, email.txt Below is an sample code where... (2 Replies)
Discussion started by: asjaiswal
2 Replies

4. Solaris

Trap signal on Window Manager "X" button clicked?

Well, my first post... thanks in advance! Can applications be notified of the X Window close (with "X" button) so the signal handler can run a cleanup process method? About the app: built with GNU C/C++ on Solaris 10, with WxWidgets. It is launched by a shell script as a background task. The... (2 Replies)
Discussion started by: HandsOGold
2 Replies

5. UNIX for Dummies Questions & Answers

Unix "look" Command "File too large" Error Message

I am trying to find lines in a text file larger than 3 Gb that start with a given string. My command looks like this: $ look "string" "/home/patrick/filename.txt" However, this gives me the following message: "look: /home/patrick/filename.txt: File too large" So, I have two... (14 Replies)
Discussion started by: shishong
14 Replies

6. Shell Programming and Scripting

awk command to replace ";" with "|" and ""|" at diferent places in line of file

Hi, I have line in input file as below: 3G_CENTRAL;INDONESIA_(M)_TELKOMSEL;SPECIAL_WORLD_GRP_7_FA_2_TELKOMSEL My expected output for line in the file must be : "1-Radon1-cMOC_deg"|"LDIndex"|"3G_CENTRAL|INDONESIA_(M)_TELKOMSEL"|LAST|"SPECIAL_WORLD_GRP_7_FA_2_TELKOMSEL" Can someone... (7 Replies)
Discussion started by: shis100
7 Replies

7. UNIX for Dummies Questions & Answers

Sun ultra 5 "re-trying host configuration"

I just reciently purchased a Sun Ultra 5. I changed the network settings to work with my router (at least thats what I thought I was doing). After I rebooted I keep getting the message "Re-trying host configuration" over and over again. Since this is during the boot up it never lets me get to... (5 Replies)
Discussion started by: Kiotaya
5 Replies

8. Shell Programming and Scripting

unix "trap" command behaviour

Hi I am using "trap" command in my script to prevent the user from running Ctrl-C during the its execution. My script creates number of children processes which in turn create some children processes as well during the execution. When user / tester tries to run Ctrl-C, the parent process is... (1 Reply)
Discussion started by: aoussenko
1 Replies

9. HP-UX

ERROR: more than one instance of overloaded function "vprintf" has "C" linkage

Hi people! I've got this own library: -------------------------------------------- Personal.h -------------------------------------------- #ifdef __cplusplus extern "C" { #endif #include <stdio.h> #include <stdarg.h> #include <string.h> ... (0 Replies)
Discussion started by: donatoll
0 Replies

10. UNIX for Dummies Questions & Answers

"trap" password expiration message

The majority of the users on our system are "captured" users where they log into script that is launched via their .profile. The password expiration message flashes by very quickly before they get the "menu" portion of the script to continue. Other than a sleep at scripts startup to slow... (2 Replies)
Discussion started by: MizzGail
2 Replies
Login or Register to Ask a Question