[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#598104: Toshiba Satellite C650: DSDT is borked (acpi errors, slow boot, wifi fails, etc)



Package: src:linux-2.6
Followup-For: Bug #598104

I think that I have environemnt suitable to compile patched kernel.

Unfortunately, there is error while compiling and I have no idea what to
do with it. I mean, I understand that there is uninitialized variable,
but I have never ever written anything in C and I have no idea how to
initialize it and where I should do that. I am attaching last commands I
tried and their output. Any help is appreciated.

Best regards
Mirosław Zalewski

#v+
root@pingwin:/usr/src/# apt-get source linux-image-2.6.32-5-amd64
(cut content here, no errors)
root@pingwin:/usr/src/# cd linux-2.6-2.6.32
root@pingwin:/usr/src/linux-2.6-2.6.32# patch -p1 < ../1b6ea24923f1.patch 
patching file drivers/acpi/acpica/acglobal.h
patching file drivers/acpi/acpica/actables.h
patching file drivers/acpi/acpica/psxface.c
patching file drivers/acpi/acpica/tbutils.c
patching file drivers/acpi/acpica/tbxface.c
root@pingwin:/usr/src/linux-2.6-2.6.32# patch -p1 < ../418ce222c0a5.patch 
patching file Documentation/kernel-parameters.txt
patching file arch/x86/kernel/acpi/boot.c
patching file drivers/acpi/acpica/tbutils.c
patching file drivers/acpi/bus.c
Hunk #2 succeeded at 682 (offset -161 lines).
root@pingwin:/usr/src/linux-2.6-2.6.32# patch -p1 < ../535b0c435033.patch 
patching file drivers/acpi/bus.c
root@pingwin:/usr/src/linux-2.6-2.6.32# make-kpkg --initrd kernel_image
(everything looks fine here until)
  CC      arch/x86/kernel/trampoline.o
  CC      arch/x86/kernel/process.o
  CC      arch/x86/kernel/i387.o
  CC      arch/x86/kernel/xsave.o
  CC      arch/x86/kernel/ptrace.o
  CC      arch/x86/kernel/tls.o
  CC      arch/x86/kernel/step.o
  CC      arch/x86/kernel/stacktrace.o
  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)
arch/x86/kernel/acpi/boot.c:1659: error: (Each undeclared identifier is reported only once
arch/x86/kernel/acpi/boot.c:1659: error: for each function it appears in.)
make[4]: *** [arch/x86/kernel/acpi/boot.o] Error 1
make[3]: *** [arch/x86/kernel/acpi] Error 2
make[2]: *** [arch/x86/kernel] Error 2
make[1]: *** [arch/x86] Error 2
make[1]: Leaving directory `/usr/src/linux-2.6-2.6.32'
make: *** [debian/stamp/build/kernel] Error 2
#v-



Reply to: