- Registriert
- 6 Feb. 2006
- Beiträge
- 258
Moin,
ich habe erfolgreich Gentoo Linux von der aktuellen 2006.0 LiveCD auf mein T60 installiert. Jetzt bin ich grade dran, die Fn Tasten und die ganzen Thinkpad spezifischen Funktionen zum laufen zu kriegen. Kernel ist der 2.6.15-gentoo-r5.
Wenn ich "emerge thinkpad" mache erhalte ich folgende Fehlermeldung:
[code:1]localhost frost # emerge thinkpad
Calculating dependencies ...done!
>>> emerge (1 of 1) app-laptop/thinkpad-5.8 to /
>>> md5 files ;-) thinkpad-4.3-r1.ebuild
>>> md5 files ;-) thinkpad-4.1.ebuild
>>> md5 files ;-) thinkpad-4.8.ebuild
>>> md5 files ;-) thinkpad-5.7.ebuild
>>> md5 files ;-) thinkpad-5.8.ebuild
>>> md5 files ;-) thinkpad-3.2.ebuild
>>> md5 files ;-) thinkpad-4.3.ebuild
>>> md5 files ;-) files/digest-thinkpad-4.3-r1
>>> md5 files ;-) files/digest-thinkpad-5.8
>>> md5 files ;-) files/thinkpad-5.8-cpu_ptr.patch
>>> md5 files ;-) files/digest-thinkpad-4.1
>>> md5 files ;-) files/digest-thinkpad-4.8
>>> md5 files ;-) files/digest-thinkpad-3.2
>>> md5 files ;-) files/digest-thinkpad-4.3
>>> md5 files ;-) files/digest-thinkpad-5.7
>>> md5 files ;-) files/thinkpad
>>> md5 src_uri ;-) thinkpad_5.8.tar.gz
* Determining the location of the kernel source code
* Found kernel source directory:
* /usr/src/linux
* Found sources for kernel version:
* 2.6.15-gentoo-r5
>>> Unpacking source...
>>> Unpacking thinkpad_5.8.tar.gz to /var/tmp/portage/thinkpad-5.8/work
* Applying thinkpad-5.8-cpu_ptr.patch ... [ ok ]
>>> Source unpacked.
* Preparing thinkpad module
make -C /usr/src/linux SUBDIRS=/var/tmp/portage/thinkpad-5.8/work/thinkpad-5.8/2.6/drivers modules
make[1]: Entering directory `/usr/src/linux-2.6.15-gentoo-r5'
CC [M] /var/tmp/portage/thinkpad-5.8/work/thinkpad-5.8/2.6/drivers/thinkpad.o
as --32 -o /var/tmp/portage/thinkpad-5.8/work/thinkpad-5.8/2.6/drivers/smapi_call.o /var/tmp/portage/thinkpad-5.8/work/thinkpad-5.8/2.6/drivers/smapi_call.s
CC [M] /var/tmp/portage/thinkpad-5.8/work/thinkpad-5.8/2.6/drivers/smapi_core.o
/var/tmp/portage/thinkpad-5.8/work/thinkpad-5.8/2.6/drivers/smapi_call.s: Assembler messages:
/var/tmp/portage/thinkpad-5.8/work/thinkpad-5.8/2.6/drivers/smapi_call.s:50: Warning: indirect lcall without `*'
CC [M] /var/tmp/portage/thinkpad-5.8/work/thinkpad-5.8/2.6/drivers/superio.o
In file included from /var/tmp/portage/thinkpad-5.8/work/thinkpad-5.8/2.6/drivers/../include/thinkpad_common.h:80,
from /var/tmp/portage/thinkpad-5.8/work/thinkpad-5.8/2.6/drivers/smapi_core.c:39:
/var/tmp/portage/thinkpad-5.8/work/thinkpad-5.8/2.6/drivers/../include/rtcmosram.h:171: warning: `packed' attribute ignored
/var/tmp/portage/thinkpad-5.8/work/thinkpad-5.8/2.6/drivers/smapi_core.c: In function `smapi_init':
/var/tmp/portage/thinkpad-5.8/work/thinkpad-5.8/2.6/drivers/smapi_core.c:301: warning: `inter_module_register' is deprecated (declared at include/linux/module.h:571)
/var/tmp/portage/thinkpad-5.8/work/thinkpad-5.8/2.6/drivers/smapi_core.c: In function `smapi_exit':
/var/tmp/portage/thinkpad-5.8/work/thinkpad-5.8/2.6/drivers/smapi_core.c:310: warning: `inter_module_unregister' is deprecated (declared at include/linux/module.h:572)
CC [M] /var/tmp/portage/thinkpad-5.8/work/thinkpad-5.8/2.6/drivers/rtcmosram.o
In file included from /var/tmp/portage/thinkpad-5.8/work/thinkpad-5.8/2.6/drivers/../include/thinkpad_common.h:80,
from /var/tmp/portage/thinkpad-5.8/work/thinkpad-5.8/2.6/drivers/thinkpad.c:49:
/var/tmp/portage/thinkpad-5.8/work/thinkpad-5.8/2.6/drivers/../include/rtcmosram.h:171: warning: `packed' attribute ignored
/var/tmp/portage/thinkpad-5.8/work/thinkpad-5.8/2.6/drivers/thinkpad.c: In function `thinkpad_ioctl':
/var/tmp/portage/thinkpad-5.8/work/thinkpad-5.8/2.6/drivers/thinkpad.c:245: warning: `inter_module_put' is deprecated (declared at include/linux/module.h:575)
/var/tmp/portage/thinkpad-5.8/work/thinkpad-5.8/2.6/drivers/thinkpad.c:260: warning: `inter_module_put' is deprecated (declared at include/linux/module.h:575)
/var/tmp/portage/thinkpad-5.8/work/thinkpad-5.8/2.6/drivers/thinkpad.c:275: warning: `inter_module_put' is deprecated (declared at include/linux/module.h:575)
/var/tmp/portage/thinkpad-5.8/work/thinkpad-5.8/2.6/drivers/thinkpad.c:290: warning: `inter_module_put' is deprecated (declared at include/linux/module.h:575)
In file included from /var/tmp/portage/thinkpad-5.8/work/thinkpad-5.8/2.6/drivers/../include/thinkpad_common.h:80,
from /var/tmp/portage/thinkpad-5.8/work/thinkpad-5.8/2.6/drivers/superio.c:41:
/var/tmp/portage/thinkpad-5.8/work/thinkpad-5.8/2.6/drivers/../include/rtcmosram.h:171: warning: `packed' attribute ignored
/var/tmp/portage/thinkpad-5.8/work/thinkpad-5.8/2.6/drivers/superio.c: In function `superio_init':
/var/tmp/portage/thinkpad-5.8/work/thinkpad-5.8/2.6/drivers/superio.c:890: warning: `inter_module_register' is deprecated (declared at include/linux/module.h:571)
/var/tmp/portage/thinkpad-5.8/work/thinkpad-5.8/2.6/drivers/superio.c: In function `superio_exit':
/var/tmp/portage/thinkpad-5.8/work/thinkpad-5.8/2.6/drivers/superio.c:899: warning: `inter_module_unregister' is deprecated (declared at include/linux/module.h:572)
CC [M] /var/tmp/portage/thinkpad-5.8/work/thinkpad-5.8/2.6/drivers/thinkpadpm.o
LD [M] /var/tmp/portage/thinkpad-5.8/work/thinkpad-5.8/2.6/drivers/smapi.o
In file included from /var/tmp/portage/thinkpad-5.8/work/thinkpad-5.8/2.6/drivers/../include/thinkpad_common.h:80,
from /var/tmp/portage/thinkpad-5.8/work/thinkpad-5.8/2.6/drivers/rtcmosram.c:41:
/var/tmp/portage/thinkpad-5.8/work/thinkpad-5.8/2.6/drivers/../include/rtcmosram.h:171: warning: `packed' attribute ignored
/var/tmp/portage/thinkpad-5.8/work/thinkpad-5.8/2.6/drivers/rtcmosram.c: In function `rtcmosram_init':
/var/tmp/portage/thinkpad-5.8/work/thinkpad-5.8/2.6/drivers/rtcmosram.c:229: warning: `inter_module_register' is deprecated (declared at include/linux/module.h:571)
/var/tmp/portage/thinkpad-5.8/work/thinkpad-5.8/2.6/drivers/rtcmosram.c: In function `rtcmosram_exit':
/var/tmp/portage/thinkpad-5.8/work/thinkpad-5.8/2.6/drivers/rtcmosram.c:238: warning: `inter_module_unregister' is deprecated (declared at include/linux/module.h:572)
In file included from /var/tmp/portage/thinkpad-5.8/work/thinkpad-5.8/2.6/drivers/../include/thinkpad_common.h:80,
from /var/tmp/portage/thinkpad-5.8/work/thinkpad-5.8/2.6/drivers/thinkpadpm.c:42:
/var/tmp/portage/thinkpad-5.8/work/thinkpad-5.8/2.6/drivers/../include/rtcmosram.h:171: warning: `packed' attribute ignored
/var/tmp/portage/thinkpad-5.8/work/thinkpad-5.8/2.6/drivers/thinkpadpm.c: In function `apm_bios_call':
/var/tmp/portage/thinkpad-5.8/work/thinkpad-5.8/2.6/drivers/thinkpadpm.c:208: error: cast specifies array type
/var/tmp/portage/thinkpad-5.8/work/thinkpad-5.8/2.6/drivers/thinkpadpm.c: In function `apm_bios_call_simple':
/var/tmp/portage/thinkpad-5.8/work/thinkpad-5.8/2.6/drivers/thinkpadpm.c:264: error: cast specifies array type
/var/tmp/portage/thinkpad-5.8/work/thinkpad-5.8/2.6/drivers/thinkpadpm.c: In function `thinkpadpm_init':
/var/tmp/portage/thinkpad-5.8/work/thinkpad-5.8/2.6/drivers/thinkpadpm.c:475: error: `pm_active' undeclared (first use in this function)
/var/tmp/portage/thinkpad-5.8/work/thinkpad-5.8/2.6/drivers/thinkpadpm.c:475: error: (Each undeclared identifier is reported only once
/var/tmp/portage/thinkpad-5.8/work/thinkpad-5.8/2.6/drivers/thinkpadpm.c:475: error: for each function it appears in.)
/var/tmp/portage/thinkpad-5.8/work/thinkpad-5.8/2.6/drivers/thinkpadpm.c:513: warning: `inter_module_register' is deprecated (declared at include/linux/module.h:571)
/var/tmp/portage/thinkpad-5.8/work/thinkpad-5.8/2.6/drivers/thinkpadpm.c: In function `thinkpadpm_exit':
/var/tmp/portage/thinkpad-5.8/work/thinkpad-5.8/2.6/drivers/thinkpadpm.c:522: warning: `inter_module_unregister' is deprecated (declared at include/linux/module.h:572)
make[2]: *** [/var/tmp/portage/thinkpad-5.8/work/thinkpad-5.8/2.6/drivers/thinkpadpm.o] Error 1
make[1]: *** [_module_/var/tmp/portage/thinkpad-5.8/work/thinkpad-5.8/2.6/drivers] Error 2
make[1]: Leaving directory `/usr/src/linux-2.6.15-gentoo-r5'
make: *** [default] Error 2!!!
ERROR: app-laptop/thinkpad-5.8 failed.
!!! Function linux-mod_src_compile, Line 505, Exitcode 2
!!! Unable to make KSRC=/usr/src/linux default.
!!! If you need support, post the topmost build error, NOT this status message.[/code:1]
Frage: Was tun? ibm-acpi support ist im Kernel geladen, ACPI & APM sind auch an.
Ein anderes Problem ist tp_smapi: [code:1]localhost frost # modprobe tp_smapi
WARNING: Error inserting tp_base (/lib/modules/2.6.15-gentoo-r5/extra/tp_base.ko): No such device
FATAL: Error inserting tp_smapi (/lib/modules/2.6.15-gentoo-r5/extra/tp_smapi.ko): Unknown symbol in module, or unknown parameter (see dmesg)[/code:1]
dmesg zeigt an:
[code:1]tp_base: not a ThinkPad!
tp_smapi: Unknown symbol tp_controller_read_row
tp_smapi: Unknown symbol tp_controller_unlock
tp_smapi: Unknown symbol tp_controller_lock
[/code:1]
ich habe erfolgreich Gentoo Linux von der aktuellen 2006.0 LiveCD auf mein T60 installiert. Jetzt bin ich grade dran, die Fn Tasten und die ganzen Thinkpad spezifischen Funktionen zum laufen zu kriegen. Kernel ist der 2.6.15-gentoo-r5.
Wenn ich "emerge thinkpad" mache erhalte ich folgende Fehlermeldung:
[code:1]localhost frost # emerge thinkpad
Calculating dependencies ...done!
>>> emerge (1 of 1) app-laptop/thinkpad-5.8 to /
>>> md5 files ;-) thinkpad-4.3-r1.ebuild
>>> md5 files ;-) thinkpad-4.1.ebuild
>>> md5 files ;-) thinkpad-4.8.ebuild
>>> md5 files ;-) thinkpad-5.7.ebuild
>>> md5 files ;-) thinkpad-5.8.ebuild
>>> md5 files ;-) thinkpad-3.2.ebuild
>>> md5 files ;-) thinkpad-4.3.ebuild
>>> md5 files ;-) files/digest-thinkpad-4.3-r1
>>> md5 files ;-) files/digest-thinkpad-5.8
>>> md5 files ;-) files/thinkpad-5.8-cpu_ptr.patch
>>> md5 files ;-) files/digest-thinkpad-4.1
>>> md5 files ;-) files/digest-thinkpad-4.8
>>> md5 files ;-) files/digest-thinkpad-3.2
>>> md5 files ;-) files/digest-thinkpad-4.3
>>> md5 files ;-) files/digest-thinkpad-5.7
>>> md5 files ;-) files/thinkpad
>>> md5 src_uri ;-) thinkpad_5.8.tar.gz
* Determining the location of the kernel source code
* Found kernel source directory:
* /usr/src/linux
* Found sources for kernel version:
* 2.6.15-gentoo-r5
>>> Unpacking source...
>>> Unpacking thinkpad_5.8.tar.gz to /var/tmp/portage/thinkpad-5.8/work
* Applying thinkpad-5.8-cpu_ptr.patch ... [ ok ]
>>> Source unpacked.
* Preparing thinkpad module
make -C /usr/src/linux SUBDIRS=/var/tmp/portage/thinkpad-5.8/work/thinkpad-5.8/2.6/drivers modules
make[1]: Entering directory `/usr/src/linux-2.6.15-gentoo-r5'
CC [M] /var/tmp/portage/thinkpad-5.8/work/thinkpad-5.8/2.6/drivers/thinkpad.o
as --32 -o /var/tmp/portage/thinkpad-5.8/work/thinkpad-5.8/2.6/drivers/smapi_call.o /var/tmp/portage/thinkpad-5.8/work/thinkpad-5.8/2.6/drivers/smapi_call.s
CC [M] /var/tmp/portage/thinkpad-5.8/work/thinkpad-5.8/2.6/drivers/smapi_core.o
/var/tmp/portage/thinkpad-5.8/work/thinkpad-5.8/2.6/drivers/smapi_call.s: Assembler messages:
/var/tmp/portage/thinkpad-5.8/work/thinkpad-5.8/2.6/drivers/smapi_call.s:50: Warning: indirect lcall without `*'
CC [M] /var/tmp/portage/thinkpad-5.8/work/thinkpad-5.8/2.6/drivers/superio.o
In file included from /var/tmp/portage/thinkpad-5.8/work/thinkpad-5.8/2.6/drivers/../include/thinkpad_common.h:80,
from /var/tmp/portage/thinkpad-5.8/work/thinkpad-5.8/2.6/drivers/smapi_core.c:39:
/var/tmp/portage/thinkpad-5.8/work/thinkpad-5.8/2.6/drivers/../include/rtcmosram.h:171: warning: `packed' attribute ignored
/var/tmp/portage/thinkpad-5.8/work/thinkpad-5.8/2.6/drivers/smapi_core.c: In function `smapi_init':
/var/tmp/portage/thinkpad-5.8/work/thinkpad-5.8/2.6/drivers/smapi_core.c:301: warning: `inter_module_register' is deprecated (declared at include/linux/module.h:571)
/var/tmp/portage/thinkpad-5.8/work/thinkpad-5.8/2.6/drivers/smapi_core.c: In function `smapi_exit':
/var/tmp/portage/thinkpad-5.8/work/thinkpad-5.8/2.6/drivers/smapi_core.c:310: warning: `inter_module_unregister' is deprecated (declared at include/linux/module.h:572)
CC [M] /var/tmp/portage/thinkpad-5.8/work/thinkpad-5.8/2.6/drivers/rtcmosram.o
In file included from /var/tmp/portage/thinkpad-5.8/work/thinkpad-5.8/2.6/drivers/../include/thinkpad_common.h:80,
from /var/tmp/portage/thinkpad-5.8/work/thinkpad-5.8/2.6/drivers/thinkpad.c:49:
/var/tmp/portage/thinkpad-5.8/work/thinkpad-5.8/2.6/drivers/../include/rtcmosram.h:171: warning: `packed' attribute ignored
/var/tmp/portage/thinkpad-5.8/work/thinkpad-5.8/2.6/drivers/thinkpad.c: In function `thinkpad_ioctl':
/var/tmp/portage/thinkpad-5.8/work/thinkpad-5.8/2.6/drivers/thinkpad.c:245: warning: `inter_module_put' is deprecated (declared at include/linux/module.h:575)
/var/tmp/portage/thinkpad-5.8/work/thinkpad-5.8/2.6/drivers/thinkpad.c:260: warning: `inter_module_put' is deprecated (declared at include/linux/module.h:575)
/var/tmp/portage/thinkpad-5.8/work/thinkpad-5.8/2.6/drivers/thinkpad.c:275: warning: `inter_module_put' is deprecated (declared at include/linux/module.h:575)
/var/tmp/portage/thinkpad-5.8/work/thinkpad-5.8/2.6/drivers/thinkpad.c:290: warning: `inter_module_put' is deprecated (declared at include/linux/module.h:575)
In file included from /var/tmp/portage/thinkpad-5.8/work/thinkpad-5.8/2.6/drivers/../include/thinkpad_common.h:80,
from /var/tmp/portage/thinkpad-5.8/work/thinkpad-5.8/2.6/drivers/superio.c:41:
/var/tmp/portage/thinkpad-5.8/work/thinkpad-5.8/2.6/drivers/../include/rtcmosram.h:171: warning: `packed' attribute ignored
/var/tmp/portage/thinkpad-5.8/work/thinkpad-5.8/2.6/drivers/superio.c: In function `superio_init':
/var/tmp/portage/thinkpad-5.8/work/thinkpad-5.8/2.6/drivers/superio.c:890: warning: `inter_module_register' is deprecated (declared at include/linux/module.h:571)
/var/tmp/portage/thinkpad-5.8/work/thinkpad-5.8/2.6/drivers/superio.c: In function `superio_exit':
/var/tmp/portage/thinkpad-5.8/work/thinkpad-5.8/2.6/drivers/superio.c:899: warning: `inter_module_unregister' is deprecated (declared at include/linux/module.h:572)
CC [M] /var/tmp/portage/thinkpad-5.8/work/thinkpad-5.8/2.6/drivers/thinkpadpm.o
LD [M] /var/tmp/portage/thinkpad-5.8/work/thinkpad-5.8/2.6/drivers/smapi.o
In file included from /var/tmp/portage/thinkpad-5.8/work/thinkpad-5.8/2.6/drivers/../include/thinkpad_common.h:80,
from /var/tmp/portage/thinkpad-5.8/work/thinkpad-5.8/2.6/drivers/rtcmosram.c:41:
/var/tmp/portage/thinkpad-5.8/work/thinkpad-5.8/2.6/drivers/../include/rtcmosram.h:171: warning: `packed' attribute ignored
/var/tmp/portage/thinkpad-5.8/work/thinkpad-5.8/2.6/drivers/rtcmosram.c: In function `rtcmosram_init':
/var/tmp/portage/thinkpad-5.8/work/thinkpad-5.8/2.6/drivers/rtcmosram.c:229: warning: `inter_module_register' is deprecated (declared at include/linux/module.h:571)
/var/tmp/portage/thinkpad-5.8/work/thinkpad-5.8/2.6/drivers/rtcmosram.c: In function `rtcmosram_exit':
/var/tmp/portage/thinkpad-5.8/work/thinkpad-5.8/2.6/drivers/rtcmosram.c:238: warning: `inter_module_unregister' is deprecated (declared at include/linux/module.h:572)
In file included from /var/tmp/portage/thinkpad-5.8/work/thinkpad-5.8/2.6/drivers/../include/thinkpad_common.h:80,
from /var/tmp/portage/thinkpad-5.8/work/thinkpad-5.8/2.6/drivers/thinkpadpm.c:42:
/var/tmp/portage/thinkpad-5.8/work/thinkpad-5.8/2.6/drivers/../include/rtcmosram.h:171: warning: `packed' attribute ignored
/var/tmp/portage/thinkpad-5.8/work/thinkpad-5.8/2.6/drivers/thinkpadpm.c: In function `apm_bios_call':
/var/tmp/portage/thinkpad-5.8/work/thinkpad-5.8/2.6/drivers/thinkpadpm.c:208: error: cast specifies array type
/var/tmp/portage/thinkpad-5.8/work/thinkpad-5.8/2.6/drivers/thinkpadpm.c: In function `apm_bios_call_simple':
/var/tmp/portage/thinkpad-5.8/work/thinkpad-5.8/2.6/drivers/thinkpadpm.c:264: error: cast specifies array type
/var/tmp/portage/thinkpad-5.8/work/thinkpad-5.8/2.6/drivers/thinkpadpm.c: In function `thinkpadpm_init':
/var/tmp/portage/thinkpad-5.8/work/thinkpad-5.8/2.6/drivers/thinkpadpm.c:475: error: `pm_active' undeclared (first use in this function)
/var/tmp/portage/thinkpad-5.8/work/thinkpad-5.8/2.6/drivers/thinkpadpm.c:475: error: (Each undeclared identifier is reported only once
/var/tmp/portage/thinkpad-5.8/work/thinkpad-5.8/2.6/drivers/thinkpadpm.c:475: error: for each function it appears in.)
/var/tmp/portage/thinkpad-5.8/work/thinkpad-5.8/2.6/drivers/thinkpadpm.c:513: warning: `inter_module_register' is deprecated (declared at include/linux/module.h:571)
/var/tmp/portage/thinkpad-5.8/work/thinkpad-5.8/2.6/drivers/thinkpadpm.c: In function `thinkpadpm_exit':
/var/tmp/portage/thinkpad-5.8/work/thinkpad-5.8/2.6/drivers/thinkpadpm.c:522: warning: `inter_module_unregister' is deprecated (declared at include/linux/module.h:572)
make[2]: *** [/var/tmp/portage/thinkpad-5.8/work/thinkpad-5.8/2.6/drivers/thinkpadpm.o] Error 1
make[1]: *** [_module_/var/tmp/portage/thinkpad-5.8/work/thinkpad-5.8/2.6/drivers] Error 2
make[1]: Leaving directory `/usr/src/linux-2.6.15-gentoo-r5'
make: *** [default] Error 2!!!
ERROR: app-laptop/thinkpad-5.8 failed.
!!! Function linux-mod_src_compile, Line 505, Exitcode 2
!!! Unable to make KSRC=/usr/src/linux default.
!!! If you need support, post the topmost build error, NOT this status message.[/code:1]
Frage: Was tun? ibm-acpi support ist im Kernel geladen, ACPI & APM sind auch an.
Ein anderes Problem ist tp_smapi: [code:1]localhost frost # modprobe tp_smapi
WARNING: Error inserting tp_base (/lib/modules/2.6.15-gentoo-r5/extra/tp_base.ko): No such device
FATAL: Error inserting tp_smapi (/lib/modules/2.6.15-gentoo-r5/extra/tp_smapi.ko): Unknown symbol in module, or unknown parameter (see dmesg)[/code:1]
dmesg zeigt an:
[code:1]tp_base: not a ThinkPad!
tp_smapi: Unknown symbol tp_controller_read_row
tp_smapi: Unknown symbol tp_controller_unlock
tp_smapi: Unknown symbol tp_controller_lock
[/code:1]