patches for FreeBSD 6.0-RELEASE
Horst Birthelmer
horst at riback.net
Fri Dec 9 09:20:32 CET 2005
On Dec 9, 2005, at 12:31 AM, Rick C. Petty wrote:
> Since there no longer is an Arla port maintainer for the FreeBSD ports
> tree, I'm hoping there is somebody on this list who can help. My goal
> is to get Arla working for FreeBSD 6.0-RELEASE.
>
> The first step was to patch arla-0.41 until everything would build in
> 6.0. I *finally* have a set of patches against the FreeBSD port (they
> should apply cleanly against the arla source) which lets it compile.
>
> Unfortunately my experience with VFS isn't extremely high,
> particularly
> with respect to the changes to the FreeBSD 6.x VFS API/infrastructure
> (circa Dec 2004 - Jan 2005) which are not reflected in the man pages.
> Because of this, I have doubts with some of my patches and I'd like to
> have more experienced eyes review them.
>
> I can load/unload the nnpfs module just fine. If I unload the module
> with arlad running, the kernel panics (page fault). When trying to
> "mount_nnpfs /dev/nnpfs0 /afs", I get the following error (w/ debug):
>
> nnpfs_mount: struct mount mp = c19e3c00 path = '/afs' data = '(null)'
>
> Then the kernel panics with trap 12: page fault in kernel mode. The
> panic actually happens in line 107 of nnpfs/bsd/nnpfs_vfsops-common.c
> inside nnpfs_mount_common_sys(), which is:
>
> error = namei(ndp);
>
> What concerns me is that I passed in NULL for "data" because I wasn't
> sure where to pull it out of the "struct mount *" passed into my code
> for nnpfs_mount_freebsd() inside nnpfs/bsd/nnpfs_vfsops-freebsd.c.
>
> I would really appreciate if someone could take a look at my patches
> and help me out a bit! I have a dedicated 6.0 box for testing and a
> desire to get this stable in FreeBSD 6.0.
>
> [attached: patches against arla-0.41 specifically for 6.0-RELEASE]
I was trying the same thing myself, but didn't put that task high
enough on my todo list. ;-)
I just hadn't enough time to produce usable patches.
Maybe I'll try your patches this evening or during the weekend.
... and BTW, there are a lot of BSD experienced 'eyes' on this list.
Horst
More information about the Arla-drinkers
mailing list