List Info

Thread: NetBSD/macppc boot: Invalid memory access




NetBSD/macppc boot: Invalid memory access
user name
2006-03-25 22:34:12
Hello,

I am really interested in using NetBSD on my macintosh
powerbook but
unfortunately, I did not succeed in booting NetBSD's kernel
on the
install CD-ROM.

Here are the steps I followed (since I've read the install
guide and
macppc port install notes several times as mentioned  )

- I downloaded the macppccd-3.0.iso with wget from
ftp.NetBSD.org
(several times)
- I burnt it with: 'cdrecord -v dev=/dev/cdrw speed=4 -data
-eject
macppccd-3.0.iso' (several times)
- I booted from OpenFirmware 3 : 'boot cd:,ofwboot.xcf
netbsd.macppc'

and I had this output :
"
...
NetBSD/macppc OpenFirmware Boot revision 1.10
buildb2.netbsd.org Mon Dec 19 01:03:51 UTC 2005
4471564+105540=0x45da2c
start=0x100000

Invalid memory access at SRR0:db6db6db8 SSR1:40003030
"

I do not understand what it means but I cannot boot NetBSD.
I tried to
boot Gentoo Linux and Debian Linux install CDs on the
powerbook which
work fine.

Did I miss something ?

Cheers,
Stéphane aka Liu.Pei

NetBSD/macppc boot: Invalid memory access
user name
2006-03-25 22:52:44
Hi,

On Sat, Mar 25, 2006 at 11:34:12PM +0100, Liu Pei wrote:
> I am really interested in using NetBSD on my macintosh
powerbook but
> unfortunately, I did not succeed in booting NetBSD's
kernel on the
> install CD-ROM.
> 
> Here are the steps I followed (since I've read the
install guide and
> macppc port install notes several times as mentioned
 )
> 
> - I downloaded the macppccd-3.0.iso with wget from
ftp.NetBSD.org
> (several times)
> - I burnt it with: 'cdrecord -v dev=/dev/cdrw speed=4
-data -eject
> macppccd-3.0.iso' (several times)
> - I booted from OpenFirmware 3 : 'boot cd:,ofwboot.xcf
netbsd.macppc'
> 
> and I had this output :
> "
> ...
> NetBSD/macppc OpenFirmware Boot revision 1.10
> buildb2.netbsd.org Mon Dec 19 01:03:51 UTC 2005
> 4471564+105540=0x45da2c
> start=0x100000
> 
> Invalid memory access at SRR0:db6db6db8 SSR1:40003030
> "
I have had the same problem on a Powerbook 6,8 (12'')
It seems that the problem does not appear with older
powerbooks

> Did I miss something ?
Back in february, i tested some patches to get it booting
http://mail-index.netbsd.org/port-macppc/2006/02/10
/0000.html

since then, i have a few "nop" in 
sys/arch/powerpc/oea/ofw_subr.S
(see attached patch)
and since then, all my kernels booted fine
However, i still have no clue why it is working...

Cheers,
antoine
Index: ofw_subr.S
============================================================
=======
RCS file: /cvsroot/src/sys/arch/powerpc/oea/ofw_subr.S,v
retrieving revision 1.2
diff -u -r1.2 ofw_subr.S
--- ofw_subr.S	13 Feb 2003 15:02:49 -0000	1.2
+++ ofw_subr.S	25 Mar 2006 22:51:11 -0000
 -64,6
+64,9 
 	mtlr	30
 1:
 #endif
+	nop
+	nop
+
 	lis	8,openfirmware_entryha
 	stw	5,openfirmware_entryl(8) /* save client
interface handler*/
 
 -85,6
+88,8 
 	lis	9,_C_LABEL(OF_buf)ha
 	stw	8,_C_LABEL(OF_buf)l(9)
 
+	nop
+	nop
 	blr
 
 /*
[1-2]

about | contact  Other archives ( Real Estate discussion Medical topics )