View Poll Results: Was this helpful to you?

Voters
1159. You may not vote on this poll
Page 140 of 152 FirstFirst ... 4090130138139140141142150 ... LastLast
Results 1,391 to 1,400 of 1518

Thread: Master Kernel Thread

  1. #1391
    Join Date
    Sep 2006
    Location
    Londinium
    Beans
    602

    Exclamation Re: Master Kernel Thread

    Anyone knows how to get around this problem during compilation of the newest RC kernel?

    Code:
    make[1]: Entering directory `/usr/src/linux-2.6.33-rc2'
    ====== making target debian/stamp/install/linux-image-2.6.33-rc2-exhibitiona [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-rc2-exhibitiona\" "; echo "Please correct this."; exit 2
    The UTS Release version in include/linux/version.h
    	   "" 
    does not match current version:
    	   "2.6.33-rc2-exhibitiona" 
    Please correct this.
    make[1]: *** [debian/stamp/install/linux-image-2.6.33-rc2-exhibitiona] Error 2
    make[1]: Leaving directory `/usr/src/linux-2.6.33-rc2'
    make: *** [kernel_image] Error 2
    ThinkPad W500: C2D 2,5GHz, 8GB ram, GPU Intel & ATI, Middleton BIOS, SSD + UltraBay HDD, USB 3.0 ExpressCard, BTRFS + full disk encryption.

  2. #1392
    Join Date
    Sep 2009
    Beans
    15

    Re: Master Kernel Thread

    Quote Originally Posted by Lockheed View Post
    Anyone knows how to get around this problem during compilation of the newest RC kernel?

    Code:
    make[1]: Entering directory `/usr/src/linux-2.6.33-rc2'
    ====== making target debian/stamp/install/linux-image-2.6.33-rc2-exhibitiona [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-rc2-exhibitiona\" "; echo "Please correct this."; exit 2
    The UTS Release version in include/linux/version.h
           "" 
    does not match current version:
           "2.6.33-rc2-exhibitiona" 
    Please correct this.
    make[1]: *** [debian/stamp/install/linux-image-2.6.33-rc2-exhibitiona] Error 2
    make[1]: Leaving directory `/usr/src/linux-2.6.33-rc2'
    make: *** [kernel_image] Error 2
    i'm having the exact same error. searching google doesn't tell me much... thouch it seems like similar problems have occurred when files have been changed/removed and links changed... seems like the pointer towards version.h is corrupted?

  3. #1393
    Join Date
    Sep 2009
    Beans
    15

    Re: Master Kernel Thread

    Quote Originally Posted by Milos_SD View Post
    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!
    sorry, didn't read that one before...

  4. #1394
    Join Date
    Sep 2006
    Location
    Londinium
    Beans
    602

    Re: Master Kernel Thread

    Quote Originally Posted by serein View Post
    sorry, didn't read that one before...
    It worked but now I have an error when installing debs:

    Code:
    dpkg -i linux*2.6.33*.deb
    Selecting previously deselected package linux-headers-2.6.33-rc2-exhibitiona.
    (Reading database ... 140169 files and directories currently installed.)
    Unpacking linux-headers-2.6.33-rc2-exhibitiona (from linux-headers-2.6.33-rc2-exhibitiona_2.6.33-rc2-exhibitiona-10.00.Custom_amd64.deb) ...
    Selecting previously deselected package linux-image-2.6.33-rc2-exhibitiona.
    Unpacking linux-image-2.6.33-rc2-exhibitiona (from linux-image-2.6.33-rc2-exhibitiona_2.6.33-rc2-exhibitiona-10.00.Custom_amd64.deb) ...
    Done.
    Setting up linux-headers-2.6.33-rc2-exhibitiona (2.6.33-rc2-exhibitiona-10.00.Custom) ...
    
    Setting up linux-image-2.6.33-rc2-exhibitiona (2.6.33-rc2-exhibitiona-10.00.Custom) ...
    Running depmod.
    Finding valid ramdisk creators.
    Using mkinitramfs-kpkg to build the ramdisk.
    cryptsetup: WARNING: found more than one resume device candidate:
                         /dev/sda7
                         UUID=24e59dc5-cd67-4717-94ed-c3ff28b6ab26
                         5dbdcfc2-346a-4956-85f2-091f2c1295bc
    Running postinst hook script update-grub.
    Searching for GRUB installation directory ... found: /boot/grub
    Searching for default file ... found: /boot/grub/default
    Testing for an existing GRUB menu.lst file ... found: /boot/grub/menu.lst
    Searching for splash image ... none found, skipping ...
    Found kernel: /boot/vmlinuz-2.6.33-rc2-exhibitiona
    Found kernel: /boot/vmlinuz-2.6.31.6-ewolucya
    Found kernel: /boot/memtest86+.bin
    Updating /boot/grub/menu.lst ... done
    
    Examining /etc/kernel/postinst.d.
    run-parts: executing /etc/kernel/postinst.d/dkms
    run-parts: executing /etc/kernel/postinst.d/nvidia-common
    run-parts: /etc/kernel/postinst.d/nvidia-common exited with return code 20
    Failed to process /etc/kernel/postinst.d at /var/lib/dpkg/info/linux-image-2.6.33-rc2-exhibitiona.postinst line 1186.
    dpkg: error processing linux-image-2.6.33-rc2-exhibitiona (--install):
     subprocess post-installation script returned error exit status 2
    Errors were encountered while processing:
     linux-image-2.6.33-rc2-exhibitiona
    Last edited by Lockheed; January 6th, 2010 at 01:10 PM.
    ThinkPad W500: C2D 2,5GHz, 8GB ram, GPU Intel & ATI, Middleton BIOS, SSD + UltraBay HDD, USB 3.0 ExpressCard, BTRFS + full disk encryption.

  5. #1395
    Join Date
    Feb 2008
    Location
    In an apartment
    Beans
    Hidden!

    Re: Master Kernel Thread

    I had the same error. It happens when you copy/paste the commands into terminal. When you highlight and copy this line:

    Code:
    INSTALL_MOD_STRIP=1 CONCURRENCY_LEVEL=3 make-kpkg --initrd --append-to-version=-mk 
    kernel_image kernel_headers modules_image
    There's a line break between kernel_image and kernel_headers. What happens is, when you copy the code it copies the line break and Terminal thinks it's an 'enter' command. So it doesn't create the kernel_headers or modules_images.

    The only way I've found to fix it is to recompile with the correct commands in place. (You'll need to type that line by hand.)

    Hope this helps!
    Linux User #466895 | Ubuntu User #20791 | LinuxCommand | PsychoCats

    "What is to give light must endure burning." ~Viktor Frankl

  6. #1396
    Join Date
    Sep 2006
    Location
    Londinium
    Beans
    602

    Re: Master Kernel Thread

    Quote Originally Posted by piperdown10 View Post
    I had the same error. It happens when you copy/paste the commands into terminal. When you highlight and copy this line:

    Code:
    INSTALL_MOD_STRIP=1 CONCURRENCY_LEVEL=3 make-kpkg --initrd --append-to-version=-mk 
    kernel_image kernel_headers modules_image
    There's a line break between kernel_image and kernel_headers. What happens is, when you copy the code it copies the line break and Terminal thinks it's an 'enter' command. So it doesn't create the kernel_headers or modules_images.

    The only way I've found to fix it is to recompile with the correct commands in place. (You'll need to type that line by hand.)

    Hope this helps!
    Thanks, but I know about the line break and my command was correct.
    ThinkPad W500: C2D 2,5GHz, 8GB ram, GPU Intel & ATI, Middleton BIOS, SSD + UltraBay HDD, USB 3.0 ExpressCard, BTRFS + full disk encryption.

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

    Re: Master Kernel Thread

    When will master_kernel update first post with new kernels?

    That solution I suggested coused that error when instaling debs, sorry.

    Solution that Dizzle7677 mentioned is the right one. Just copy files from include/generated/ to include/linux while it is compiling.
    Last edited by Milos_SD; January 9th, 2010 at 12:57 AM.

  8. #1398
    Join Date
    Nov 2006
    Location
    United States
    Beans
    665
    Distro
    Ubuntu Development Release

    Re: Master Kernel Thread

    Sorry, I forgot to run my update program recently. Just updated for the latest kernel.
    The one and only, Master Kernel Thread
    KernelCheck - Finally. A way to easily download, compile, and install the latest kernel. Release 1.2.5 available now.

  9. #1399
    Join Date
    Oct 2008
    Location
    Veles,Macedonia
    Beans
    5
    Distro
    Ubuntu 9.10 Karmic Koala

    Re: Master Kernel Thread

    Quote Originally Posted by Milos_SD View Post
    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!
    I was strugling to update update my kernel to 2.6.32.3...when I got to the problem I tried to do your workaround.
    It is good,but (I dont know if it is only me or you made a mistake) its the opposite.
    To make myself clear,you have to change
    Code:
    UTS_RELEASE_HEADER=$(call doit,if [ -f include/generated/utsrelease.h ]; then  \
    	                       echo include/generated/utsrelease.h;            \
    to:
    Code:
    UTS_RELEASE_HEADER=$(call doit,if [ -f include/linux/utsrelease.h ]; then  \
    	                       echo include/linux/utsrelease.h;            \

    But anyway,thank you for posting this sollution!

  10. #1400
    Join Date
    Aug 2009
    Beans
    76

    Re: Master Kernel Thread

    Great guide! I have one problem though. Whenever I use aptitude or apt-get it tries to configure the kernel image, and fails. It takes a while, and I don't want to wait that long every time I install a program. Can I put the package on hold somehow through dpkg?

Page 140 of 152 FirstFirst ... 4090130138139140141142150 ... 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
  •