Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
linux-2.6.12-rc4-nitro1 <--- asm-offset error
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Unsupported Software
View previous topic :: View next topic  
Author Message
Tùrin_Mormegil
Guru
Guru


Joined: 21 Sep 2004
Posts: 478
Location: Gorizia - Milano

PostPosted: Sun Jun 05, 2005 12:20 pm    Post subject: linux-2.6.12-rc4-nitro1 <--- asm-offset error Reply with quote

i have a problem compling this kernel...

Code:
bash-2.05b# make && make modules modules_install install
  CHK     include/linux/version.h
  UPD     include/linux/version.h
  SYMLINK include/asm -> include/asm-x86_64
  SPLIT   include/linux/autoconf.h -> include/config/*
  CC      scripts/mod/empty.o
  HOSTCC  scripts/mod/mk_elfconfig
  MKELF   scripts/mod/elfconfig.h
  HOSTCC  scripts/mod/file2alias.o
  HOSTCC  scripts/mod/modpost.o
  HOSTCC  scripts/mod/sumversion.o
  HOSTLD  scripts/mod/modpost
  HOSTCC  scripts/kallsyms
  HOSTCC  scripts/conmakehash
  HOSTCC  scripts/bin2c
  CC      arch/x86_64/kernel/asm-offsets.s
In file included from include/linux/suspend2.h:4,
                 from include/linux/suspend.h:12,
                 from arch/x86_64/kernel/asm-offsets.c:11:
include/linux/dyn_pageflags.h: In function `__get_next_bit_on':
include/linux/dyn_pageflags.h:43: error: `max_mapnr' undeclared (first use in this function)
include/linux/dyn_pageflags.h:43: error: (Each undeclared identifier is reported only once
include/linux/dyn_pageflags.h:43: error: for each function it appears in.)
make[1]: *** [arch/x86_64/kernel/asm-offsets.s] Error 1
make: *** [arch/x86_64/kernel/asm-offsets.s] Error 2


any idea?
_________________
Как я рад!
Back to top
View user's profile Send private message
Donpasquale
Apprentice
Apprentice


Joined: 03 Jan 2003
Posts: 150
Location: Munich

PostPosted: Mon Jun 06, 2005 7:46 am    Post subject: Reply with quote

try to patch out the scheduler patches nitro just inserted. they are only for intel processors
Back to top
View user's profile Send private message
Tùrin_Mormegil
Guru
Guru


Joined: 21 Sep 2004
Posts: 478
Location: Gorizia - Milano

PostPosted: Mon Jun 06, 2005 11:59 am    Post subject: Reply with quote

what do you mean for patch out? do an inverse patch?
_________________
Как я рад!
Back to top
View user's profile Send private message
Donpasquale
Apprentice
Apprentice


Joined: 03 Jan 2003
Posts: 150
Location: Munich

PostPosted: Mon Jun 06, 2005 12:03 pm    Post subject: Reply with quote

yes, look for a broken out directory with all patches they inserted and reverse the scheduler patches(?nicksched)
Back to top
View user's profile Send private message
Earthwings
Bodhisattva
Bodhisattva


Joined: 14 Apr 2003
Posts: 7753
Location: Germany

PostPosted: Mon Jun 06, 2005 3:59 pm    Post subject: Reply with quote

Moved from Kernel & Hardware to Unsupported Software.
Back to top
View user's profile Send private message
Tiger683
Veteran
Veteran


Joined: 08 Jan 2005
Posts: 1347
Location: Heffner's House

PostPosted: Tue Jun 07, 2005 7:42 am    Post subject: Reply with quote

Hi!

First of all, i'd appreciate if people would post support requests into the official nitro-thread
in UnsupportedSoftware Forum.
This will enssure that the Mods do not get more unnecessary work and that i (and all the users who might possibly have encountered same error and maybe
even posted a solution in the nitro thread) will actually read it and try to help.

Now, to get less official:
Ensure that you have Power Management enabled in your kernel config, and deselect all suspend options (SWSUSP as well as swsusp2)
Also i would like to point out that nitro is not being tested NOR supported for 64bit platforms. Its a 50/50,
If you need a 100% working kernel for AMD64 or ia64 please use a kernel supported by gentoo devs. Nitro sources
is a community work.

Cheers,

T
_________________
Retired gentoo user
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Unsupported Software All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum