Re: 2.1.50/2.1.51: that "oops" thing

Bill Hawes (whawes@star.net)
Wed, 20 Aug 1997 09:57:07 -0400


Mark Orr wrote:
> Okay. Here's the original oops (from squake 1.0):
>
> Negative d_count (-1) for dev/dsp0
> Unable to handle kernel NULL pointer dereference at virtual address 00000000

> and the ksymoops output:
> Using `/System.map' to map addresses to symbols.
> >>EIP: c012ec0e <dput+2e/a5>
> Trace: c011adb4 <exit_mmap+a4/ca>
> Trace: c0115d56 <do_exit+a9/21a>

This is very puzzling ... I checked all of the drivers supporting mmaps,
and they all get the vm_dentry using dget(file->f_dentry). How can we
get a wrapped count out of this? There must be an extra dput()
somewhere, but I haven't been able to find it ...

Regards,
Bill