From Bugzilla Helper: User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.6) Gecko/20040524 Description of problem: Rebuilding kernel-2.6.9-27.EL drom the src RPM with CONFIG_ROOT_NFS=y fails: fs/nfs/nfsroot.c:163: error: `Opt_acl' undeclared here (not in a function) fs/nfs/nfsroot.c:163: error: initializer element is not constant fs/nfs/nfsroot.c:163: error: (near initialization for `tokens[30].token') fs/nfs/nfsroot.c:163: error: initializer element is not constant fs/nfs/nfsroot.c:163: error: (near initialization for `tokens[30]') fs/nfs/nfsroot.c:164: error: `Opt_noacl' undeclared here (not in a function) fs/nfs/nfsroot.c:164: error: initializer element is not constant fs/nfs/nfsroot.c:164: error: (near initialization for `tokens[31].token') fs/nfs/nfsroot.c:164: error: initializer element is not constant fs/nfs/nfsroot.c:164: error: (near initialization for `tokens[31]') fs/nfs/nfsroot.c:165: error: initializer element is not constant fs/nfs/nfsroot.c:165: error: (near initialization for `tokens[32]') Version-Release number of selected component (if applicable): kernel-2.6.9-27.EL.src.rpm How reproducible: Always Steps to Reproduce: 1. Recompile kernel with CONFIG_ROOT_NFS=y 2. 3. Actual Results: Fails to compile Expected Results: Compile OK Additional info: Patch to follow
Created attachment 123114 [details] patch to fs/nfs/nfsroot.c
This request was evaluated by Red Hat Product Management for inclusion in a Red Hat Enterprise Linux maintenance release. Product Management has requested further review of this request by Red Hat Engineering, for potential inclusion in a Red Hat Enterprise Linux Update release for currently deployed products. This request is not yet committed for inclusion in an Update release.
committed in stream U5 build 42.11. A test kernel with this patch is available from http://people.redhat.com/~jbaron/rhel4/
verified that the patch is in and the -50 kernel will build with nfs root enabled.
An advisory has been issued which should help the problem described in this bug report. This report is therefore being closed with a resolution of ERRATA. For more information on the solution and/or where to find the updated files, please follow the link below. You may reopen this bug report if the solution does not work for you. http://rhn.redhat.com/errata/RHBA-2007-0304.html