Posts Tagged ‘Linux’

How-to Install Nvidia Driver on 2.6.25-2 Debian Kernel (with Xen)

Sunday, May 25th, 2008

Another big surprise rolled out from the Debian Unstable repository when today I updated my kernel from 2.6.25-1 to 2.6.25-2 - the maintainers have enabled Xen in the non-Xen kernel (linux-image-2.6.25-2-686). The result from this is that Nvidia drivers don’t compile throwing error about Xen enabled kernel.

The solution (if you don’t want to recompile your own kernel) :

As usual backup before executing any of these :)

  1. cd /lib/modules/2.6.25-2-686 (or wherever are your modules)
  2. grep CONFIG_XEN . -Rl | xargs -i sed -i -e ’s/CONFIG_XEN/CONFIG_LUPO/g’ {}
  3. export IGNORE_XEN_PRESENCE=1
  4. sh NVIDIA-Linux-x86-173.08-pkg1.run (or you can use patched 169.12 - http://www.nvnews.net/vbulletin/showthread.php?t=110088 )

Source: linux-image-2.6.25-2-686: nVidia driver fails to compile due to active Xen support

How-to Install VMware Player / Workstation on 2.6.25 Kernel

Wednesday, May 7th, 2008

After the successful How-to install VMware Player and Workstation on 2.6.24 Linux kernel and with 2.6.25 up and running on my Debian Unstable (Sid) I had no option but to update the procedure.

  1. Download latest and greatest products from VMware
  2. Install and patch as described in the previous post (use vmware-any-any-update-116.tgz)
  3. Download the vmware-any-any-update-117-very-ALPHA.tgz
  4. Extract the archive in /usr/lib/vmware/modules/source (or wherever are yours vmblock.tar, vmmon.tar, vmnet.tar)
  5. Run vmware-2.6.25.sh and then vmware-config.pl
  6. If compiles - have fun, if not drop me a line :)

Important notes:

  1. The original author of the patches is 6xx I have modified the vmmon.patch since otherwise I was getting the error at the bottom of the article. The original patches can be found here
  2. vmware-2.6.25.sh is a very dumb script - read it carefully before executing. It will be even better to paste the commands one by one
  3. This any-any patch has nothing to do with the original any-any patches by Petr therefor I do not want to take the credit for it. All I’m trying to achieve is to gather the Linux VMware community here and share ideas. If someone wants to help and make the patches more unified and smarter just drop me a mail (can be found on the home page)
  4. I take no responsibility for any problems or damage that may
    occur as a result of using any of the information contained in this article.
    Use the information at your own risk ;)

Error log:

    include/asm/page.h: In function ‘pte_t native_make_pte(pteval_t)’:
    include/asm/page.h:128: error: expected primary-expression before ‘)’ token
    include/asm/page.h:128: error: expected ‘;’ before ‘{’ token
    include/asm/page.h:128: error: expected primary-expression before ‘.’ token
    include/asm/page.h:128: error: expected `;' before ‘}’ token
    include/asm/paravirt.h: In function ‘pte_t __pte(pteval_t)’:
    include/asm/paravirt.h:955: error: expected primary-expression before ‘)’ token
    include/asm/paravirt.h:955: error: expected ‘;’ before ‘{’ token
    include/asm/paravirt.h:955: error: expected primary-expression before ‘.’ token
    include/asm/paravirt.h:955: error: expected `;' before ‘}’ token
    include/asm/paravirt.h: In function ‘void pmd_clear(pmd_t*)’:
    include/asm/paravirt.h:1171: warning: missing braces around initializer for ‘pud_t’
    include/asm/paravirt.h:1171: warning: missing braces around initializer for ‘pgd_t’
    include/asm/paravirt.h:1171: error: cannot convert ‘pud_t’ to ‘pgdval_t’ in initialization
    make[2]: *** [/tmp/vmware-config2/vmmon-only/common/task.o] Error 1
    make[1]: *** [_module_/tmp/vmware-config2/vmmon-only] Error 2
    make[1]: Leaving directory `/usr/src/linux-headers-2.6.25-1-686'
    make: *** [vmmon.ko] Error 2
    make: Leaving directory `/tmp/vmware-config2/vmmon-only'
    Unable to build the vmmon module.

    New features expected in KDE4.1

    Saturday, February 9th, 2008

    Just checked out an interview with Sebastian Kuegler (KDE developer) about the upcoming features in KDE4.1 :

    I think the part that most people — just like me — are really looking forward to is an improved Plasma desktop shell. It really is the most visible part of the desktop. The good news here is that Plasma, a relatively young subcommunity within KDE is really alive and kicking. We’ve already been able to fix most of the problems that were still there in 4.0.0, and if we continue to keep the current pace of development, it looks like we have exceeded feature parity in those part with the 3.5 series already by summer.

    Then of course, I’m looking forward to KDE-PIM in 4.1. It will make use of the Akonadi storage framework and as such be more stable and usable as the 3.5 series. Then, just recently, Dragon Player has been merged into our 4.1 tree. Dragon Player is a very simple but powerful video player, which of course makes use of Phonon, our new multimedia framework. For non-Linux/UNIX users, 4.1 will also bring the first stable applications to Mac OSX and Windows, which is another very big thing in my eyes.

    Other features include more scripting support, newly ported applications (Amarok for example seems to be aiming for a summer release as well), performance improvements all over the place, new plugins for the KWin window manager with its nifty compositing features, and many more.

    This really suggests what I expect from the KDE 4 series, new, innovative and really exciting features and improvements at a steady pace. With the KDE 4
    series, we’ll simply outperform our proprietary competitors in terms of speed of innovation and user orientation.

    More information on this topic can be found on Sebastian’s blog

    Full interview link

    How-to Install VMware Player / Workstation on 2.6.24 Kernel

    Saturday, February 2nd, 2008

    Update: If you are looking for patching VMware for Linux 2.6.25 Kernel - check here

    Currently latest VMware Player and Workstation do not install under Linux 2.6.24 Kernel. This is a short how-to resolve the gcc/make errors that arise while configuring (vmware-configure.pl)

    1. Download the latest vmware player (workstation) - currently VMware Player 2.0.2 Build 59824
    url: http://www.vmware.com/download/player/ - Read the Eula before downloading

    2. tar xzvf VMware-player-2.0.2-59824.i386.tar.gz

    3. cd vmware-player-distrib/

    4. ./vmware-install.pl - Proceed as usual when asked to run vmware-config.pl answer NO

    5. Download the latest any-any patch - currently vmware-any-any-update-116
    url: http://vm…s.googlegroups.com/web/vmware-any-any-update-116.tgz

    6. tar xzvf vmware-any-any-update-116.tgz

    7. cd vmware-any-any-update116

    8. ./runme.pl and when asked to run vmware-config.pl answer YES

    9. Configure as usual

    10. Enjoy!

    PS. Link is broken so I reuploaded on my hosting. Patch is presented as is and I don’t take any responsibility for it. All credits go to the author.

    Anyway http://blog.creonfx.com/temp/vmware-any-any-update-116.tgz