Subject: Re: boot netbsd -current on recent powerbook g4
To: None <port-macppc@NetBSD.org>
From: Antoine Reilles <Antoine.Reilles@loria.fr>
List: port-macppc
Date: 02/04/2006 15:18:11
--xXmbgvnjoT4axfJE
Content-Type: multipart/mixed; boundary="cWoXeonUoKmBZSoM"
Content-Disposition: inline


--cWoXeonUoKmBZSoM
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

Hi,

Since i still can't boot netbsd on my powerbook 12', getting=20
Invalid memory access or Decrementer exception while ofwboot.xcf tries
to load the kernel (see previous posts), i tried to get a smaller
kernel, hoping it would help avoiding the memory problem.

Got a 1.8M uncompressed kernel, it still does not boot (both ofwboot.xcf
and the kernel being placed on an hfs partition)
I tried to change the RELOC entry in ofwboot/Makefile, hoping it will
help, but i ran out of luck, and again had the "Decrementer exception".

I don't know what to try next. Do you know anything i could try to get
this booting, or simply to get a better understanding of the problem ?

Regards,
antoine

--cWoXeonUoKmBZSoM
Content-Type: text/plain; charset=us-ascii
Content-Disposition: attachment; filename="ofwboot.patch"
Content-Transfer-Encoding: quoted-printable

? .gdbinit
? lib
? ofwboot
? ofwboot.el1
? ofwboot.elf
? ofwboot.mrg
? ofwboot.xcf
? vers.c
Index: Makefile
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
RCS file: /cvsroot/src/sys/arch/macppc/stand/ofwboot/Makefile,v
retrieving revision 1.45
diff -u -r1.45 Makefile
--- Makefile	11 Dec 2005 12:18:06 -0000	1.45
+++ Makefile	4 Feb 2006 14:04:53 -0000
@@ -42,7 +42,9 @@
=20
 # For now...
 #RELOC=3D		20000
-RELOC=3D		E00000
+#RELOC=3D		E00000
+RELOC=3D                640000
+RELOC_FLATFILE=3D       600000
=20
 ENTRY=3D		_start
=20

--cWoXeonUoKmBZSoM--

--xXmbgvnjoT4axfJE
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (Darwin)

iD8DBQFD5Lej4VqmoGDE/mwRAhgxAJ4zL9GnDeByE/dZAr847c/cvitKgwCfePnE
xbr2xiZLRYqbQT4Zlt5olAg=
=zlHe
-----END PGP SIGNATURE-----

--xXmbgvnjoT4axfJE--