Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 158706 - app-laptop/tp_smapi installs hdaps.ko in a wrong location
Summary: app-laptop/tp_smapi installs hdaps.ko in a wrong location
Status: RESOLVED DUPLICATE of bug 141565
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-12-20 23:26 UTC by Anton Bolshakov
Modified: 2006-12-21 00:31 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Anton Bolshakov 2006-12-20 23:26:11 UTC
Problem:

I have hdaps build-in as a module in the kernel and it's installed in:
/lib/modules/2.6.19-gentoo-r2/kernel/drivers/hwmon/hdaps.ko

tp_smapi (with hdaps USE flag) trying to patch hdaps and install it in
/lib/modules/2.6.19-gentoo-r2/extra/hdaps.ko

So then you load 'modprobe hdaps' the first location with unpatched driver will be found and it'll fail to load if tp_smapi was loaded before it.

Solution:
The simple copy from ../extra/ to ../hwmon/ solves the problem.

I guess the ebuild should check if hdaps build-in to the kernel as a module and copy it to the proper location. It should also stop compiling if it's build-in to the kernel statically.

Thank you.
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2006-12-21 00:31:44 UTC

*** This bug has been marked as a duplicate of 141565 ***