Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Official thread: "zen-sources" - Part V
View unanswered posts
View posts from last 24 hours

Goto page Previous  1, 2, 3 ... 8, 9, 10 ... 21, 22, 23  Next  
This topic is locked: you cannot edit posts or make replies.    Gentoo Forums Forum Index Unsupported Software
View previous topic :: View next topic  
Author Message
kernelOfTruth
Watchman
Watchman


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

PostPosted: Wed Sep 24, 2008 10:43 pm    Post subject: Reply with quote

Hi guys,

any chance to include the FIFO I/O scheduler and/or the V(R) I/O scheduler, please?

both mentioned in
aaronc.pdf and proofed to be MUCH faster than at least cfq (in several cases also anticipatory, noop (in some cases better implementation of FIFO))

info, links and patches:

http://www.gelato.unsw.edu.au/IA64wiki/IOScheduling/VRscheduler

http://www.gelato.unsw.edu.au/IA64wiki/IOScheduling/FIFOscheduler

many thanks in advance

(I really hope they do work with 2.6.27) :)
_________________
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
cheater1034
Veteran
Veteran


Joined: 09 Sep 2004
Posts: 1558

PostPosted: Wed Sep 24, 2008 10:50 pm    Post subject: Reply with quote

kernelOfTruth wrote:
Hi guys,

any chance to include the FIFO I/O scheduler and/or the V(R) I/O scheduler, please?

both mentioned in
aaronc.pdf and proofed to be MUCH faster than at least cfq (in several cases also anticipatory, noop (in some cases better implementation of FIFO))

info, links and patches:

http://www.gelato.unsw.edu.au/IA64wiki/IOScheduling/VRscheduler

http://www.gelato.unsw.edu.au/IA64wiki/IOScheduling/FIFOscheduler

many thanks in advance

(I really hope they do work with 2.6.27) :)


I will certainly take a look :D

*edit*
They both compile fine, they are both experimental so don't thing using them is a genius idea because it probably isn't :-p

FIFO is fine, if you like a no-op type of deal i'd rather do fifo. VR is a little more on the experimental side.
_________________
IRC!: #zen-sources on irc.rizon.net
zen-kernel.org
--
Lost in android development land.
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: Fri Sep 26, 2008 4:33 pm    Post subject: Reply with quote

cheater1034 wrote:
kernelOfTruth wrote:
Hi guys,

any chance to include the FIFO I/O scheduler and/or the V(R) I/O scheduler, please?

both mentioned in
aaronc.pdf and proofed to be MUCH faster than at least cfq (in several cases also anticipatory, noop (in some cases better implementation of FIFO))

info, links and patches:

http://www.gelato.unsw.edu.au/IA64wiki/IOScheduling/VRscheduler

http://www.gelato.unsw.edu.au/IA64wiki/IOScheduling/FIFOscheduler

many thanks in advance

(I really hope they do work with 2.6.27) :)


I will certainly take a look :D

*edit*
They both compile fine, they are both experimental so don't thing using them is a genius idea because it probably isn't :-p

FIFO is fine, if you like a no-op type of deal i'd rather do fifo. VR is a little more on the experimental side.


thanks ! :D

yeah, but VR nevertheless is an modified deadline-scheduler so it shouldn't be too bad :P

the performance seems not too well if the queue_depth patch isn't used with the fifo-scheduler, so could you also please add: cciss_qdepth-2.6.27.patch ? :idea:

many thanks in advance

kudos to Aaron Carroll if he's reading this by chance
_________________
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
kernelOfTruth
Watchman
Watchman


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

PostPosted: Sat Sep 27, 2008 6:58 pm    Post subject: Reply with quote

thanks for merging genetics and the io-stuff :)

I've one "noobish" question:

does it make a difference (prevent genetics from working) if using a tickless kernel ?

(currently I don't have much time and only took a small peek at the code)
_________________
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
cheater1034
Veteran
Veteran


Joined: 09 Sep 2004
Posts: 1558

PostPosted: Sun Sep 28, 2008 6:32 am    Post subject: Reply with quote

kernelOfTruth wrote:
thanks for merging genetics and the io-stuff :)

