problem customizing latest source kernel

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



i've downloaded the newest source using up2date --get-source kernel-src
Aug 31 08:35 kernel-2.6.9-42.0.2.EL.src.rpm

installed it and then ran
rpmbuild -bp --target x86_64 /usr/src/redhat/SPECS/kernel-2.6.spec

now i'm trying to build <http://www.linuxquestions.org/questions/showthread.php?t=482767#> some stuff into the kernel and one of them is nfsroot boot. the make is failing with

CHK include/linux/compile.h
CC fs/nfs/nfsroot.o
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]')
make[2]: *** [fs/nfs/nfsroot.o] Error 1
make[1]: *** [fs/nfs] Error 2
make: *** [fs] Error 2

if i edit the nfsroot.c file to remove the lines that build the acl,noacl options, the build completes.

if i just build-in my nic driver (bnx2) the build completes.
normally we add the following (to build a nfsroot boot kernel)
- loopback device support
- ip kernel-level autoconfiguration (dhcp/bootp)
- turn-off nfs server support
- any NIC drivers we need
- any SCSI/SATA drivers (currently megaraid_sas)
- root over nfs

any help is appreciated.


--


------------------------------

Kevin Kramer
Sr. Systems Administrator
512.418.5725
Centaur Technology, Inc.
www.centtech.com

--
redhat-list mailing list
unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list

[Index of Archives]     [CentOS]     [Kernel Development]     [PAM]     [Fedora Users]     [Red Hat Development]     [Big List of Linux Books]     [Linux Admin]     [Gimp]     [Asterisk PBX]     [Yosemite News]     [Red Hat Crash Utility]


  Powered by Linux