Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 22 Feb 2008 06:52:07 -0600
From:      Alec Kloss <alec-keyword-freebsd.org.a6e2e4@SetFilePointer.com>
To:        Robert Watson <rwatson@FreeBSD.org>
Cc:        afs@FreeBSD.org, arla-drinkers@stacken.kth.se, Rasmus Kaj <kaj@kth.se>
Subject:   Re: Patches to get Arla running on FreeBSD 8-CURRENT
Message-ID:  <20080222125207.GD38141@hamlet.setfilepointer.com>
In-Reply-To: <20080218012608.V96329@fledge.watson.org>
References:  <20080216035658.W93919@fledge.watson.org> <1203286882.16414.3.camel@heterodyne.kaj> <20080218012608.V96329@fledge.watson.org>

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

--zbGR4y+acU1DwHSi
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

Robert, I've been playing with your patches, etc. on 8-CURRENT.
I've been having to tweak up include/config.h a little so I wonder
if you missed a few autoconf things... but more important, running
"ls /afs" results in:

nnpfs: cdev: 0, syscall: 339


Fatal trap 12: page fault while in kernel mode
cpuid =3D 0; apic id =3D 00
fault virtual address   =3D 0x26c
fault code              =3D supervisor read, page not present
instruction pointer     =3D 0x20:0xc2a7f1fc
stack pointer           =3D 0x28:0xcd412a40
frame pointer           =3D 0x28:0xcd412a5c
code segment            =3D base 0x0, limit 0xfffff, type 0x1b
                        =3D DPL 0, pres 1, def32 1, gran 1
processor eflags        =3D interrupt enabled, resume, IOPL =3D 0
current process         =3D 4822 (ls)
[thread pid 4822 tid 100176 ]
Stopped at      nnpfs_getattr_common+0xc:       movl
0x26c(%eax),%eax
db> bt
Tracing pid 4822 tid 100176 td 0xc2783440 nnpfs_getattr_common(c297b110,cd4=
12ab4,c24f1700,c2783440,cd412aa0,...) at nnpfs_getattr_common+0xc
nnpfs_getattr(cd412aa0,0,c0b10208,cd412b48,cd412b28,...) at nnpfs_getattr+0=
x33
VOP_GETATTR_APV(c2a854a0,cd412aa0,c0bd91a0,c297b110,cd412ab4,...) at VOP_GE=
TATTR_APV+0xa5
vn_stat(c297b110,cd412b48,c24f1700,0,c2783440,...) at vn_stat+0x49
kern_stat(c2783440,8113138,0,cd412c18,c0c5d140,...) at kern_stat+0x81
stat(c2783440,cd412cfc,8,cd412d38,c0ba1e60,...) at stat+0x2f
syscall(cd412d38) at syscall+0x2b3
Xint0x80_syscall() at Xint0x80_syscall+0x20
--- syscall (188, FreeBSD ELF32, stat), eip =3D 0x281a3acb, esp =3D 0xbfbfe=
54c, ebp =3D 0xbfbfe5d8 ---
db>

If I'me reading this (and nnpfs_vnodeops_common.c) right, this is
probably a NULL value for (xn or perhaps vap) in

        *vap =3D xn->attr;

(line 765) Any thoughts?  Or tips on what I can do to help?  I
don't have gdb ready to go yet---but I probably can this weekend. =20

--=20
Alec Kloss  alec@SetFilePointer.com   IM: angryspamhater@yahoo.com
PGP key at http://pgp.mit.edu:11371/pks/lookup?op=3Dget&search=3D0xA241980E
"No Bunny!" -- Simon, from Frisky Dingo

--zbGR4y+acU1DwHSi
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (FreeBSD)

iD8DBQFHvsV32s33paJBmA4RAhS+AKCGGVaX7yYCtgS45SLR82iNCtmsJgCfewW6
ekGKNp6v2Teut05Q/UVmgD0=
=uCRo
-----END PGP SIGNATURE-----

--zbGR4y+acU1DwHSi--



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