Modify

Opened 11 years ago

Closed 11 years ago

#1524 closed defect (fixed)

[FIX] NFS kernel server support - Kamikaze Milestone

Reported by: anonymous Owned by: developers
Priority: normal Milestone: Kamikaze 7.06
Component: packages Version:
Keywords: NFS kernel server linux 2.4 generic Cc:

Description

Patch fix missing NFS kernel server support options for Kamikaze Milestone Linux 2.4

modules patch:

diff -uNr     package/kernel/modules/fs.mk     package/kernel/modules/fs.mk
---     package/kernel/modules/fs.mk	2007-03-27 18:23:34.000000000 +0200
+++     package/kernel/modules/fs.mk	2007-03-27 18:30:26.000000000 +0200
@@ -89,6 +89,17 @@
 endef
 $(eval $(call KernelPackage,fs-nfs))
 
+define KernelPackage/fs-nfsd
+  TITLE:=NFS kernel server support
+  DESCRIPTION:=Kernel module for NFS kernel server support
+  KCONFIG:=$(CONFIG_NFSD)
+  SUBMENU:=$(FSMENU)
+  AUTOLOAD:=$(call AutoLoad,30,nfsd)
+  FILES:= \
+  	$(MODULES_DIR)/kernel/fs/nfsd/nfsd.$(LINUX_KMOD_SUFFIX)
+endef
+$(eval $(call KernelPackage,fs-nfsd))
+
 define KernelPackage/fs-msdos
   TITLE:=MSDOS filesystem support
   DESCRIPTION:=Kernel module for MSDOS filesystem support

nfs-kernel-server patch:

diff -uNr nfs-kernel-server/files/nfsd.init nfs-kernel-server/files/nfsd.init
--- nfs-kernel-server/files/nfsd.init	2007-03-27 15:14:44.000000000 +0200
+++ nfs-kernel-server/files/nfsd.init	2007-03-27 18:28:26.000000000 +0200
@@ -17,7 +17,7 @@
 
 stop() {
 	killall rpc.mountd 2> /dev/null
-	killall -9 nfsd 2> /dev/null
+	killall -9 rpc.nfsd 2> /dev/null
 	/usr/sbin/exportfs -au
 	killall lockd 2> /dev/null
 	killall rpc.statd 2> /dev/null
diff -uNr old/nfs-kernel-server/Makefile new/nfs-kernel-server/Makefile
---     nfs-kernel-server/Makefile	2007-03-27 15:14:46.000000000 +0200
+++     nfs-kernel-server/Makefile	2007-03-27 18:27:50.000000000 +0200
@@ -22,6 +22,7 @@
 TITLE:=Kernel NFS server support
 DESCRIPTION:=Kernel NFS server support
 URL:=http://nfs.sourceforge.net/
+DEPENDS:=+kmod-fs-nfsd +kmod-fs-nfs +portmap
 endef
 
 define Package/nfs-kernel-server-utils

Attachments (0)

Change History (2)

comment:1 Changed 11 years ago by b.sander

"config-template" fix for 2.4 kernel

diff -uNr     target/linux/generic-2.4/config-template     target/linux/generic-2.4/config-template
---     target/linux/generic-2.4/config-template	2007-03-27 12:08:00.000000000 +0200
+++     target/linux/generic-2.4/config-template	2007-03-27 20:15:58.000000000 +0200
@@ -498,9 +498,9 @@
 # CONFIG_NET_VENDOR_3COM is not set
 # CONFIG_NET_VENDOR_RACAL is not set
 # CONFIG_NET_VENDOR_SMC is not set
-# CONFIG_NFSD is not set
+CONFIG_NFSD=m
+CONFIG_NFSD_V3=y
 # CONFIG_NFSD_TCP is not set
-# CONFIG_NFSD_V3 is not set
 # CONFIG_NFS_DIRECTIO is not set
 CONFIG_NFS_FS=m
 CONFIG_NFS_V3=y

comment:2 Changed 11 years ago by nbd

  • Resolution set to fixed
  • Status changed from new to closed

fixes added in [6729] and [6730]

Add Comment

Modify Ticket

Action
as closed .
The resolution will be deleted. Next status will be 'reopened'.
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.