Compiling and Installing The Latest Xorg 7.2

If that’s not enough for you, this guide will take you through the steps of installing the latest Xorg 7.2 server. I needed to do this as well to get my new 965GM chipset working.

  1. Uninstall you’re old version of xorg (removepkg) packages are located in /var/log/packages
  2. Download the new packages. I got my packages from the pinki1 build. Don’t download the auto script it will not work for you, trust me.
  3. I downloaded them all to /var/log/packages then installed them (installpkg)
  4. Add:
  5. /usr/X11R7/lib to /etc/ld.so.conf

    Add /usr/X11R7/bin to the PATH variable
    Note: you can also edit /etc/profile and find the lan that says:

    PATH="/usr/local/bin:/usr/bin:/bin:/usr/X11R6/bin:/usr/local/apache/bin:/usr$

    And change X11R6 to X11R7

  6. Now is the time to install any graphic drivers if you happen to be using the lintel drivers you can find the install directions from: http://intellinuxgraphics.org/install.html and the actual drivers from xorg.freedesktop.org
  7. Change all the fontpaths in /etc/X11/xorg.conf from
  8. /X11R6 to /X11R7
  9. Change your fontpaths in /etc/fonts/fonts.conf:
  10. /usr/X11R6/lib/X11/fonts/TTF

    might be changed to

    /usr/X11R7/lib/X11/fonts/TTF
  11. Install these packages:
  12. ftp://ftp.scarlet.be/pub/linuxpackages/Slackware-11.0/Library/libpthread-stubs/libpthread-stubs-0.1-i486-1ced.tgz
    ftp://ftp.scarlet.be/pub/linuxpackages/Slackware-11.0/X11/libxcb/libxcb-1.0-i486-1ced.tgz
    ftp://ftp.scarlet.be/pub/linuxpackages/Slackware-11.0/X11/xcb-proto/xcb-proto

    Note: Change xcb-proto to xcb-proto.tgz so you can install it:

    # mv xcb-proto xcb-proto.tgz
  13. Run /usr/X11R6/bin/fc-cache -f from root and user if you have another account.
  14. Congratulations you’re now running xorg 7.2

Author :
remote-exploits.blogspot.com

Ditulis dalam Modding. 1 Komentar »

Compiling ALSA

“ALSA (an acronym for Advanced Linux Sound Architecture) is a Linux kernel module that replaces several different kernel drivers for sound cards with a single device driver which handles the diversity of sound cards internally. Some of the goals of the ALSA project were to support automatic configuration of sound card hardware, and graceful handling of multiple sound devices in a system, goals which it has largely met.

  1. Unpack the source:
  2. # bunzip2 alsa-driver* && tar -xvf alsa-driver*
  3. Change to the new directory:
  4. # cd alsa*
  5. Configure and compilation alsa:
  6. # ./configure && make
  7. Begin install:
  8. # make install
  9. If your card is supported(http://www.alsa-project.org/alsa-doc/), run ‘alsaconf’ and follow the directions:
  10. # alsaconf
  11. Then, to configure sound and mixer options:
  12. # alsamixer

Author :
remote-exploits.blogspot.com

Ditulis dalam Modding. 2 Komentar »

Compiling and Installing The Kernel

  1. Before you do any kind of such work, have a backup of everything.
  2. Obtain the kernel you wish to compile: ftp://ftp.kernel.org/pub/linux/kernel/ for me this was 2.6.21.4 this was key for getting my 965GM video card working correctly.
  3. # cd to /usr/src
    # wget ftp://ftp.kernel.org/pub/linux/kernel/v2.6/linux-2.6.XX.XX.tar.gz
  4. Edit your lilo.conf config, make the following changes:
  5. image = /boot/vmlinuz.old
    label = OldKernel
  6. Next open up
  7. /usr/src/linux/Makefile
    Uncomment the line...
    #export INSTALL_PATH=/boot
  8. Then cd back to where you downloaded the new kernel too and
  9. # tar zxf linux-2.6.XX.XX.tar.gz
  10. Next we create a symlink to linux from the new kernel:
  11. # ln -s linux-2.6.21.3 linux
    # cd /usr/src/linux
  12. It’s a good idea to use the configuration of your current working kernel as a basis for your new kernel. You will be editing it in a second if you nee to change anything before the install, do it then. So we copy the existing configuration to /usr/src/linux:
  13. # make clean && make mrproper
    # cp /boot/config-`uname -r` ./.config
  14. Now we run:
  15. # make menuconfig
  16. The kernel configuration menu will pop up, proceed to the bottom where it says:
  17. Load an Alternate Configuration File
    Type:
    .config
  18. If you happen to have the same chipset I do, this next step is imperative. Navigate to:
  19. Device Driver -> Character Devices -> Scroll down to /dev/agpgart
    Press space to build this module into the kernel. It should show up as a (*) to the left of it.
  20. Exit out of everything when you’re done and it will ask if you’d like to save your changes, select Yes.
  21. Now that we have everything configured let’s go ahead and start to build the kernel:
  22. # make bzImage
    # make
    # make install
    # make modules
    # make modules_install

    This could take a while if you have a slow computer.

  23. When all is said and done check to make sure it installed the bzImage to you /boot directory and that lilo.conf was altered to reflect the new kernel compilation.
  24. Reboot and enjoy your new kernel. If something goes wrong, you can always boot back to you’re old kernel and see what happened.

Author :
remote-exploits.blogspot.com

Ditulis dalam Modding. 6 Komentar »