DRBD PPC64

From VVCWiki
Jump to navigationJump to search

How to build kernel, DRBD on PPC64 platform


  • kernel
    • set CONFIG_PPC_64K_PAGES=n in kernel-2.6.18-ppc64.config
    • comment out path Patch23256: linux-2.6-ppc64-subpage-protection-for-pave.patch in kernel-2.6.spec
    • %define buildid .vvc in kernel-2.6.spec
    • compile:
setarch ppc64 rpmbuild -ba --target ppc64 --with baseonly --without kabichk --without debuginfo kernel-2.6.spec