Subject: Upgrading to -current fails
To: None <port-sgimips@netbsd.org>
From: Havard Eidnes <he@netbsd.org>
List: port-sgimips
Date: 01/13/2005 23:06:37
Hi,
trying to upgrade from 2.99.11 to 2.99.13 (using newly built
toolchain) results in the following messages during early startup:
>> boot
NetBSD/sgimips 1.5Y Bootstrap, Revision 1.0
(he@viola.urc.uninett.no, Mon Jul 12 12:31:09 CEST 1993)
Mem block: type 0 base 0x0 size 0x1000
Mem block: type 1 base 0x1000 size 0x1000
Mem block: type 3 base 0x8002000 size 0x73e000
Mem block: type 6 base 0x8740000 size 0xc0000
Mem block: type 3 base 0x8800000 size 0x800000
Mem block: type 5 base 0x9000000 size 0xc000
Mem block: type 3 base 0x900c000 size 0xeff4000
Local storage 887fe168
argv[0]: scsi(0)disk(2)rdisk(0)partition(8)/boot
argv[1]: ConsoleIn=3Dserial(0)
argv[2]: ConsoleOut=3Dserial(0)
argv[3]: SystemPartition=3Dscsi(0)disk(2)rdisk(0)partition(8)
argv[4]: OSLoader=3Dboot
argv[5]: OSLoadPartition=3Dscsi(0)disk(2)rdisk(0)partition(0)
argv[6]: OSLoadFilename=3D/netbsd
Boot: scsi(0)disk(2)rdisk(0)partition(0)/netbsd
devopen: scsi(0)disk(2)rdisk(0)partition(0) type scsi file /netbsd
diskopen: 0,2,0 scsi(0)disk(2)rdisk(0)partition(0)
1783056
Exception: <vector=3DUTLB Miss>
Status register: 0x30044803<CU1,CU0,CH,IM7,IM4,IPL=3D???,MODE=3DKERNEL,=
EXL,IE>
Cause register: 0x8008<CE=3D0,IP8,EXC=3DRMISS>
Exception PC: 0x0, Exception RA: 0x890005b8
exception, bad address: 0x0
Local I/O interrupt register 2: 0xc8 <EISA,SLOT0,SLOT1>
Saved user regs in hex (&gpda 0xa8740e48, &_regs 0xa8741048):
arg: a8740000 8900bac0 2000 0
tmp: a8740000 8900b9e8 8900bac0 2000 1 8900b7a0 0 887fdbe4
sve: a8740000 3 400000 8000000 16 3f80 0 10000000
t8 a8740000 t9 0 at 0 v0 0 v1 0 k1 0
gp a8740000 fp 0 sp 0 ra 0
PANIC: Unexpected exception
[Press reset or ENTER to restart.]
Booting the old kernel works as expected.
Any idea what might be going on?
Here's "objdump -h" output from the bad kernel:
viola: {4} objdump -h /netbsd
/netbsd: file format elf32-bigmips
Sections:
Idx Name Size VMA LMA File off Algn
0 .text 0017f060 88002000 88002000 00002000 2**4
CONTENTS, ALLOC, LOAD, READONLY, CODE
1 .rodata 0002bff0 88181060 88181060 00181060 2**4
CONTENTS, ALLOC, LOAD, READONLY, DATA
2 link_set_pools 00000118 881ad050 881ad050 001ad050 2**2
CONTENTS, ALLOC, LOAD, READONLY, DATA
3 link_set_sysctl_funcs 00000080 881ad168 881ad168 001ad168 2**2
CONTENTS, ALLOC, LOAD, READONLY, DATA
4 link_set_malloc_types 00000100 881ad1e8 881ad1e8 001ad1e8 2**2
CONTENTS, ALLOC, LOAD, READONLY, DATA
5 link_set_dkwedge_methods 00000004 881ad2e8 881ad2e8 001ad2e8 2*=
*2
CONTENTS, ALLOC, LOAD, READONLY, DATA
6 link_set_bufq_strats 0000000c 881ad2ec 881ad2ec 001ad2ec 2**2
CONTENTS, ALLOC, LOAD, READONLY, DATA
7 link_set_evcnts 00000030 881ad2f8 881ad2f8 001ad2f8 2**2
CONTENTS, ALLOC, LOAD, READONLY, DATA
8 .reginfo 00000018 881ad328 881ad328 001ad328 2**2
CONTENTS, ALLOC, LOAD, READONLY, DATA, LINK_ONCE_SAME=
_SIZE
9 .data 000061c0 881ad340 881ad340 001ad340 2**4
CONTENTS, ALLOC, LOAD, DATA
10 .sdata 00000010 881b3500 881b3500 001b3500 2**4
CONTENTS, ALLOC, LOAD, DATA
11 .bss 0002133c 881b3510 881b3510 001b3510 2**4
ALLOC
12 .pdr 0001f640 00000000 00000000 001b3510 2**2
CONTENTS, READONLY
13 .mdebug.abi32 00000000 00000000 00000000 001d2b50 2**0
CONTENTS, READONLY
14 .comment 00003250 00000000 00000000 001d2b50 2**0
CONTENTS, READONLY
15 .ident 00004372 00000000 00000000 001d5da0 2**0
CONTENTS, READONLY
viola: {5} =
and here's the previous good one:
viola: {5} objdump -h /netbsd.old
/netbsd.old: file format elf32-bigmips
Sections:
Idx Name Size VMA LMA File off Algn
0 .text 00178b30 88002000 88002000 00001000 2**4
CONTENTS, ALLOC, LOAD, READONLY, CODE
1 .rodata 0002ba80 8817ab30 8817ab30 00179b30 2**4
CONTENTS, ALLOC, LOAD, READONLY, DATA
2 link_set_pools 0000011c 881a65b0 881a65b0 001a55b0 2**2
CONTENTS, ALLOC, LOAD, READONLY, DATA
3 link_set_sysctl_funcs 00000080 881a66cc 881a66cc 001a56cc 2**2
CONTENTS, ALLOC, LOAD, READONLY, DATA
4 link_set_malloc_types 000000fc 881a674c 881a674c 001a574c 2**2
CONTENTS, ALLOC, LOAD, READONLY, DATA
5 link_set_dkwedge_methods 00000004 881a6848 881a6848 001a5848 2*=
*2
CONTENTS, ALLOC, LOAD, READONLY, DATA
6 link_set_bufq_strats 0000000c 881a684c 881a684c 001a584c 2**2
CONTENTS, ALLOC, LOAD, READONLY, DATA
7 link_set_evcnts 00000030 881a6858 881a6858 001a5858 2**2
CONTENTS, ALLOC, LOAD, READONLY, DATA
8 .reginfo 00000018 881a6888 881a6888 001a5888 2**2
CONTENTS, ALLOC, LOAD, READONLY, DATA, LINK_ONCE_SAME=
_SIZE
9 .data 00006150 881a68a0 881a68a0 001a58a0 2**4
CONTENTS, ALLOC, LOAD, DATA
10 .sdata 00000010 881ac9f0 881ac9f0 001ab9f0 2**4
CONTENTS, ALLOC, LOAD, DATA
11 .bss 0003b4cc 881aca00 881aca00 001aba00 2**4
ALLOC
12 .pdr 0001f120 00000000 00000000 001aba00 2**2
CONTENTS, READONLY
13 .mdebug.abi32 00000000 00000000 00000000 001cab20 2**0
CONTENTS, READONLY
14 .comment 00003250 00000000 00000000 001cab20 2**0
CONTENTS, READONLY
15 .ident 0000437a 00000000 00000000 001cdd70 2**0
CONTENTS, READONLY
viola: {6} =
As far as I can see, at this level these two appear fairly similar.
Regards,
- H=E5vard