Results 1 to 2 of 2

Thread: Stepmania on Knoppix 5.01 DVD (CONFIG_X86_CMPXCHG in kernel)

  1. #1
    Junior Member
    Join Date
    Jun 2006

    Stepmania on Knoppix 5.01 DVD (CONFIG_X86_CMPXCHG in kernel)

    Okay... Okay... Okay.... I'm forced to make an account.

    I figured out where to get the drivers I need to enable "Direct Rendering"....but..... everytime I try to install them(dripkg), the makefiles complain that CONFIG_X86_CMPXCHG is not enabled in the kernel.

    How do I patch/upgrade my kernel to enable CONFIG_X86_CMPXCHG???

    I tried this -->

    Even after changing all "linux-2.6" to "linux-2.6.17" that Knoppix 5.01 DVD comes with..... doing...

    cd /usr/src
    patch -p0 < MyCutAndPasteFromURLKernelPatch.txt

    I get a bunch of malformed errors. Now, I don't think that patch is correct and I don't wanna mess up my knoppix install(though, it's pretty standard... so I could just wipe it out and start over I guess). I've read a bunch of tutorials online about patching/upgrading kernels, but I'm thinking Knoppix's kernel is too customized for me to download a generic kernel and just install it. Also, I question if I even need to upgrade/patch the kernel... because make menuconfig --> search... shows me that there are CONFIG_X86_CMPXCHG & CONFIG_X86_CMPXCHG64 already present...somewhere, in some file...marked as "=n". How do I change them to "=y"?
    At the end of the day, I want glxinfo to tell me "Direct rendering: Yes". And I'm sure I'll get that once I get this dripkg makefile to complete successfully. I already suspect that my patching attempts have made a bunch of unfinished changes that'll end up forcing me to re-install knoppix from scratch before this is all over.

    BTW, This is a Toshiba Satellite A105-S4004 notebook.
    The command "dmesg | grep agp" shows Intel 945GM Chipset.



    I see Intel 945GM graphics driver for Linux here:

    I see DRI's home page listing Intel's i945GM compatibility as "supported" here:

    ....but, still haven't figured out what to do with all this....

  2. #2
    Junior Member
    Join Date
    Jun 2006

    1) Using the fresh install of Knoppix 5.01,
    2) edit /etc/X11/xorg.conf to use i810 driver
    3)install the following enabled Direct Rendering. (glxinfo | grep render)

    mesa-common-dev (= 6.5.0.cvs.20060524-1)
    libgl1-mesa-glx (= 6.5.0.cvs.20060524-1)
    libgl1-mesa-dri (= 6.5.0.cvs.20060524-1)
    libgl1-mesa-dev (6.5.0.cvs.20060524-1)

    EDIT#1: Turns out this brakes XMMS with BadMatch Invalid Parameter.... but whatever, there are other Media players for linux that work fine.
    EDIT#2 In terminal type "export XLIB_SKIP_ARGB_VISUALS=1" then type "xmms" and it'll start up. Same thing for Audacity.
    EDIT#3 add this to the bottom of /etc/profile and you won't have to type it everytime you need it.

Similar Threads

  1. Trouble with knoppix-kernel.patch <-> any Kernel
    By -Hawkeye- in forum Customising & Remastering
    Replies: 1
    Last Post: 12-07-2005, 11:50 AM
  2. knoppix 3.8.1 (kernel 2.6.11):new custom kernel without ub ?
    By theh in forum Hdd Install / Debian / Apt
    Replies: 5
    Last Post: 10-31-2005, 11:03 AM
  3. How do I install kernel source and config/compile kernel??
    By cfish in forum Hdd Install / Debian / Apt
    Replies: 0
    Last Post: 04-25-2005, 07:31 AM
  4. Kernel compile problem - first Knoppix kernel compile
    By Nigel_Tufnel in forum Hdd Install / Debian / Apt
    Replies: 2
    Last Post: 10-20-2003, 01:09 PM
  5. Modified kernel results in Kernel Panic - No init found.
    By tji in forum Customising & Remastering
    Replies: 4
    Last Post: 06-12-2003, 06:40 PM

Posting Permissions

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