Skip to contentSkip to conversation

2.5.74-mm2 + nvidia (and others)

DISCUSSION Petr Vandrovec 3 participants 4 messages Jul 8, 2003 Memory management

lore
Share & tools
lore
#0 lore raw
Quoted 14 lines · Christian Axelsson
Quoted 5 lines · Flameeyes
Quoted 2 lines · Petr Vandrovec

vmware-any-any-update35.tar.gz should work on 2.5.74-mm2 too.
But it is not tested, I have enough troubles with 2.5.74 without mm patches...

vmnet doesn't compile:

Quoted 7 lines

make: Entering directory `/tmp/vmware-config1/vmnet-only' In file included from userif.c:51:
pgtbl.h: In function `PgtblVa2PageLocked':
pgtbl.h:82: warning: implicit declaration of function `pmd_offset' pgtbl.h:82: warning: assignment makes pointer from integer without a cast
make: Leaving directory `/tmp/vmware-config1/vmnet-only'

Quoted 1 line

I get exactly the same errors. BTW I got these on vanilla 2.5.74 aswell.

Either copy compat_pgtable.h from vmmon to vmnet, or grab vmware-any-any-update36. I forgot to update vmnet's copy of this file.
Petr Vandrovec

#1 lore raw
Quoted 2 lines · Petr Vandrovec

Either copy compat_pgtable.h from vmmon to vmnet, or grab vmware-any-any-update36. I forgot to update vmnet's copy of this file.

also vmware-any-any-update36 doesn't work... works only if we copy also pgtbl.h from vmmon to vmnet.

Signature · 1 line
Flameeyes <[email protected]>
#2 lore raw
In reply to Petr Vandrovec
Quoted 15 lines · Petr Vandrovec
Quoted 14 lines · Christian Axelsson
Quoted 12 lines · Flameeyes
Quoted 2 lines · Petr Vandrovec

vmware-any-any-update35.tar.gz should work on 2.5.74-mm2 too.
But it is not tested, I have enough troubles with 2.5.74 without mm patches...

vmnet doesn't compile:

make: Entering directory `/tmp/vmware-config1/vmnet-only' In file included from userif.c:51:
pgtbl.h: In function `PgtblVa2PageLocked':
pgtbl.h:82: warning: implicit declaration of function `pmd_offset' pgtbl.h:82: warning: assignment makes pointer from integer without a cast
make: Leaving directory `/tmp/vmware-config1/vmnet-only'

Quoted 4 lines
Quoted 1 line

I get exactly the same errors. BTW I got these on vanilla 2.5.74 aswell.

Either copy compat_pgtable.h from vmmon to vmnet, or grab vmware-any-any-update36. I forgot to update vmnet's copy of this file.

Still getting same errors. However if I copy pgtbl.h from vmmon it compiles. vmmon uses pmd_offset_map instead of pmd_offset

Signature · 2 lines
Christian Axelsson
[email protected]
#3 lore raw
Quoted 7 lines · Christian Axelsson
Quoted 3 lines · Petr Vandrovec

Either copy compat_pgtable.h from vmmon to vmnet, or grab vmware-any-any-update36. I forgot to update vmnet's copy of this file.

Still getting same errors. However if I copy pgtbl.h from vmmon it compiles. vmmon uses pmd_offset_map instead of pmd_offset

Yes, I know :-( I forgot that I modified pgtbl.h too. All these files are common to vmmon/vmnet and should be same. update36 large 173887 bytes should have all needed files updated in vmnet too. If it will not work, I'll download -mm2 and try really building code, as apparently even trivial changes are too complicated for me today.
Petr Vandrovec