Patchwork nfs-utils: Ensure that the Kernel modules are include

login
register
mail settings
Submitter Saul Wold
Date Oct. 15, 2012, 10:15 p.m.
Message ID <1350339349-6387-1-git-send-email-sgw@linux.intel.com>
Download mbox | patch
Permalink /patch/38165/
State New
Headers show

Comments

Saul Wold - Oct. 15, 2012, 10:15 p.m.
This fixes the issue when booting a kernel with out the kernel modules
included.

starting 8 nfsd kernel threads: rpc.nfsd: Unable to access /proc/fs/nfsd errno 2 (No such file or directory).
Please try, as root, 'mount -t nfsd nfsd /proc/fs/nfsd' and then restart rpc.nfsd to correct the problem

Signed-off-by: Saul Wold <sgw@linux.intel.com>
---
 .../nfs-utils/nfs-utils_1.2.3.bb                   |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
Phil Blundell - Oct. 15, 2012, 10:19 p.m.
On Mon, 2012-10-15 at 15:15 -0700, Saul Wold wrote:
>This fixes the issue when booting a kernel with out the kernel modules
>included.
[...]
>  # Only kernel-module-nfsd is required here (but can be built-in)  - the nfsd module will
>  # pull in the remainder of the dependencies.
> +KERNEL_FEATURES_append " nfsd"

Er, really?  I'm a bit surprised that this even parses successfully, let
alone fixes anything.  Is this definitely the patch you meant to send?

p.
Saul Wold - Oct. 15, 2012, 11:38 p.m.
On 10/15/2012 03:19 PM, Phil Blundell wrote:
> On Mon, 2012-10-15 at 15:15 -0700, Saul Wold wrote:
>> This fixes the issue when booting a kernel with out the kernel modules
>> included.
> [...]
>>   # Only kernel-module-nfsd is required here (but can be built-in)  - the nfsd module will
>>   # pull in the remainder of the dependencies.
>> +KERNEL_FEATURES_append " nfsd"
>
> Er, really?  I'm a bit surprised that this even parses successfully, let
> alone fixes anything.  Is this definitely the patch you meant to send?
>
Nope, a little hasty on the send button!

Fixed in my testing branch.

Sau!

> p.
>
>
>
>

Patch

diff --git a/meta/recipes-connectivity/nfs-utils/nfs-utils_1.2.3.bb b/meta/recipes-connectivity/nfs-utils/nfs-utils_1.2.3.bb
index 5a4a7e7..5c9eb2b 100644
--- a/meta/recipes-connectivity/nfs-utils/nfs-utils_1.2.3.bb
+++ b/meta/recipes-connectivity/nfs-utils/nfs-utils_1.2.3.bb
@@ -27,6 +27,7 @@  PARALLEL_MAKE = ""
 
 # Only kernel-module-nfsd is required here (but can be built-in)  - the nfsd module will
 # pull in the remainder of the dependencies.
+KERNEL_FEATURES_append " nfsd"
 
 INITSCRIPT_NAME = "nfsserver"
 # The server has no dependencies at the user run levels, so just put