Public bug reported:

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-to-version=-patrick kernel_image kernel_headers

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:

[EMAIL PROTECTED]:~/Escriptori/linux-source-2.6.27$ sudo make-kpkg clean
exec make -f /usr/share/kernel-package/ruleset/minimal.mk clean 
====== 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/patrick/Escriptori/linux-source-2.6.27'
Makefile:528: /home/patrick/Escriptori/linux-source-2.6.27/arch/xen/Makefile: 
No such file or directory
make[1]: *** No rule to make target 
`/home/patrick/Escriptori/linux-source-2.6.27/arch/xen/Makefile'.  Stop.
make[1]: Leaving directory `/home/patrick/Escriptori/linux-source-2.6.27'
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:

[EMAIL PROTECTED]:~/Escriptori/linux-2.6.26.5$ make-kpkg clean
exec make -f /usr/share/kernel-package/ruleset/minimal.mk clean 
====== 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/patrick/Escriptori/linux-2.6.26.5'
  CLEAN   scripts/basic
  CLEAN   scripts/kconfig
  CLEAN   include/config
  CLEAN   .config .config.old include/linux/autoconf.h
make[1]: Leaving directory `/home/patrick/Escriptori/linux-2.6.26.5'
test ! -f config.precious || mv -f config.precious .config
rm -f modules/modversions.h modules/ksyms.ver conf.vars scripts/cramfs/cramfsck 
scripts/cramfs/mkcramfs applied_patches  stamp-build stamp-configure 
stamp-image stamp-headers stamp-src stamp-diff stamp-doc stamp-manual 
stamp-patch stamp-buildpackage stamp-debian

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

** Affects: linux (Ubuntu)
     Importance: Undecided
         Status: New

** Description changed:

  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-to-version=-patrick kernel_image kernel_headers
  
- 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:
- 
+ 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:
+ [CODE]
  [EMAIL PROTECTED]:~/Escriptori/linux-source-2.6.27$ sudo make-kpkg clean
  exec make -f /usr/share/kernel-package/ruleset/minimal.mk clean 
  ====== 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/patrick/Escriptori/linux-source-2.6.27'
  Makefile:528: /home/patrick/Escriptori/linux-source-2.6.27/arch/xen/Makefile: 
No such file or directory
  make[1]: *** No rule to make target 
`/home/patrick/Escriptori/linux-source-2.6.27/arch/xen/Makefile'.  Stop.
  make[1]: Leaving directory `/home/patrick/Escriptori/linux-source-2.6.27'
  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:
+ [/CODE]
+ I've tried with a 2.6.26.5 kernel from kernel.org and it works fine. After 
make-kpkg clean I get this:
  
  [EMAIL PROTECTED]:~/Escriptori/linux-2.6.26.5$ make-kpkg clean
  exec make -f /usr/share/kernel-package/ruleset/minimal.mk clean 
  ====== 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/patrick/Escriptori/linux-2.6.26.5'
    CLEAN   scripts/basic
    CLEAN   scripts/kconfig
    CLEAN   include/config
    CLEAN   .config .config.old include/linux/autoconf.h
  make[1]: Leaving directory `/home/patrick/Escriptori/linux-2.6.26.5'
  test ! -f config.precious || mv -f config.precious .config
  rm -f modules/modversions.h modules/ksyms.ver conf.vars 
scripts/cramfs/cramfsck scripts/cramfs/mkcramfs applied_patches  stamp-build 
stamp-configure stamp-image stamp-headers stamp-src stamp-diff stamp-doc 
stamp-manual stamp-patch stamp-buildpackage stamp-debian
  
  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

** Description changed:

  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-to-version=-patrick kernel_image kernel_headers
  
- 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:
- [CODE]
+ 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:
+ 
  [EMAIL PROTECTED]:~/Escriptori/linux-source-2.6.27$ sudo make-kpkg clean
  exec make -f /usr/share/kernel-package/ruleset/minimal.mk clean 
  ====== 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/patrick/Escriptori/linux-source-2.6.27'
  Makefile:528: /home/patrick/Escriptori/linux-source-2.6.27/arch/xen/Makefile: 
No such file or directory
  make[1]: *** No rule to make target 
`/home/patrick/Escriptori/linux-source-2.6.27/arch/xen/Makefile'.  Stop.
  make[1]: Leaving directory `/home/patrick/Escriptori/linux-source-2.6.27'
  make: *** [minimal_clean] Error 2
- [/CODE]
- I've tried with a 2.6.26.5 kernel from kernel.org and it works fine. After 
make-kpkg clean I get this:
+ 
+ I've tried with a 2.6.26.5 kernel from kernel.org and it works fine.
+ After make-kpkg clean I get this:
  
  [EMAIL PROTECTED]:~/Escriptori/linux-2.6.26.5$ make-kpkg clean
  exec make -f /usr/share/kernel-package/ruleset/minimal.mk clean 
  ====== 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/patrick/Escriptori/linux-2.6.26.5'
    CLEAN   scripts/basic
    CLEAN   scripts/kconfig
    CLEAN   include/config
    CLEAN   .config .config.old include/linux/autoconf.h
  make[1]: Leaving directory `/home/patrick/Escriptori/linux-2.6.26.5'
  test ! -f config.precious || mv -f config.precious .config
  rm -f modules/modversions.h modules/ksyms.ver conf.vars 
scripts/cramfs/cramfsck scripts/cramfs/mkcramfs applied_patches  stamp-build 
stamp-configure stamp-image stamp-headers stamp-src stamp-diff stamp-doc 
stamp-manual stamp-patch stamp-buildpackage stamp-debian
  
  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

-- 
Recompile ubuntu kernel
https://bugs.launchpad.net/bugs/280173
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to