[Bug 311336] Re: error loading tp_smapi module
hi guys, I followed Heri's steps, but it still doesn't work after reboot. It was working directly after doing all the steps writen on the thinkwiki page Heri mentioned, but after reboot it just doesn't. I always have to recompile the tp_smapi module and only in that case it works. It is always complaining after sudo modprobe -a tp_smapi hdaps WARNING: Error inserting hdaps (/lib/modules/2.6.28-11-server/extra/hdaps.ko): Unknown symbol in module, or unknown parameter (see dmesg) dmesg returns this: thinkpad_ec: Unknown parameter `force_io' I have Jaunty with 2.6.28-11-server on my Thinkpad T400. Now how could this problem be solved without having to recompile the module each time after reboot? -- error loading tp_smapi module https://bugs.launchpad.net/bugs/311336 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 311336] Re: error loading tp_smapi module
hi swissz! there a few things you have to look at: thinkpad_ec needs to be started with the option force_io on newer thinkpads, you have to install tp_smapi with option HDAPS=1, then it is better to remove the old modules or rename them, and hdapsd installed from ubuntu sources is very old... and doesn't work on newer thinkpads. I wrote an step by step guide how to install all these things to get them working: http://www.thinkwiki.org/wiki/Install_Ubuntu_9.04_%28Jaunty_Jackalope%29_on_a_Thinkpad_T400#Active_Protection_System jango -- error loading tp_smapi module https://bugs.launchpad.net/bugs/311336 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 311336] Re: error loading tp_smapi module
Hi Jango! Thanks! Once I already followed your instructions on the thinkwiki page, it is working, but after reboot all the changes are gone: - applet doesn't show anything if I move the notebook - lsmod | grep hdaps returns nothing - sudo hdapsd -d sda -s 15 -a -v -y protect_file: /sys/block/sda/device/unload_heads threshold: 15 read_method: poll-sysfs open(/sys/devices/platform/hdaps/position): No such file or directory - sudo /etc/init.d/hdapsd start WARNING: Deprecated config file /etc/modprobe.conf, all config files belong into /etc/modprobe.d/. WARNING: All config files need .conf: /etc/modprobe.d/blacklist, it will be ignored in a future release. WARNING: All config files need .conf: /etc/modprobe.d/options, it will be ignored in a future release. FATAL: Error inserting hdaps (/lib/modules/2.6.28-11-server/extra/hdaps.ko): Unknown symbol in module, or unknown parameter (see dmesg) After each reboot I have to repeat the make install swissz -- error loading tp_smapi module https://bugs.launchpad.net/bugs/311336 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 311336] Re: error loading tp_smapi module
*uf* there were a few things wrong... first of all... you made a few files, but in a false directory and with wrong names. So delete all these files mentioned in your warnings. Then you probably doesn't create an /etc/modprobe.d/local with the option force_io in it... so hdaps can't load. If lsmod | grep hdaps doesn't return anything, the modules are not loaded. Know what? Contact me with jabber: jan...@jabber.org -- error loading tp_smapi module https://bugs.launchpad.net/bugs/311336 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 311336] Re: error loading tp_smapi module
ok. I deleted the files in the WARNING messages. now I went over again your How-To in http://www.thinkwiki.org/wiki/Install_Ubuntu_9.04_(Jaunty_Jackalope)_on_a_Thinkpad_T400#Active_Protection_System It was workin as it always did for the first time. I didn't want to restart my System, so I just tried to remove the loaded modules: - sudo modprobe -r hdaps - sudo modprobe -r tp_smapi - sudo modprobe -r thinkpad_ec then I tried to reload the modules: - sudo modprobe thinkpad_ec tp_smapi hdaps FATAL: Error inserting thinkpad_ec (/lib/modules/2.6.28-11-server/kernel/ubuntu/misc/thinkpad_ec.ko): Unknown symbol in module, or unknown parameter (see dmesg) dmesg returns: thinkpad_ec: Unknown parameter `force_io' - lsmod | grep hdaps returns nothing now I repeated the compilation steps again: - sudo make load HDAPS=1 FORCE_IO=1 hdaps: driver successfully loaded. - lsmod | grep hdaps hdaps 18648 0 thinkpad_ec15000 2 hdaps,tp_smapi -- error loading tp_smapi module https://bugs.launchpad.net/bugs/311336 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 311336] Re: error loading tp_smapi module
At last I solved the problem. In the /etc/modprobe.d/local.conf file the force_io=1 was causing the problem, so I commented it out, and now it's working. Is this parameter important, so may I just leave it out? Anyway, jango thanks for your help! swissz -- error loading tp_smapi module https://bugs.launchpad.net/bugs/311336 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 311336] Re: error loading tp_smapi module
this is strange... for loading the modules from source you need this parameter (which is only needed with newer thinkpads - tp_smapi uses other IO ports then.) and after an restart you do not need it any more... strange! However - it works! I played neverball before - its a lot of fun! (therefore joydev has to be loaded!) jango -- error loading tp_smapi module https://bugs.launchpad.net/bugs/311336 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
Re: [Bug 311336] Re: error loading tp_smapi module
Hello Steve after your last update I decided to install jaunty devel branch for some extra testing but problem still persist , which kernel version did you use, packaged 2.6.28-5 or from ubuntu jaunty git repo? [ 292.659494] thinkpad_ec: cannot claim io ports 0x1600-0x161f [ 292.665938] tp_smapi: Unknown symbol thinkpad_ec_unlock [ 292.666332] tp_smapi: Unknown symbol thinkpad_ec_invalidate [ 292.667348] tp_smapi: Unknown symbol thinkpad_ec_read_row [ 292.667972] tp_smapi: Unknown symbol thinkpad_ec_lock some debug info #kernel Linux liberie-l 2.6.28-5-generic #15-Ubuntu SMP Thu Jan 22 21:21:04 UTC 2009 i686 GNU/Linux #lsb DISTRIB_ID=Ubuntu DISTRIB_RELEASE=9.04 DISTRIB_CODENAME=jaunty DISTRIB_DESCRIPTION=Ubuntu jaunty (development branch) #DMI Manufacturer: LENOVO Version: ThinkPad X200 BIOS Revision: 2.2 Firmware Revision: 1.3 Thank you :) On Wed, Jan 28, 2009 at 7:53 AM, Steve Langasek steve.langa...@canonical.com wrote: Thank you for taking the time to report this bug and help to improve Ubuntu. I can confirm that loading the tp_smapi module did not work in intrepid. In jaunty, it does work, so I'm marking this bug as fixed. -- error loading tp_smapi module https://bugs.launchpad.net/bugs/311336 You received this bug notification because you are a direct subscriber of the bug. Status in linux source package in Ubuntu: Fix Released Bug description: Hello I'm having issues with Ubuntu version 8.10 , with my laptop Lenovo X200 when run modprobe I do receive this error modprobe tp_smapi WARNING: Error inserting thinkpad_ec (/lib/modules/2.6.27-9-generic/kernel/ubuntu/misc/thinkpad_ec.ko): No such device or address FATAL: Error inserting tp_smapi (/lib/modules/2.6.27-9-generic/kernel/ubuntu/misc/tp_smapi.ko): Unknown symbol in module, or unknown parameter (see dmesg) ProblemType: Bug Architecture: i386 DistroRelease: Ubuntu 8.10 Package: linux-image-2.6.27-9-generic 2.6.27-9.19 ProcCmdLine: User Name=/dev/mapper/vg-User Name ro vga=0x0368 ProcEnviron: PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games LANG=en_US.UTF-8 SHELL=/bin/bash ProcVersionSignature: Ubuntu 2.6.27-9.19-generic SourcePackage: linux -- error loading tp_smapi module https://bugs.launchpad.net/bugs/311336 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 311336] Re: error loading tp_smapi module
Thank you for taking the time to report this bug and help to improve Ubuntu. I can confirm that loading the tp_smapi module did not work in intrepid. In jaunty, it does work, so I'm marking this bug as fixed. ** Changed in: linux (Ubuntu) Status: New = Fix Released -- error loading tp_smapi module https://bugs.launchpad.net/bugs/311336 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 311336] Re: error loading tp_smapi module
Thank you for taking the time to report this bug and help to improve Ubuntu. I can confirm that loading the tp_smapi module did not work in intrepid. In jaunty, it does work, so I'm marking this bug as fixed. -- error loading tp_smapi module https://bugs.launchpad.net/bugs/311336 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 311336] Re: error loading tp_smapi module
This should be fixed in the latest upstream version 0.40 of tp_smapi. I would suggest to add the following entry to /etc/modprobe.d/options: options thinkpad_ec force_io=1 -- error loading tp_smapi module https://bugs.launchpad.net/bugs/311336 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 311336] Re: error loading tp_smapi module
Hello uljanow adding this line option thinkpad_ec force_io=1 , did not solve it only add one more error line thinkpad_ec: Unknown parameter `force_io` Thanks for the help -- error loading tp_smapi module https://bugs.launchpad.net/bugs/311336 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 311336] Re: error loading tp_smapi module
Hi Liberie, I also experience the same error with you. this is what i have done to solve it. 1. Download the latest source code of tp_smapi (http://sourceforge.net/project/showfiles.php?group_id=1212package_id=171579). 2. Follow instruction in here (http://www.thinkwiki.org/wiki/Tp_smapi#Installation_from_source) 3. Add tp_smapi hdaps to /etc/modules echo tp_smapi /etc/modules echo hdaps /etc/modules 4. update-initramfs -u 5. modprobe -a tp_smapi hdaps smapi hdaps working after that. -- error loading tp_smapi module https://bugs.launchpad.net/bugs/311336 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 311336] Re: error loading tp_smapi module
With the tp_smapi-0.40 and the latest hdapsd of debian/experimental Ubuntu Jaunty could be the first Distro in which the Active Protection System would work out-of-the-box for older and recent Thinkpads which would be very cool. Why is this still Undecided ? -- error loading tp_smapi module https://bugs.launchpad.net/bugs/311336 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 311336] Re: error loading tp_smapi module
** Attachment added: BootDmesg.gz http://launchpadlibrarian.net/20723725/BootDmesg.gz ** Attachment added: CurrentDmesg.txt http://launchpadlibrarian.net/20723726/CurrentDmesg.txt ** Attachment added: Dependencies.txt http://launchpadlibrarian.net/20723727/Dependencies.txt ** Attachment added: HalComputerInfo.txt http://launchpadlibrarian.net/20723728/HalComputerInfo.txt ** Attachment added: LsUsb.txt http://launchpadlibrarian.net/20723729/LsUsb.txt ** Attachment added: Lspci.txt http://launchpadlibrarian.net/20723730/Lspci.txt ** Attachment added: ProcCpuInfo.txt http://launchpadlibrarian.net/20723731/ProcCpuInfo.txt ** Attachment added: ProcInterrupts.txt http://launchpadlibrarian.net/20723732/ProcInterrupts.txt ** Attachment added: ProcModules.txt http://launchpadlibrarian.net/20723733/ProcModules.txt -- error loading tp_smapi module https://bugs.launchpad.net/bugs/311336 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs