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
    Posts
    2

    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 --> http://www.ussg.iu.edu/hypermail/lin...10.3/1505.html

    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.

    Thanks,

    UPDATE:

    I see Intel 945GM graphics driver for Linux here:
    http://downloadfinder.intel.com/scri...9&submit=Go%21

    I see DRI's home page listing Intel's i945GM compatibility as "supported" here:
    http://dri.freedesktop.org/wiki/Inte...HardwareVendor

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

  2. #2
    Junior Member
    Join Date
    Jun 2006
    Posts
    2
    SOLVED!!!

    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
  •  


Knoppix 9.1 Live Linux GNU Bootable USB Flash Drive USA picture

Knoppix 9.1 Live Linux GNU Bootable USB Flash Drive USA

$14.77



Knoppix NSM 1.2 picture

Knoppix NSM 1.2

$10.20



Knoppix Live GNU Linux System 9.1 on Bootable CD / DVD / USB Flash Drive picture

Knoppix Live GNU Linux System 9.1 on Bootable CD / DVD / USB Flash Drive

$9.99



Linux Knoppix 4.0.2 Installation Disc picture

Linux Knoppix 4.0.2 Installation Disc

$39.99



Hamshack Live DVD-ROM picture

Hamshack Live DVD-ROM

$8.50



Knoppix Linux Bootable OS v8.6

Knoppix Linux Bootable OS v8.6 "Original Live Operating System" 16G USB Stick

$19.95



KNOPPIX 9.1 LINUX INSTALL & LIVE DVD picture

KNOPPIX 9.1 LINUX INSTALL & LIVE DVD

$9.99



Acer Aspire One 9 inch Netbook ZG5 512MB RAM 8GB SSD HD Knoppix Linux WiFi VGA picture

Acer Aspire One 9 inch Netbook ZG5 512MB RAM 8GB SSD HD Knoppix Linux WiFi VGA

$79.99



Knoppix Linux Bootable OS v8.6

Knoppix Linux Bootable OS v8.6 "Original Live Operating System" 32G USB Stick

$20.30