Subject: Re: panic in uvm_fault.c
To: YAMAMOTO Takashi <yamt@mwd.biglobe.ne.jp>
From: Michael Lorenz <macallan@netbsd.org>
List: tech-kern
Date: 04/12/2006 22:07:28
--Signature_Wed__12_Apr_2006_22_07_28_-0400_Muln345_stwhfdJq
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: quoted-printable

Hello,

> > > can you try LOCKDEBUG?
> >=20
> > Did that - same panic, same backtrace, no additional output
> > anywhere.
>=20
> can you try the attached patch, with LOCKDEBUG and UVM_PAGE_TRKOWN?
Same panic but longer backtrace:
0xd93436d0: at panic+0x1a4
0xd9343760: at __assert+0x28
0xd9343770: at uvm_page_own+0x110
0xd9343790: at ubc_fault+0x400
0xd9343810: at uvm_fault_internal+0x1adc
0xd9343940: at trap+0x2bc
0xd93439c0: kernel DSI read trap @ 0xd8bb8000 by memcpy+0x90:
srr1=3D0x9032
r1=3D0xd9343a80 cr=3D0x40042084 xer=3D0x20000000 ctr=3D0xe8 dsisr=3D0x40000=
000

0xd9343a80: at simple_lock_freecheck+0x94
0xd9343a90: at _simple_unlock+0xa8
0xd9343b20: at copyout_vmspace+0x84
0xd9343b70: at uiomove+0x130
0xd9343ba0: at ffs_read+0x4a0
0xd9343c10: at VOP_READ+0x44
0xd9343c40: at vn_rdwr+0x11c
0xd9343cc0: at vmcmd_readvnd+0x5c
0xd9343cf0: at vmcmd_map_readvn+0xb8
0xd9343d10: at execve1+0x670
0xd9343ec0: at sys_execve+0x24
0xd9343ed0: at syscall_plain+0xe0
0xd9343f40: at user SC trap #59 by 0xefea861c: srr1=3D0xf032
r1=3D0xffffb410 cr=3D0x40048082 xer=3D0 ctr=3D0xefea8614

have fun
Michael

--Signature_Wed__12_Apr_2006_22_07_28_-0400_Muln345_stwhfdJq
Content-Type: application/pgp-signature

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

iQEVAwUBRD2yYMpnzkX8Yg2nAQJuiAf+MIQxF/WbvalwmjDupck4uqFa9IPIuBi0
V2sr+MPFrC7Dgwcr9mW3o9DGQW6zgs0OQly4OnOK+Requ0wPD9a1Os8BuQLtKYlI
FcWzJg0DdlWADOVUeWWNTurD6mZgkbMQJpaB+yD+NNguNa/A/yzS/QOIC4HQwHCF
FApfT+wBkPCMppKCluvFuu16MYr+mnZFCTf3LAhPf7qkfe2xeKb/8iL+n58LdmsO
TL65kZBAvhboufG+kCJ3M0IWRRXE0wNzkI7S6uh4ClFhPU78JdOiNlgS/k35lxRx
kQ2UJTZy2nzO/HArKA7qkMD2Kg+kBngzlGzMT9hHTQclIZgjuVwZSA==
=0DAS
-----END PGP SIGNATURE-----

--Signature_Wed__12_Apr_2006_22_07_28_-0400_Muln345_stwhfdJq--