NetBSD-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: port-macppc/22316 (1.6.1 kernels fail to boot on a 1GHz 15" PowerBook
The following reply was made to PR port-macppc/22316; it has been noted by GNATS.
From: Sevan Janiyan <venture37%geeklan.co.uk@localhost>
To: gnats-bugs%NetBSD.org@localhost
Cc:
Subject: Re: port-macppc/22316 (1.6.1 kernels fail to boot on a 1GHz 15"
PowerBook
Date: Sat, 25 Aug 2018 14:55:19 +0100
In https://markmail.org/message/nmzthacf33qdfd7b, Philip Schulz states
"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)."
Using uwe's build of XCOFF bootloader from
http://www.stderr.spb.ru/~uwe/netbsd/macppc/ofwboot.xcf
0 > boot hd:,\uwe-ofwboot.xcf netbsd-INSTALL.gz load-size=13ede
adler32=b9885bc3
loading XCOFF
tsize=fd00 dsize=258 bsize=2770 entry=e0e324
SECTIONS:
.text 00e00000 00e00000 0000fd00 00001000
.pad 00e0fcf4 00e0fcf4 00000300 00010d00
.data 00e10000 00e10000 00000258 00011000
.bss 00e10258 00e10258 00002770 00000000
.gnu.att 00000000 00000000 00000010 00011258
.ident 00000000 00000000 00000076 00011268
loading .text, done..
loading .data, done..
clearing .bss, done..
>> NetBSD/macppc OpenFirmware Boot, Revision 1.12 (Wed Jun 6 00:33:43
UTC 2018)
>> Open Firmware version 3.x
bootline=netbsd-INSTALL.gz
parsefilepath: path = netbsd-INSTALL.gz
parsefilepath: Checking netbsd-INSTALL.gz: dhandle = -1
parsefilepath: filename = netbsd-INSTALL.gz
Trying netbsd-INSTALL.gz
parsefilepath: path = netbsd-INSTALL.gz
parsefilepath: Checking netbsd-INSTALL.gz: dhandle = -1
parsefilepath: filename = netbsd-INSTALL.gz
devopen: devname = /pci@f2000000/mac-io@17/ata-4@1f000/disk@0:0,
filename = netbsd-INSTALL.gz
devopen: opened_name =
/pci@f2000000/mac-io@17/ata-4@1f000/disk@0:0/netbsd-INSTALL.gz
6057988+127224=0x5e64c0
start=0x100000
Decrementer exception at %SRR0: 0000006c %SRR1: 00006c80
ok
0 > .registers
Client's Fix Pt Regs:
00 ff846b58 6c696420 3fc46960 006b5940 006e60f8 00003030 00100268 006c8030
08 00000000 006c8040 00000000 006c8030 40000002 006c0780 0000004b 00000000
10 00000000 00000000 00000000 00e10000 00e10000 006eae48 006eae44 00e0f118
18 00e11f28 00e0f218 006eb000 ff880418 006eadd8 00000004 006d0000 006b57cc
Special Regs:
%IV: 00000000 %SRR0: 0000006c %SRR1: 00006c80
%CR: 80400000 %LR: 006c8040 %CTR: 6c804000 %XER: 40000000
%DAR: 00000000 %DSISR: 00000000 %SDR1: 40000002
%HID0: 006c0780 %HID1: 6c078000 %L3CR: 0000004b %L2CR: 00004b00
%ICTRL: 004b0000 %LDSTDB: 4b000000 %LDSTCR: 00000000 ok
As per https://markmail.org/message/nmzthacf33qdfd7b
Issuing
1 1f lshift not dec!
Changes the error to
Invalid memory access at %SRR0: 0000006c %SRR1: 00006c80
0 > 1 1f lshift not dec! ok
0 > boot hd:,\uwe-ofwboot.xcf netbsd-INSTALL.gz load-size=13ede
adler32=b9885bc3
loading XCOFF
tsize=fd00 dsize=258 bsize=2770 entry=e0e324
SECTIONS:
.text 00e00000 00e00000 0000fd00 00001000
.pad 00e0fcf4 00e0fcf4 00000300 00010d00
.data 00e10000 00e10000 00000258 00011000
.bss 00e10258 00e10258 00002770 00000000
.gnu.att 00000000 00000000 00000010 00011258
.ident 00000000 00000000 00000076 00011268
loading .text, done..
loading .data, done..
clearing .bss, done..
>> NetBSD/macppc OpenFirmware Boot, Revision 1.12 (Wed Jun 6 00:33:43
UTC 2018)
>> Open Firmware version 3.x
bootline=netbsd-INSTALL.gz
parsefilepath: path = netbsd-INSTALL.gz
parsefilepath: Checking netbsd-INSTALL.gz: dhandle = -1
parsefilepath: filename = netbsd-INSTALL.gz
Trying netbsd-INSTALL.gz
parsefilepath: path = netbsd-INSTALL.gz
parsefilepath: Checking netbsd-INSTALL.gz: dhandle = -1
parsefilepath: filename = netbsd-INSTALL.gz
devopen: devname = /pci@f2000000/mac-io@17/ata-4@1f000/disk@0:0,
filename = netbsd-INSTALL.gz
devopen: opened_name =
/pci@f2000000/mac-io@17/ata-4@1f000/disk@0:0/netbsd-INSTALL.gz
6057988+127224=0x5e64c0
start=0x100000
Invalid memory access at %SRR0: 0000006c %SRR1: 00006c80
ok
0 > .registers
Client's Fix Pt Regs:
00 ff846b58 6c696420 3fc46960 006b5940 006e60f8 00003030 00100268 006c8030
08 00000000 006c8040 00000000 006c8030 40000002 006c0780 0000004b 00000000
10 00000000 00000000 00000000 00e10000 00e10000 006eae48 006eae44 00e0f118
18 00e11f28 00e0f218 006eb000 ff880418 006eadd8 00000004 006d0000 006b57cc
Special Regs:
%IV: 00000000 %SRR0: 0000006c %SRR1: 00006c80
%CR: 80400000 %LR: 006c8040 %CTR: 6c804000 %XER: 40000000
%DAR: 00000000 %DSISR: 00000000 %SDR1: 40000002
%HID0: 006c0780 %HID1: 6c078000 %L3CR: 0000004b %L2CR: 00004b00
%ICTRL: 004b0000 %LDSTDB: 4b000000 %LDSTCR: 00000000 ok
I also tried with the boot loader from latest daily build from HEAD
(201808242350Z)
0 > boot hd:,\ofwboot.xcf netbsd-INSTALL.gz load-size=63359
adler32=8d310aff
loading XCOFF
tsize=f5f0 dsize=258 bsize=2750 entry=e00000
SECTIONS:
.text 00e00000 00e00000 0000f5f0 00001000
.pad 00e0f5f0 00e0f5f0 00000a10 000105f0
.data 00e10000 00e10000 00000258 00011000
.bss 00e10258 00e10258 00002750 00000000
.debug_l 00000000 00000000 000083c5 00011258
.debug_s 00000000 00000000 00004beb 0001961d
.gnu.att 00000000 00000000 00000010 0001e208
.ident 00000000 00000000 00000076 0001e218
.debug_i 00000000 00000000 000271f7 0001e28e
.debug_a 00000000 00000000 00007155 00045485
.debug_l 00000000 00000000 0000fe99 0004c5da
.debug_a 00000000 00000000 00000868 0005c473
.debug_r 00000000 00000000 00000dd1 0005ccdb
.debug_f 00000000 00000000 0000268c 0005daac
loading .text, done..
loading .data, done..
clearing .bss, done..
>> NetBSD/macppc OpenFirmware Boot, Revision 1.12 (Fri Aug 24 23:22:10
UTC 2018)
6057988+127224=0x5e64c0
start=0x100000
Decrementer exception at %SRR0: 0000006c %SRR1: 00006c80
ok
0 > .registers
Client's Fix Pt Regs:
00 ff846b58 723d2573 3fc46960 006b5940 006e60f8 00003030 00100268 006c8030
08 00000000 006c8040 00000000 006c8030 40000002 006c0780 0000004b 00000000
10 00000000 00000000 00000000 00000000 00e10000 006eae48 006eae44 00e0ed94
18 00e11f38 00e0eda0 006eb000 ff880418 006eadd8 00000004 006d0000 006b57cc
Special Regs:
%IV: 00000000 %SRR0: 0000006c %SRR1: 00006c80
%CR: 80400000 %LR: 006c8040 %CTR: 6c804000 %XER: 40000000
%DAR: 00000000 %DSISR: 00000000 %SDR1: 40000002
%HID0: 006c0780 %HID1: 6c078000 %L3CR: 0000004b %L2CR: 00004b00
%ICTRL: 004b0000 %LDSTDB: 4b000000 %LDSTCR: 00000000 ok
0 > 1 1f lshift not dec! ok
0 > boot hd:,\ofwboot.xcf netbsd-INSTALL.gz load-size=63359
adler32=8d310aff
loading XCOFF
tsize=f5f0 dsize=258 bsize=2750 entry=e00000
SECTIONS:
.text 00e00000 00e00000 0000f5f0 00001000
.pad 00e0f5f0 00e0f5f0 00000a10 000105f0
.data 00e10000 00e10000 00000258 00011000
.bss 00e10258 00e10258 00002750 00000000
.debug_l 00000000 00000000 000083c5 00011258
.debug_s 00000000 00000000 00004beb 0001961d
.gnu.att 00000000 00000000 00000010 0001e208
.ident 00000000 00000000 00000076 0001e218
.debug_i 00000000 00000000 000271f7 0001e28e
.debug_a 00000000 00000000 00007155 00045485
.debug_l 00000000 00000000 0000fe99 0004c5da
.debug_a 00000000 00000000 00000868 0005c473
.debug_r 00000000 00000000 00000dd1 0005ccdb
.debug_f 00000000 00000000 0000268c 0005daac
loading .text, done..
loading .data, done..
clearing .bss, done..
>> NetBSD/macppc OpenFirmware Boot, Revision 1.12 (Fri Aug 24 23:22:10
UTC 2018)
6057988+127224=0x5e64c0
start=0x100000
Invalid memory access at %SRR0: 0000006c %SRR1: 00006c80
ok
0 > .registers
Client's Fix Pt Regs:
00 ff846b58 723d2573 3fc46960 006b5940 006e60f8 00003030 00100268 006c8030
08 00000000 006c8040 00000000 006c8030 40000002 006c0780 0000004b 00000000
10 00000000 00000000 00000000 00000000 00e10000 006eae48 006eae44 00e0ed94
18 00e11f38 00e0eda0 006eb000 ff880418 006eadd8 00000004 006d0000 006b57cc
Special Regs:
%IV: 00000000 %SRR0: 0000006c %SRR1: 00006c80
%CR: 80400000 %LR: 006c8040 %CTR: 6c804000 %XER: 40000000
%DAR: 00000000 %DSISR: 00000000 %SDR1: 40000002
%HID0: 006c0780 %HID1: 6c078000 %L3CR: 0000004b %L2CR: 00004b00
%ICTRL: 004b0000 %LDSTDB: 4b000000 %LDSTCR: 00000000 ok
Home |
Main Index |
Thread Index |
Old Index