Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
zen-sources not working
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
Pobega
n00b
n00b


Joined: 14 Jan 2007
Posts: 49

PostPosted: Sat Jun 21, 2008 1:56 pm    Post subject: zen-sources not working Reply with quote

Code:
ackbar ~ # emerge layman
ackbar ~ # echo "source /usr/portage/local/layman/make.conf" >> /etc/make.conf
ackbar ~ # layman -S
ackbar ~ # layman -a custom-kernels
* Overlay "custom-kernels" does not exist!


I dunno how to handle this, as I've never touched overlays before. This is my first foray into the field.
Back to top
View user's profile Send private message
kernelOfTruth
Watchman
Watchman


Joined: 20 Dec 2005
Posts: 6108
Location: Vienna, Austria; Germany; hello world :)

PostPosted: Sat Jun 21, 2008 2:13 pm    Post subject: Re: zen-sources not working Reply with quote

Pobega wrote:
Code:
ackbar ~ # emerge layman
ackbar ~ # echo "source /usr/portage/local/layman/make.conf" >> /etc/make.conf
ackbar ~ # layman -S
ackbar ~ # layman -a custom-kernels
* Overlay "custom-kernels" does not exist!


I dunno how to handle this, as I've never touched overlays before. This is my first foray into the field.


could you ask in the zen-sources thread?: https://forums.gentoo.org/viewtopic-t-696253-start-100.html
I'm always using git to get it, I don't know if the custom-kernels overlay was updated to the new address or if it even still exists ...

for this you'll need dev-util/git

Code:
emerge dev-util/git


instruction on how to get it:
https://forums.gentoo.org/viewtopic-p-5121103.html#5121103

Code:
cd /usr/src
git clone git://zen-sources.org/zen/kernel.git zen-sources


if you're having enough space, then copy it over to another directory:

e.g.
Code:
cp -r zen-sources linux-2.6.26-rc6-zen2
cd linux-2.6.26-rc6-zen2 && make menuconfig


then set it up

or copy over your old kernel-config:

Code:
cp /usr/src/linux/.config /usr/src/linux-2.6.26-rc6-zen2/
make -j 3 && make modules_install install

_________________
https://github.com/kernelOfTruth/ZFS-for-SystemRescueCD/tree/ZFS-for-SysRescCD-4.9.0
https://github.com/kernelOfTruth/pulseaudio-equalizer-ladspa

Hardcore Gentoo Linux user since 2004 :D
Back to top
View user's profile Send private message
Pobega
n00b
n00b


Joined: 14 Jan 2007
Posts: 49

PostPosted: Sat Jun 21, 2008 3:08 pm    Post subject: Reply with quote

That worked, but the kernel sources are horrible. Almost every single thing I compile in won't compile. Perhaps it's because I'm on a 64 bit OS?

Code:
  CC      mm/swapfile.o
  CC      mm/thrash.o
  CC      mm/swap_prefetch.o
mm/swap_prefetch.c: In function 'trickle_swap_cache_async':
mm/swap_prefetch.c:202: error: 'struct address_space' has no member named 'tree_lock'
mm/swap_prefetch.c:205: error: 'struct address_space' has no member named 'tree_lock'
make[1]: *** [mm/swap_prefetch.o] Error 1
make: *** [mm] Error 2


http://rafb.net/p/XLtM0i32.html
Back to top
View user's profile Send private message
kernelOfTruth
Watchman
Watchman


Joined: 20 Dec 2005
Posts: 6108
Location: Vienna, Austria; Germany; hello world :)

PostPosted: Sat Jun 21, 2008 3:20 pm    Post subject: Reply with quote

Pobega wrote:
That worked, but the kernel sources are horrible. Almost every single thing I compile in won't compile. Perhaps it's because I'm on a 64 bit OS?

Code:
  CC      mm/swapfile.o
  CC      mm/thrash.o
  CC      mm/swap_prefetch.o
