Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 8 Jul 2008 19:41:53 +0200
From:      "Philip Schulz" <philip.s.schulz@googlemail.com>
To:        ross@grinz.com
Cc:        freebsd-ppc@freebsd.org
Subject:   Re: CD boot fails (Decrementer exception)
Message-ID:  <1c66db910807081041n4f58a5b8rf083ed65b61ed79a@mail.gmail.com>
In-Reply-To: <50246.166.214.185.147.1215527482.squirrel@grinzport.grinz.com>

index | next in thread | previous in thread | raw e-mail

2008/7/8 Ross Gohlke <ross@grinz.com>:
> I am finally getting around to the Xserve installation I asked about
> previously:
> FreeBSD 7.0-RELEASE installer CD (burned on an iBook a month ago)
> Xserve G4 Dual 1GHz
> Following these instructions:
> http://people.freebsd.org/~grehan/iso_install.txt
>
> Boot holding down 'c' does not work.
> Boot into Open Firmware (hold down Cmd-Opt-o-f) and issue:
> 0 > boot cd:,\boot\loader cd:0
>
> OF finishes loading, then reports:
> Decrementer exception at %SRR0: 0035fc04   %SRR1: 00002032
>  ok
> 0 >
>

Does the loader start at all?

I haven't experienced the issue myself, but I think what happens is
that Open Firmware enables interrupts before the kernel has a chance
to install its own exception handlers. I have seen reports that the
exception occurs both on NetBSD and OpenBSD. The latter seems to have
added a workaround: They set the decrementer register to a very high
value, very early in the boot process (possibly even in their loader).

You can accomplish the same from Open Firmware:

> 1 1f lshift not dec!

This should set the decrementer register to 0x7fffffff which is the
highest possible value. This should give you enough time to execute
the loader and start the kernel.

You could also try and start the kernel directly, without the loader.

HTH,

Philip


home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1c66db910807081041n4f58a5b8rf083ed65b61ed79a>