Page 1 of 4 123 ... LastLast
Results 1 to 10 of 36

Thread: How-to: use custom DSDT in Karmic

  1. #1
    Join Date
    Jun 2009
    Beans
    64

    How-to: use custom DSDT in Karmic

    I've seen a lot of threads with users who are having troubles due to the inability to load a custom DSDT file in kernels after 2.6.30. This prevents many users from upgrading simply because their hardware will not run correctly without a fixed DSDT. I fell into this category with my gateway lt3103u netbook and compiled a working kernel (2.6.31_15.50). I figured I would show what I did so people can do the same. If your laptop overheats or CPU scaling doesn't work, this might be for you.

    What you need to upgrade:

    1. A working DSDT tabled (compiled):
    For gateway LT31 users:
    http://www.pow.za.net/index.html

    Thread on fixing your specific DSDT file:
    http://ubuntuforums.org/showthread.p...ght=buggy+dsdt

    2. Kernel source for the kernel you wish to compile:
    Download linux-source-2.6.31-<version-number-here>.deb from:
    http://archive.ubuntu.com/ubuntu/pool/main/l/linux/
    and install using
    Code:
    sudo dpkg -i linux-source-<version-number-here>.deb
    or use apt for current kernel

    Code:
    apt-get install linux-source
    3. Any patches you wish to apply. (ie powernow patch for netbook CPUs)

    Now we can begin compiling the Kernel, I am following this guide:
    https://help.ubuntu.com/community/Kernel/Compile

    First get nessessary packages:
    Code:
    sudo apt-get install fakeroot kernel-wedge build-essential makedumpfile
    sudo apt-get build-dep linux
    sudo apt-get install qt3-dev-tools libqt3-mt-dev
    Now we make a directory and extract the kernel source into it:
    Code:
    mkdir ~/src
    cd ~/src
    tar xjvf /usr/src/linux-source-<version-number-here>.tar.bz2
    cd linux-source-<version-number-here>
    Now we copy over our current kernel configuration so we only have to change the DSDT option in the new kernel
    Code:
    cp -vi /boot/config-`uname -r` .config
    Now we configure the kernel use our custom DSDT table. You need to know the path to the compiled DSDT table you are using. In my case, I copied my DSTS table from 'dsdt.hex' to '/dsdt/dsdt_table.h'.
    run xconfig
    Code:
    make xconfig
    Now we will point to the DSDT table in xconfig:
    - On the left pane, highlight "ACPI (Advanced ..."
    - Now, in the right pan doubleclick "Custom DSDT Table file to include: "
    and enter the full path to your DSDT table

    - Save the configuration and exit.

    If you do not have patches to apply, skip this part: Apply any patches you have now using
    Code:
     cp path-to-patchs ~/src/linux-source-<version-number-here>/
    patch -p0 < patch_name.diff
    Now we compile the kernel:
    Code:
    fakeroot make-kpkg --initrd --append-to-version=-some-string-here kernel-image kernel-headers
    After this is finished, the deb file will be located in ~/src/, and now we can install it:
    Code:
    echo vesafb | sudo tee -a /etc/initramfs-tools/modules
    echo fbcon | sudo tee -a /etc/initramfs-tools/modules
    sudo dpkg -i linux-image-<version-number-here>_i386.deb
    sudo dpkg -i linux-headers-<version-number-here>_i386.deb
    I tested this with my gateway lt3103u using kernel source 2.6.31-15.50 from the ubuntu repositories and my custom DSDT works perfectly.

    This is my first how-to, so let me know if there are mistakes/suggestions
    Last edited by cyberey66; November 30th, 2009 at 04:27 AM.

  2. #2
    Join Date
    Jan 2005
    Beans
    173

    Re: How-to: use custom DSDT in Karmic

    Thanks so much for doing this. My brother is going to be getting the same netbook you mention this upcoming Christmas. A couple questions for you...

    1) If he updates his packages and a new kernel comes out, will it just overwrite all the manual labor I did above?

    2) Any chance that CPU scaling / powernow will be supported by default in a future kernel? Thanks!

  3. #3
    Join Date
    Jun 2007
    Beans
    6

    Re: How-to: use custom DSDT in Karmic

    Quote Originally Posted by spaceballl View Post
    Thanks so much for doing this. My brother is going to be getting the same netbook you mention this upcoming Christmas. A couple questions for you...

    1) If he updates his packages and a new kernel comes out, will it just overwrite all the manual labor I did above?

    2) Any chance that CPU scaling / powernow will be supported by default in a future kernel? Thanks!
    1) If a new kernel is released by the Ubuntu team for your version of Ubuntu, it will not remove your installed custom kernel. However, you may have to repeat the recompiling and patching (if applicable) steps if you want to take advantage of any fixes or new features in the new kernel.

    2) The 2.6.32 kernel already contains the powernow patch, but you may still need to recompile the kernel in order to set the location of your dsdt file. However, 2.6.32 is slated for inclusion in the Ubuntu Lucid release, not Karmic. Despite this, you can always grab the latest 2.6.32 kernel sources from the Ubuntu kernel PPA here: http://kernel.ubuntu.com/~kernel-ppa/mainline/

    I'm compiling 2.6.32(.2) right now because I believe (from bug reports I read) the connectivity issues with the ath9k wifi driver have been fixed in 2.6.32, without sacrificing power management.
    Last edited by mscdex; December 21st, 2009 at 01:58 PM.

  4. #4
    Join Date
    Nov 2005
    Beans
    17

    Re: How-to: use custom DSDT in Karmic

    Have you tried the 2.6.32 kernels? I tried one of the debs from that mainline that was for 2.6.32.4 and wireless seems better but powernow doesn't seem to be working for me. I'm not sure why but when I tried to patch the kernel from the sources the patch failed on most of the changes:

    Hunk #1 succeeded at 863 with fuzz 2 (offset 8 lines).
    Hunk #2 FAILED at 879.
    Hunk #3 FAILED at 951.
    Hunk #4 FAILED at 992.
    3 out of 4 hunks FAILED -- saving rejects to file arch/x86/kernel/cowernow-k8.c.rej

  5. #5
    Join Date
    Jun 2009
    Beans
    64

    Re: How-to: use custom DSDT in Karmic

    Quote Originally Posted by meatwad64 View Post
    Have you tried the 2.6.32 kernels? I tried one of the debs from that mainline that was for 2.6.32.4 and wireless seems better but powernow doesn't seem to be working for me. I'm not sure why but when I tried to patch the kernel from the sources the patch failed on most of the changes:

    Hunk #1 succeeded at 863 with fuzz 2 (offset 8 lines).
    Hunk #2 FAILED at 879.
    Hunk #3 FAILED at 951.
    Hunk #4 FAILED at 992.
    3 out of 4 hunks FAILED -- saving rejects to file arch/x86/kernel/cowernow-k8.c.rej
    The powernow patch is included in the new kernel releases, so no more patching of it is needed! Or it should be at least.

    Edit, I'll ask here too. Does anyone know anything about SUSE still patching their kernels to allow loading a custom DSDT? I heard rumors but haven't found any information. I asked on the SUSE forums, but haven't heard a response yet.

    Edit, I'll try the new kernel source and post back. It will be a day or two though, I'm pretty busy.
    Last edited by cyberey66; January 22nd, 2010 at 04:49 AM.

  6. #6
    Join Date
    Nov 2005
    Beans
    17

    Re: How-to: use custom DSDT in Karmic

    Yeah I tried to patch it because the 2.6.32.4 kernel doesn't have powernow. cpufreq-info says:

    analyzing CPU 0:
    no or unknown cpufreq driver is active on this CPU


    and uname -a gives me the kernel of:

    2.6.32-02063204-generic #02063204 SMP

    I was able to re-compile my own kernel from 2.6.32.4 sources but video is very garbled but it was throttling the cpu correctly.

  7. #7
    Join Date
    Jun 2009
    Beans
    64

    Re: How-to: use custom DSDT in Karmic

    I'm running 2.6.32.4-2.6.32 now and everything seems to work. That includes wifi, video, and cpu--frequency scaling.

    Just copy over your old kernel config and point it to your patched DSDT file with xconfig, compile, and it should work.

    Or, you can use my config to compile: This is for 32bit

    http://people.virginia.edu/~mc8qr/config-2.6.32.4-2.6.32latest

  8. #8
    Join Date
    Jan 2005
    Beans
    173

    Re: How-to: use custom DSDT in Karmic

    Quote Originally Posted by cyberey66 View Post
    I'm running 2.6.32.4-2.6.32 now and everything seems to work. That includes wifi, video, and cpu--frequency scaling.

    Just copy over your old kernel config and point it to your patched DSDT file with xconfig, compile, and it should work.

    Or, you can use my config to compile: This is for 32bit

    http://people.virginia.edu/~mc8qr/config-2.6.32.4-2.6.32latest
    When you say everything seems to work... does that mean that you don't need to do ANYTHING? Like you didn't need to make a custom DSDT, everything just works like a charm?

  9. #9
    Join Date
    Jun 2009
    Beans
    64

    Re: How-to: use custom DSDT in Karmic

    Quote Originally Posted by spaceballl View Post
    When you say everything seems to work... does that mean that you don't need to do ANYTHING? Like you didn't need to make a custom DSDT, everything just works like a charm?
    Sadly that is not the case. You will always have to recompile the kernel unless they start including the patch again.

    But, if you just recompile and point to the DSDT file, everything should work.

  10. #10
    Join Date
    Apr 2010
    Beans
    37
    Distro
    Ubuntu 12.10 Quantal Quetzal

    Angry Re: How-to: use custom DSDT in Karmic

    Hi
    Today I download a new Ubuntu 10.04 RC. I tired this guide to apply DSDT which I using in the 9.04.
    Ubuntu 10.04 have 2.6.32-21-generic.

    I try and this is the output:

    Code:
    sentello@ubuntu:~/src$ cd linux-source-2.6.32/
    sentello@ubuntu:~/src/linux-source-2.6.32$ 
    sentello@ubuntu:~/src/linux-source-2.6.32$ fakeroot make-kpkg --initrd --append-to-version=-some-string-here kernel-image kernel-headers
    unlink debian/docs/README
    unlink debian/docs/Kernel.htm
    unlink debian/docs/ImageLoaders/SiloDefault
    unlink debian/docs/ImageLoaders/QuikDefault
    unlink debian/docs/ImageLoaders/LiloDefault
    unlink debian/docs/ImageLoaders/VmeliloDefault
    rmdir ImageLoaders
    unlink debian/docs/ChangeLog
    unlink debian/docs/linux.1
    unlink debian/docs/Rationale
    unlink debian/docs/LinkPolicy
    unlink debian/docs/README.modules
    rmdir docs
    unlink debian/Control.bin86
    unlink debian/rules
    unlink debian/po/fr.po
    unlink debian/po/ja.po
    unlink debian/po/de.po
    unlink debian/po/POTFILES.in
    unlink debian/po/templates.pot
    rmdir po
    unlink debian/pkg/source/README
    unlink debian/pkg/source/postrm
    unlink debian/pkg/source/copyright
    unlink debian/pkg/source/preinst
    unlink debian/pkg/source/ChangeLog
    unlink debian/pkg/source/prerm
    unlink debian/pkg/source/postinst
    rmdir source
    unlink debian/pkg/doc/README
    unlink debian/pkg/doc/postrm
    unlink debian/pkg/doc/copyright
    unlink debian/pkg/doc/preinst
    unlink debian/pkg/doc/ChangeLog
    unlink debian/pkg/doc/prerm
    unlink debian/pkg/doc/postinst
    rmdir doc
    unlink debian/pkg/image/README
    unlink debian/pkg/image/postrm
    unlink debian/pkg/image/copyright
    unlink debian/pkg/image/preinst
    unlink debian/pkg/image/ChangeLog
    unlink debian/pkg/image/prerm
    unlink debian/pkg/image/postinst
    unlink debian/pkg/image/config
    rmdir image
    unlink debian/pkg/headers/README
    unlink debian/pkg/headers/postrm
    unlink debian/pkg/headers/copyright
    unlink debian/pkg/headers/preinst
    unlink debian/pkg/headers/ChangeLog
    unlink debian/pkg/headers/prerm
    unlink debian/pkg/headers/postinst
    unlink debian/pkg/headers/create_link
    rmdir headers
    unlink debian/pkg/virtual/xen/prerm
    unlink debian/pkg/virtual/xen/postinst
    rmdir xen
    unlink debian/pkg/virtual/um/prerm
    unlink debian/pkg/virtual/um/postinst
    rmdir um
    rmdir virtual
    rmdir pkg
    unlink debian/changelog
    unlink debian/Control
    unlink debian/ruleset/kernel_version.mk
    unlink debian/ruleset/minimal.mk
    unlink debian/ruleset/local-vars.mk
    unlink debian/ruleset/arches/hppa.mk
    unlink debian/ruleset/arches/powerpc.mk
    unlink debian/ruleset/arches/mipsel.mk
    unlink debian/ruleset/arches/m68k.mk
    unlink debian/ruleset/arches/ia64.mk
    unlink debian/ruleset/arches/uml.mk
    unlink debian/ruleset/arches/armel.mk
    unlink debian/ruleset/arches/mips.mk
    unlink debian/ruleset/arches/what_is_ppc_called_today.mk
    unlink debian/ruleset/arches/ChangeLog
    unlink debian/ruleset/arches/sparc.mk
    unlink debian/ruleset/arches/alpha.mk
    unlink debian/ruleset/arches/README.txt
    unlink debian/ruleset/arches/i386.mk
    unlink debian/ruleset/arches/armeb.mk
    unlink debian/ruleset/arches/m32r.mk
    unlink debian/ruleset/arches/amd64.mk
    unlink debian/ruleset/arches/s390.mk
    unlink debian/ruleset/arches/arm.mk
    rmdir arches
    unlink debian/ruleset/modules.mk
    unlink debian/ruleset/common/README
    unlink debian/ruleset/common/archvars.mk
    unlink debian/ruleset/common/install_cmds.mk
    unlink debian/ruleset/common/copt.mk
    unlink debian/ruleset/common/pkgvars.mk
    unlink debian/ruleset/common/automake.mk
    unlink debian/ruleset/common/targets.mk
    unlink debian/ruleset/common/perlvars.mk
    unlink debian/ruleset/common/checklibs
    unlink debian/ruleset/common/ChangeLog
    unlink debian/ruleset/common/targets.dot
    unlink debian/ruleset/common/debconf.mk
    rmdir common
    unlink debian/ruleset/architecture.mk
    unlink debian/ruleset/targets/common.mk
    unlink debian/ruleset/targets/source.mk
    unlink debian/ruleset/targets/debug.mk
    unlink debian/ruleset/targets/headers.mk
    unlink debian/ruleset/targets/README
    unlink debian/ruleset/targets/doc.mk
    unlink debian/ruleset/targets/image.mk
    unlink debian/ruleset/targets/ChangeLog
    unlink debian/ruleset/targets/manual.mk
    rmdir targets
    unlink debian/ruleset/ChangeLog
    unlink debian/ruleset/local.mk
    unlink debian/ruleset/misc/config.mk
    unlink debian/ruleset/misc/modules.mk
    unlink debian/ruleset/misc/README
    unlink debian/ruleset/misc/version_vars.mk
    unlink debian/ruleset/misc/pkg_names.mk
    unlink debian/ruleset/misc/ChangeLog
    unlink debian/ruleset/misc/kernel_arch.mk
    unlink debian/ruleset/misc/checks.mk
    unlink debian/ruleset/misc/defaults.mk
    rmdir misc
    rmdir ruleset
    unlink debian/ChangeLog
    unlink debian/templates.in
    unlink debian/control
    unlink debian/examples/sample.module.control
    unlink debian/examples/ChangeLog
    unlink debian/examples/etc/sample.kernel-img.conf
    unlink debian/examples/etc/kernel/postrm.d/grub_rm
    unlink debian/examples/etc/kernel/postrm.d/yaird
    unlink debian/examples/etc/kernel/postrm.d/force-build-link
    unlink debian/examples/etc/kernel/postrm.d/initramfs
    rmdir postrm.d
    unlink debian/examples/etc/kernel/header_postinst.d/link
    rmdir header_postinst.d
    unlink debian/examples/etc/kernel/postinst.d/yaird
    unlink debian/examples/etc/kernel/postinst.d/grub_conf
    unlink debian/examples/etc/kernel/postinst.d/symlink_hook
    unlink debian/examples/etc/kernel/postinst.d/force-build-link
    unlink debian/examples/etc/kernel/postinst.d/initramfs
    rmdir postinst.d
    unlink debian/examples/etc/kernel/header_prerm.d/link
    rmdir header_prerm.d
    unlink debian/examples/etc/kernel/header_postrm.d/link
    rmdir header_postrm.d
    rmdir kernel
    rmdir etc
    rmdir examples
    unlink debian/Config/config.k7
    unlink debian/Config/config.ixp4xx
    unlink debian/Config/config.mac
    unlink debian/Config/config.m68k
    unlink debian/Config/config.686
    unlink debian/Config/config.mvme147
    unlink debian/Config/config.powerpc-smp
    unlink debian/Config/config.32
    unlink debian/Config/config.xen0
    unlink debian/Config/config.i386
    unlink debian/Config/config.em64t-p4-smp
    unlink debian/Config/config.amd64
    unlink debian/Config/config.amd64-k8-smp
    unlink debian/Config/config.prep
    unlink debian/Config/config.s390
    unlink debian/Config/config.alpha
    unlink debian/Config/config.em64t-p4
    unlink debian/Config/config.pmac
    unlink debian/Config/config.mbx
    unlink debian/Config/config.hppa
    unlink debian/Config/config.386
    unlink debian/Config/config.common
    unlink debian/Config/config.itanium-smp
    unlink debian/Config/config.amd64-generic
    unlink debian/Config/config.s390x
    unlink debian/Config/config.i486
    unlink debian/Config/config.xenu
    unlink debian/Config/config.amd64-k8
    unlink debian/Config/config.mips
    unlink debian/Config/config.64-smp
    unlink debian/Config/config.powerpc
    unlink debian/Config/config.powerpc-miboot
    unlink debian/Config/config.i686
    unlink debian/Config/config.powermac
    unlink debian/Config/config.mckinley
    unlink debian/Config/config.ia64
    unlink debian/Config/config.footbridge
    unlink debian/Config/config.apus
    unlink debian/Config/config.sparc64
    unlink debian/Config/config.bvme6000
    unlink debian/Config/config.mckinley-smp
    unlink debian/Config/config.armel
    unlink debian/Config/config.itanium
    unlink debian/Config/ChangeLog
    unlink debian/Config/config.mvme16x
    unlink debian/Config/config.sparc
    unlink debian/Config/config.m32r
    unlink debian/Config/config.hp
    unlink debian/Config/config.q40
    unlink debian/Config/config.um
    unlink debian/Config/config.64
    unlink debian/Config/config.alpha-generic
    unlink debian/Config/config.s390-tape
    unlink debian/Config/config.686-smp
    unlink debian/Config/config.arm
    unlink debian/Config/config.rpc
    unlink debian/Config/config.sun3
    unlink debian/Config/config.sparc64-smp
    unlink debian/Config/config.powerpc64
    unlink debian/Config/config
    unlink debian/Config/config.chrp
    unlink debian/Config/config.s3c2410
    unlink debian/Config/config.atari
    unlink debian/Config/config.amiga
    unlink debian/Config/config.k7-smp
    unlink debian/Config/config.i586
    unlink debian/Config/config.alpha-smp
    unlink debian/Config/config.32-smp
    rmdir Config
    rmdir build
    unlink debian/stamp/conf/vars
    unlink debian/stamp/conf/minimal_debian
    unlink debian/stamp/conf/kernel-conf
    unlink debian/stamp/conf/full-changelog
    rmdir conf
    rmdir stamp
    unlink debian/config
    unlink debian/scripts/kpkg-vercheck
    unlink debian/scripts/ChangeLog
    rmdir scripts
    rmdir debian
    exec make kpkg_version=12.032 -f /usr/share/kernel-package/ruleset/minimal.mk debian APPEND_TO_VERSION=-some-string-here  INITRD=YES 
    ====== making target debian/stamp/conf/minimal_debian [new prereqs: ]======
    This is kernel package version 12.032.
    test -d debian             || mkdir debian
    test ! -e stamp-building || rm -f stamp-building
    install -p -m 755 /usr/share/kernel-package/rules debian/rules
    for file in ChangeLog  Control  Control.bin86 config templates.in rules; do                                      \
                cp -f  /usr/share/kernel-package/$file ./debian/;                               \
            done
    for dir  in Config docs examples ruleset scripts pkg po;  do                                      \
              cp -af /usr/share/kernel-package/$dir  ./debian/;                                 \
            done
    test -f debian/control || sed         -e 's/=V/2.6.32.11+drm33.2-some-string-here/g'  \
                    -e 's/=D/2.6.32.11+drm33.2-some-string-here-10.00.Custom/g'         -e 's/=A/i386/g'  \
            -e 's/=SA//g'  \
            -e 's/=I//g'                    \
            -e 's/=CV/2.6/g'                \
            -e 's/=M/Unknown Kernel Package Maintainer <unknown@unconfigured.in.etc.kernel-pkg.conf>/g'                \
            -e 's/=ST/linux/g'      -e 's/=B/i386/g'    \
                      /usr/share/kernel-package/Control > debian/control
    test -f debian/changelog ||  sed -e 's/=V/2.6.32.11+drm33.2-some-string-here/g'       \
                -e 's/=D/2.6.32.11+drm33.2-some-string-here-10.00.Custom/g'        -e 's/=A/i386/g'       \
                -e 's/=ST/linux/g'     -e 's/=B/i386/g'         \
                -e 's/=M/Unknown Kernel Package Maintainer <unknown@unconfigured.in.etc.kernel-pkg.conf>/g'                            \
                 /usr/share/kernel-package/changelog > debian/changelog
    chmod 0644 debian/control debian/changelog
    test -d ./debian/stamp || mkdir debian/stamp 
    make -f debian/rules debian/stamp/conf/kernel-conf
    make[1]: Entering directory `/home/sentello/src/linux-source-2.6.32'
    ====== making target debian/stamp/conf/kernel-conf [new prereqs: ]======
    make EXTRAVERSION=.11+drm33.2-some-string-here   ARCH=i386 \
                        oldconfig;                                      
    make[2]: Entering directory `/home/sentello/src/linux-source-2.6.32'
    scripts/kconfig/conf -o arch/x86/Kconfig
    #
    # configuration written to .config
    #
    make[2]: Leaving directory `/home/sentello/src/linux-source-2.6.32'
    make EXTRAVERSION=.11+drm33.2-some-string-here   ARCH=i386 prepare
    make[2]: Entering directory `/home/sentello/src/linux-source-2.6.32'
    scripts/kconfig/conf -s arch/x86/Kconfig
    make[2]: Leaving directory `/home/sentello/src/linux-source-2.6.32'
    make[2]: Entering directory `/home/sentello/src/linux-source-2.6.32'
      CHK     include/linux/version.h
      CHK     include/linux/utsrelease.h
      SYMLINK include/asm -> include/asm-x86
      CALL    scripts/checksyscalls.sh
    make[2]: Leaving directory `/home/sentello/src/linux-source-2.6.32'
    echo done > debian/stamp/conf/kernel-conf
    make[1]: Leaving directory `/home/sentello/src/linux-source-2.6.32'
    make -f debian/rules debian/stamp/conf/full-changelog
    make[1]: Entering directory `/home/sentello/src/linux-source-2.6.32'
    ====== making target debian/stamp/conf/full-changelog [new prereqs: ]======
    for file in ChangeLog  Control  Control.bin86 config templates.in rules; do            \
             cp -f  /usr/share/kernel-package/$file ./debian/;            \
        done
    for dir  in Config docs examples ruleset scripts pkg po;    do                \
           cp -af /usr/share/kernel-package/$dir  ./debian/;                \
        done
    install -p -m 755 /usr/share/kernel-package/rules debian/rules
    sed         -e 's/=V/2.6.32.11+drm33.2-some-string-here/g'  \
                    -e 's/=D/2.6.32.11+drm33.2-some-string-here-10.00.Custom/g'         -e 's/=A/i386/g'  \
            -e 's/=SA//g'  \
            -e 's/=I//g'                    \
            -e 's/=CV/2.6/g'                \
            -e 's/=M/Unknown Kernel Package Maintainer <unknown@unconfigured.in.etc.kernel-pkg.conf>/g'                \
            -e 's/=ST/linux/g'      -e 's/=B/i386/g'    \
                      /usr/share/kernel-package/Control > debian/control
    sed -e 's/=V/2.6.32.11+drm33.2-some-string-here/g' -e 's/=D/2.6.32.11+drm33.2-some-string-here-10.00.Custom/g'          \
            -e 's/=A/i386/g' -e 's/=M/Unknown Kernel Package Maintainer <unknown@unconfigured.in.etc.kernel-pkg.conf>/g' \
            -e 's/=ST/linux/g'     -e 's/=B/i386/g'          \
            /usr/share/kernel-package/changelog > debian/changelog
    chmod 0644 debian/control debian/changelog
    make -f debian/rules debian/stamp/conf/kernel-conf
    make[2]: Entering directory `/home/sentello/src/linux-source-2.6.32'
    make[2]: `debian/stamp/conf/kernel-conf' is up to date.
    make[2]: Leaving directory `/home/sentello/src/linux-source-2.6.32'
    make[1]: Leaving directory `/home/sentello/src/linux-source-2.6.32'
    echo done > debian/stamp/conf/minimal_debian
    exec debian/rules  APPEND_TO_VERSION=-some-string-here  INITRD=YES  kernel-image kernel-headers 
    ====== making target debian/stamp/conf/vars [new prereqs: ]======
    
    ====== making target debian/stamp/build/kernel [new prereqs: vars]======
    This is kernel package version 12.032.
    restore_upstream_debianization
    test ! -f scripts/package/builddeb.kpkg-dist ||    mv -f scripts/package/builddeb.kpkg-dist scripts/package/builddeb
    test ! -f scripts/package/Makefile.kpkg-dist ||    mv -f scripts/package/Makefile.kpkg-dist scripts/package/Makefile
    /usr/bin/make  EXTRAVERSION=.11+drm33.2-some-string-here  ARCH=i386 \
                     bzImage
    make[1]: Entering directory `/home/sentello/src/linux-source-2.6.32'
    scripts/kconfig/conf -s arch/x86/Kconfig
    make[1]: Leaving directory `/home/sentello/src/linux-source-2.6.32'
    make[1]: Entering directory `/home/sentello/src/linux-source-2.6.32'
      CHK     include/linux/version.h
      CHK     include/linux/utsrelease.h
      SYMLINK include/asm -> include/asm-x86
      CALL    scripts/checksyscalls.sh
      CHK     include/linux/compile.h
      VDSOSYM arch/x86/vdso/vdso32-int80-syms.lds
      VDSOSYM arch/x86/vdso/vdso32-sysenter-syms.lds
      VDSOSYM arch/x86/vdso/vdso32-syms.lds
      LD      arch/x86/vdso/built-in.o
      LD      arch/x86/built-in.o
      CC      drivers/acpi/osl.o
    In file included from drivers/acpi/osl.c:65:
    /dsdt/dsdt.txt:18: error: expected declaration specifiers or ‘...’ before string constant
    /dsdt/dsdt.txt:18: error: expected declaration specifiers or ‘...’ before string constant
    /dsdt/dsdt.txt:18: error: expected declaration specifiers or ‘...’ before numeric constant
    /dsdt/dsdt.txt:18: error: expected declaration specifiers or ‘...’ before string constant
    /dsdt/dsdt.txt:18: error: expected declaration specifiers or ‘...’ before string constant
    /dsdt/dsdt.txt:18: error: expected declaration specifiers or ‘...’ before numeric constant
    /dsdt/dsdt.txt:19: warning: return type defaults to ‘int’
    /dsdt/dsdt.txt:19: warning: function declaration isn’t a prototype
    /dsdt/dsdt.txt: In function ‘DefinitionBlock’:
    /dsdt/dsdt.txt:20: error: implicit declaration of function ‘Name’
    /dsdt/dsdt.txt:20: error: ‘VERS’ undeclared (first use in this function)
    /dsdt/dsdt.txt:20: error: (Each undeclared identifier is reported only once
    /dsdt/dsdt.txt:20: error: for each function it appears in.)
    /dsdt/dsdt.txt:20: error: implicit declaration of function ‘Package’
    /dsdt/dsdt.txt:21: error: expected ‘)’ before ‘{’ token
    /dsdt/dsdt.txt:26: error: expected ‘;’ before ‘OperationRegion’
    /dsdt/dsdt.txt:60: error: stray ‘\’ in program
    /dsdt/dsdt.txt:61: error: stray ‘\’ in program
    /dsdt/dsdt.txt:65: error: stray ‘\’ in program
    /dsdt/dsdt.txt:70: error: stray ‘\’ in program
    /dsdt/dsdt.txt:79: error: stray ‘\’ in program
    /dsdt/dsdt.txt:83: error: stray ‘\’ in program
    /dsdt/dsdt.txt:84: error: stray ‘\’ in program
    /dsdt/dsdt.txt:89: error: stray ‘\’ in program
    /dsdt/dsdt.txt:94: error: stray ‘\’ in program
    /dsdt/dsdt.txt:250: error: stray ‘\’ in program
    /dsdt/dsdt.txt:251: error: stray ‘\’ in program
    /dsdt/dsdt.txt:256: error: stray ‘\’ in program
    /dsdt/dsdt.txt:257: error: stray ‘\’ in program
    /dsdt/dsdt.txt:262: error: stray ‘\’ in program
    /dsdt/dsdt.txt:263: error: stray ‘\’ in program
    /dsdt/dsdt.txt:341: error: stray ‘\’ in program
    /dsdt/dsdt.txt:342: error: stray ‘\’ in program
    /dsdt/dsdt.txt:385: error: stray ‘\’ in program
    /dsdt/dsdt.txt:394: error: stray ‘\’ in program
    /dsdt/dsdt.txt:405: error: stray ‘\’ in program
    /dsdt/dsdt.txt:414: error: stray ‘\’ in program
    /dsdt/dsdt.txt:421: error: stray ‘\’ in program
    /dsdt/dsdt.txt:440: error: stray ‘\’ in program
    /dsdt/dsdt.txt:444: error: stray ‘\’ in program
    /dsdt/dsdt.txt:445: error: stray ‘\’ in program
    /dsdt/dsdt.txt:446: error: stray ‘\’ in program
    /dsdt/dsdt.txt:447: error: stray ‘\’ in program
    /dsdt/dsdt.txt:448: error: stray ‘\’ in program
    /dsdt/dsdt.txt:451: error: stray ‘\’ in program
    /dsdt/dsdt.txt:452: error: stray ‘\’ in program
    /dsdt/dsdt.txt:452: error: stray ‘\’ in program
    /dsdt/dsdt.txt:463: error: stray ‘\’ in program
    /dsdt/dsdt.txt:464: error: stray ‘\’ in program
    /dsdt/dsdt.txt:465: error: stray ‘\’ in program
    /dsdt/dsdt.txt:468: error: stray ‘\’ in program
    /dsdt/dsdt.txt:480: error: stray ‘\’ in program
    /dsdt/dsdt.txt:497: error: stray ‘\’ in program
    /dsdt/dsdt.txt:498: error: stray ‘\’ in program
    /dsdt/dsdt.txt:499: error: stray ‘\’ in program
    /dsdt/dsdt.txt:500: error: stray ‘\’ in program
    /dsdt/dsdt.txt:503: error: stray ‘\’ in program
    /dsdt/dsdt.txt:506: error: stray ‘\’ in program
    /dsdt/dsdt.txt:526: error: stray ‘\’ in program
    /dsdt/dsdt.txt:531: error: stray ‘\’ in program
    /dsdt/dsdt.txt:533: error: stray ‘\’ in program
    /dsdt/dsdt.txt:536: error: stray ‘\’ in program
    /dsdt/dsdt.txt:537: error: stray ‘\’ in program
    /dsdt/dsdt.txt:538: error: stray ‘\’ in program
    /dsdt/dsdt.txt:539: error: stray ‘\’ in program
    /dsdt/dsdt.txt:541: error: stray ‘\’ in program
    /dsdt/dsdt.txt:541: error: stray ‘\’ in program
    /dsdt/dsdt.txt:544: error: stray ‘\’ in program
    /dsdt/dsdt.txt:549: error: stray ‘\’ in program
    /dsdt/dsdt.txt:550: error: stray ‘\’ in program
    /dsdt/dsdt.txt:551: error: stray ‘\’ in program
    /dsdt/dsdt.txt:554: error: stray ‘\’ in program
    /dsdt/dsdt.txt:555: error: stray ‘\’ in program
    /dsdt/dsdt.txt:570: error: stray ‘\’ in program
    /dsdt/dsdt.txt:578: error: stray ‘\’ in program
    /dsdt/dsdt.txt:579: error: stray ‘\’ in program
    /dsdt/dsdt.txt:580: error: stray ‘\’ in program
    /dsdt/dsdt.txt:581: error: stray ‘\’ in program
    /dsdt/dsdt.txt:584: error: stray ‘\’ in program
    /dsdt/dsdt.txt:586: error: stray ‘\’ in program
    /dsdt/dsdt.txt:591: error: stray ‘\’ in program
    /dsdt/dsdt.txt:602: error: stray ‘\’ in program
    /dsdt/dsdt.txt:623: error: stray ‘\’ in program
    /dsdt/dsdt.txt:627: error: stray ‘\’ in program
    /dsdt/dsdt.txt:644: error: stray ‘\’ in program
    /dsdt/dsdt.txt:664: error: stray ‘\’ in program
    /dsdt/dsdt.txt:670: error: stray ‘\’ in program
    /dsdt/dsdt.txt:711: error: stray ‘\’ in program
    /dsdt/dsdt.txt:712: error: stray ‘\’ in program
    /dsdt/dsdt.txt:713: error: stray ‘\’ in program
    /dsdt/dsdt.txt:719: error: stray ‘\’ in program
    /dsdt/dsdt.txt:745: error: stray ‘\’ in program
    /dsdt/dsdt.txt:746: error: stray ‘\’ in program
    /dsdt/dsdt.txt:748: error: stray ‘\’ in program
    /dsdt/dsdt.txt:755: error: stray ‘\’ in program
    /dsdt/dsdt.txt:757: error: stray ‘\’ in program
    /dsdt/dsdt.txt:791: error: stray ‘\’ in program
    /dsdt/dsdt.txt:804: error: stray ‘\’ in program
    /dsdt/dsdt.txt:872: error: stray ‘\’ in program
    /dsdt/dsdt.txt:878: error: stray ‘\’ in program
    /dsdt/dsdt.txt:884: error: stray ‘\’ in program
    /dsdt/dsdt.txt:997: error: stray ‘\’ in program
    /dsdt/dsdt.txt:998: error: stray ‘\’ in program
    /dsdt/dsdt.txt:1031: error: stray ‘\’ in program
    /dsdt/dsdt.txt:1039: error: stray ‘\’ in program
    /dsdt/dsdt.txt:1047: error: stray ‘\’ in program
    /dsdt/dsdt.txt:1055: error: stray ‘\’ in program
    /dsdt/dsdt.txt:1063: error: stray ‘\’ in program
    /dsdt/dsdt.txt:1071: error: stray ‘\’ in program
    /dsdt/dsdt.txt:1079: error: stray ‘\’ in program
    /dsdt/dsdt.txt:1087: error: stray ‘\’ in program
    /dsdt/dsdt.txt:1095: error: stray ‘\’ in program
    /dsdt/dsdt.txt:1103: error: stray ‘\’ in program
    /dsdt/dsdt.txt:1111: error: stray ‘\’ in program
    /dsdt/dsdt.txt:1119: error: stray ‘\’ in program
    /dsdt/dsdt.txt:1127: error: stray ‘\’ in program
    /dsdt/dsdt.txt:1135: error: stray ‘\’ in program
    /dsdt/dsdt.txt:1143: error: stray ‘\’ in program
    /dsdt/dsdt.txt:1151: error: stray ‘\’ in program
    /dsdt/dsdt.txt:1159: error: stray ‘\’ in program
    /dsdt/dsdt.txt:1167: error: stray ‘\’ in program
    /dsdt/dsdt.txt:1175: error: stray ‘\’ in program
    /dsdt/dsdt.txt:1183: error: stray ‘\’ in program
    /dsdt/dsdt.txt:1191: error: stray ‘\’ in program
    /dsdt/dsdt.txt:1199: error: stray ‘\’ in program
    /dsdt/dsdt.txt:1207: error: stray ‘\’ in program
    /dsdt/dsdt.txt:1215: error: stray ‘\’ in program
    /dsdt/dsdt.txt:1223: error: stray ‘\’ in program
    /dsdt/dsdt.txt:1231: error: stray ‘\’ in program
    /dsdt/dsdt.txt:1239: error: stray ‘\’ in program
    /dsdt/dsdt.txt:1247: error: stray ‘\’ in program
    /dsdt/dsdt.txt:1471: error: stray ‘\’ in program
    /dsdt/dsdt.txt:1471: error: stray ‘\’ in program
    /dsdt/dsdt.txt:1474: error: stray ‘\’ in program
    /dsdt/dsdt.txt:1486: error: stray ‘\’ in program
    /dsdt/dsdt.txt:1487: error: stray ‘\’ in program
    /dsdt/dsdt.txt:1490: error: stray ‘\’ in program
    /dsdt/dsdt.txt:1522: error: stray ‘\’ in program
    /dsdt/dsdt.txt:1523: error: stray ‘\’ in program
    /dsdt/dsdt.txt:1529: error: stray ‘\’ in program
    /dsdt/dsdt.txt:1530: error: stray ‘\’ in program
    /dsdt/dsdt.txt:1534: error: stray ‘\’ in program
    /dsdt/dsdt.txt:1535: error: stray ‘\’ in program
    /dsdt/dsdt.txt:1613: error: stray ‘\’ in program
    /dsdt/dsdt.txt:1640: error: stray ‘\’ in program
    /dsdt/dsdt.txt:1667: error: stray ‘\’ in program
    /dsdt/dsdt.txt:1692: error: stray ‘\’ in program
    /dsdt/dsdt.txt:1720: error: stray ‘\’ in program
    /dsdt/dsdt.txt:1780: error: stray ‘\’ in program
    /dsdt/dsdt.txt:2374: error: stray ‘\’ in program
    /dsdt/dsdt.txt:2377: error: stray ‘\’ in program
    /dsdt/dsdt.txt:2378: error: stray ‘\’ in program
    /dsdt/dsdt.txt:2379: error: stray ‘\’ in program
    /dsdt/dsdt.txt:2384: error: stray ‘\’ in program
    /dsdt/dsdt.txt:2385: error: stray ‘\’ in program
    /dsdt/dsdt.txt:2386: error: stray ‘\’ in program
    /dsdt/dsdt.txt:2390: error: stray ‘\’ in program
    /dsdt/dsdt.txt:2396: error: stray ‘\’ in program
    /dsdt/dsdt.txt:2399: error: stray ‘\’ in program
    /dsdt/dsdt.txt:2400: error: stray ‘\’ in program
    /dsdt/dsdt.txt:2404: error: stray ‘\’ in program
    /dsdt/dsdt.txt:2405: error: stray ‘\’ in program
    /dsdt/dsdt.txt:2408: error: stray ‘\’ in program
    /dsdt/dsdt.txt:2413: error: stray ‘\’ in program
    /dsdt/dsdt.txt:2418: error: stray ‘\’ in program
    /dsdt/dsdt.txt:2423: error: stray ‘\’ in program
    /dsdt/dsdt.txt:2428: error: stray ‘\’ in program
    /dsdt/dsdt.txt:2433: error: stray ‘\’ in program
    /dsdt/dsdt.txt:2441: error: stray ‘\’ in program
    /dsdt/dsdt.txt:2442: error: stray ‘\’ in program
    /dsdt/dsdt.txt:2443: error: stray ‘\’ in program
    /dsdt/dsdt.txt:2449: error: stray ‘\’ in program
    /dsdt/dsdt.txt:2450: error: stray ‘\’ in program
    /dsdt/dsdt.txt:2451: error: stray ‘\’ in program
    /dsdt/dsdt.txt:2455: error: stray ‘\’ in program
    /dsdt/dsdt.txt:2456: error: stray ‘\’ in program
    /dsdt/dsdt.txt:2457: error: stray ‘\’ in program
    /dsdt/dsdt.txt:2461: error: stray ‘\’ in program
    /dsdt/dsdt.txt:2465: error: stray ‘\’ in program
    /dsdt/dsdt.txt:2466: error: stray ‘\’ in program
    /dsdt/dsdt.txt:2467: error: stray ‘\’ in program
    /dsdt/dsdt.txt:2468: error: stray ‘\’ in program
    /dsdt/dsdt.txt:2772: error: stray ‘\’ in program
    /dsdt/dsdt.txt:2784: error: stray ‘\’ in program
    /dsdt/dsdt.txt:2794: error: stray ‘\’ in program
    /dsdt/dsdt.txt:2795: error: stray ‘\’ in program
    /dsdt/dsdt.txt:2797: error: stray ‘\’ in program
    /dsdt/dsdt.txt:2812: error: stray ‘\’ in program
    /dsdt/dsdt.txt:2827: error: stray ‘\’ in program
    /dsdt/dsdt.txt:2839: error: stray ‘\’ in program
    /dsdt/dsdt.txt:2849: error: stray ‘\’ in program
    /dsdt/dsdt.txt:2850: error: stray ‘\’ in program
    /dsdt/dsdt.txt:2852: error: stray ‘\’ in program
    /dsdt/dsdt.txt:2867: error: stray ‘\’ in program
    /dsdt/dsdt.txt:2882: error: stray ‘\’ in program
    /dsdt/dsdt.txt:2894: error: stray ‘\’ in program
    /dsdt/dsdt.txt:2904: error: stray ‘\’ in program
    /dsdt/dsdt.txt:2905: error: stray ‘\’ in program
    /dsdt/dsdt.txt:2907: error: stray ‘\’ in program
    /dsdt/dsdt.txt:2922: error: stray ‘\’ in program
    /dsdt/dsdt.txt:2937: error: stray ‘\’ in program
    /dsdt/dsdt.txt:2949: error: stray ‘\’ in program
    /dsdt/dsdt.txt:2959: error: stray ‘\’ in program
    /dsdt/dsdt.txt:2960: error: stray ‘\’ in program
    /dsdt/dsdt.txt:2962: error: stray ‘\’ in program
    /dsdt/dsdt.txt:2977: error: stray ‘\’ in program
    /dsdt/dsdt.txt:2992: error: stray ‘\’ in program
    /dsdt/dsdt.txt:3004: error: stray ‘\’ in program
    /dsdt/dsdt.txt:3014: error: stray ‘\’ in program
    /dsdt/dsdt.txt:3015: error: stray ‘\’ in program
    /dsdt/dsdt.txt:3017: error: stray ‘\’ in program
    /dsdt/dsdt.txt:3032: error: stray ‘\’ in program
    /dsdt/dsdt.txt:3047: error: stray ‘\’ in program
    /dsdt/dsdt.txt:3059: error: stray ‘\’ in program
    /dsdt/dsdt.txt:3069: error: stray ‘\’ in program
    /dsdt/dsdt.txt:3070: error: stray ‘\’ in program
    /dsdt/dsdt.txt:3072: error: stray ‘\’ in program
    /dsdt/dsdt.txt:3087: error: stray ‘\’ in program
    /dsdt/dsdt.txt:3102: error: stray ‘\’ in program
    /dsdt/dsdt.txt:3114: error: stray ‘\’ in program
    /dsdt/dsdt.txt:3124: error: stray ‘\’ in program
    /dsdt/dsdt.txt:3125: error: stray ‘\’ in program
    /dsdt/dsdt.txt:3127: error: stray ‘\’ in program
    /dsdt/dsdt.txt:3142: error: stray ‘\’ in program
    /dsdt/dsdt.txt:3157: error: stray ‘\’ in program
    /dsdt/dsdt.txt:3169: error: stray ‘\’ in program
    /dsdt/dsdt.txt:3179: error: stray ‘\’ in program
    /dsdt/dsdt.txt:3180: error: stray ‘\’ in program
    /dsdt/dsdt.txt:3182: error: stray ‘\’ in program
    /dsdt/dsdt.txt:3197: error: stray ‘\’ in program
    /dsdt/dsdt.txt:3240: error: stray ‘\’ in program
    /dsdt/dsdt.txt:3267: error: stray ‘\’ in program
    /dsdt/dsdt.txt:3290: error: stray ‘\’ in program
    /dsdt/dsdt.txt:3291: error: stray ‘\’ in program
    /dsdt/dsdt.txt:3293: error: stray ‘\’ in program
    /dsdt/dsdt.txt:3331: error: stray ‘\’ in program
    /dsdt/dsdt.txt:3332: error: stray ‘\’ in program
    /dsdt/dsdt.txt:3338: error: stray ‘\’ in program
    /dsdt/dsdt.txt:3369: error: stray ‘\’ in program
    /dsdt/dsdt.txt:3372: error: stray ‘\’ in program
    /dsdt/dsdt.txt:3426: error: stray ‘\’ in program
    drivers/acpi/osl.c: In function ‘acpi_os_table_override’:
    drivers/acpi/osl.c:366: error: ‘AmlCode’ undeclared (first use in this function)
    make[3]: *** [drivers/acpi/osl.o] Error 1
    make[2]: *** [drivers/acpi] Error 2
    make[1]: *** [drivers] Error 2
    make[1]: Leaving directory `/home/sentello/src/linux-source-2.6.32'
    make: *** [debian/stamp/build/kernel] Error 2
    sentello@ubuntu:~/src/linux-source-2.6.32$ ^C
    Any help for new UBUNTU 10:04?
    Last edited by Sentello; April 27th, 2010 at 06:32 AM.

Page 1 of 4 123 ... LastLast

Bookmarks

Posting Permissions

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