Results 1 to 5 of 5

Thread: Linux 2.6.20 Kernel Released

  1. #1

    Default Linux 2.6.20 Kernel Released

    In a widely anticipated move, Linux "headcase" Torvalds today announced
    the immediate availability of the most advanced Linux kernel to date,
    version 2.6.20.

    Before downloading the actual new kernel, most avid kernel hackers have
    been involved in a 2-hour pre-kernel-compilation count-down, with some
    even spending the preceding week doing typing exercises and reciting PI
    to a thousand decimal places.

    The half-time entertainment is provided by randomly inserted trivial
    syntax errors that nerds are expected to fix at home before completing
    the compile, but most people actually seem to mostly enjoy watching the
    compile warnings, sponsored by Anheuser-Busch, scroll past.

    As ICD head analyst Walter Dickweed put it: "Releasing a new kernel on
    Superbowl Sunday means that the important 'pasty white nerd'
    constituency finally has something to do while the rest of the country
    sits comatose in front of their 65" plasma screens".

    Walter was immediately attacked for his racist and insensitive remarks
    by Geeks without Borders representative Marilyn vos Savant, who pointed
    out that not all of their members are either pasty nor white. "Some of
    them even shower!" she added, claiming that the constant stereotyping
    hurts nerds' standing in society.

    Geeks outside the US were just confused about the whole issue, and were
    heard wondering what the big hoopla was all about. Some of the more
    culturally aware of them were heard snickering about balls that weren't
    even round.

    Linus
    http://lkml.org/lkml/2007/2/4/119

    woot

  2. #2

    Default

    I am not sure why it struck me so funny, but that entire posting almost made me tear.

    Going to DL the new kernel now...

  3. #3
    Join Date
    Jun 2006
    Location
    New Jersey
    Posts
    51

    Default

    I followed the guide to get the usb xbox 360 controller working in Linux from here: http://gentoo-wiki.com/HOWTO_Xbox_36...oller_on_Linux it worked flawlessly with the 2.6.18 kernel I used last, but after editing xpad.c and running 'make all && make modules_install' I get some nasty errors :/

    Code:
    bash-3.1# make all && make modules_install
      CHK     include/linux/version.h
      CHK     include/linux/utsrelease.h
      CHK     include/linux/compile.h
      CC      drivers/usb/input/xpad.o
    drivers/usb/input/xpad.c: In function `xpad_probe':
    drivers/usb/input/xpad.c:368: error: `SLAB_ATOMIC' undeclared (first use in this function)
    drivers/usb/input/xpad.c:368: error: (Each undeclared identifier is reported only once
    drivers/usb/input/xpad.c:368: error: for each function it appears in.)
    drivers/usb/input/xpad.c:451: warning: passing arg 6 of `usb_fill_int_urb' from incompatible pointer type
    make[3]: *** [drivers/usb/input/xpad.o] Error 1
    make[2]: *** [drivers/usb/input] Error 2
    make[1]: *** [drivers/usb] Error 2
    make: *** [drivers] Error 2
    bash-3.1#
    any ideas on what else I'd need to do to get the kernel to compile with the updated xbox drivers?

  4. #4

    Default

    I've never even touched an Xbox 360 controller, but I could compare xpad.c from 2.6.18 against 2.6.20 and take a look at SLAB_ATOMIC.

  5. #5
    Join Date
    Jun 2006
    Location
    New Jersey
    Posts
    51

    Default

    Oh I'm sorry I didn't state it, but for the 360's controller to work you need to download a different xpad.c and xpad.h

    http://xbox-linux.cvs.sourceforge.ne...b/input/xpad.c
    http://xbox-linux.cvs.sourceforge.ne...b/input/xpad.h

    for the 2.6.19 kernel it states that you're supposed to edit

    "#include <linux/usb_input.h>" and change it to
    "#include <linux/usb/input.h>"

    and comment lines 54 "#include <linux/config.h>" to
    "/* #include <linux/config.h> */"

    and line 161 "input_regs(dev, regs);" to
    "/* input_regs(dev, regs); */"

    I did all of that prior to running "make all && make modules_install"

    ...was going to include my xpad.c file in side a code block, but it would make this post 10212 characters too long

Posting Permissions

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