Subject: 2.0 crashes while building kernel
To: None <port-mac68k@netbsd.org>
From: Christian Groessler <cpg@aladdin.de>
List: port-mac68k
Date: 12/13/2004 23:43:02
Hi,
I'm trying to build a 2.0 kernel on a Centris 650, 24MB.
The kernel currently running is 2.0, cross compiled from Linux/i386.
Here is a ddb session:
NetBSD/mac68k (mac68k) (console)
login: uvm_fault(0x172b90, 0xd61a4000, 0, 0x1) -> 0xe
type 8, code [mmu,,ssw]: 5e6
trap type 8, code = 0x5e6, v = 0xd61a4100
kernel program counter = 0xd61a4100
kernel: MMU fault trap
pid = 1808, lid = 1, pc = D61A4100, ps = 2004, sfc = 1, dfc = 1
Registers:
0 1 2 3 4 5 6 7
dreg: 3F000000 00000000 0000002C 00000004 00000000 00091F40 00000010 001FD304
areg: 00826F24 03590000 000420EC 00000001 00000000 001CE5A4 00826FF0 FFFFBAA4
Kernel stack (00826E2C):
826E2C: 00126FB4 00826EAC 00000080 0000002C 00000004 00000000 00091F40 00000010
826E4C: 001FD304 000420EC 00000001 00000000 001CE5A4 D61A4000 00000001 00000001
826E6C: 00000000 00000000 00000000 00000001 00000000 00000000 00000008 00000000
826E8C: 00000000 00000000 FFFFFFFF 00826FF0 00003076 00000008 000005E6 D61A4100
826EAC: 3F000000 00000000 0000002C 00000004 00000000 00091F40 00000010 001FD304
826ECC: 00826F24 03590000 000420EC 00000001 00000000 001CE5A4 00826FF0 FFFFBAA4
826EEC: 00000000 2004D61A 41007008 00826F24 05E60005 00000005 D61A4100 000AF034
826F0C: 00826F28 000A8C2A 00000000 00000000 03590000 D61A4100 3F000000 D61A4100
826F2C: 00000000 00000008 00000000 00328800 00000000 40090000 BA400000 00000000
826F4C: 40020000 A0000000 00000000 7FFF0000 FFFFFFFF FFFFFFFF 7FFF0000 FFFFFFFF
826F6C: FFFFFFFF 00000000 00000208 00091FDC 00000000 00000009 00000000 00000000
826F8C: 00000000 01026C00 FFFFBABC 000034E0 00000009 00000000 00000000 00000008
826FAC: 00000000 80010000 80000000 00000000 00091F40 00000010 001FD304 00328800
826FCC: 00000000 000420EC 00000001 00000000 001CE5A4 FFFFBABC FFFFBAA4 00000000
826FEC: 20000000 FFFFBABC 00000009 1FE0202C 00000000
panic: MMU fault
Stopped in pid 1808.1 (cc1) at netbsd:cpu_Debugger+0x6: unlk a6
db> trace
cpu_Debugger(2000,8,826eac,826e98,126fd4) + 6
panic(146b10,2c,4,0,91f40) + f8
trap(8,5e6,d61a4100) + 24e
emul_netbsd_aoutm68k_object(1fe0202c,0,97fe8,96000,95eb0) + d6007454
?() at 7
db> ps
PID PPID PGRP UID S FLAGS LWPS COMMAND WAIT
>1808 1895 97 1000 2 0x4002 1 cc1
1895 1530 97 1000 2 0x4002 1 cc wait
1530 97 97 1000 2 0x4002 1 sh wait
97 455 97 1000 2 0x4002 1 make wait
455 432 455 1000 2 0x4002 1 bash wait
432 1 432 1000 2 0x100 1 screen-3.9.10 select
445 1 1 0 2 0x4000 1 getty nanosle
398 1 398 0 2 0x4002 1 getty ttyin
408 1 408 0 2 0 1 cron nanosle
383 1 383 0 2 0 1 inetd kqread
367 1 367 0 2 0x100 1 sendmail select
313 1 313 0 2 0 1 timed poll
246 1 246 0 2 0 1 lpd poll
200 202 202 0 2 0 1 nfsd nfsd
212 202 202 0 2 0 1 nfsd nfsd
203 202 202 0 2 0 1 nfsd nfsd
205 202 202 0 2 0 1 nfsd nfsd
202 1 202 0 2 0 1 nfsd poll
187 1 187 0 2 0 1 mountd select
156 0 0 0 2 0x20200 1 nfsio nfsidl
158 0 0 0 2 0x20200 1 nfsio nfsidl
151 0 0 0 2 0x20200 1 nfsio nfsidl
154 0 0 0 2 0x20200 1 nfsio nfsidl
137 1 137 0 2 0 1 rpcbind poll
115 1 115 0 2 0 1 syslogd
5 0 0 0 2 0x20200 1 aiodoned aiodone
4 0 0 0 2 0x20200 1 ioflush syncer
3 0 0 0 2 0x20200 1 pagedaemon pgdaemo
2 0 0 0 2 0x20200 1 scsibus0 sccomp
1 0 1 0 2 0x4000 1 init wait
0 -1 0 0 2 0x20200 1 swapper
db>
Hmm, this emul_netbsd_aoutm68k_object doesn't seem to be correct. I
will cross build a kernel with "-g" and run it again. Maybe then there
is more information.
regards,
chris