http://bugzilla.kernel.org/show_bug.cgi?id=13195
--- Comment #38 from jcat <nysasou...@googlemail.com> 2009-11-25 09:53:56 --- Created an attachment (id=23930) --> (http://bugzilla.kernel.org/attachment.cgi?id=23930) Helper script to compile kernel using the Ubuntu method with custom DSDT - Use at your own risk :) Hi Brad, I've attached a fairly dumb helper script, which was created to automate the ubuntu steps. Have a look, and alter it to reflect your system. Install the linux-source package from the ubuntu repo. Unpack the Linux source (found in /usr/src/), and link to it with /usr/src/linux Then run the script (after modifying) with something like: ./make-new-kernel.sh -c -s custom-dsdt ..in menu config, un-select the option: "Device Drivers/Generic Driver Options/Select only drivers that don't need compile-time external firmware" ..then enter the name of the DSDT file (DSDT.hex) in option: "Power management and ACPI options/ACPI (Advanced Configuration and Power Interface) Support/Custom DSDT Table file to include" ..then un-select "Power management and ACPI options/ACPI (Advanced Configuration and Power Interface) Support/Thermal Zone" ..then when you exit menuconfig, select to save it when it promts you. You should end up with a kernel package, and a linux-headers package in /usr/src/. Install both packages with dpkg. If you use the default ubuntu config, it will take a couple of hours to compile the kernel, as it contains nearly every option under the sun. You can reduce the time by removing at least all the drivers you don't need :) You can of course just test the DSDT by getting the source from kernel.org and putting the DSDT in the source include directory, copy the defualt x86 config to .config, "make oldconfig", "make menuconfig" configuring as above, the doing: make clean make bzImage make modules make modules_install Then copy the kernel image to /boot/ and set-up grub accordingly. Using Ubutnu, it's probably better to use the Ubuntu way, as it uses their source patch set and ties in with their package management, and will allow the boot to look pretty etc :) Cheers, jcat -- Configure bugmail: http://bugzilla.kernel.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug. ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ acpi-bugzilla mailing list acpi-bugzilla@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/acpi-bugzilla