package tp-smapi-dkms (not installed) failed to install/upgrade: tp-smapi kernel module failed to build

Bug #816033 reported by marker
10
This bug affects 1 person
Affects Status Importance Assigned to Milestone
tp-smapi (Debian)
Fix Released
Unknown
tp-smapi (Ubuntu)
Invalid
Undecided
Unassigned

Bug Description

I also tried to use module-assistant to prepare the module from source - that also failed.

ProblemType: Package
DistroRelease: Ubuntu 10.04
Package: tp-smapi-dkms (not installed)
Uname: Linux 2.6.33-29-realtime i686
Architecture: i386
Date: Mon Jul 25 18:36:07 2011
ErrorMessage: tp-smapi kernel module failed to build
InstallationMedia: Ubuntu 10.04.2 LTS "Lucid Lynx" - Release i386 (20110211.3)
PackageVersion: 0.40-7
SourcePackage: tp-smapi
Title: package tp-smapi-dkms (not installed) failed to install/upgrade: tp-smapi kernel module failed to build

Revision history for this message
marker (mark-aktivix) wrote :
Revision history for this message
Dominik Stadler (dominik-stadler) wrote :

This usually happens because of changes in kernel 2.6.37, see Bug #673343, this is fixed in Natty and there are patches available in the bug report. I am not sure how it happens on 2.6.33 for you, did you apply newer patches on top?

The updated package is at http://packages.ubuntu.com/search?keywords=tp-smap and there is a patch available at http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=602367.

Revision history for this message
marker (mark-aktivix) wrote :

Thanks Dominik,

I'm using the latest realtime kernel from the lucid repositories - I haven't patched (or compiled) it myself.

Revision history for this message
Evgeni Golov (evgeni) wrote :

I can't find a 2.6.33-29-realtime for Lucid. Could you point me to it? I can only find .31 for Lucid...

Changed in tp-smapi (Debian):
status: Unknown → Fix Released
Revision history for this message
marker (mark-aktivix) wrote : Re: [Bug 816033] Re: package tp-smapi-dkms (not installed) failed to install/upgrade: tp-smapi kernel module failed to build

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Hi Evgeni,

On 10/08/11 12:35, Evgeni Golov wrote:
> I can't find a 2.6.33-29-realtime for Lucid. Could you point me to it? I
> can only find .31 for Lucid...

I think this came from a PPA, from which it has subsequently been
removed - either abogani's or kxstudio. There is an archived copy at
https://launchpad.net/~kxstudio-team/+archive/kernel/+sourcepub/1553321/+listing-archive-extra

Cheers,
Mark
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iQIcBAEBCAAGBQJOROfQAAoJEGhkzcI2MgwrWh8P/AxOPNYQinNZqBhpcmPnZrtA
oBrUWhXJkveMpysBI66GjbLba/w092yi9fyyLLKBnnQu5Z+p4EPMcbjrsROqzNvw
furKo9u5VX1+DY7n9BgbuYrLJgXjRx1MgWMTI1764YH1Gj9yK5FYCx3dq01r68NN
SVnXMihID87WMBeNLmlMO5KW87+0R4tvkLEYDSYhZlpHd5+qBZF+DzWDNO942GOQ
HscQOvMqPgre1wGSUaThXNuZ0QhgthvS0EhGv2yJYCmuJ9JdW4cooq68AOI0wP1G
oI3OELQQChA+s2kfJ49qohehROgXL81o+jZV6UX1v5I76TdNIX5xh/bHmjhWedVa
Ahe5D5zz/W+IgCGkTt3tVqEmj/EwxeqPLMxjZ+RRN+yvI6voWCHlg5iHITPr/ZgC
rGfat8UKTWyQIU/WSOW2SK510Fni6W6MGK0peS9XA7ZHeVtI++9/+QDqbkdfUi/P
fjx0kd5LToWineBC6MFpJd3iTwB4BclxSc9kExJtQdyTpSaUFzIz5RQfdIVnp3Ou
fVrVGo18L17bKFQ1XcaoRAO28/vOh3sTlX057utRVaEIxxG3tNc5mgZSRd4WMBpl
02sk92tp/uOY7WLfAl8Jha93F++xWIb3qv1wgBGKf3errUt9grpqPG/RixFeZprh
OfJO2Xuub/XNb6/bc8hM
=u4cp
-----END PGP SIGNATURE-----

Revision history for this message
Evgeni Golov (evgeni) wrote :

I must admit, I could not care less for a strange kernel from a unknown PPA :)
But it seems I am a too nice person (hahaha) and I had a look at these kernel packages provided there.
There is no DECLARE_MUTEX defined in them, just DEFINE_SEMAPHORE.
Looking further this is also the case for linux-rt-2.6.31 from Lucid. However linux-2.6.32 from Lucid and linux-2.6.35 from Maverick support DECLARE_MUTEX only!
DECLARE_MUTEX is removed in the rt-patch and this seems to be the reason here. I see no way to autodetect all possible (old) rt kernels and use D_S on them as I do since 2.6.37 on all kernels, so I fear this will go wont-fix if you have no better suggestion (do you use that old kernel anyways?)

Revision history for this message
marker (mark-aktivix) wrote :

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

OK, I see the problem is that I need a new kernel! Thanks for your help.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iQIcBAEBCAAGBQJORtWhAAoJEGhkzcI2MgwrC7YP/iPfYx0trx59Wu7uBbm6SWTp
teuLPx8IGWlE+EYcC3o0ZHe/t/OMZ/FYd+vPolPdBNmouD4lTFNPSkpR4B1V5it0
Uk0GxiCJwKpuw6z0SMvBD6jqCSfhF6m+S9rdx6XOArRLoWOqOE7QEGF7chKulBRX
G4J5cOIYfspcoLgRP84100x2zf4ghSNgQJ8iL3TeEvhGcKGN4GCrlrJC6Z0qMMhS
9HJ7ROAWSQI98oMMGYGu8JrdQSjio5ZNOQGt+fDvDxamnHojs+QppCFevvsgpHuQ
2BbatTKFg2Uoe5QFHgfGEfoYskiSFfTf49zmbhvs2cTxui9oCJ7DobgBWuID3SUp
TFeOUxk2HiD0MGqp9IS0DQWkh7kV2jyyn0Egzi+zel4sjz/MyEt+Xl8Ut2F4VKX0
tEF98DkLgA+mZaX9r8ot90eq5BxDwM93fduoy9RD46yEMyrT4gtIgOHAjqI7Ye6s
57pIWa4U3V7vZeKwRmpjaj1dhTSf6avd+MYDktNwdpabZo2oW5+lQTnRq2ULc1gL
ECXPr+30kPXAvDb5lhArylo7if8NC5DakVDPTL1CBEx293Nu8hsKrHBYtE3IsIW3
UsK+VEhtZLzwDGz9jfwO5pYOu0mfoiCbC5FBWV08l4J63WGv9INDS4BIUjOModC4
AqgKUefI64wa10IgjV2y
=i+mW
-----END PGP SIGNATURE-----

Revision history for this message
Dominik Stadler (dominik-stadler) wrote :

I think this is fixed in newer versions and only a problem in Lucid if you use a newer kernel, therefore closing invalid.

Changed in tp-smapi (Ubuntu):
status: New → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.