From owner-freebsd-fs Fri Feb 26 8:57: 7 1999 Delivered-To: freebsd-fs@freebsd.org Received: from relay1.mail.uk.psi.net (relay1.mail.uk.psi.net [154.32.105.6]) by hub.freebsd.org (Postfix) with ESMTP id DF48F14CC6 for ; Fri, 26 Feb 1999 08:57:02 -0800 (PST) (envelope-from smcintyr@allstor-sw.co.uk) Received: from mail.plasmon.co.uk ([193.115.5.217]) by relay1.mail.uk.psi.net with smtp (Exim 2.02 #3) id 10GQZ9-0002Fu-00 for freebsd-fs@freebsd.org; Fri, 26 Feb 1999 16:56:43 +0000 Received: from virgo.software.plasmon ([193.115.4.42]) by mail.plasmon.co.uk (Lotus SMTP MTA v4.6.2 (693.3 8-11-1998)) with SMTP id 80256724.005CD3B9; Fri, 26 Feb 1999 16:53:55 +0000 Date: Fri, 26 Feb 1999 16:58:08 +0000 (GMT) From: Steve McIntyre X-Sender: steve@virgo.software.plasmon To: freebsd-fs@freebsd.org Subject: KLD filesystems in 3.0? Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-fs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org [ I've grepped the archives and couldn't find anything particularly relevant, so... ] I'm having some problems trying to write a filesystem (pfs) as a KLD. I load the pfs module, and the startup code seems to work OK. I can mount the filesystem, and still all seems OK. But the first time I try to do any vnode ops in the FS all falls down - vn_stat tries to call pfsop_getattr and fails, apparently trying to call a function at 0x0b instead of the real address. My guess is that somehow the vnodeop entries are not being registered properly; I've had a look through some of the other filesystems and I can't see anything obvious that I'm missing. Does anybody out there have any ideas for things to check? Thanks, -- Steve McIntyre, Allstor Software smcintyr@allstor-sw.co.uk My PC page "Can't keep my eyes from the circling sky, "Tongue-tied & twisted, Just an earth-bound misfit, I..." To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-fs" in the body of the message