Re: Toshiba L505D ACPI issue with 9.1/9.04
Here's a quick walkthrough on how to compile your own:
(But the one posted above should work fine for all ubuntu 9.10 based systems.)
Right click on http://bugzilla.kernel.org/attachment.cgi?id=23958 and save it to your desktop.
Code:
sudo -s
apt-get update
apt-get install kernel-package libncurses5-dev fakeroot wget bzip2
cd /usr/src
For 9.10:
Code:
wget http://www.kernel.org/pub/linux/kernel/v2.6/linux-2.6.31.12.tar.bz2
tar xjf linux-2.6.31.12.tar.bz2
ln -s linux-2.6.31.12 linux
For 10.04
Code:
wget http://www.kernel.org/pub/linux/kernel/v2.6/linux-2.6.32.4.tar.bz2
tar xjf linux-2.6.32.4.tar.bz2
ln -s linux-2.6.32.4 linux
Code:
cd /usr/src/linux
patch -p1 < ~/Desktop/bug14679_copy_dsdt.patch
cp /boot/config-`uname -r` ./.config
make menuconfig
NOTE: That's p1 as in the number ONE, not a lower case L.
-Load an Alternate Configuration File
-Hit OK
-Exit
-Hit Yes
Code:
make-kpkg clean
fakeroot make-kpkg --initrd --append-to-version=-l505d kernel_image kernel_headers
cd /usr/src
ls -l
nautilus /usr/src
Then install both deb files in there.
Make sure that you remove any extra Grub kernel switches you've added.
Re: Toshiba L505D ACPI issue with 9.1/9.04
It works! Thank you very much for the compiling guide, it really works!, right now I'm installing the graphics driver, when I finish doing I'll upload my own build to a faster server than the given before (:P)
Re: Toshiba L505D ACPI issue with 9.1/9.04
Brilliant! (although I've not had a chance to try it). I'll see if I can get us a kernel uploaded.
Re: Toshiba L505D ACPI issue with 9.1/9.04
OK, I did get it working, but I screwed up my kernel compile. Basically, I ran
sudo apt-get install git-core kexec-tools makedumpfile crash libncurses5 libncurses5-dev
(BTW, I already had most of the other dependencies installed, I don't remember what all they are, sorry)
cloned the Ubuntu source GIT tree with
cd [my kernel source directory]
git clone git://kernel.ubuntu.com/ubuntu/ubuntu-karmic.git karmic
cd Karmic
git tag | grep Ubuntu*
cd [appropriate kernel version from last command]
git checkout Ubuntu-2.6.31-17.54 -b ACPIfix
Ubuntu-2.6.31-17.54cp /boot/config-$(uname -r) .
cp /boot/config-$(uname -r) .
patch -p1 < ~/Desktop/bug14679_copy_dsdt.patch
make menuconfig
[made some changes/optimizations for AMD CPU...]
make-kpkg clean
git add .
git commit -a -m "L505d modifications"
//Note: I picked 4 because I did this on my quad-core desktop, choose 2 for a
//dual-core
CONCURRENCY_LEVEL=4 fakeroot make-kpkg --initrd --append-to-version=-l505d kernel_image kernel_headers
To make 2 .deb packages. However, I think I ****** up a couple of options, you should be able to compile to a much smaller package, but I'm not sure how(more like 60mb instead of 400mb). I don't have much experience compiling Ubuntu kernels, usually I just compile vanilla kernels from kernel.org. If somebody knows how to compile a Ubuntu kernel minus all of the extra stuff, please let me know, and I'll try to get a smaller kernel .deb uploaded.
Re: Toshiba L505D ACPI issue with 9.1/9.04
ivanmmj:
Thanks. It is working for me.
Colin
Re: Toshiba L505D ACPI issue with 9.1/9.04
I decided to mess around with the kernel and created a small kernel (30mb) package that works and is FAST... It's set up with no debugging, compiled to use AMD instructions, etc etc...
Anyone want a copy of it? (It's for 10.04, though, as it's based off the 2.6.32 kernel.)
Re: Toshiba L505D ACPI issue with 9.1/9.04
Quote:
Originally Posted by
ivanmmj
I decided to mess around with the kernel and created a small kernel (30mb) package that works and is FAST... It's set up with no debugging, compiled to use AMD instructions, etc etc...
Anyone want a copy of it? (It's for 10.04, though, as it's based off the 2.6.32 kernel.)
I would like to have it.
Colin
Re: Toshiba L505D ACPI issue with 9.1/9.04
Power management is working better for me with the kernel compiled using ivanmmj's instructions.
Colin
Re: Toshiba L505D ACPI issue with 9.1/9.04
Re: Toshiba L505D ACPI issue with 9.1/9.04
Could someone post a quick install to kernel patch guide for this? I've been wanting to install Ubuntu on my new laptop (L505-S5983) but am wary without the full picture...
Thanks in advance.