I've one "noobish" question:

does it make a difference (prevent genetics from working) if using a tickless kernel ?

(currently I don't have much time and only took a small peek at the code)


I don't understand the question, genetics will work fine with dynamic ticks/tickless sytem

----

To everyone, don't give me this nonsense that genetics will improve your i/o performance on your desktop, because it won't. It will degrade, significantly to the point of being noticed. It's not an error with genetic, it's an error with your brain not understanding how the GA can only be so effective on an i/o scheduler and when you get into desktop it's not effective at all because everything changes so damn much.
_________________
IRC!: #zen-sources on irc.rizon.net
zen-kernel.org
--
Lost in android development land.
Back to top
View user's profile Send private message
Strowi
l33t
l33t


Joined: 19 Aug 2003
Posts: 655
Location: Bonn

PostPosted: Sun Sep 28, 2008 11:59 am    Post subject: Reply with quote

sry.
_________________
--
Linux & such ...
http://blog.hasnoname.de


Last edited by Strowi on Sun Sep 28, 2008 3:43 pm; edited 1 time in total
Back to top
View user's profile Send private message
termite
Guru
Guru


Joined: 06 May 2007
Posts: 466

PostPosted: Sun Sep 28, 2008 3:42 pm    Post subject: Reply with quote

Any chance of getting an update to the overlay? Latest version there is rc5-zen2....
Back to top
View user's profile Send private message
CooSee
Guru
Guru


Joined: 20 Nov 2004
Posts: 458
Location: Earth

PostPosted: Sun Sep 28, 2008 7:16 pm    Post subject: Reply with quote

termite wrote:
Any chance of getting an update to the overlay? Latest version there is rc5-zen2....


2.6.27-rc7-zen3 is out but the *.ebuild doesn't work !

Code:
>>> Applying 2.6.27-rc7-zen3.patch.bz2 ...
/var/tmp/portage/sys-kernel/zen-sources-2.6.27_rc7-r30/temp/environment: line 705: /var/tmp/portage/sys-kernel/zen-sources-2.6.27_rc7-r30/work/2.6.27-rc7-zen3.patch.bz2: Datei oder Verzeichnis nicht gefunden < ---- patch not found !


great kernel, thanks for your work !

CooSee ' Ya
_________________
beQuiet! Silent Base 800 Black - MSI C236A - Xeon E3-1245v5 - 32GB RAM Kingston - Sapphire Nitro+ Radeon RX590 8G - Samsung PM961 M.2 128GB - Samsung 840 EVO 120GB - Creative Sound Blaster RX PCIe - Logitech Z623 2.1 - G110 Keyboard - Mouse G400
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: Sun Sep 28, 2008 9:37 pm    Post subject: Reply with quote

cheater1034 wrote:
kernelOfTruth wrote:
thanks for merging genetics and the io-stuff :)

I've one "noobish" question:

does it make a difference (prevent genetics from working) if using a tickless kernel ?

(currently I don't have much time and only took a small peek at the code)


I don't understand the question, genetics will work fine with dynamic ticks/tickless sytem

----

To everyone, don't give me this nonsense that genetics will improve your i/o performance on your desktop, because it won't. It will degrade, significantly to the point of being noticed. It's not an error with genetic, it's an error with your brain not understanding how the GA can only be so effective on an i/o scheduler and when you get into desktop it's not effective at all because everything changes so damn much.


I just wanted to know if it needs ticks on a constant basis, seemingly not, so everything "should" be fine,

unfortunatley it isn't: the kernel wouldn't boot for me (when launched there's only black screen and no motion)

any ideas ?

thanks
_________________
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
kernelOfTruth
Watchman
Watchman


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

PostPosted: Sun Sep 28, 2008 10:48 pm    Post subject: Reply with quote

just saw:

there are some more commits :P

hopefully that fixes it,

thanks :)
_________________
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
cheater1034
Veteran
Veteran


Joined: 09 Sep 2004
Posts: 1558

PostPosted: Mon Sep 29, 2008 3:33 am    Post subject: Reply with quote

the problem is either SMP or 64-bit related (atleast i think). Unfortunately the only one i can test on this box is SMP.

If no SMP fixes it, it should be a fairly easy fix if i can get a decent trace.

The traces i have gotten have hinted at SMP, i am trying right now without smp to see if that will resolve the issue, and then i can fix it from there.

javashin, is running the kernel on 32-bit and no smp, all 5 genetic schedulers registered fine and they all were running without error.

Really a puzzling issue ;) But something we can resolve. I'm really interested to see how VR performs with the genetic library now that javashin is saying that its running good contrary to my initial beliefs.

*EDIT*
Problem is diagnosed, not fixed

Iff you compile genetic AS, then all the io schedulers work
if you compile any additional genetic i/o schedulers besides AS they do not work, iff you are on 64-bit and possibly other archs besides x86_32

the kernel will not boot in ANY situation iff you are on 64-bit, and iff you compile any additional genetic i/o schedulers besides anticipatory.

I will look at tomorrow, until then i made all the genetic i/o schedulers depend on x86_32 except for anticipatory.
_________________
IRC!: #zen-sources on irc.rizon.net
zen-kernel.org
--
Lost in android development land.
Back to top
View user's profile Send private message
Mr. Tao
Tux's lil' helper
Tux's lil' helper


Joined: 20 Jul 2007
Posts: 147

PostPosted: Mon Sep 29, 2008 6:42 pm    Post subject: Reiser4 in 2.6.27-zen3 is missing Reply with quote

I'm on rescuecd now installing new system, did paludis -i zen-sources, got 2.6.27-rc7-zen3, built oldconfig and after short investigation why I'm getting kernel panic on boot I've finally realized that reiser4 is missing! I've checked gitweb and the horrible truth revealed. I'm installing 2.6.26-zen2 now, but I hope it will be back soon.
Back to top
View user's profile Send private message
CooSee
Guru
Guru


Joined: 20 Nov 2004
Posts: 458
Location: Earth

PostPosted: Mon Sep 29, 2008 6:56 pm    Post subject: Re: Reiser4 in 2.6.27-zen3 is missing Reply with quote

Mr. Tao wrote:
I'm on rescuecd now installing new system, did paludis -i zen-sources, got 2.6.27-rc7-zen3, built oldconfig and after short investigation why I'm getting kernel panic on boot I've finally realized that reiser4 is missing! I've checked gitweb and the horrible truth revealed. I'm installing 2.6.26-zen2 now, but I hope it will be back soon.


IMHO the ebuild doesn't work, as i mention above!

no fix until now ? !

you can patch manually !

CooSee ' Ya
_________________
beQuiet! Silent Base 800 Black - MSI C236A - Xeon E3-1245v5 - 32GB RAM Kingston - Sapphire Nitro+ Radeon RX590 8G - Samsung PM961 M.2 128GB - Samsung 840 EVO 120GB - Creative Sound Blaster RX PCIe - Logitech Z623 2.1 - G110 Keyboard - Mouse G400
Back to top
View user's profile Send private message
Holysword
l33t
l33t


Joined: 19 Nov 2006
Posts: 946
Location: Greece

PostPosted: Mon Sep 29, 2008 7:33 pm    Post subject: Reply with quote

I would love to know the difference between zen-sources, zenmm-sources and zenrt-sources...
_________________
"Nolite arbitrari quia venerim mittere pacem in terram non veni pacem mittere sed gladium" (Yeshua Ha Mashiach)
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: Mon Sep 29, 2008 7:41 pm    Post subject: Reply with quote

Holysword wrote:
I would love to know the difference between zen-sources, zenmm-sources and zenrt-sources...


zen-sources:

vanilla-sources + additional patches (like reiser4, ...)
http://git.zen-sources.org/?p=kernel/zen.git;a=heads

zenmm:

vanilla+mm-patchset + additional patches (if still needed)
http://git.zen-sources.org/?p=kernel/zenmm.git;a=heads

zenrt:
vanilla + rt-patchset + additional sane patches
http://git.zen-sources.org/?p=kernel/zenrt.git;a=heads

there's also zenps3:
which seems to be Miguels playground atm :P
http://git.zen-sources.org/?p=kernel/zenps3.git;a=heads
_________________
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
Mr. Tao
Tux's lil' helper
Tux's lil' helper


Joined: 20 Jul 2007
Posts: 147

PostPosted: Mon Sep 29, 2008 7:53 pm    Post subject: Re: Reiser4 in 2.6.27-zen3 is missing Reply with quote

CooSee wrote:
IMHO the ebuild doesn't work, as i mention above!
Oh yes! You are completely right. I missed it on 80×25 console. After I modified zen-sources.eclass a little the patch applied.
Back to top
View user's profile Send private message
cheater1034
Veteran
Veteran


Joined: 09 Sep 2004
Posts: 1558

PostPosted: Mon Sep 29, 2008 9:23 pm    Post subject: Re: Reiser4 in 2.6.27-zen3 is missing Reply with quote

Mr. Tao wrote:
I'm on rescuecd now installing new system, did paludis -i zen-sources, got 2.6.27-rc7-zen3, built oldconfig and after short investigation why I'm getting kernel panic on boot I've finally realized that reiser4 is missing! I've checked gitweb and the horrible truth revealed. I'm installing 2.6.26-zen2 now, but I hope it will be back soon.


No, it's not missing. It has never been missing. It has always been.

You are not using the correct git url, which therein lies your problem. Change it in .git/config, do not re-clone ;)
_________________
IRC!: #zen-sources on irc.rizon.net
zen-kernel.org
--
Lost in android development land.
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: Mon Sep 29, 2008 11:17 pm    Post subject: Reply with quote

is there a way to temporarily disable genetic ?

are
Quote:
cat /sys/kernel/debug/genetic/as-ioscheduler/phenotypes/general
read_expire: 47
write_expire: 66
read_batch_expire: 60
write_batch_expire: 47
default_antic_expire: 0
max_thinktime: 7
nr_requests: 1570


the best settings so far ?

will there be a way to set the (old) best settings to start with at the beginning (e.g. after a reboot) ?

thanks
_________________
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
Mr. Tao
Tux's lil' helper
Tux's lil' helper


Joined: 20 Jul 2007
Posts: 147

PostPosted: Mon Sep 29, 2008 11:57 pm    Post subject: Re: Reiser4 in 2.6.27-zen3 is missing Reply with quote

cheater1034 wrote:
You are not using the correct git url, which therein lies your problem. Change it in .git/config, do not re-clone ;)
Thanks to CooSee I've found source of my problem. It's incorrectly constructed path in zen-sources.eclass. After small fiddling with internal variables I had been able to complete installation. I just missed it for the first (and second) time, because ebuild continues even when patching fails. I think there should be something like “|| die” appended.
But for an instant I was scared I would have to go back to manual patching my kernel with Reiser4 patches ;)
Back to top
View user's profile Send private message
cheater1034
Veteran
Veteran


Joined: 09 Sep 2004
Posts: 1558

PostPosted: Tue Sep 30, 2008 2:13 am    Post subject: Re: Reiser4 in 2.6.27-zen3 is missing Reply with quote

Mr. Tao wrote:
cheater1034 wrote:
You are not using the correct git url, which therein lies your problem. Change it in .git/config, do not re-clone ;)
Thanks to CooSee I've found source of my problem. It's incorrectly constructed path in zen-sources.eclass. After small fiddling with internal variables I had been able to complete installation. I just missed it for the first (and second) time, because ebuild continues even when patching fails. I think there should be something like “|| die” appended.
But for an instant I was scared I would have to go back to manual patching my kernel with Reiser4 patches ;)


Not sure what you're talking about.

The problem with the ebuild was that it was assuming compresstype="lzma" when the patch for zen3 was bzip2'd

