NetBSD-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: kern/38246: another simple_lock deadlock in netbsd-4, possibly scheduler related (sa_switch(2073.2): no upcall data.)
The following reply was made to PR kern/38246; it has been noted by GNATS.
From: "Greg A. Woods" <woods%planix.com@localhost>
To: NetBSD GNATS <gnats-bugs%NetBSD.org@localhost>
Cc: NetBSD Kernel Bug People <kern-bug-people%netbsd.org@localhost>,
NetBSD GNATS Administrator <gnats-admin%netbsd.org@localhost>,
Nick Hudson <nick.hudson%dsl.pipex.com@localhost>
Subject: Re: kern/38246: another simple_lock deadlock in netbsd-4, possibly
scheduler related (sa_switch(2073.2): no upcall data.)
Date: Fri, 21 Mar 2008 19:14:37 -0400
--pgp-sign-Multipart_Fri_Mar_21_19:14:37_2008-1
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: quoted-printable
At Fri, 21 Mar 2008 19:20:02 +0000 (UTC), Me-planix.com wrote:
Subject: Re: kern/38246: another simple_lock deadlock in netbsd-4, possibly=
scheduler related (sa_switch(2073.2): no upcall data.)
>
> At Thu, 20 Mar 2008 18:40:56 +0000, Nick Hudson wrote:
> Subject: Re: kern/38246: another simple_lock deadlock in netbsd-4, possi=
bly> scheduler related (sa_switch(2073.2): no upcall data.)
> >=20
> > Can you try the wrstuden-fixsa branch?
> >=20
>
> It dies during boot (with "options LOCKDEBUG" anyway):
>
> ....
> apm0 at acpi0: Power Management spec V1.2
>
> simple_lock: uninitialized lock
> lock: 0xc0a6e1c0, currently at: /rest/work/woods/m-NetBSD-wrstuden-fixsa=
/sys/kern/kern_lock.c:568
> on CPU 0
> uvm_fault(0xc0a83d40, 0, 1) -> 0xe
> kernel: supervisor trap page fault, code=3D0
> Stopped in pid 0.1 (swapper) at netbsd:db_read_bytes+0x30: movl =
0(%> esi),
> %eax
> db{0}>=20
> db{0}> trace
> db_read_bytes(2,4,c0b6d6c0,c0424526,c0b6d6c4) at netbsd:db_read_bytes+0x=
30
> db_get_value(2,4,0,55504320,a3020) at netbsd:db_get_value+0x20
> db_stack_trace_print(c0b6d79c,1,ffff,c0966106,c04237e0) at netbsd:db_sta=
ck_trace
> _print+0x4ba
> _simple_lock(c0a6e1c0,c0995d74,238,c38a1158,0) at netbsd:_simple_lock+0x=
153
> _lockmgr(c0a6e1c0,2,0,c09703b0,b6) at netbsd:_lockmgr+0x53
> sysmonioctl_envsys(0,c0204502,c0b6d8bc,0,0) at netbsd:sysmonioctl_envsys=
+0x154
> acpiapm_get_powstat(c3d03800,0,c0b6d918,c37d6d90,5) at netbsd:acpiapm_ge=
t_powstat+0xf0
> apm_attach(c3d46400,c3d46400,0,0,0) at netbsd:apm_attach+0x127
The following change needs to be pulled up to both the netbsd-4 branch
as well as the wrstuden-fixsa branch:
----------------------------
revision 1.9
date: 2007/03/11 01:24:12; author: christos; state: Exp; lines: +5 -2
branches: 1.9.2;
open and close envsys; from Cherry.
----------------------------
I'll now reboot my Dell PE2650 with the working kernel and see if it
lasts the night without problems or not.....
--=20
Greg A. Woods
Planix, Inc.
<woods%planix.com@localhost> +1 416 489-5852 x122
http://www.planix.com/
--pgp-sign-Multipart_Fri_Mar_21_19:14:37_2008-1
Content-Type: application/pgp-signature
Content-Transfer-Encoding: 7bit
-----BEGIN PGP SIGNATURE-----
Version: PGPfreeware 5.0i for non-commercial use
MessageID: EqazN1OlTshi4CgeTLfwPGCEhYSXHJyP
iQA/AwUBR+RBXWZ9cbd4v/R/EQKgdQCg8IwbQRaf9YlKh5+iy9N7HNddHTUAoIZ6
xDPppM8Q95TXrC0YDW/5Ket/
=Xjwj
-----END PGP SIGNATURE-----
--pgp-sign-Multipart_Fri_Mar_21_19:14:37_2008-1--
Home |
Main Index |
Thread Index |
Old Index