Skip to contentSkip to conversation

2.6.11 unstable buiild error with highmem

DISCUSSION woody 2 participants 3 messages Mar 14, 2005

lore
Share & tools
lore

woody

author
#0 lore raw

Sorry if this is clutter, download from the UK site 14mar05 02:30 utc

I could be incorrect on my config here, help appreciated. wm
PS: followed the steps in the user guide for dom0 kernel customize.

==========================================================================
<...snip...>
#
# Firmware Drivers
#
# CONFIG_EDD is not set
# CONFIG_NOHIGHMEM is not set
CONFIG_HIGHMEM4G=y
CONFIG_HIGHMEM=y
CONFIG_MTRR=y
CONFIG_HAVE_DEC_LOCK=y
# CONFIG_REGPARM is not set

==========================================================================
<...snip...>
CC arch/xen/i386/mm/hypervisor.o
CC arch/xen/i386/mm/highmem.o
arch/xen/i386/mm/highmem.c: In function `kmap_atomic_pte':
arch/xen/i386/mm/highmem.c:58: error: `highmem_start_page' undeclared (first use in this function) arch/xen/i386/mm/highmem.c:58: error: (Each undeclared identifier is reported only once arch/xen/i386/mm/highmem.c:58: error: for each function it appears in.)
make[4]: *** [arch/xen/i386/mm/highmem.o] Error 1
make[3]: *** [arch/xen/i386/mm] Error 2
make[3]: Leaving directory `/root/xen-unstable/linux-2.6.11-xen0'
make[2]: *** [build] Error 2
make[2]: Leaving directory `/root/xen-unstable'
make[1]: *** [linux-2.6-xen0-build] Error 2
make[1]: Leaving directory `/root/xen-unstable'
make: *** [kernels] Error 1
[root@localhost xen-unstable]# vi ./linux-2.6.11-xen0/.config
You have new mail in /var/spool/mail/root
[root@localhost xen-unstable]#

==========================================================================

===================================================

Signature · 5 lines
Sincerely, Woody Marvel   LTC Open Source Projects   Beaverton, OR
tel: 503-578-3833/775-3833	email: [email protected]
=======================================================================
"The branch is not only ever near the stem, but ever receiving life and fruitfulness from it." -- C.H.Spurgeon
=======================================================================
#1 lore raw
Quoted 7 lines · woody

CC arch/xen/i386/mm/hypervisor.o
CC arch/xen/i386/mm/highmem.o
arch/xen/i386/mm/highmem.c: In function `kmap_atomic_pte':
arch/xen/i386/mm/highmem.c:58: error: `highmem_start_page' undeclared (first use in this function) arch/xen/i386/mm/highmem.c:58: error: (Each undeclared identifier is reported only once arch/xen/i386/mm/highmem.c:58: error: for each function it appears in.)
make[4]: *** [arch/xen/i386/mm/highmem.o] Error 1

Ahhh. The perils of maintaining an out-of-tree architecture :)

See this changeset:

http://linus.bkbits.net:8080/linux-2.5/user=haveblue/cset@41db789dk9nUJqX8AnsdYbPPQK-uow?nav=!-|index.html|stats|!+|index.html|ChangeSet@-9M

Basically change any comparison with highmem_start_page to use PageHighMem().

-- Dave

-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click

author
#2 lore raw

Dave,

Thank you sir.

wm
==================

Quoted 38 lines · Dave Hansen
Quoted 9 lines · woody

CC arch/xen/i386/mm/hypervisor.o
CC arch/xen/i386/mm/highmem.o
arch/xen/i386/mm/highmem.c: In function `kmap_atomic_pte':
arch/xen/i386/mm/highmem.c:58: error: `highmem_start_page' undeclared (first use in this function) arch/xen/i386/mm/highmem.c:58: error: (Each undeclared identifier is reported only once arch/xen/i386/mm/highmem.c:58: error: for each function it appears in.)
make[4]: *** [arch/xen/i386/mm/highmem.o] Error 1

Ahhh. The perils of maintaining an out-of-tree architecture :)

See this changeset:

http://linus.bkbits.net:8080/linux-2.5/user=haveblue/cset@41db789dk9nUJqX8AnsdYbPPQK-uow?nav=!-|index.html|stats|!+|index.html|ChangeSet@-9M

Basically change any comparison with highmem_start_page to use PageHighMem().

-- Dave

-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/xen-devel

Signature · 5 lines
Sincerely, Woody Marvel   LTC Open Source Projects   Beaverton, OR
tel: 503-578-3833/775-3833	email: [email protected]
=======================================================================
"The branch is not only ever near the stem, but ever receiving life and fruitfulness from it." -- C.H.Spurgeon
=======================================================================