Bug#598104: Toshiba Satellite C650: DSDT is borked (acpi errors, slow boot, wifi fails, etc)
Mirosław Zalewski wrote:
>   CC      arch/x86/kernel/acpi/boot.o
> arch/x86/kernel/acpi/boot.c: In function 'parse_acpi':
> arch/x86/kernel/acpi/boot.c:1659: error: 'acpi_gbl_copy_dsdt_locally' undeclared (first use in this function)
My bad.  The series I sent was incomplete and did not inclde the patch
69ec87efa8 (ACPICA: Add subsystem option to force copy of DSDT to
local memory, 2010-04-01), which is in squeeze (see bug#596709) but
not in the unpatched upstream kernel.
If you would like to test the patches against an upstream kernel
(which seems sensible enough), here are instructions:
1. apt-get install build-essential git-core
2. Fetch the 2.6.32.y longterm series:
     git clone -o stable \
	git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git \
	linux
     cd linux
 
   Or, if you already have a clone of linux-2.6.git:
     cd ~/src/linux
     git remote add -f stable \
	git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git
3. Grab Debian's patches, too (to save the effort of a trivial
   conflict-resolution in backporting one of the patches).
     git remote add -f debian \
	git://git.debian.org/kernel/linux-2.6.git
4. Check out stable-2.6.32.y:
     git checkout stable/linux-2.6.32.y
5. Apply patches:
     # ACPICA: Add detection of corrupted/replaced DSDT
     git cherry-pick -x 729df0f848da
     # ACPICA: Add subsystem option to force copy of DSDT to local memory
     # This one has a trivial conflict with another change.  So you
     # can use the upstream commit and fix it up by hand:
     git cherry-pick -x 69ec87efa815
     # Or re-use Ben's conflict resolution:
     git reset --merge
     git cherry-pick -x d65cf0ba0563
     # ACPICA: Update DSDT copy/detection
     git cherry-pick -x 43323cb4c4b6
     # ACPI: add boot option acpi=copy_dsdt to fix corrupt DSDT
     git cherry-pick -x aa2110cb1a75
     # ACPI: fix early DSDT dmi check warnings on ia64
     git cherry-pick -x cce4f632db20
     # ACPI: invoke DSDT corruption workaround on all Toshiba Satellite
     git cherry-pick -x 100cf87788c0
6. Build:
     cp /boot/config-$(uname -r) .config
     make localmodconfig; # minimal configuration
     make deb-pkg
7. Test:
     dpkg -i ../<name of package>
     reboot
8. Report back on results, and kick me if it doesn't result in the
patches being passed on to stable@vger.kernel.org.
Thanks again, and sorry for the fuss.
Reply to: