Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 20 Feb 2002 17:27:42 -0500 (EST)
From:      John Baldwin <jhb@FreeBSD.org>
To:        Bob Van Valzah <Bob@BGPBook.Com>
Cc:        FreeBSD-SMP@FreeBSD.Org
Subject:   RE: Lock order reversal
Message-ID:  <XFMail.020220172742.jhb@FreeBSD.org>
In-Reply-To: <3C6FC888.9040003@BGPBook.Com>

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

On 17-Feb-02 Bob Van Valzah wrote:
> Sorry if this isn't the right place to report this.  Maybe I should 
> sendpr this kind of
> thing? Sorry, I don't know the protocol.
> 
> I shutdown my laptop (running -CURRENT as of Tuesday afternoon) and saw
> this:
> 
> syncing disks.. 6 5 4 3 2 2 1 1
> done
> lock order reversal
>  1st 0xc03a9d40 allproc @ /usr/src/sys/kernvfs_syscalls.c:452
>  2nd 0xc2880234 filedesc structure @ /usr/src/sys/kern/vfs_syscalls.c:457
> Uptime: 1d14h10m48s
> /dev/vmmon: Module vmmon: unloaded
>  
> The operating system has halted.
> Please press any key to reboot.

Yes, this one is a bit tough to fix.  It will probably involve some changes to
selwakeup() and possibly struct selinfo as well.  The pfind() in selwakeup() is
what ends up being the root cause here.

>     Bob

-- 

John Baldwin <jhb@FreeBSD.org>  <><  http://www.FreeBSD.org/~jhb/
"Power Users Use the Power to Serve!"  -  http://www.FreeBSD.org/

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-smp" in the body of the message




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