* A question regarding init_mm
@ 2008-08-08 1:49 Sid Boyce
2008-08-08 3:39 ` Valdis.Kletnieks
0 siblings, 1 reply; 3+ messages in thread
From: Sid Boyce @ 2008-08-08 1:49 UTC (permalink / raw)
To: linux-kernel
Trying to build the nvidia video module for 2.6.26-git through
2.6.27-rc2, I get "Unknown symbol init_mm", openSUSE 11.1 Alpha1.
Checking a few places I can see init_mm.
# cat /proc/kallsyms |grep init_mm
ffffffff80630020 D init_mm
# grep init_mm System.map-2.6.27-rc2-smp
ffffffff80630020 D init_mm
/usr/src/linux-2.6.27-rc2/arch/x86/kernel # grep init_mm init_task.c
struct mm_struct init_mm = INIT_MM(init_mm);
EXPORT_UNUSED_SYMBOL(init_mm); /* will be removed in 2.6.26 */
Any thoughts on why it's not seen? No one on the nvidia list has a clue
either.
Regards
Sid.
--
Sid Boyce ... Hamradio License G3VBV, Licensed Private Pilot
Emeritus IBM/Amdahl Mainframes and Sun/Fujitsu Servers Tech Support
Specialist, Cricket Coach
Microsoft Windows Free Zone - Linux used for all Computing Tasks
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: A question regarding init_mm
2008-08-08 1:49 A question regarding init_mm Sid Boyce
@ 2008-08-08 3:39 ` Valdis.Kletnieks
2008-08-08 15:05 ` Sid Boyce
0 siblings, 1 reply; 3+ messages in thread
From: Valdis.Kletnieks @ 2008-08-08 3:39 UTC (permalink / raw)
To: g3vbv; +Cc: linux-kernel
[-- Attachment #1: Type: text/plain, Size: 442 bytes --]
On Fri, 08 Aug 2008 02:49:29 BST, Sid Boyce said:
> EXPORT_UNUSED_SYMBOL(init_mm); /* will be removed in 2.6.26 */
> Any thoughts on why it's not seen? No one on the nvidia list has a clue
> either.
Run a kernel built with 'CONFIG_UNUSED_SYMBOLS=y', that should help matters
somewhat.
The *real* problem is that the NVidia driver uses the deprecated pgd_offset_k()
function (see NV_PGD_OFFSET in lv-linux.h). That's what needs fixing.
[-- Attachment #2: Type: application/pgp-signature, Size: 226 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: A question regarding init_mm
2008-08-08 3:39 ` Valdis.Kletnieks
@ 2008-08-08 15:05 ` Sid Boyce
0 siblings, 0 replies; 3+ messages in thread
From: Sid Boyce @ 2008-08-08 15:05 UTC (permalink / raw)
To: Valdis.Kletnieks; +Cc: linux-kernel
Valdis.Kletnieks@vt.edu wrote:
> On Fri, 08 Aug 2008 02:49:29 BST, Sid Boyce said:
>
>> EXPORT_UNUSED_SYMBOL(init_mm); /* will be removed in 2.6.26 */
>
>> Any thoughts on why it's not seen? No one on the nvidia list has a clue
>> either.
>
> Run a kernel built with 'CONFIG_UNUSED_SYMBOLS=y', that should help matters
> somewhat.
>
> The *real* problem is that the NVidia driver uses the deprecated pgd_offset_k()
> function (see NV_PGD_OFFSET in lv-linux.h). That's what needs fixing.
Thanks, that solved the problem. There is a patch for NVidia 177.13
which works, but I haven't yet been able to read it through to see
exactly what files were altered.
Regards
Sid.
--
Sid Boyce ... Hamradio License G3VBV, Licensed Private Pilot
Emeritus IBM/Amdahl Mainframes and Sun/Fujitsu Servers Tech Support
Specialist, Cricket Coach
Microsoft Windows Free Zone - Linux used for all Computing Tasks
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2008-08-08 15:05 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-08-08 1:49 A question regarding init_mm Sid Boyce
2008-08-08 3:39 ` Valdis.Kletnieks
2008-08-08 15:05 ` Sid Boyce
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox