Port-sun3 archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: 4.01 panic/lock issues?



On Thu, Jan 15, 2009 at 11:28:42PM +0900, Izumi Tsutsui wrote:
> > I next decided to put the system under heavy load to get it to panic
> > again, which it had done in the past.. and it did. At the time of the
> > panic, I had a kernel compile running as well as 4 items out of pkgsrc.
> > The result:
> > vm_fault(0xe1b3518, 0x0, 0x1) -> 0xe
> > trap type=0x8, code=0x145, v=0x4
> > kernel: MMU fault trap
> Appearlenty this shows NULL pointer dereference again.
> > Stopped in pid 28842.1 (perl) at        netbsd:cpu_Debugger+0x6:
> Is this perl binary from packages on ftp.NetBSD.org?
> If so that m68k packages might have certain FP instructions
> which can't be handled by 68020+68882, and
> m68k FPE code didn't handle them properly either.

Yeah - this is the packages binary - I didn't want to get invested in a
two-day perl compile in case the box was going to panic in the middle of
it. :)
 
> Could you try this kernel (which has a debug printf in that path)?
> http://www.ceres.dti.ne.jp/~tsutsui/netbsd/netbsd-sun3-FPETEST-4.0.1.gz

Sure thing... I installed it and ran the mutt package from the m68k
packages on ftp.netbsd.org... and it panic'd immediately, just as
before:

fpu_emul_arith: FP instruction is not processed properly
fpu_emul_arith: opcode=0xf200, word1=0x466
vm_fault(0xe1774e0, 0x0, 0x1) -> 0xe
trap type=0x8, code=0x145, v=0x4
kernel: MMU fault trap
pid = 678, lid = 1, pc = 0E120994, ps = 2000, sfc = 1, dfc = 1
Registers:
             0        1        2        3        4        5        6
7
dreg: 00000008 00000006 00000004 00000004 00000466 0F8C3FB4 0F8C0118
000000F0
areg: 00000000 0E17F598 0E0D1554 00000000 0F8C3FB4 0F8C3F70 0F8C3ED8
0DFFB0F8

Kernel stack (0F8C3DAC):
8C3DAC: 0E11F5D4 0F8C3E34 00000080 00000004 00000004 00000466 0F8C3FB4
0F8C0118
8C3DCC: 000000F0 0E0D1554 00000000 0F8C3FB4 0F8C3F70 0E1774E0 00000000
00000001
8C3DEC: 00000000 00000001 00000000 00000000 00000000 00000002 00000000
00000000
8C3E0C: 00000008 00000000 00000000 00000000 0F8C3ED8 0E0040EC 0F8C3E34
00000008
8C3E2C: 00000145 00000004 00000008 00000006 00000004 00000004 00000466
0F8C3FB4
8C3E4C: 0F8C0118 000000F0 00000000 0E17F598 0E0D1554 00000000 0F8C3FB4
0F8C3F70
8C3E6C: 0F8C3ED8 0DFFB0F8 00000000 20000E12 0994B008 0E2C0145 670408C0
00000004
8C3E8C: 00000004 00000008 4AA80004 0E12099C 0E12099A 0E120998 670408CF
00040074
8C3EAC: 000F16EC 00000008 0E0CDDEE 00FFFFFF 000000FF 80200000 00000004
00000000
8C3ECC: 0E0CDD00 0F8C3ED4 00000004 0F8C3F24 0E121168 0E17F598 00000000
0F8C0040
8C3EEC: 00000090 00000000 00000000 00000000 000000F0 0EF17170 0F9233E4
0F8C3FB4
8C3F0C: 0E0D1554 00000090 0EF17170 0F9233E4 0F8C3FB4 0F8C3F9C 0F8C3F9C
0E11F8FA
8C3F2C: 0F8C3FB4 0F8C0040 0F8C3F70 00000000 00000155 00000080 0DFF000A
0008A4FE
8C3F4C: 0DFFBEE0 0DFFBEF4 0009B520 000063F8 0DFFDD9C 0F9233E4 0F8C3F7C
0E11FA66
8C3F6C: 0EF17170 00000001 00000000 00000000 00000000 00000000 00000000
00000000
8C3F8C: 00000010 00000000 00000000 00000000 0DFFB0F8 0E0040CC 0F8C3FB4
00000010
panic: MMU fault
Stopped in pid 678.1 (mutt) at  netbsd:cpu_Debugger+0x6:        unlk
a6
db> tr
cpu_Debugger(2000,8,ef17170,f8c3db8,f8c3e1c) + 6
panic(e15e641,4,4,466,f8c3fb4) + 11a
trap(f8c3e34,8,145,4) + 244
fpu_upd_fpsr(e17f598,0) + 18
fpu_emulate(f8c3fb4,f8c0040,f8c3f70) + 676
trap(f8c3fb4,10,0,0) + 548
fault() + 10



Home | Main Index | Thread Index | Old Index