Subject: Re: Cannot boot netbsd-3.0 on my powerbook 12'
To: None <port-macppc@netbsd.org>
From: Antoine Reilles <Antoine.Reilles@loria.fr>
List: port-macppc
Date: 02/08/2006 15:36:33
Hi,

On Wed, Jan 04, 2006 at 01:43:09PM +0100, Antoine Reilles wrote:
> On Tue, Dec 27, 2005 at 03:07:34PM +0100, Olivier MATZ wrote:
> > I tried to boot netbsd on my powerbook laptop :
> >   12' (feb 2005)
> >   768MB DDR333 (256MB built-in + 512MB SO-DIMM)
> >   80GB Ultra ATA drive (5400rpm)
> >   8x SuperDrive (DVD R/CD-RW)
> >   AirPort Extreme Card
> >   Keyboard & Mac OS  768MB RAM
> I'm sorrry i can't give a solution, but just confirm that i can
> reproduce the same problem on a similar machine, differing only by 1GB
> DIMM instead of 512MB.
> It happens to boot sometime with low probability
> 
> http://mail-index.netbsd.org/port-macppc/2005/10/28/0001.html

To help identify the problem, i followed the steps from:
http://mail-index.netbsd.org/port-macppc/2004/08/30/0015.html
to get more information on the issue.
I tried that with a -current kernel, on a very similar Powerbook 6,8
(the only difference is the 1GB DIMM), with both ofwboot.xcf and the
kernel being on a small HFS partition.
Here is the output, i hope it can help to get what is wrong here

Regards,
antoine


0 > boot hd:2,\ofwboot.xcf hd:2,/netbsd load-size=f1e4 adler32=dadb0426 

loading XCOFF

tsize=ee50 dsize=2b4 bsize=25c0 entry=e00000 
SECTIONS:
.text    00e00000 00e00000 0000ee50 000000e0
.data    00e0f000 00e0f000 000002b4 0000ef30
.bss     00e0f2b8 00e0f2b8 000025c0 00000000
loading .text, done..
loading .data, done..
clearing .bss, done..

>> NetBSD/macppc OpenFirmware Boot, Revision 1.10
>> (tonio@193.180.97-84.rev.gaoland.net, Sat Feb  4 16:33:38 CET 2006)
1550068+158792 [112736+104103]=0x1d6610
 start=0x100000

Invalid memory access at   %SRR0: db6db6d8   %SRR1: 40003030 
 ok
0 > .registers 
Client's Fix Pt Regs:
 00 ff846c00 db6db6db 4fc46a08 002760cc 002712d4 00003030 00100250 0027be48
 08 00000000 00270000 00000004 0029ec28 40000082 00000000 00000000 00000000
 10 00000000 00000000 00000000 00000000 00000000 00000000 002e1000 00100000
 18 00290000 002e0ec4 00280000 00295ec4 002681c4 ff8985d8 00000100 002760cc
Special Regs:
    %IV: 00000400   %SRR0: db6db6d8   %SRR1: 40003030    %MSR: 00000000 
    %CR: 20004044     %LR: 4fc46a08    %CTR: 00000000    %XER: 20000000 
 %DSISR: 42000000    %DAR: 00e19000   %SDR1: 4ffe0000 
 %SPRG0: ff846c00  %SPRG1: db6db6db  %SPRG2: 4fc46a08  %SPRG3: 4ffdf200 
 ok
0 > %SRR0 10 - 20 dis 
00000020: 00000000
00000024: 00000000        
00000028: 00000000
0000002c: 00000000
00000030: 00000000
00000034: 00000000
00000038: 00000000
0000003c: 00000000
00000040: 00000000
00000044: 00000000
00000048: 00000000
0000004c: 00000000
00000050: 00000000
00000054: 00000000
00000058: 00000000
0000005c: 00000000
00000060: 00000000
00000064: 00000000
00000068: 00000000
0000006c: 00000000
00000070: 00000000        
00000074: 00000000
00000078: 00000000
0000007c: 00000000
00000080: 00000000
00000084: 00000000
00000088: 00000000
0000008c: 00000000
00000090: 00000000
00000094: 00000000
00000098: 00000000
0000009c: 00000000
000000a0: 00000000
000000a4: 00000000
000000a8: 00000000
000000ac: 00000000
000000b0: 00000000
000000b4: 00000000
000000b8: 00000000
000000bc: 00000000        
000000c0: 00000000
000000c4: 00000000
000000c8: 00000000
000000cc: 00000000
000000d0: 00000002
000000d4: 80013000
000000d8: 00000000
000000dc: 00000000
000000e0: 00000000
000000e4: 00000000
000000e8: 00000000
000000ec: 00000000
000000f0: 00000000
000000f4: 00000000
000000f8: 00000000
000000fc: 00000000
00000100: 7c1043a6
00000104: 7c0802a6
00000108: 7c3143a6        
0000010c: 480001e3
00000110: 00000000
00000114: 00000000
00000118: 00000000
0000011c: 00000000
00000120: 00000000
00000124: 00000000
00000128: 00000000
0000012c: 00000000
00000130: 00000000
00000134: 00000000
00000138: 00000000
0000013c: 00000000
00000140: 00000000
00000144: 00000000
00000148: 00000000
0000014c: 00000000
00000150: 00000000
00000154: 00000000        
00000158: 00000000
0000015c: 00000000
00000160: 00000000
00000164: 00000000
00000168: 00000000
0000016c: 00000000
00000170: 00000000
00000174: 00000000
00000178: 00000000
0000017c: 00000000
00000180: 00000000
00000184: 00000000
00000188: 00000000
0000018c: 00000000
00000190: 00000000
00000194: 00000000
00000198: 00000000
0000019c: 00000000