xfs
[Top] [All Lists]

Re: 2.4.7-pre8-xfs breaks VMWare

To: Juha Saarinen <juha@xxxxxxxxxxxx>
Subject: Re: 2.4.7-pre8-xfs breaks VMWare
From: "Bernhard R. Erdmann" <be@xxxxxxxxxxx>
Date: Sat, 21 Jul 2001 14:26:05 +0200
Cc: Linux XFS Mailing List <linux-xfs@xxxxxxxxxxx>
References: <Pine.LNX.4.33.0107200843000.14455-100000@vimfuego.saarinen.org>
Sender: owner-linux-xfs@xxxxxxxxxxx
> > after upgrading from 2.4.7-pre6-xfs to 2.4.7-pre8-xfs I found VMWare
> > can't compile it's modules anymore.
> > Any hint?

There's a suggestion in vmware.for-linux.configuration, but it doesn't
help:

Path: news.vmware.com!not-for-mail
Message-ID: <3B570E9C.E92BFE8A@xxxxxxxxxx>
From: Petr Vandrovec <vandrove@xxxxxxxxxx>
Newsgroups: vmware.for-linux.configuration
Subject: Re: Build module vmmon fails
Date: Thu, 19 Jul 2001 18:45:16 +0200
References: <9j55nc$drc$1@xxxxxxxxxxxxxxxxx>
Lines: 25
Organization: Czech Technical University, Computing and Information
Centre
NNTP-Posting-Host: vanicka.vc.cvut.cz
Mime-Version: 1.0
Content-Type: text/plain; charset=iso-8859-2
Content-Transfer-Encoding: 7bit
X-Mailer: Mozilla 4.77 [en] (Win98; U)
X-Accept-Language: cs,en
Xref: ente.berdmann.de vmware.for-linux.configuration:413

Dirk Vornheder wrote:
> 
> Hi !
> 
> After upgrading to kernel 2.4.7pre7 build of module

And which vmware version do you have?
 
> /lib/modules/2.4.7-pre7/build/include/asm/pgalloc.h: In function
> `get_pgd_slow':
> /lib/modules/2.4.7-pre7/build/include/asm/pgalloc.h:56: `PAGE_OFFSET'
> undeclared (first use in this function)
> /lib/modules/2.4.7-pre7/build/include/asm/pgalloc.h:56: (Each undeclared
> identifier is reported only once
> /lib/modules/2.4.7-pre7/build/include/asm/pgalloc.h:56: for each function
> it appears in.)

pgalloc.h forgot to include asm/page.h. Are you sure that you have
/lib/modules/2.4.7-pre7/build/include/asm/page.h ?

I do not know about any changes introduced in 2.4.7pre* which removed
#include <asm/page.h> from somewhere... So if you are sure that you
have vmware-2.0.4, Easiest thing is probably adding #include
<asm/page.h> 
at the beginning of pgalloc.h ...
                                                                Petr


<Prev in Thread] Current Thread [Next in Thread>