Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 83299 - quickcam: Unknown symbol remap_page_range with 2.6.11-rc5
Summary: quickcam: Unknown symbol remap_page_range with 2.6.11-rc5
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Alastair Tse (RETIRED)
URL:
Whiteboard:
Keywords:
: 84089 (view as bug list)
Depends on:
Blocks:
 
Reported: 2005-02-25 06:48 UTC by Jesse Stockall
Modified: 2005-04-18 04:08 UTC (History)
2 users (show)

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


Attachments
Patch to correct unresolved symbol (remap_page_range.patch,495 bytes, patch)
2005-02-25 06:49 UTC, Jesse Stockall
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Jesse Stockall 2005-02-25 06:48:08 UTC
qc-usb 0.6.2 uses remap_page_range, this symbol has been deprecated and was removed from 2.6.11-rcX

Patch taken from http://sourceforge.net/mailarchive/forum.php?thread_id=6536017&forum_id=4335

Reproducible: Always
Steps to Reproduce:
1. Module will not load
2.
3.
Comment 1 Jesse Stockall 2005-02-25 06:49:24 UTC
Created attachment 52120 [details, diff]
Patch to correct unresolved symbol
Comment 2 Alastair Tse (RETIRED) gentoo-dev 2005-03-08 09:34:42 UTC
*** Bug 84089 has been marked as a duplicate of this bug. ***
Comment 3 Alastair Tse (RETIRED) gentoo-dev 2005-03-09 07:14:22 UTC
commited to tree. thanks for your patch.
Comment 4 Colin Macdonald 2005-03-14 16:46:45 UTC
Reopen?

That patch breaks the module on 2.4 kernels (well at least 2.4.28):
>>> original instance of package unmerged safely.
 * Updating module dependencies for 2.4.28 ...
depmod: *** Unresolved symbols in //lib/modules/2.4.28/drivers/usb/quickcam.o
depmod:         remap_pfn_range                                           [ ok ]
>>> Regenerating /etc/ld.so.cache...
(this error doesn't happen if I comment out the patch line in the ebuild.)

I'm guessing you'll tell me that 2.4.x is unsupported ;-) but its possible that its broken on 2.6.xx with xx<11 too (I don't have a system to check as my other system is 2.6.11).

Is it ok to put log about the kernel version in the ebuild and only apply the patch if kernel version >= 2.6.11?  I think there is an eclass to do this sort of thing.
Comment 5 Colin Macdonald 2005-03-14 16:56:29 UTC
s/log/logic
Comment 6 Alastair Tse (RETIRED) gentoo-dev 2005-03-15 04:15:37 UTC
true .. its broken for 2.4 kernels .. need to get the official patch from their CVS, which is down at the moment. 
Comment 7 Alastair Tse (RETIRED) gentoo-dev 2005-04-18 04:08:10 UTC
0.6.3 should be fixed for the other kernels as well now.