Subject: 3.1 (mini) panic
To: None <port-macppc@netbsd.org>
From: Jan Schaumann <jschauma@netmeister.org>
List: port-macppc
Date: 12/09/2006 15:30:37
--nFreZHaLTZJo0R7j
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

Hi,

I just had yet another panic when trying to run a bulk-build on my mac
mini running NetBSD 3.1.  Here's the relevant information from
/var/log/messages:

/netbsd: panic: pool_get: pmap_upvopl: page empty
/netbsd: Begin traceback...
/netbsd: 0xd56bf8f0: at pool_get+0x340
/netbsd: 0xd56bf920: at pmap_pvo_enter+0xe8
/netbsd: 0xd56bf970: at pmap_kenter_pa+0xac
/netbsd: 0xd56bf990: at uvm_km_kmemalloc1+0x15c
/netbsd: 0xd56bf9c0: at malloc+0xe8
/netbsd: 0xd56bfa00: at cgd_getdata+0x54
/netbsd: 0xd56bfa10: at cgdstart+0x1bc
/netbsd: 0xd56bfa50: at dk_start+0x58
/netbsd: 0xd56bfa70: at dk_strategy+0xc0
/netbsd: 0xd56bfa90: at cgdstrategy+0x2c
/netbsd: 0xd56bfab0: at spec_strategy+0xf8
/netbsd: 0xd56bfae0: at VOP_STRATEGY+0x3c
/netbsd: 0xd56bfb00: at ufs_strategy+0x58
/netbsd: 0xd56bfb20: at VOP_STRATEGY+0x3c
/netbsd: 0xd56bfb40: at genfs_gop_write+0x300
/netbsd: 0xd56bfbc0: at genfs_putpages+0x7cc
/netbsd: 0xd56bfd20: at VOP_PUTPAGES+0x50
/netbsd: 0xd56bfd60: at ffs_write+0x4dc
/netbsd: 0xd56bfdf0: at VOP_WRITE+0x44
/netbsd: 0xd56bfe20: at vn_write+0x100
/netbsd: 0xd56bfe50: at dofilewrite+0xc8
/netbsd: 0xd56bfeb0: at sys_write+0x84
/netbsd: 0xd56bfed0: at syscall_plain+0xe0
/netbsd: 0xd56bff40: user SC trap #4 by 0xeff07d5c: srr1=3D0xf032
/netbsd: r1=3D0xffffd3a0 cr=3D0x24044082 xer=3D0 ctr=3D0xeff07d54
/netbsd: End traceback...
/netbsd: syncing disks... panic: lockmgr: locking against myself
/netbsd: Begin traceback...
/netbsd: 0xd56bf700: at lockmgr+0x1dc
/netbsd: 0xd56bf730: at genfs_lock+0x18
/netbsd: 0xd56bf740: at VOP_LOCK+0x3c
/netbsd: 0xd56bf760: at vn_lock+0x94
/netbsd: 0xd56bf780: at vget+0xc0
/netbsd: 0xd56bf7a0: at ffs_sync+0x230
/netbsd: 0xd56bf7f0: at sys_sync+0x118
/netbsd: 0xd56bf810: at vfs_shutdown+0x60
/netbsd: 0xd56bf830: at cpu_reboot+0x1cc
/netbsd: 0xd56bf860: at panic+0x188
/netbsd: 0xd56bf8f0: at pool_get+0x340
/netbsd: 0xd56bf920: at pmap_pvo_enter+0xe8
/netbsd: 0xd56bf970: at pmap_kenter_pa+0xac
/netbsd: 0xd56bf990: at uvm_km_kmemalloc1+0x15c
/netbsd: 0xd56bf9c0: at malloc+0xe8
/netbsd: 0xd56bfa00: at cgd_getdata+0x54
/netbsd: 0xd56bfa10: at cgdstart+0x1bc
/netbsd: 0xd56bfa50: at dk_start+0x58
/netbsd: 0xd56bfa70: at dk_strategy+0xc0
/netbsd: 0xd56bfa90: at cgdstrategy+0x2c
/netbsd: 0xd56bfab0: at spec_strategy+0xf8
/netbsd: 0xd56bfae0: at VOP_STRATEGY+0x3c
/netbsd: 0xd56bfb00: at ufs_strategy+0x58
/netbsd: 0xd56bfb20: at VOP_STRATEGY+0x3c
/netbsd: 0xd56bfb40: at genfs_gop_write+0x300
/netbsd: 0xd56bfbc0: at genfs_putpages+0x7cc
/netbsd: 0xd56bfd20: at VOP_PUTPAGES+0x50
/netbsd: 0xd56bfd60: at ffs_write+0x4dc
/netbsd: 0xd56bfdf0: at VOP_WRITE+0x44
/netbsd: 0xd56bfe20: at vn_write+0x100
/netbsd: 0xd56bfe50: at dofilewrite+0xc8
/netbsd: 0xd56bfeb0: at sys_write+0x84
/netbsd: 0xd56bfed0: at syscall_plain+0xe0
/netbsd: 0xd56bff40: user SC trap #4 by 0xeff07d5c: srr1=3D0xf032
/netbsd: r1=3D0xffffd3a0 cr=3D0x24044082 xer=3D0 ctr=3D0xeff07d54
/netbsd: End traceback...
/netbsd: dumpsys: TBD
/netbsd: rebooting

Any ideas?

-Jan

--=20
   That's a tricky one. You have to use calculus and imaginary numbers ...
   like eleventeen, thirty-twelve, and all those ...
                  -- Hobbes

--nFreZHaLTZJo0R7j
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (NetBSD)

iD8DBQFFe0cdfFtkr68iakwRAjW4AKDDf3nHATv/X6+cTkvis3RFZOT5GwCgqNSm
XiHzhYJ09kaEHShdzctzSWk=
=JuuG
-----END PGP SIGNATURE-----

--nFreZHaLTZJo0R7j--