Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 23 Aug 2010 14:58:59 +0200
From:      Ian FREISLICH <ianf@clue.co.za>
To:        John Baldwin <jhb@freebsd.org>
Cc:        freebsd-current@freebsd.org
Subject:   Re: fusefs-kmod broken? 
Message-ID:  <E1OnWc7-0001Kv-47@clue.co.za>
In-Reply-To: <201008230826.49509.jhb@freebsd.org> 
References:  <201008230826.49509.jhb@freebsd.org> <E1OmUBI-0000Oy-J5@clue.co.za> 

next in thread | previous in thread | raw e-mail | index | archive | help
John Baldwin wrote:
> The uart thing is a red herring, notice the actual PC value is '0'.  Something
> in kern_open() invoked a NULL function pointer.  Doing 'l *kern_open+0x35' in
> kgdb would be a good start of where to look.

(kgdb) l *kern_open+0x35
0xc0649ce5 is in kern_open (/usr/src/sys/kern/vfs_syscalls.c:1040).
1035    kern_open(struct thread *td, char *path, enum uio_seg pathseg, int flags,
1036        int mode)
1037    {
1038
1039            return (kern_openat(td, AT_FDCWD, path, pathseg, flags, mode));
1040    }
1041
1042    int
1043    kern_openat(struct thread *td, int fd, char *path, enum uio_seg pathseg,
1044        int flags, int mode)

That's what my reading seemed indicate.  I had to downgrade the
system back to 8.0-STABLE at around 21 April 2010, to get the system
working.

I'm currently doing a binary search to find offending commit, since
CURRENT and STABLE panic reliably, and in the same way I'm sure
that the problem is common to both.

I'm down to a window of 9 hours.  My money is currently on:

Working file: sys/kern/vfs_syscalls.c
Approved by:    re (bz)
----------------------------
revision 1.487.2.7
date: 2010/04/27 10:47:54;  author: kib;  state: Exp;  lines: +2 -15
SVN rev 207270 on 2010-04-27 10:47:54Z by kib

MFC r206547:
Handle a case in kern_openat() when vn_open() change file type from
DTYPE_VNODE.
----------------------------

Ian

-- 
Ian Freislich



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?E1OnWc7-0001Kv-47>