LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   What paremeters to add to .config to allow kernel build with a reiser4 patch [reiser4-for-4.11.0.patch.gz]? (https://www.linuxquestions.org/questions/linux-software-2/what-paremeters-to-add-to-config-to-allow-kernel-build-with-a-reiser4-patch-%5Breiser4-for-4-11-0-patch-gz%5D-4175611356/)

Glenn D. 08-05-2017 05:12 AM

What paremeters to add to .config to allow kernel build with a reiser4 patch [reiser4-for-4.11.0.patch.gz]?
 
Hello.
What paremeters to add to .config to allow kernel build with a reiser4 patch [reiser4-for-4.11.0.patch.gz]?
- make oldconfig seems to remove them.

Add in:
CONFIG_REISER4_DEBUG=n
CONFIG_REISER4_FS=m

#
Am I missing any parameters ?
Thanks for your expertise.
--Glenn

urls

:spec
https://build.opensuse.org/package/v....spec?expand=1

:reiser4 parameters allow patch to enable patch.
https://build.opensuse.org/package/v...s.txt?expand=1

reiser4 patch
[reiser4-for-4.11.0.patch.gz 2017-06-03 625.9 kB]
https://sourceforge.net/projects/rei....11.0.patch.gz

:build log.
https://build.opensuse.org/build/hom...l-vanilla/_log
:build log content

[ 74s] # configuration written to .config
[ 74s] #
[ 74s] make[1]: Leaving directory `/home/abuild/rpmbuild/BUILD/kernel-vanilla-4.12.4/linux-4.12/linux-obj'
[ 74s] make: Leaving directory `/home/abuild/rpmbuild/BUILD/kernel-vanilla-4.12.4/linux-4.12'
[ 74s] + echo '#run: /home/abuild/rpmbuild/SOURCES/check-for-config-changes .config.orig .config'
[ 74s] #run: /home/abuild/rpmbuild/SOURCES/check-for-config-changes .config.orig .config
[ 74s] + /home/abuild/rpmbuild/SOURCES/check-for-config-changes .config.orig .config
[ 74s]
[ 74s] Changes after running `make oldconfig':
[ 74s] -# CONFIG_FRAME_POINTER_UNWINDER is not set
[ 74s] -# CONFIG_GUESS_UNWINDER is not set
[ 74s] +# CONFIG_REISER4_DEBUG is not set
[ 74s] -# CONFIG_SUSE_KERNEL_SUPPORTED is not set
[ 74s] -CONFIG_CRASHER=m
[ 74s] -CONFIG_HAVE_MOD_ARCH_SPECIFIC=y
[ 74s] -CONFIG_NF_CONNTRACK_SLP=m
[ 74s] -CONFIG_ORC_UNWINDER=y
[ 74s] -CONFIG_REISER4_DEBUG=n
[ 74s] -CONFIG_REISER4_DEBUG=n
[ 74s] -CONFIG_REISER4_FS=m
[ 74s] -CONFIG_SUSE_KERNEL=y
[ 74s] -CONFIG_UNWIND_INFO=y
[ 74s]
[ 74s] error: Bad exit status from /var/tmp/rpm-tmp.OzqHE8 (%prep)
[ 74s]
[ 74s]
[ 74s] RPM build errors:
[ 74s] Bad exit status from /var/tmp/rpm-tmp.OzqHE8 (%prep)
[ 74s]
[ 74s] cloud135 failed "build kernel-vanilla.spec" at Sat Aug 5 08:57:33 UTC 2017.
[ 74s]
[ 74s] ### VM INTERACTION START ###
[ 79s] [ 50.623286] reboot: Power down
[ 91s] ### VM INTERACTION END ###
[ 91s]
[ 91s] cloud135 failed "build kernel-vanilla.spec" at Sat Aug 5 08:57:51 UTC 2017.

AwesomeMachine 08-05-2017 11:49 PM

Make oldconfig sets the kernel config to that of the running kernel. If you want to change the config, you can run "make xconfig" or "make menuconfig" after you run "make oldconfig".

Also, many distro kernels are already patched for reiser4. Did you apply the patch? Or are you using an rpm distro? It looks like you're applying the 4.11 patch to a 4.12 kernel source.


All times are GMT -5. The time now is 08:03 AM.