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>

index | next in thread | raw e-mail

[-- Attachment #1 --]
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=256)
    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=0xc053cc00, what=0, 
    file=0xc04e6095 "/data/FreeBSD/CURRENT/sys/kern/kern_exit.c", line=122)
    at /data/FreeBSD/CURRENT/sys/kern/kern_mutex.c:844
#4  0xc02e9583 in exit1 (td=0xc284a000, rv=4352)
    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=0xc01cf080 <ar_rebuild>, arg=0x0, 
    frame=0x0) at /data/FreeBSD/CURRENT/sys/kern/kern_fork.c:796

Btw. the -CURRENT is from today.

-- 
Simon L. Nielsen

[-- Attachment #2 --]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (FreeBSD)

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

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