Subject: port-macppc/18736: panic in pmap_pvo_to_pte
To: None <gnats-bugs@gnats.netbsd.org>
From: Charlie Allom <charlie@rubberduck.com>
List: netbsd-bugs
Date: 10/20/2002 19:56:32
>Number:         18736
>Category:       port-macppc
>Synopsis:       kernel panics on building, in 'pmap_pvo_to_pte'
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    port-macppc-maintainer
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sun Oct 20 02:48:00 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator:     
>Release:        NetBSD 1.6I (snapshot is from 20021019)
>Organization:
	
>Environment:
	
	
System: NetBSD kogcmo.adc.rmit.edu.au 1.6I NetBSD 1.6I (KOGCMO) #7: Sun Oct 20 18:47:24 EST 2002 root@fnord.adc.rmit.edu.au:/usr/src/current/src/sys/arch/macppc/compile/KOGCMO macppc
Architecture: powerpc
Machine: macppc
>Description:
	
	When I am building heavily - ie build.sh or even something out of pkgsrc, the kernel panics like so:
PTE 0x550408: 0xdd661006: [v - 0xbacc20 0x06 (va 0x01830000)]  0x063b4192: [0x06
3b4... r c ..m. bw]
panic: pmap_pvo_to_pte: pvo 0x45cd740: has invalid pte 0x550408 in pmap_pteg_tab
le but valid in pvo
Begin traceback...
0xd4a37ba0: at pmap_pvo_to_pte+160
0xd4a37bb0: at pmap_clear_bit+a4
0xd4a37be0: at genfs_putpages+afc
0xd4a37d40: at ffs_putpages+130
0xd4a37d60: at ffs_full_fsync+104
0xd4a37db0: at ffs_fsync+64
0xd4a37e40: at ffs_sync+168
0xd4a37eb0: at sync_fsync+84
0xd4a37ed0: at sched_sync+16c
0xd4a37f50: at fork_trampoline+10
End traceback...
syncing disks... panic: lockmgr: locking against myself
Begin traceback...
0xd4a37970: at lockmgr+68c
0xd4a379a0: at genfs_lock+1c
0xd4a379b0: at vn_lock+98
0xd4a379e0: at vget+104
0xd4a379f0: at ffs_sync+110
0xd4a37a60: at sys_sync+98
0xd4a37a80: at vfs_shutdown+88
0xd4a37ac0: at cpu_reboot+68
0xd4a37ae0: at panic+1ec
0xd4a37ba0: at pmap_pvo_to_pte+160
0xd4a37bb0: at pmap_clear_bit+a4
0xd4a37be0: at genfs_putpages+afc
0xd4a37d40: at ffs_putpages+130
0xd4a37d60: at ffs_full_fsync+104
0xd4a37db0: at ffs_fsync+64
0xd4a37e40: at ffs_sync+168
0xd4a37eb0: at sync_fsync+84
0xd4a37ed0: at sched_sync+16c
0xd4a37f50: at fork_trampoline+10
End traceback...
dumpsys: TBD
rebooting

Also I cannot get the machine to dump core. I have savecore=YES with the flags set to "-z /usr/crash". I have 256 RAM w/ 256 swap. This thing just won't play.

Also of note: softdeps are on all partitions except root, and I am building from an NFS mount to local OBJDIR. I have every debug option set in this kernel (it does it on GENERIC as well). I can repeat this on 2 different G3 powerpc's.

>How-To-Repeat:
	
./build.sh ;)
>Fix:
	
If I could get it to dump I'd be glad to help anyone ..
>Release-Note:
>Audit-Trail:
>Unformatted: