Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 14 Nov 2002 10:47:10 -0500 (EST)
From:      John Baldwin <jhb@FreeBSD.org>
To:        Kenneth Culver <culverk@yumyumyum.org>
Cc:        freebsd-hackers@FreeBSD.org
Subject:   RE: panic with nvidia drivers (but not sure it's nvidia's fault)
Message-ID:  <XFMail.20021114104710.jhb@FreeBSD.org>
In-Reply-To: <20021114103213.D32489-100000@alpha.yumyumyum.org>

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

On 14-Nov-2002 Kenneth Culver wrote:
>> several functions that call vm_object functions in FreeBSD's kernel that
>> eventually call atomic_clear_short(). For some reason those functions in
>> between aren't in the backtrace though, and without that I can (and
>> have) look through the code in the kernel to see how nv_alloc_pages can
>> get to atomic_clear_short through vm calls, but I'm not sure that's too
>> awefully helpful.
> 
> Actually, after tracing through again, it appears to be following this
> codepath: (in reverse order from a backtrace)
> 
> nv_alloc_pages()
> nv_free_vm_object()
> vm_object_deallocate()
> vm_object_clear_flag()
> atomic_clear_short()
> 
> so I think it's possible that something may be getting screwed up between
> nv_free_vm_object and atomic_clear_short(). I'm not really sure how to
> tell though.

Are you sure that nv_free_vm_object() is free'ing a valid object?

-- 

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-hackers" in the body of the message




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