So deleting that line, makes the eclass assume bz2, and then the ebuilds were missing KEYWORDS="" entries no longer defined in the eclass so i added them and it all works. ;)
_________________
IRC!: #zen-sources on irc.rizon.net
zen-kernel.org
--
Lost in android development land.
Back to top
View user's profile Send private message
Mr. Tao
Tux's lil' helper
Tux's lil' helper


Joined: 20 Jul 2007
Posts: 147

PostPosted: Tue Sep 30, 2008 7:48 pm    Post subject: Re: Reiser4 in 2.6.27-zen3 is missing Reply with quote

cheater1034 wrote:
Not sure what you're talking about.

The problem with the ebuild was that it was assuming compresstype="lzma" when the patch for zen3 was bzip2'd

So deleting that line, makes the eclass assume bz2, and then the ebuilds were missing KEYWORDS="" entries no longer defined in the eclass so i added them and it all works. ;)
When I was installing unmodified ebuild it finished succesfully, but it didn't include zen patches and I ended up with vanilla sources. So I think the ebuild shoud abort with failure instead.
Back to top
View user's profile Send private message
Holysword
l33t
l33t


Joined: 19 Nov 2006
Posts: 946
Location: Greece

PostPosted: Tue Sep 30, 2008 9:21 pm    Post subject: Reply with quote

Code:
>>> Emerging (1 of 2) x11-drivers/nvidia-drivers-173.14.09

These are the packages that would be merged, in order:

Calculating dependencies... done!

 * Determining the location of the kernel source code
 * Found kernel source directory:
 * /usr/src/linux
 * Found sources for kernel version:
 * 2.6.27-rc7-zen3-01931-g513b057
 * Checking for MTRR support ...                                          [ ok ]
 * Checking for Paravirtualized guest support ...
>>> Unpacking source...
Creating directory NVIDIA-Linux-x86_64-173.14.09-pkg2
Verifying archive integrity... OK
Uncompressing NVIDIA Accelerated Graphics Driver for Linux-x86_64 173.14.09.............................................................................................................
 * Applying NVIDIA_glx-defines.patch ...                                  [ ok ]
 * Applying NVIDIA_glx-glheader.patch ...                                 [ ok ]
 * Applying NVIDIA_i2c-hwmon.patch ...                                    [ ok ]
 * Converting NVIDIA-Linux-x86_64-173.14.09-pkg2/usr/src/nv/Makefile.kbuild to use M= instead of SUBDIRS= ...                                             [ ok ]
>>> Source unpacked.
>>> Compiling source in /var/tmp/portage/x11-drivers/nvidia-drivers-173.14.09/work/NVIDIA-Linux-x86_64-173.14.09-pkg2 ...
 * Preparing nvidia module