mm/swap_prefetch.c: In function 'trickle_swap_cache_async':
mm/swap_prefetch.c:202: error: 'struct address_space' has no member named 'tree_lock'
mm/swap_prefetch.c:205: error: 'struct address_space' has no member named 'tree_lock'
make[1]: *** [mm/swap_prefetch.o] Error 1
make: *** [mm] Error 2


http://rafb.net/p/XLtM0i32.html


I think you found it's achilles heel :lol:

disable swap prefetch and it should compile fine, you might need to save the kernel-config and start from scratch with the compilation ...
_________________
https://github.com/kernelOfTruth/ZFS-for-SystemRescueCD/tree/ZFS-for-SysRescCD-4.9.0
https://github.com/kernelOfTruth/pulseaudio-equalizer-ladspa

Hardcore Gentoo Linux user since 2004 :D
Back to top
View user's profile Send private message
Pobega
n00b
n00b


Joined: 14 Jan 2007
Posts: 49

PostPosted: Sat Jun 21, 2008 3:30 pm    Post subject: Reply with quote

Code:
  CC      mm/slab.o
  CC      mm/migrate.o
mm/migrate.c: In function 'migrate_page_move_mapping':
mm/migrate.c:342: error: 'struct address_space' has no member named 'tree_lock'
make[1]: *** [mm/migrate.o] Error 1
make: *** [mm] Error 2


No clue what to disable this time
Back to top
View user's profile Send private message
kernelOfTruth
Watchman
Watchman


Joined: 20 Dec 2005
Posts: 6108
Location: Vienna, Austria; Germany; hello world :)

PostPosted: Sat Jun 21, 2008 4:39 pm    Post subject: Reply with quote

Pobega wrote:
Code:
  CC      mm/slab.o
  CC      mm/migrate.o
mm/migrate.c: In function 'migrate_page_move_mapping':
mm/migrate.c:342: error: 'struct address_space' has no member named 'tree_lock'
make[1]: *** [mm/migrate.o] Error 1
make: *** [mm] Error 2


No clue what to disable this time


Code:
git checkout v2.6.26-rc6-zen2


should give you a stable kernel-release ...

please have a look at the zen-sources thread, ...
_________________
https://github.com/kernelOfTruth/ZFS-for-SystemRescueCD/tree/ZFS-for-SysRescCD-4.9.0
https://github.com/kernelOfTruth/pulseaudio-equalizer-ladspa

Hardcore Gentoo Linux user since 2004 :D
Back to top
View user's profile Send private message
rmh3093
Advocate
Advocate


Joined: 06 Aug 2003
Posts: 2138
Location: Albany, NY

PostPosted: Sat Jun 21, 2008 5:35 pm    Post subject: Reply with quote

Pobega wrote:
That worked, but the kernel sources are horrible. Almost every single thing I compile in won't compile. Perhaps it's because I'm on a 64 bit OS?


maybe people shouldnt expect non tagged version to work all the time, you have to lets work on shit
_________________
Do not meddle in the affairs of wizards, for they are subtle and quick to anger.
Back to top
View user's profile Send private message
rmh3093
Advocate
Advocate


Joined: 06 Aug 2003
Posts: 2138
Location: Albany, NY

PostPosted: Sat Jun 21, 2008 7:37 pm    Post subject: Reply with quote

kernelOfTruth wrote:
Pobega wrote:
Code:
  CC      mm/slab.o
  CC      mm/migrate.o
mm/migrate.c: In function 'migrate_page_move_mapping':
mm/migrate.c:342: error: 'struct address_space' has no member named 'tree_lock'
make[1]: *** [mm/migrate.o] Error 1
make: *** [mm] Error 2


No clue what to disable this time


Code:
git checkout v2.6.26-rc6-zen2


should give you a stable kernel-release ...

please have a look at the zen-sources thread, ...


Why are you using NUMA anyway?

