Recompile ubuntu kernel
Binary package hint: linux-source-2.6.27
Hi there
I've installed the linux-source-2.6.27 package and now I'm trying to recompile it. Why? I want to enable the pci express power savings and want to patch it to enable tux on ice.
To recompile I do: S
make oldconfig
make xconfig
make-kpkg clean
make-kpkg --inititrd --append-
I've compiled succesfullly various kernels before, but in intrepid I am unable to do it. When I do make-kpkg clean I get this error:
patrick@
exec make -f /usr/share/
====== making target minimal_clean [new prereqs: ]======
Cleaning.
test ! -f .config || cp -pf .config config.precious
test ! -e stamp-building || rm -f stamp-building
test ! -f Makefile || \
make ARCH=xen distclean
make[1]: Entering directory `/home/
Makefile:528: /home/patrick/
make[1]: *** No rule to make target `/home/
make[1]: Leaving directory `/home/
make: *** [minimal_clean] Error 2
I've tried with a 2.6.26.5 kernel from kernel.org and it works fine. After make-kpkg clean I get this:
patrick@
exec make -f /usr/share/
====== making target minimal_clean [new prereqs: ]======
Cleaning.
test ! -f .config || cp -pf .config config.precious
test ! -e stamp-building || rm -f stamp-building
test ! -f Makefile || \
make ARCH=x86_64 distclean
make[1]: Entering directory `/home/
CLEAN scripts/basic
CLEAN scripts/kconfig
CLEAN include/config
CLEAN .config .config.old include/
make[1]: Leaving directory `/home/
test ! -f config.precious || mv -f config.precious .config
rm -f modules/
I believe it's having trouble with arch. The 27 ubuntu kernel outputs ARCH=xen and the 26.5 ARCH=x86_64
Am I doing something wrong or is it a bug?
thanks for you time
Question information
- Language:
- English Edit question
- Status:
- Expired
- For:
- Ubuntu linux Edit question
- Assignee:
- No assignee Edit question
- Last query:
- Last reply:
This question was originally filed as bug #280173.