NVIDIA: calling KBUILD...
make CC=x86_64-pc-linux-gnu-gcc  KBUILD_VERBOSE=1 -C /usr/src/linux M=/var/tmp/portage/x11-drivers/nvidia-drivers-173.14.09/work/NVIDIA-Linux-x86_64-173.14.09-pkg2/usr/src/nv modules
make[2]: warning: jobserver unavailable: using -j1.  Add `+' to parent make rule.
test -e include/linux/autoconf.h -a -e include/config/auto.conf || (           \
        echo;                                                           \
        echo "  ERROR: Kernel configuration is invalid.";               \
        echo "         include/linux/autoconf.h or include/config/auto.conf are missing.";      \
        echo "         Run 'make oldconfig && make prepare' on kernel src to fix it.";  \
        echo;                                                           \
        /bin/false)
mkdir -p /var/tmp/portage/x11-drivers/nvidia-drivers-173.14.09/work/NVIDIA-Linux-x86_64-173.14.09-pkg2/usr/src/nv/.tmp_versions ; rm -f /var/tmp/portage/x11-drivers/nvidia-drivers-173.14.09/work/NVIDIA-Linux-x86_64-173.14.09-pkg2/usr/src/nv/.tmp_versions/*
make -f scripts/Makefile.build obj=/var/tmp/portage/x11-drivers/nvidia-drivers-173.14.09/work/NVIDIA-Linux-x86_64-173.14.09-pkg2/usr/src/nv
  x86_64-pc-linux-gnu-gcc -Wp,-MD,/var/tmp/portage/x11-drivers/nvidia-drivers-173.14.09/work/NVIDIA-Linux-x86_64-173.14.09-pkg2/usr/src/nv/.nv.o.d  -nostdinc -isystem /usr/lib/gcc/x86_64-pc-linux-gnu/4.1.2/include -D__KERNEL__ -Iinclude  -I/usr/src/zen-sources/arch/x86/include -include include/linux/autoconf.h -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-implicit-function-declaration -O2 -m64 -mno-red-zone -mcmodel=kernel -funit-at-a-time -maccumulate-outgoing-args -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -pipe -Wno-sign-compare -fno-asynchronous-unwind-tables -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -Iinclude/asm-x86/mach-default -fno-stack-protector -fomit-frame-pointer -Wdeclaration-after-statement -Wno-pointer-sign -I/var/tmp/portage/x11-drivers/nvidia-drivers-173.14.09/work/NVIDIA-Linux-x86_64-173.14.09-pkg2/usr/src/nv -Wall -Wimplicit -Wreturn-type -Wswitch -Wformat -Wchar-subscripts -Wparentheses -Wno-multichar -Werror -mcmodel=kernel -mno-red-zone -MD -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"173.14.09\" -UDEBUG -U_DEBUG -DNDEBUG -DMODULE  -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(nv)"  -D"KBUILD_MODNAME=KBUILD_STR(nvidia)" -c -o /var/tmp/portage/x11-drivers/nvidia-drivers-173.14.09/work/NVIDIA-Linux-x86_64-173.14.09-pkg2/usr/src/nv/nv.o /var/tmp/portage/x11-drivers/nvidia-drivers-173.14.09/work/NVIDIA-Linux-x86_64-173.14.09-pkg2/usr/src/nv/nv.c
In file included from /var/tmp/portage/x11-drivers/nvidia-drivers-173.14.09/work/NVIDIA-Linux-x86_64-173.14.09-pkg2/usr/src/nv/nv.c:14:
/var/tmp/portage/x11-drivers/nvidia-drivers-173.14.09/work/NVIDIA-Linux-x86_64-173.14.09-pkg2/usr/src/nv/nv-linux.h:107:27: error: asm/semaphore.h: No such file or directory
In file included from /var/tmp/portage/x11-drivers/nvidia-drivers-173.14.09/work/NVIDIA-Linux-x86_64-173.14.09-pkg2/usr/src/nv/nv.c:14:
/var/tmp/portage/x11-drivers/nvidia-drivers-173.14.09/work/NVIDIA-Linux-x86_64-173.14.09-pkg2/usr/src/nv/nv-linux.h: In function 'nv_execute_on_all_cpus':
/var/tmp/portage/x11-drivers/nvidia-drivers-173.14.09/work/NVIDIA-Linux-x86_64-173.14.09-pkg2/usr/src/nv/nv-linux.h:674: error: too many arguments to function 'on_each_cpu'
make[3]: *** [/var/tmp/portage/x11-drivers/nvidia-drivers-173.14.09/work/NVIDIA-Linux-x86_64-173.14.09-pkg2/usr/src/nv/nv.o] Error 1
make[2]: *** [_module_/var/tmp/portage/x11-drivers/nvidia-drivers-173.14.09/work/NVIDIA-Linux-x86_64-173.14.09-pkg2/usr/src/nv] Error 2
NVIDIA: left KBUILD.
nvidia.ko failed to build!
make[1]: *** [module] Error 1
make: *** [module] Error 2


Any easy way to fix that?
_________________
"Nolite arbitrari quia venerim mittere pacem in terram non veni pacem mittere sed gladium" (Yeshua Ha Mashiach)
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: Tue Sep 30, 2008 10:08 pm    Post subject: Reply with quote

Holysword wrote:
Code:
>>> Emerging (1 of 2) x11-drivers/nvidia-drivers-173.14.09

These are the packages that would be merged, in order:

Calculating dependencies... done!

 * Determining the location of the kernel source code
 * Found kernel source directory:
 * /usr/src/linux
 * Found sources for kernel version:
 * 2.6.27-rc7-zen3-01931-g513b057
 * Checking for MTRR support ...                                          [ ok ]
 * Checking for Paravirtualized guest support ...
>>> Unpacking source...
Creating directory NVIDIA-Linux-x86_64-173.14.09-pkg2
Verifying archive integrity... OK
Uncompressing NVIDIA Accelerated Graphics Driver for Linux-x86_64 173.14.09.............................................................................................................
 * Applying NVIDIA_glx-defines.patch ...                                  [ ok ]
 * Applying NVIDIA_glx-glheader.patch ...                                 [ ok ]
 * Applying NVIDIA_i2c-hwmon.patch ...                                    [ ok ]
 * Converting NVIDIA-Linux-x86_64-173.14.09-pkg2/usr/src/nv/Makefile.kbuild to use M= instead of SUBDIRS= ...                                             [ ok ]
>>> Source unpacked.
>>> Compiling source in /var/tmp/portage/x11-drivers/nvidia-drivers-173.14.09/work/NVIDIA-Linux-x86_64-173.14.09-pkg2 ...
 * Preparing nvidia module
NVIDIA: calling KBUILD...
make CC=x86_64-pc-linux-gnu-gcc  KBUILD_VERBOSE=1 -C /usr/src/linux M=/var/tmp/portage/x11-drivers/nvidia-drivers-173.14.09/work/NVIDIA-Linux-x86_64-173.14.09-pkg2/usr/src/nv modules
make[2]: warning: jobserver unavailable: using -j1.  Add `+' to parent make rule.
test -e include/linux/autoconf.h -a -e include/config/auto.conf || (           \
        echo;                                                           \
        echo "  ERROR: Kernel configuration is invalid.";               \
        echo "         include/linux/autoconf.h or include/config/auto.conf are missing.";      \
        echo "         Run 'make oldconfig && make prepare' on kernel src to fix it.";  \
        echo;                                                           \
        /bin/false)
