Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 24 Apr 2011 15:24:26 +0300
From:      Kostik Belousov <kostikbel@gmail.com>
To:        Rick Macklem <rmacklem@uoguelph.ca>
Cc:        rc@freebsd.org, Doug Barton <dougb@freebsd.org>
Subject:   Re: rc scripts change for review
Message-ID:  <20110424122426.GF48734@deviant.kiev.zoral.com.ua>
In-Reply-To: <1821952689.487242.1303646704352.JavaMail.root@erie.cs.uoguelph.ca>
References:  <20110424101026.GE48734@deviant.kiev.zoral.com.ua> <1821952689.487242.1303646704352.JavaMail.root@erie.cs.uoguelph.ca>

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

--pQjS7IR0m4/DQQ0Q
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Sun, Apr 24, 2011 at 08:05:04AM -0400, Rick Macklem wrote:
> One possible explanation here (and it may be that I haven't set the
> modules/sysctl stuff up correctly?) is that the "nfsd" module depends
> on the module "nfscommon" (which is loaded when nfsd is loaded, because
> of a MODULE_DEPEND() in "nfsd"). The SYSCTL_NODE() is in "nfscommon".
> I only have a SYSCTL_DECL() in "nfsd". (ie. maybe kldload doesn't wait
> for "nfscommon" to be loaded.)
>=20
> I just tried:
> load_kld nfscommon
> load_kld nfsd
> - and this works without needing "nfssrv"
>=20
> I'm not sure if the above implies a bug in either my server code or
> the module loading/sysctl registering stuff, but I'm confortable with
> doing the 2 load_kld's.

Dependencies are loaded synchronously too.

--pQjS7IR0m4/DQQ0Q
Content-Type: application/pgp-signature
Content-Disposition: inline

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

iEYEARECAAYFAk20FnkACgkQC3+MBN1Mb4jzpACg2HGiYQDdUBEFqOPmQ4Myd+30
XtsAoIIsX4oBlawh+xpc5ae2wUungCa4
=Dpwp
-----END PGP SIGNATURE-----

--pQjS7IR0m4/DQQ0Q--



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