Re: trap 3e in OBP when booting from new disk

From: Stefaan A Eeckels (tengo_at_DELETEMEecc.lu)
Date: 02/16/05


Date: Wed, 16 Feb 2005 20:25:15 +0100

On 16 Feb 2005 19:29:28 +0100
Konstantinos Agouros <elwood@agouros.de> wrote:

> I have an Ultra30 into which I built a second hard disk. When I try to
> boot from this disk I get a trap3e in OBP. However if I first du a
> probe-scsi and then boot it works.
>
> The disk is an IBM disk.
>
> Anyobody got a clue, what is causing this?

It's a known incompatibility between OBP and the
firmware in certain IBM disks.

To get the system into a state where it'll boot without
manual intervention, you'll need to install some user code
in the nvramrc.
If you can boot the system, you can load the nvramrc
through the "eeprom" command (/usr/platform/sun4u/sbin/eeprom)
as root:

# eeprom 'use-nvramrc?=true'
# eeprom 'nvramrc=probe-all install-console banner ? \
" Probe UltraSCSI controller to fix trap 3e error" type cr ? \
" /pci@1f,4000/scsi@1" " show-children" execute-device-method drop'

It can also be done through OBP's nvedit command:

STOP-A
ok nvedit
0: probe-all install-console banner
1: " Probe UltraSCSI controller to fix trap 3e error" type cr
2: " /pci@1f,4000/scsi@1" " show-children" execute-device-method
3: drop
4: ^C
ok nvrun
ok nvstore
ok setenv use-nvramrc? true
ok reset-all

The "nvrun" command executes what you've just keyed into the
temporary buffer, useful to test if it works OK.
"nvstore" saves the code to the nvram, and the "setenv"
command tells the system to execute the nvramrc contents on
booting.

Take care,

-- 
Stefaan
-- 
As complexity rises, precise statements lose meaning,
and meaningful statements lose precision. -- Lotfi Zadeh 


Relevant Pages

  • Re: Installation: doesnt see setup files on hard drive?
    ... > disk the BIOS is set to boot from must have an appropriate Master Boot ... I was worried about those points you made above so I removed all drives except the one I want to instll ...
    (microsoft.public.win2000.general)
  • Re: Boot Problem
    ... Was either disk set up as a Microsoft dynamic disk? ... Do not change the boot sector signature. ... I ensure all OK by swapping over drives. ... installing XP as it insisted there was no drive to install itself on! ...
    (microsoft.public.windowsxp.hardware)
  • Re: [SLE] Problems with initrd after mkinitrd
    ... A disk can have three real heads and report a dozen or a hundred! ... > natural metric for partitioning drives that use LBA. ... > - One, less frequent, is the failure of some of the cloned drives to boot ...
    (SuSE)
  • Re: Three Linux Operating Systems in One Computer (Is it possible?)
    ... Hard Disk 1 19.42GiB IDE ... The GRUB boot loader is installed on the first hard disk. ... I am planning to combine /dev/hda6 with /devhda1 using the Gnome Partition ...
    (Ubuntu)
  • Re: Notice of intention to complain
    ... Suppose there actually is a nasty beastie virus on that disk. ... exists and is okay. ... Boot old computer from it's own hard disk. ... I go rummaging again and find a 320MB Panasonic hard disk. ...
    (alt.comp.anti-virus)