NetBSD Problem Report #22316

Received: (qmail 13245 invoked by uid 605); 31 Jul 2003 06:31:51 -0000
Message-Id: <200307310631.h6V6VHd08468@ni-jute.exodus.worst.com>
Date: Wed, 30 Jul 2003 23:31:17 -0700 (PDT)
From: cyber@ono-sendai.com
Sender: gnats-bugs-owner@NetBSD.org
Reply-To: cyber@ono-sendai.com
To: gnats-bugs@gnats.netbsd.org
Subject: 1.6.1 kernels fail to boot on a 1GHz 15" PowerBook
X-Send-Pr-Version: 3.95

>Number:         22316
>Category:       port-macppc
>Synopsis:       1.6.1 kernels fail to boot on a 1GHz 15" PowerBook
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    port-macppc-maintainer
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Jul 31 06:32:00 +0000 2003
>Closed-Date:    
>Last-Modified:  Mon Apr 09 04:20:00 +0000 2018
>Originator:     Erik Berls
>Release:        NetBSD 1.6.1
>Organization:
>Environment:
Architecture: macppc
Machine: macppc
>Description:
	bootstrap for 1.6.1 works, but install kernel fails to run.

>How-To-Repeat:
	Burn a CD from ftp://ftp.netbsd.org/pub/NetBSD/iso/1.6.1/macppccd.iso
	Insert Disk, bring system up into OpenFirmware and type:
	boot cd:,\ofwboot.xcf /netbsd.macppc

	Observe bootstrap info notice followed by:

3863476+219148 [188832+156914]=0x4394b8
 start=0x100000
Invalid memory access at   %SRR0:  0000004b    %SRR1: 00004b00

>Fix:
>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->feedback
State-Changed-By: macallan@netbsd.org
State-Changed-When: Wed, 16 Aug 2006 09:20:09 +0000
State-Changed-Why:
does this still happen?


From: matthew green <mrg@eterna.com.au>
To: gnats-bugs@NetBSD.org
Cc: port-macppc-maintainer@netbsd.org, netbsd-bugs@netbsd.org,
	gnats-admin@netbsd.org, macallan@netbsd.org, cyber@ono-sendai.com