mkdir -p /var/tmp/portage/x11-drivers/nvidia-drivers-173.14.09/work/NVIDIA-Linux-x86_64-173.14.09-pkg2/usr/src/nv/.tmp_versions ; rm -f /var/tmp/portage/x11-drivers/nvidia-drivers-173.14.09/work/NVIDIA-Linux-x86_64-173.14.09-pkg2/usr/src/nv/.tmp_versions/*
make -f scripts/Makefile.build obj=/var/tmp/portage/x11-drivers/nvidia-drivers-173.14.09/work/NVIDIA-Linux-x86_64-173.14.09-pkg2/usr/src/nv
  x86_64-pc-linux-gnu-gcc -Wp,-MD,/var/tmp/portage/x11-drivers/nvidia-drivers-173.14.09/work/NVIDIA-Linux-x86_64-173.14.09-pkg2/usr/src/nv/.nv.o.d  -nostdinc -isystem /usr/lib/gcc/x86_64-pc-linux-gnu/4.1.2/include -D__KERNEL__ -Iinclude  -I/usr/src/zen-sources/arch/x86/include -include include/linux/autoconf.h -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-implicit-function-declaration -O2 -m64 -mno-red-zone -mcmodel=kernel -funit-at-a-time -maccumulate-outgoing-args -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -pipe -Wno-sign-compare -fno-asynchronous-unwind-tables -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -Iinclude/asm-x86/mach-default -fno-stack-protector -fomit-frame-pointer -Wdeclaration-after-statement -Wno-pointer-sign -I/var/tmp/portage/x11-drivers/nvidia-drivers-173.14.09/work/NVIDIA-Linux-x86_64-173.14.09-pkg2/usr/src/nv -Wall -Wimplicit -Wreturn-type -Wswitch -Wformat -Wchar-subscripts -Wparentheses -Wno-multichar -Werror -mcmodel=kernel -mno-red-zone -MD -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"173.14.09\" -UDEBUG -U_DEBUG -DNDEBUG -DMODULE  -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(nv)"  -D"KBUILD_MODNAME=KBUILD_STR(nvidia)" -c -o /var/tmp/portage/x11-drivers/nvidia-drivers-173.14.09/work/NVIDIA-Linux-x86_64-173.14.09-pkg2/usr/src/nv/nv.o /var/tmp/portage/x11-drivers/nvidia-drivers-173.14.09/work/NVIDIA-Linux-x86_64-173.14.09-pkg2/usr/src/nv/nv.c
In file included from /var/tmp/portage/x11-drivers/nvidia-drivers-173.14.09/work/NVIDIA-Linux-x86_64-173.14.09-pkg2/usr/src/nv/nv.c:14:
/var/tmp/portage/x11-drivers/nvidia-drivers-173.14.09/work/NVIDIA-Linux-x86_64-173.14.09-pkg2/usr/src/nv/nv-linux.h:107:27: error: asm/semaphore.h: No such file or directory
In file included from /var/tmp/portage/x11-drivers/nvidia-drivers-173.14.09/work/NVIDIA-Linux-x86_64-173.14.09-pkg2/usr/src/nv/nv.c:14:
/var/tmp/portage/x11-drivers/nvidia-drivers-173.14.09/work/NVIDIA-Linux-x86_64-173.14.09-pkg2/usr/src/nv/nv-linux.h: In function 'nv_execute_on_all_cpus':
/var/tmp/portage/x11-drivers/nvidia-drivers-173.14.09/work/NVIDIA-Linux-x86_64-173.14.09-pkg2/usr/src/nv/nv-linux.h:674: error: too many arguments to function 'on_each_cpu'
make[3]: *** [/var/tmp/portage/x11-drivers/nvidia-drivers-173.14.09/work/NVIDIA-Linux-x86_64-173.14.09-pkg2/usr/src/nv/nv.o] Error 1
make[2]: *** [_module_/var/tmp/portage/x11-drivers/nvidia-drivers-173.14.09/work/NVIDIA-Linux-x86_64-173.14.09-pkg2/usr/src/nv] Error 2
NVIDIA: left KBUILD.
nvidia.ko failed to build!
make[1]: *** [module] Error 1
make: *** [module] Error 2


Any easy way to fix that?


*sigh* :roll:

try to use the zen-overlay or

http://www.nvnews.net/vbulletin/showpost.php?p=1785565&postcount=2
_________________
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
Holysword
l33t
l33t


Joined: 19 Nov 2006
Posts: 946
Location: Greece

PostPosted: Tue Sep 30, 2008 10:32 pm    Post subject: Reply with quote

kernelOfTruth wrote:

*sigh* :roll:

try to use the zen-overlay or

http://www.nvnews.net/vbulletin/showpost.php?p=1785565&postcount=2


Sorry for my ignorance (I'm a completly n00b, but an insistent n00b XD).
What am I supposed to do with that? Its a patch? Can you post a link of "How to patch for Dummies" ?
_________________
"Nolite arbitrari quia venerim mittere pacem in terram non veni pacem mittere sed gladium" (Yeshua Ha Mashiach)
Back to top
View user's profile Send private message
mieszkoslusarczyk
Tux's lil' helper
Tux's lil' helper


Joined: 16 Jul 2008
Posts: 92
Location: Kraków/Poland

PostPosted: Wed Oct 01, 2008 8:15 am    Post subject: Reply with quote

How about patching ati drivers for 2.6.27?
Could you add ebuilds for them in zen-overlay?
Back to top
View user's profile Send private message
Display posts from previous:   
This topic is locked: you cannot edit posts or make replies.    Gentoo Forums Forum Index Unsupported Software All times are GMT
Goto page Previous  1, 2, 3 ... 8, 9, 10 ... 21, 22, 23  Next
Page 9 of 23

 
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