Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 25 May 2007 19:34:24 -0400
From:      Joe Marcus Clarke <marcus@marcuscom.com>
To:        attilio@FreeBSD.org
Cc:        Jeff Roberson <jroberson@chesapeake.net>, jeff@FreeBSD.org, Current@FreeBSD.org
Subject:   Re: Panic on -CURRENT after LDT changes
Message-ID:  <1180136064.94117.14.camel@shumai.marcuscom.com>
In-Reply-To: <4657683E.6040107@FreeBSD.org>
References:  <1179962663.75721.6.camel@shumai.marcuscom.com> <20070523165051.G9443@10.0.0.1> <4655D5C1.2010905@FreeBSD.org> <1180022919.10757.24.camel@shumai.marcuscom.com> <3bbf2fe10705240930o10f37febt9fb5f0a46bd193c3@mail.gmail.com> <4657267C.2070306@marcuscom.com> <3bbf2fe10705251116h1a4606fg6250d917247a5143@mail.gmail.com> <46572970.5080201@marcuscom.com> <3bbf2fe10705251135j2b858529l964bf22285d5554e@mail.gmail.com> <3bbf2fe10705251209y658d1910rd62286388bccc092@mail.gmail.com> <4657357C.4050009@marcuscom.com>  <4657683E.6040107@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help

--=-TDvndabnn+8x/4dHHUjN
Content-Type: text/plain
Content-Transfer-Encoding: quoted-printable

On Sat, 2007-05-26 at 00:50 +0200, Attilio Rao wrote:
> Joe Marcus Clarke wrote:
> > -----BEGIN PGP SIGNED MESSAGE-----
> > Hash: SHA1
> >=20
> >=20
> > Thanks.  I just finished building a PREEMPTION-less kernel.  I'll hold
> > off on the test until I get your patch.
>=20
> Hello Joe,
> can you please try this patch:
> http://users.gufi.org/~rookie/works/patches/sys_machdep.diff
>=20
> maybe using with and without PREEMPTION?

With PREEMPTION yields a new crash:

panic: blockable sleep lock (sleep mutex) system map
@ /usr/src/sys/vm/vm_map.c:2395
Uptime: 2m11s
Physical memory: 2022 MB
Dumping 82 MB: 67 51 35 19 3

#0  sched_switch (td=3D0xc07d1020, newtd=3D0xc4c70360, flags=3D1)
    at /usr/src/sys/kern/sched_4bsd.c:933
933             sched_lock.mtx_lock =3D (uintptr_t)td;
(kgdb) bt
#0  sched_switch (td=3D0xc07d1020, newtd=3D0xc4c70360, flags=3D1)
    at /usr/src/sys/kern/sched_4bsd.c:933
#1  0xc0567a1d in mi_switch (flags=3DVariable "flags" is not available.
) at /usr/src/sys/kern/kern_synch.c:464
#2  0xc06c8c90 in scheduler (dummy=3D0x0) at /usr/src/sys/vm/vm_glue.c:724
#3  0xc052e676 in mi_startup () at /usr/src/sys/kern/init_main.c:250
#4  0xc0438e15 in begin () at /usr/src/sys/i386/i386/locore.s:348

#0  sched_switch (td=3D0xc07d1020, newtd=3D0xc4c70360, flags=3D1)
    at /usr/src/sys/kern/sched_4bsd.c:933
        p =3D (struct proc *) 0xc07d0de0
#1  0xc0567a1d in mi_switch (flags=3DVariable "flags" is not available.
) at /usr/src/sys/kern/kern_synch.c:464
        new_switchtime =3D 153236108634
        td =3D (struct thread *) 0xc07d1020
        p =3D (struct proc *) 0xc07d0de0
        __func__ =3D "mi_switch"
#2  0xc06c8c90 in scheduler (dummy=3D0x0) at /usr/src/sys/vm/vm_glue.c:724
        p =3D (struct proc *) 0x0
        td =3D Variable "td" is not available.

I will rebuild without PREEMPTION, and let you know.  Note: I am no
longer have console access, so live debugging is out until Tuesday.

Joe


>=20
> Thanks,
> Attilio
>=20
--=20
PGP Key : http://www.marcuscom.com/pgp.asc

--=-TDvndabnn+8x/4dHHUjN
Content-Type: application/pgp-signature; name=signature.asc
Content-Description: This is a digitally signed message part

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (FreeBSD)

iD8DBQBGV3J/b2iPiv4Uz4cRAl3cAJ9HDl+80F1O7xneRaE0jemBumnIegCfewOM
meFxon0yqGrQ06Pk21L/+q0=
=DITI
-----END PGP SIGNATURE-----

--=-TDvndabnn+8x/4dHHUjN--




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1180136064.94117.14.camel>