Comment 94 for bug 644898

Revision history for this message
Kamarada (kamarada) wrote :

Error on Toshiba L300D and Ubuntu 11.04 32b
any solution?

Selecting previously deselected package toshiba-acpi-fix.
(Reading database ... 214463 files and directories currently installed.)
Unpacking toshiba-acpi-fix (from .../toshiba-acpi-fix_0.0.3_all.deb) ...
Setting up toshiba-acpi-fix (0.0.3) ...
Building toshiba_acpi for installed kernels
Building toshiba_acpi for 2.6.38-8-generic
make -C /lib/modules/2.6.38-8-generic/build M=/tmp/tmp.BjYlRViA6Y modules
make[1]: Entering directory `/usr/src/linux-headers-2.6.38-8-generic'
  CC [M] /tmp/tmp.BjYlRViA6Y/toshiba_acpi.o
  Building modules, stage 2.
  MODPOST 1 modules
  CC /tmp/tmp.BjYlRViA6Y/toshiba_acpi.mod.o
  LD [M] /tmp/tmp.BjYlRViA6Y/toshiba_acpi.ko
make[1]: Leaving directory `/usr/src/linux-headers-2.6.38-8-generic'
cp toshiba_acpi.ko /lib/modules/2.6.38-8-generic/kernel/drivers/platform/x86/toshiba_acpi.ko
update-initramfs -c -k 2.6.38-8-generic
update-initramfs: Generating /boot/initrd.img-2.6.38-8-generic
Building toshiba_acpi for 2.6.39-0-generic
make -C /lib/modules/2.6.39-0-generic/build M=/tmp/tmp.CjN1kDW4A8 modules
make[1]: Entering directory `/usr/src/linux-headers-2.6.39-0-generic'
  CC [M] /tmp/tmp.CjN1kDW4A8/toshiba_acpi.o
/tmp/tmp.CjN1kDW4A8/toshiba_acpi.c:72:28: fatal error: linux/smp_lock.h: No such file or directory
compilation terminated.
make[2]: *** [/tmp/tmp.CjN1kDW4A8/toshiba_acpi.o] Error 1
make[1]: *** [_module_/tmp/tmp.CjN1kDW4A8] Error 2
make[1]: Leaving directory `/usr/src/linux-headers-2.6.39-0-generic'
make: *** [all] Error 2
cp toshiba_acpi.ko /lib/modules/2.6.39-0-generic/kernel/drivers/platform/x86/toshiba_acpi.ko
cp: cannot stat `toshiba_acpi.ko': No such file or directory
make: *** [install] Error 1
Reloading the module
ERROR: Module toshiba_acpi does not exist in /proc/modules
FATAL: Error inserting toshiba_acpi (/lib/modules/2.6.39-0-generic/kernel/drivers/platform/x86/toshiba_acpi.ko): No such device
dpkg: error processing toshiba-acpi-fix (--configure):
 subprocess installed post-installation script returned error exit status 1
Errors were encountered while processing:
 toshiba-acpi-fix
E: Sub-process /usr/bin/dpkg returned an error code (1)
A package failed to install. Trying to recover:
Setting up toshiba-acpi-fix (0.0.3) ...
Building toshiba_acpi for installed kernels
Building toshiba_acpi for 2.6.38-8-generic
make -C /lib/modules/2.6.38-8-generic/build M=/tmp/tmp.bygDKyRovd modules
make[1]: Entering directory `/usr/src/linux-headers-2.6.38-8-generic'
  CC [M] /tmp/tmp.bygDKyRovd/toshiba_acpi.o
  Building modules, stage 2.
  MODPOST 1 modules
  CC /tmp/tmp.bygDKyRovd/toshiba_acpi.mod.o
  LD [M] /tmp/tmp.bygDKyRovd/toshiba_acpi.ko
make[1]: Leaving directory `/usr/src/linux-headers-2.6.38-8-generic'
cp toshiba_acpi.ko /lib/modules/2.6.38-8-generic/kernel/drivers/platform/x86/toshiba_acpi.ko
update-initramfs -c -k 2.6.38-8-generic
update-initramfs: Generating /boot/initrd.img-2.6.38-8-generic
Building toshiba_acpi for 2.6.39-0-generic
make -C /lib/modules/2.6.39-0-generic/build M=/tmp/tmp.866fxtlPEC modules
make[1]: Entering directory `/usr/src/linux-headers-2.6.39-0-generic'
  CC [M] /tmp/tmp.866fxtlPEC/toshiba_acpi.o
/tmp/tmp.866fxtlPEC/toshiba_acpi.c:72:28: fatal error: linux/smp_lock.h: No such file or directory
compilation terminated.
make[2]: *** [/tmp/tmp.866fxtlPEC/toshiba_acpi.o] Error 1
make[1]: *** [_module_/tmp/tmp.866fxtlPEC] Error 2
make[1]: Leaving directory `/usr/src/linux-headers-2.6.39-0-generic'
make: *** [all] Error 2
cp toshiba_acpi.ko /lib/modules/2.6.39-0-generic/kernel/drivers/platform/x86/toshiba_acpi.ko
cp: cannot stat `toshiba_acpi.ko': No such file or directory
make: *** [install] Error 1
Reloading the module
ERROR: Module toshiba_acpi does not exist in /proc/modules
FATAL: Error inserting toshiba_acpi (/lib/modules/2.6.39-0-generic/kernel/drivers/platform/x86/toshiba_acpi.ko): No such device
dpkg: error processing toshiba-acpi-fix (--configure):
 subprocess installed post-installation script returned error exit status 1
Errors were encountered while processing:
 toshiba-acpi-fix