EDIT: fix is pushed, try it out since I dont use NUMA
_________________
Do not meddle in the affairs of wizards, for they are subtle and quick to anger.
Back to top
View user's profile Send private message
rmh3093
Advocate
Advocate


Joined: 06 Aug 2003
Posts: 2138
Location: Albany, NY

PostPosted: Sat Jun 21, 2008 8:02 pm    Post subject: Re: zen-sources not working Reply with quote

Pobega wrote:
Code:
ackbar ~ # emerge layman
ackbar ~ # echo "source /usr/portage/local/layman/make.conf" >> /etc/make.conf
ackbar ~ # layman -S
ackbar ~ # layman -a custom-kernels
* Overlay "custom-kernels" does not exist!


I dunno how to handle this, as I've never touched overlays before. This is my first foray into the field.


i removed the custom-kernels overlay from layman since it wasnt used by the kernel devs anymore, zen has its own overlay in layman called 'zen-overlay'
_________________
Do not meddle in the affairs of wizards, for they are subtle and quick to anger.
Back to top
View user's profile Send private message
Pobega
n00b
n00b


Joined: 14 Jan 2007
Posts: 49

PostPosted: Sat Jun 21, 2008 9:49 pm    Post subject: Reply with quote

kernelOfTruth wrote:
Pobega wrote:
Code:
  CC      mm/slab.o
  CC      mm/migrate.o
mm/migrate.c: In function 'migrate_page_move_mapping':
mm/migrate.c:342: error: 'struct address_space' has no member named 'tree_lock'
make[1]: *** [mm/migrate.o] Error 1
make: *** [mm] Error 2


No clue what to disable this time


Code:
git checkout v2.6.26-rc6-zen2


should give you a stable kernel-release ...

please have a look at the zen-sources thread, ...


Since i've no clue how to use git I'm taking what you say literally, and

Code:
ackbar src # git checkout v2.6.26-rc6-zen2
fatal: Not a git repository
Failed to find a valid git directory.
Back to top
View user's profile Send private message
dodo1122
Guru
Guru


Joined: 02 Sep 2006
Posts: 347
Location: York, England

PostPosted: Sat Jun 21, 2008 10:25 pm    Post subject: Reply with quote

run that in zen-sources git repository, not in /usr/src.


dodo
_________________
#zen-sources on irc.rizon.net
Back to top
View user's profile Send private message
tranquilcool
Veteran
Veteran


Joined: 25 Mar 2005
Posts: 1160

PostPosted: Sun Jun 22, 2008 5:26 pm    Post subject: Reply with quote

why doesn't this guy read or at least follow the zen-overlay posts?
_________________
this is a strange strange world.
Back to top
View user's profile Send private message
Pobega
n00b
n00b


Joined: 14 Jan 2007
Posts: 49

PostPosted: Mon Jun 23, 2008 2:40 pm    Post subject: Reply with quote

tranquilcool wrote:
why doesn't this guy read or at least follow the zen-overlay posts?


Why don't you try to be a bit understanding, I'm new to this whole idea. I'm used to having everything handed to me. I'm willing to learn, but a lot of the posts are overbearing at the moment and I need to be walked through it a little bit...Just because you know something more than someone else there is no need to be stuck up about it. This topic is over, and that (and this as well) was a needless bump.

I've never before used git or zen-sources, and I had no clue where to start. Even the topics based around it were a bit confusing to me. I understand it a bit better now, THANKS to rmh and kerneloftruth's help.
Back to top
View user's profile Send private message
tranquilcool
Veteran
Veteran


Joined: 25 Mar 2005
Posts: 1160

PostPosted: Wed Jun 25, 2008 9:42 am    Post subject: Reply with quote

sorry but first thing is to see if a thread is already running on the subject.
this way we can avoid double threads on the same subject.
didn't mean to be mean to you. i know now you know.
_________________
this is a strange strange world.
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