Subject: re: port-macppc/22316 (1.6.1 kernels fail to boot on a 1GHz 15" PowerBook) 
Date: Thu, 17 Aug 2006 08:12:33 +1000

    Synopsis: 1.6.1 kernels fail to boot on a 1GHz 15" PowerBook

    State-Changed-From-To: open->feedback
    State-Changed-By: macallan@netbsd.org
    State-Changed-When: Wed, 16 Aug 2006 09:20:09 +0000
    State-Changed-Why:
    does this still happen?


 does to me.  with the latest from NetBSD-daily:

 	 ok
 	0 > boot hd:3,\ofwboot.xcf hd:3,/netbsd load-size=c554 adler32=f1a668fa
 	loading XCOFF

 	tsize=c240 dsize=234 bsize=29c0 entry=e00000
 	SECTIONS:
 	.text	00e00000 00e00000 0000c240 000000e0
 	.data	00e0d000 00e0d000 00000234 0000c320
 	.bss	00e0d238 00e0d238 000029c0 00000000
 	loading .text, done..
 	loading .data, done..
 	clearing .bss, done...

 	>> NetBSD/macppc OpenFirmware Boot, Revision 1.10
 	>> (riz@b2.netbsd.org, Fri Aug 11 15:39:35 UTC 2006)
 	5733268read text
 	 start=0x0

 	Invalid memory access at   %SRR0: 80800000   %SRR1: 800000d0
 	 ok
 	0 >

 (ten finger copy)


 .mrg.

State-Changed-From-To: feedback->open
State-Changed-By: dholland@NetBSD.org
State-Changed-When: Thu, 10 Apr 2008 01:32:21 +0000
State-Changed-Why:
Suitable feedback received, as of 2006.
Anyone want to check again?


From: matthew green <mrg@eterna.com.au>
To: gnats-bugs@NetBSD.org
Cc: port-macppc-maintainer@netbsd.org, netbsd-bugs@netbsd.org,
    gnats-admin@netbsd.org, macallan@netbsd.org, cyber@ono-sendai.com
Subject: re: port-macppc/22316 (1.6.1 kernels fail to boot on a 1GHz 15" PowerBook) 
Date: Fri, 11 Apr 2008 13:54:14 +1000

 still crashes with this weeks -current build.  looks
 the same as my prior report except that it now reads:

 Invalid memory access at   %SRR0:  00000075    %SRR1:  00007500

 ie, the values in %SRR0 and %SRR1 are different now.


 .mrg.

From: Alexander Hedges <ahedges@student.ethz.ch>
To: <gnats-bugs@NetBSD.org>
Cc: 
Subject: Re: port-macppc/22316 (1.6.1 kernels fail to boot on a 1GHz 15"
 PowerBook)
Date: Thu, 21 Sep 2017 16:35:38 +0200

 Is there a workaround for installing NetBSD on a PowerBook or does nobody run NetBSD on that Hardware?

From: David Holland <dholland-bugs@netbsd.org>
To: gnats-bugs@netbsd.org
Cc: Alexander Hedges <ahedges@student.ethz.ch>
Subject: Re: port-macppc/22316 (1.6.1 kernels fail to boot on a 1GHz 15"
 PowerBook)
Date: Sat, 30 Sep 2017 18:16:27 +0000

 On Thu, Sep 21, 2017 at 02:40:01PM +0000, Alexander Hedges wrote:
  > Is there a workaround for installing NetBSD on a PowerBook or does
  > nobody run NetBSD on that Hardware?

 I don't know, but there are a lot of powerbook models and I don't
 think this issue affects most of them.

 -- 
 David A. Holland
 dholland@netbsd.org

From: Sevan Janiyan <venture37@geeklan.co.uk>
To: gnats-bugs@NetBSD.org
Cc: 
Subject: Re: port-macppc/22316 (1.6.1 kernels fail to boot on a 1GHz 15"
 PowerBook
Date: Sun, 8 Apr 2018 23:52:28 +0100

 Just picked a 867Mhz 15" PowerBook which may possible be the lower spec
 sibling of Eric's 1Ghz system (PowerBook3,5).

 Issue still persists with latest ofwboot.xcf and netbsd from HEAD.

 On a cold boot, I get:
 Decrement exception at %SRR0: 0000006c %SRR1: 00006c6a

 Rebooting and trying again, I get:
 Invalid memory access at %SRR0: 0000006c %SRR1: 00006c6a

 Different error messages, but same addresses.

From: matthew green <mrg@eterna.com.au>
To: gnats-bugs@NetBSD.org
Cc: port-macppc-maintainer@netbsd.org, gnats-admin@netbsd.org,
    netbsd-bugs@netbsd.org, cyber@ono-sendai.com
Subject: re: port-macppc/22316 (1.6.1 kernels fail to boot on a 1GHz 15" PowerBook
Date: Mon, 09 Apr 2018 09:53:06 +1000

 ah, i guess i never sent this info to the PR.

 a short while ago i tested building a kernel with FIRMWORKSBUG
 option enabled.  this gives a different failure mode -- but
 unfortunately it hangs hard instead of giving you the prom.

 so the problem may be related to openfirmware() on these
 systems.


 .mrg.

From: Sevan Janiyan <venture37@geeklan.co.uk>
To: gnats-bugs@NetBSD.org
Cc: 
Subject: Re: port-macppc/22316 (1.6.1 kernels fail to boot on a 1GHz 15"
 PowerBook
Date: Mon, 9 Apr 2018 01:15:40 +0100

 I started looking around too see if I could find anything else out.
 I stumbled across this alternative bootloader[1], it produced the same
 results as I previously reported. Just for fun I tried using our kernel
 with the OpenBSD ofwboot, everything failed the same way (invalid memory
 access). OpenBSD ofwboot has no such issue booting their bsd.rd however.

 Reason I was pocking at bootloader was because I came to this PR from
 another related to booting the G4 Mac Mini, and there uwe poked at
 ofwboot.xcf.


 [1] http://www.dialectronics.com/bootloader/

From: matthew green <mrg@eterna.com.au>
To: gnats-bugs@NetBSD.org
Cc: port-macppc-maintainer@netbsd.org, gnats-admin@netbsd.org,
    netbsd-bugs@netbsd.org, cyber@ono-sendai.com
Subject: re: port-macppc/22316 (1.6.1 kernels fail to boot on a 1GHz 15" PowerBook
Date: Mon, 09 Apr 2018 10:37:08 +1000

 yeah, i don't think ofwboot is the issue.  unless it fails to setup
 the kernel properly, it's the early kernel running that hangs, so
 the fix is very likely in the startup code.


 .mrg.

From: Michael <macallan@netbsd.org>
To: gnats-bugs@NetBSD.org
Cc: 
Subject: Re: port-macppc/22316 (1.6.1 kernels fail to boot on a 1GHz 15"
 PowerBook
Date: Mon, 9 Apr 2018 00:15:49 -0400

 >  yeah, i don't think ofwboot is the issue.  unless it fails to setup
 >  the kernel properly, it's the early kernel running that hangs, so
 >  the fix is very likely in the startup code.

 In my recent G5 hackery I had similar issues with OF loading the kernel
 directly - IIRC OF throws this error if we somehow cause an interrupt
 ( not necessarily a decrementer exception ) early on before installing
 our own handlers.

 have fun
 Michael

>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.43 2018/01/16 07:36:43 maya Exp $
$NetBSD: gnats_config.sh,v 1.9 2014/08/02 14:16:04 spz Exp $
Copyright © 1994-2017 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.