View Poll Results: Was this helpful to you?

Voters
1159. You may not vote on this poll
Page 139 of 152 FirstFirst ... 3989129137138139140141149 ... LastLast
Results 1,381 to 1,390 of 1518

Thread: Master Kernel Thread

  1. #1381
    Join Date
    Jul 2005
    Location
    Lafayette, IN
    Beans
    143
    Distro
    Kubuntu 10.04 Lucid Lynx

    Re: Master Kernel Thread

    Quote Originally Posted by Melcar View Post
    I've been trying to compile the 2.6.32 kernel. Compiles fine, but when I try to install the packages I get:

    Code:
    Failed to process /etc/kernel/postinst.d at /var/lib/dpkg/info/linux-image-2.6.32-amd64.postinst line 1186.
    dpkg: error processing linux-image-2.6.32-amd64 (--install):
     subprocess installed post-installation script returned error exit status 2
    Errors were encountered while processing:
     linux-image-2.6.32-amd64
    Melcar,

    Is there any mention of "run-parts: /etc/kernel/postinst.d/nvidia-common exited with return code 20" above what you have pasted here? If so, then I believe running this should solve it: "sudo apt-get remove --purge nvidia-common"
    -Jason

  2. #1382
    Join Date
    Aug 2006
    Location
    Smederevo/Serbia
    Beans
    177
    Distro
    Ubuntu 14.04 Trusty Tahr

    Re: Master Kernel Thread

    I have one question about compileing 2.6.32 kernel with linux-next patch. It compiles ok, but when it comes to creating .deb files, it fails with the following errors:

    Code:
    ====== making target debian/stamp/install/linux-image-2.6.32-core2duo-next-20091208 [new prereqs: ]======
    This is kernel package version 11.015.
    echo "The UTS Release version in include/linux/version.h"; echo "	   \"\" "; echo "does not match current version:"; echo "	   \"2.6.32-core2duo-next-20091208\" "; echo "Please correct this."; exit 2
    The UTS Release version in include/linux/version.h
    	   "" 
    does not match current version:
    	   "2.6.32-core2duo-next-20091208" 
    Please correct this.
    make[1]: *** [debian/stamp/install/linux-image-2.6.32-core2duo-next-20091208] Error 2
    make[1]: Leaving directory `/home/sdcafe/Kompajlirani_programi/KERNEL/linux-2.6.32-next-20091208'
    make: *** [kernel_image] Error 2
    Can someone help me fix this?

  3. #1383
    Join Date
    Sep 2009
    Beans
    15

    Re: Master Kernel Thread

    Quote Originally Posted by TSJason View Post
    Melcar,

    Is there any mention of "run-parts: /etc/kernel/postinst.d/nvidia-common exited with return code 20" above what you have pasted here? If so, then I believe running this should solve it: "sudo apt-get remove --purge nvidia-common"
    that did fix the installation for me, i'll be back when i've rebooted in to the kernel....

    edit: worked fine! thanks a lot! saved me a couple of hours of recompiling=)
    Last edited by serein; December 14th, 2009 at 06:20 PM.

  4. #1384
    Join Date
    Oct 2009
    Location
    Texas
    Beans
    108
    Distro
    Ubuntu 9.10 Karmic Koala

    Exclamation Re: Master Kernel Thread

    Newbie here, but how do I download and install the new KernelCheck 1.2.5? I'm currently stuck with the 1.1.4 I think.

    Hulp!

    Nevermind, I have 1.2.5 lol, sorry.
    Last edited by BT1; December 14th, 2009 at 08:54 PM.
    "Nothing is certain until you are certain of nothing."

  5. #1385
    Join Date
    Aug 2006
    Location
    Smederevo/Serbia
    Beans
    177
    Distro
    Ubuntu 14.04 Trusty Tahr

    Re: Master Kernel Thread

    2.6.33-rc1 is out, and there is no way to finish compilation. Always geting the same error.
    Code:
    make[1]: Leaving directory `/home/sdcafe/Kompajlirani_programi/KERNEL/linux-2.6.33-rc1'
    test ! -e scripts/package/builddeb || mv -f scripts/package/builddeb scripts/package/builddeb.kpkg-dist
    test ! -e scripts/package/Makefile || test -f scripts/package/Makefile.kpkg-dist || (mv -f scripts/package/Makefile scripts/package/Makefile.kpkg-dist && (echo "# Dummy file "; echo "help:") >  scripts/package/Makefile)
    COLUMNS=150 dpkg -l 'gcc*' perl dpkg 'libc6*' binutils make dpkg-dev |\
    	 awk '$1 ~ /[hi]i/ { printf("%s-%s\n", $2, $3) }'> debian/buildinfo
    uname -a >> debian/buildinfo
    echo using the compiler: >> debian/buildinfo
    grep LINUX_COMPILER include/linux/compile.h | \
    	   sed -e 's/.*LINUX_COMPILER "//' -e 's/"$//' >> debian/buildinfo
    grep: include/linux/compile.h: No such file or directory
    echo applied kernel patches: >> debian/buildinfo
    echo done > debian/stamp/build/kernel
    /usr/bin/make -f ./debian/rules 	debian/stamp/binary/pre-linux-image-2.6.33-rc1-core2duo
    make[1]: Entering directory `/home/sdcafe/Kompajlirani_programi/KERNEL/linux-2.6.33-rc1'
    ====== making target debian/stamp/install/linux-image-2.6.33-rc1-core2duo [new prereqs: ]======
    This is kernel package version 11.015.
    echo "The UTS Release version in include/linux/version.h"; echo "	   \"\" "; echo "does not match current version:"; echo "	   \"2.6.33-rc1-core2duo\" "; echo "Please correct this."; exit 2
    The UTS Release version in include/linux/version.h
    	   "" 
    does not match current version:
    	   "2.6.33-rc1-core2duo" 
    Please correct this.
    make[1]: *** [debian/stamp/install/linux-image-2.6.33-rc1-core2duo] Error 2
    make[1]: Leaving directory `/home/sdcafe/Kompajlirani_programi/KERNEL/linux-2.6.33-rc1'
    make: *** [kernel_image] Error 2
    Help please.

  6. #1386
    Join Date
    May 2008
    Location
    Relativity
    Beans
    Hidden!
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: Master Kernel Thread

    Quote Originally Posted by Milos_SD View Post
    2.6.33-rc1 is out, and there is no way to finish compilation. Always geting the same error.
    Code:
    make[1]: Leaving directory `/home/sdcafe/Kompajlirani_programi/KERNEL/linux-2.6.33-rc1'
    test ! -e scripts/package/builddeb || mv -f scripts/package/builddeb scripts/package/builddeb.kpkg-dist
    test ! -e scripts/package/Makefile || test -f scripts/package/Makefile.kpkg-dist || (mv -f scripts/package/Makefile scripts/package/Makefile.kpkg-dist && (echo "# Dummy file "; echo "help:") >  scripts/package/Makefile)
    COLUMNS=150 dpkg -l 'gcc*' perl dpkg 'libc6*' binutils make dpkg-dev |\
    	 awk '$1 ~ /[hi]i/ { printf("%s-%s\n", $2, $3) }'> debian/buildinfo
    uname -a >> debian/buildinfo
    echo using the compiler: >> debian/buildinfo
    grep LINUX_COMPILER include/linux/compile.h | \
    	   sed -e 's/.*LINUX_COMPILER "//' -e 's/"$//' >> debian/buildinfo
    grep: include/linux/compile.h: No such file or directory
    echo applied kernel patches: >> debian/buildinfo
    echo done > debian/stamp/build/kernel
    /usr/bin/make -f ./debian/rules 	debian/stamp/binary/pre-linux-image-2.6.33-rc1-core2duo
    make[1]: Entering directory `/home/sdcafe/Kompajlirani_programi/KERNEL/linux-2.6.33-rc1'
    ====== making target debian/stamp/install/linux-image-2.6.33-rc1-core2duo [new prereqs: ]======
    This is kernel package version 11.015.
    echo "The UTS Release version in include/linux/version.h"; echo "	   \"\" "; echo "does not match current version:"; echo "	   \"2.6.33-rc1-core2duo\" "; echo "Please correct this."; exit 2
    The UTS Release version in include/linux/version.h
    	   "" 
    does not match current version:
    	   "2.6.33-rc1-core2duo" 
    Please correct this.
    make[1]: *** [debian/stamp/install/linux-image-2.6.33-rc1-core2duo] Error 2
    make[1]: Leaving directory `/home/sdcafe/Kompajlirani_programi/KERNEL/linux-2.6.33-rc1'
    make: *** [kernel_image] Error 2
    Help please.
    You can find an explanation here. http://groups.google.com/group/linux...d2d116a4?fwc=1

    In commit 92045954058671fdd0ccf031ca06611ce1d929d1¹, compile.h was moved
    from include/linux to include/generated.

    You might have to pause before the making the package and move the compile.h to where make-kpkg thinks it should be in include/linux. I'm going to give it a try and see what blows up.

    ::UPDATE FYI::
    Copying the compile.h from include/generated to include/linux allows the build to complete normally. I copied all the files but you can just do the compile.h if you're wary. This will do until deb/ubu do an update to address this bug I suppose.
    Last edited by Dizzle7677; December 18th, 2009 at 09:23 PM.
    JonDo
    'Weird magic happens here' Error: Success

  7. #1387
    Join Date
    Aug 2006
    Location
    Smederevo/Serbia
    Beans
    177
    Distro
    Ubuntu 14.04 Trusty Tahr

    Re: Master Kernel Thread

    Thanks Dizzle7677. I'll try that right away.

    Edit:

    I found another way get around this, and it is a permanent.

    Edit /usr/share/kernel-package/ruleset/misc/version_vars.mk

    find:

    Code:
    UTS_RELEASE_HEADER=$(call doit,if [ -f include/linux/utsrelease.h ]; then  \
    	                       echo include/linux/utsrelease.h;            \
    and change it in:

    Code:
    UTS_RELEASE_HEADER=$(call doit,if [ -f include/generated/utsrelease.h ]; then  \
    	                       echo include/generated/utsrelease.h;            \
    Enjoy!
    Last edited by Milos_SD; December 18th, 2009 at 10:55 PM.

  8. #1388
    Join Date
    Aug 2006
    Location
    Smederevo/Serbia
    Beans
    177
    Distro
    Ubuntu 14.04 Trusty Tahr

    Re: Master Kernel Thread

    I can't install nvidia driver on this kernel, even with that nvacpi.c patch. If I understood the log, it says that it can't find kernel source. :S

  9. #1389
    Join Date
    Apr 2006
    Beans
    193

    Re: Master Kernel Thread

    Sorry, wrong thread
    Last edited by ernstblaauw; December 20th, 2009 at 05:12 PM. Reason: Wrong thread

  10. #1390
    Join Date
    Aug 2009
    Beans
    3

    Re: Master Kernel Thread

    I just stepped through this trying to make a kernal and I got the error below.
    Now what ? sorry but I do not know linux at all. what I needed was to incluide e1000e drivers in the BZimage so I can boot clients via PXY and register them.

    HELP! please

    root@fog:/usr/src/linux-2.6.32# cd .. && dpkg -i linux*2.6.32*.deb
    Selecting previously deselected package linux-image-2.6.32-mk.
    (Reading database ... 126220 files and directories currently installed.)
    Unpacking linux-image-2.6.32-mk (from linux-image-2.6.32-mk_2.6.32-mk-10.00.Custom_i386.deb) ...
    Done.
    Setting up linux-image-2.6.32-mk (2.6.32-mk-10.00.Custom) ...
    Finding valid ramdisk creators.
    Using mkinitramfs-kpkg to build the ramdisk.
    mkinitramfs-kpkg failed to create initrd image.
    Failed to create initrd image.
    dpkg: error processing linux-image-2.6.32-mk (--install):
    subprocess installed post-installation script returned error exit status 9
    Errors were encountered while processing:
    linux-image-2.6.32-mk
    root@fog:/usr/src#

Page 139 of 152 FirstFirst ... 3989129137138139140141149 ... LastLast

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •