Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 6 Apr 2003 15:30:09 +0200
From:      "Simon L. Nielsen" <simon@nitro.dk>
To:        freebsd-current@freebsd.org
Subject:   panic: mutex Giant not owned at sys/kern/kern_exit.c:122
Message-ID:  <20030406133008.GA87298@nitro.dk>

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

--TB36FDmn/VVEgNH/
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

Hello

When i try to create an RAID array with atacontol I get the following
panic when the rebuild is complete.

The problem seems to be that exit1 requires that giant is held but it
isn't. I have no idea where it should be aquired so it will be released
again.

#0  doadump () at /data/FreeBSD/CURRENT/sys/kern/kern_shutdown.c:239
#1  0xc0300403 in boot (howto=3D256)
    at /data/FreeBSD/CURRENT/sys/kern/kern_shutdown.c:371
#2  0xc0300703 in panic ()
    at /data/FreeBSD/CURRENT/sys/kern/kern_shutdown.c:542
#3  0xc02f743c in _mtx_assert (m=3D0xc053cc00, what=3D0,=20
    file=3D0xc04e6095 "/data/FreeBSD/CURRENT/sys/kern/kern_exit.c", line=3D=
122)
    at /data/FreeBSD/CURRENT/sys/kern/kern_mutex.c:844
#4  0xc02e9583 in exit1 (td=3D0xc284a000, rv=3D4352)
    at /data/FreeBSD/CURRENT/sys/kern/kern_exit.c:122
#5  0xc02ee946 in kthread_exit ()
    at /data/FreeBSD/CURRENT/sys/kern/kern_kthread.c:135
#6  0xc01cf4c5 in ar_rebuild ()
    at /data/FreeBSD/CURRENT/sys/dev/ata/ata-raid.c:859
#7  0xc02ec8d4 in fork_exit (callout=3D0xc01cf080 <ar_rebuild>, arg=3D0x0,=
=20
    frame=3D0x0) at /data/FreeBSD/CURRENT/sys/kern/kern_fork.c:796

Btw. the -CURRENT is from today.

--=20
Simon L. Nielsen

--TB36FDmn/VVEgNH/
Content-Type: application/pgp-signature
Content-Disposition: inline

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

iD8DBQE+kCvg8kocFXgPTRwRAqK3AJsHSAGdZX5jY+Ndy1Iva70z+MFMowCgiKgT
1rZlYxZrNW8CfFxGRJOgWyA=
=1ADS
-----END PGP SIGNATURE-----

--TB36FDmn/VVEgNH/--



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