Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
For bugs related to Red Hat Enterprise Linux 4 product line. The current stable release is 4.9. For Red Hat Enterprise Linux 6 and above, please visit Red Hat JIRA https://issues.redhat.com/secure/CreateIssue!default.jspa?pid=12332745 to report new issues.

Bug 177624

Summary: Rebuild of 2.6.9-27 with CONFIG_ROOT_NFS=y fails
Product: Red Hat Enterprise Linux 4 Reporter: James Pearson <james-p>
Component: kernelAssignee: Steve Dickson <steved>
Status: CLOSED ERRATA QA Contact: Brian Brock <bbrock>
Severity: medium Docs Contact:
Priority: medium    
Version: 4.0CC: jbaron
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: RHBA-2007-0304 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2007-05-02 00:02:41 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 176344    
Attachments:
Description Flags
patch to fs/nfs/nfsroot.c none

Description James Pearson 2006-01-12 14:19:16 UTC
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

Comment 1 James Pearson 2006-01-12 14:22:57 UTC
Created attachment 123114 [details]
patch to fs/nfs/nfsroot.c

Comment 2 RHEL Program Management 2006-09-07 19:34:04 UTC
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.

Comment 3 RHEL Program Management 2006-09-07 19:34:07 UTC
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.

Comment 4 RHEL Program Management 2006-09-07 19:34:14 UTC
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.

Comment 6 Jason Baron 2006-09-15 19:12:03 UTC
committed in stream U5 build 42.11. A test kernel with this patch is available
from http://people.redhat.com/~jbaron/rhel4/


Comment 8 Mike Gahagan 2007-03-21 19:46:34 UTC
verified that the patch is in and the -50 kernel will build with nfs root enabled.



Comment 10 Red Hat Bugzilla 2007-05-02 00:02:41 UTC
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