Re: [2.1.111 & 2.1.115] Problems

Raimar Falke (hawk@A307a.wh8.tu-dresden.de)
Mon, 10 Aug 1998 14:46:25 +0200 (CEST)


> > The problem is in the file fs/autofs/inode.c:206, the inlined function fget()
> > calles fcheck(), and this function dereference current->files, which is this
> > case NULL. There are no changes to the autofs-code from 2.1.111 to 2.1.115.
> > I have no idea to search for. Since a build the autofs as modul I can't
> > remove it. Also the umounting of all filesystems at shutdown hangs.
>
> The fget() function should never be called from a context where current->files is
> NULL. Calling fget() implies that the caller wants to do something with files,
> and you need a files struct for this. So this isn't an autofs bug, but rather a
> problem with the way it's being invoked.
>
> Can you do some further investigation to find how autofs is getting called in
> this way? (I.e. what volume it's trying to mount, and what process asked for that
> volume, etc.)
I added some printk's to autofs_read_super(), and rebooted and no Oops. Also
no Oops after the removal of the printk's. Yes computers produce the same
output by constant input. Sometimes.
When the next Oops is generated, I will save zImage, .config, modules and
the whole tree. Sorry for your time.

Raimar

-- 
 Raimar Falke                        PGP-Key as Reply ("##" befor Subject)
 email: rf13@inf.tu-dresden.de       HomePage coming soon
 phone: +49 351 4593879

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.altern.org/andrebalsa/doc/lkml-faq.html