View previous topic :: View next topic |
Author |
Message |
stable.entropy n00b
Joined: 27 Mar 2008 Posts: 11
|
Posted: Fri Apr 18, 2008 4:08 am Post subject: |
|
|
progresso wrote: | I still can not get an ati-driver to build against a 2.6.25 kernel. When I try and compile it I get this:
Code: |
* Preparing fglrx module
make -C /usr/src/linux M=/var/tmp/portage/x11-drivers/ati-drivers-8.471.3/work/common/lib/modules/fglrx/build_mod/2.6.x modules
make[1]: Entering directory `/usr/src/zen-sources'
CC [M] /var/tmp/portage/x11-drivers/ati-drivers-8.471.3/work/common/lib/modules/fglrx/build_mod/2.6.x/firegl_public.o
/var/tmp/portage/x11-drivers/ati-drivers-8.471.3/work/common/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c: In function 'KCL_SetPageNoCache':
/var/tmp/portage/x11-drivers/ati-drivers-8.471.3/work/common/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:1161: error: implicit declaration of function 'change_page_attr'
/var/tmp/portage/x11-drivers/ati-drivers-8.471.3/work/common/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c: In function 'firegl_put_user_ptr':
/var/tmp/portage/x11-drivers/ati-drivers-8.471.3/work/common/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:1594: warning: cast from pointer to integer of different size
/var/tmp/portage/x11-drivers/ati-drivers-8.471.3/work/common/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:1594: warning: cast from pointer to integer of different size
/var/tmp/portage/x11-drivers/ati-drivers-8.471.3/work/common/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:1594: warning: cast from pointer to integer of different size
/var/tmp/portage/x11-drivers/ati-drivers-8.471.3/work/common/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:1594: warning: cast from pointer to integer of different size
/var/tmp/portage/x11-drivers/ati-drivers-8.471.3/work/common/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c: In function 'KCL_PosixSecurityCapGetEffectiveVector':
/var/tmp/portage/x11-drivers/ati-drivers-8.471.3/work/common/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:1888: error: implicit declaration of function 'cap_t'
/var/tmp/portage/x11-drivers/ati-drivers-8.471.3/work/common/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c: In function 'KCL_PosixSecurityCapSetEffectiveVector':
/var/tmp/portage/x11-drivers/ati-drivers-8.471.3/work/common/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:1896: error: lvalue required as left operand of assignment
/var/tmp/portage/x11-drivers/ati-drivers-8.471.3/work/common/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c: In function '__ke_unregister_ioctl32_conversion':
/var/tmp/portage/x11-drivers/ati-drivers-8.471.3/work/common/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:2972: warning: 'return' with a value, in function returning void
/var/tmp/portage/x11-drivers/ati-drivers-8.471.3/work/common/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c: In function 'KAS_SlabCache_Initialize':
/var/tmp/portage/x11-drivers/ati-drivers-8.471.3/work/common/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:5219: warning: cast from pointer to integer of different size
make[2]: *** [/var/tmp/portage/x11-drivers/ati-drivers-8.471.3/work/common/lib/modules/fglrx/build_mod/2.6.x/firegl_public.o] Error 1
make[1]: *** [_module_/var/tmp/portage/x11-drivers/ati-drivers-8.471.3/work/common/lib/modules/fglrx/build_mod/2.6.x] Error 2
make[1]: Leaving directory `/usr/src/zen-sources'
make: *** [kmod_build] Error 2
*
* ERROR: x11-drivers/ati-drivers-8.471.3 failed.
* Call stack:
* ebuild.sh, line 49: Called src_compile
* environment, line 3257: Called linux-mod_src_compile
* environment, line 2466: Called die
* The specific snippet of code:
* eval "emake HOSTCC=\"$(tc-getBUILD_CC)\" CC=\"$(get-KERNEL_CC)\" LDFLAGS=\"$(get_abi_LDFLAGS)\" ${BUILD_FIXES} ${BUILD_PARAMS} ${BUILD_TARGETS} " || die "Unable to emake HOSTCC="$(tc-getBUILD_CC)" CC="$(get-KERNEL_CC)" LDFLAGS="$(get_abi_LDFLAGS)" ${BUILD_FIXES} ${BUILD_PARAMS} ${BUILD_TARGETS}";
* The die message:
* Unable to emake HOSTCC=x86_64-pc-linux-gnu-gcc CC=x86_64-pc-linux-gnu-gcc LDFLAGS= GCC_VER_MAJ=4 KVER=2.6.25-rc9-zen0-09526-gb8d280d KDIR=/usr/src/linux kmod_build
*
* If you need support, post the topmost build error, and the call stack if relevant.
* A complete build log is located at '/var/log/portage/x11-drivers:ati-drivers-8.471.3:20080417-172609.log'.
* The ebuild environment file is located at '/var/tmp/portage/x11-drivers/ati-drivers-8.471.3/temp/environment'.
*
|
I have no idea what to do to fix this, any help is appreciated.
Thanks,
P |
I have the same problem, master-devel 2.6.25-zen0 (I modified the ebuild to have EGIT_BRANCH and EGIT_TREE set to "master-devel" instead.) |
|
Back to top |
|
|
stable.entropy n00b
Joined: 27 Mar 2008 Posts: 11
|
Posted: Fri Apr 18, 2008 4:37 am Post subject: ATI fixed maybe? |
|
|
Code: | --- common/lib/modules/fglrx/build_mod/firegl_public.c.orig 2008-04-06 01:20:21.000000000 -0300
+++ common/lib/modules/fglrx/build_mod/firegl_public.c 2008-04-06 01:17:58.000000000 -0300
@@ -1885,7 +1885,7 @@
*/
KCL_TYPE_Cap ATI_API_CALL KCL_PosixSecurityCapGetEffectiveVector()
{
- return cap_t(current->cap_effective);
+ return (current->cap_effective).cap[0];
}
/** \brief Set vector of effective security caps for the current process
@@ -1893,7 +1893,7 @@
*/
void ATI_API_CALL KCL_PosixSecurityCapSetEffectiveVector(KCL_TYPE_Cap cap)
{
- cap_t(current->cap_effective) = cap;
+ (current->cap_effective).cap[0] = cap;
}
/** \brief Get number of available RAM pages
--- common/lib/modules/fglrx/build_mod/firegl_public.c.orig 2008-04-06 02:10:13.000000000 -0300
+++ common/lib/modules/fglrx/build_mod/firegl_public.c 2008-04-06 02:23:05.000000000 -0300
@@ -120,6 +120,7 @@
#include <asm/cpufeature.h>
#ifdef CONFIG_MTRR
#include <asm/mtrr.h>
+#include <asm/cacheflush.h>
#endif
#include <asm/delay.h>
#include <linux/agp_backend.h>
@@ -1158,7 +1159,7 @@
int ATI_API_CALL KCL_SetPageNoCache(void* virt, int pages)
{
- return change_page_attr(virt_to_page(virt), pages, PAGE_KERNEL_NOCACHE);
+ return set_pages_uc(virt_to_page(virt), pages);
}
/** /brief Call global kernel task/thread scheduler */
|
^^ (Credits to sarah.a.happy for the patch.)
The above code is a patch for ati-drivers. I have modified the 8.471.3 (Catalyst 8.3) and version bumped it to 8.476.4 (Catalyst 8.4). With the above patch, and the kernel configured to export unused and obsolete symbols, it builds (with warnings). I am running 2.6.25-zen0 "master-devel".
I will compile are reboot when all is kosher.
edit: looks like master-devel may be broken, i'm getting bad relocations on build. I'm rollin back some enhancements on the build to double check. |
|
Back to top |
|
|
tranquilcool Veteran
Joined: 25 Mar 2005 Posts: 1179
|
Posted: Fri Apr 18, 2008 9:53 am Post subject: |
|
|
i really need the reise4 patch for 2.6.25 or at least the one in zen-sources.
please can anybody help? _________________ this is a strange strange world. |
|
Back to top |
|
|
kernelOfTruth Watchman
Joined: 20 Dec 2005 Posts: 6111 Location: Vienna, Austria; Germany; hello world :)
|
|
Back to top |
|
|
tranquilcool Veteran
Joined: 25 Mar 2005 Posts: 1179
|
Posted: Fri Apr 18, 2008 11:21 am Post subject: |
|
|
kernelOfTruth wrote: | tranquilcool wrote: | i really need the reise4 patch for 2.6.25 or at least the one in zen-sources.
please can anybody help? |
just use Edward's latest 2.6.24-patch & the 2 pending patches mentioned in this post
Cheers |
thanks kernelOfTruth. needed the patch for dark-sources. _________________ this is a strange strange world. |
|
Back to top |
|
|
tranquilcool Veteran
Joined: 25 Mar 2005 Posts: 1179
|
Posted: Fri Apr 18, 2008 11:33 am Post subject: |
|
|
ok this is not the right place.
post to inform that the reiser4 patches do not work with dark-sources.
errors;
CC fs/reiser4/plugin/file/file.o
fs/reiser4/plugin/file/file.c: In function ‘shorten_file’:
fs/reiser4/plugin/file/file.c:547: error: implicit declaration of function ‘zero_user_page’ _________________ this is a strange strange world. |
|
Back to top |
|
|
dusanc Apprentice
Joined: 19 Sep 2005 Posts: 248 Location: Serbia
|
Posted: Fri Apr 18, 2008 1:49 pm Post subject: |
|
|
Or maybe just wait for reiser4-for-2.6.25.patch as there is surely some intree differences between .24 and .25
I sure wouldn't value my data a lot if it were on a untested fs under untested kernel made with some patch for different version?
(Untested as in not tested to work together and not meant globaly)
Maybe just ask on #reiser4 or reiser4-devel@vger.kernel.org |
|
Back to top |
|
|
kernelOfTruth Watchman
Joined: 20 Dec 2005 Posts: 6111 Location: Vienna, Austria; Germany; hello world :)
|
Posted: Fri Apr 18, 2008 4:25 pm Post subject: |
|
|
MostAwesomeDude wrote: | My temperatures haven't increased at all, except recently when DynamicClocks was enabled for R500 Radeons. I'm running a Core 2 Duo laptop in 32-bit mode with latest git and my aufs and xpad patches. |
*bump*
Linus & the lkml now know of this issue: see
could anyone who can reproduce it - and has the time - bisect it ?
I'd really like to do it myself but we're writing exams on an almost weekly basis (in several cases on an daily basis !) til' july & that way you might be able to find the patch causing this much faster than I would
I - of course - will start bisecting but at earliest starting next weekend (I need this production box & my laptop is out and in use)
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 |
|
Back to top |
|
|
hoacker Guru
Joined: 04 Aug 2007 Posts: 505 Location: Bürstadt, Germany
|
|
Back to top |
|
|
dusanc Apprentice
Joined: 19 Sep 2005 Posts: 248 Location: Serbia
|
|
Back to top |
|
|
kernelOfTruth Watchman
Joined: 20 Dec 2005 Posts: 6111 Location: Vienna, Austria; Germany; hello world :)
|
|
Back to top |
|
|
tranquilcool Veteran
Joined: 25 Mar 2005 Posts: 1179
|
Posted: Sun Apr 20, 2008 8:27 am Post subject: |
|
|
thank you so much buddy! _________________ this is a strange strange world. |
|
Back to top |
|
|
kriko Tux's lil' helper
Joined: 18 Mar 2006 Posts: 92 Location: Slovenia
|
Posted: Sun Apr 20, 2008 4:04 pm Post subject: |
|
|
I saw BFQ, but kernel didn't compile with it previously. Will it be reincluded and fixed?
I'm curious about performance with it. _________________ Zen sources - fastest kernel in world |
|
Back to top |
|
|
tranquilcool Veteran
Joined: 25 Mar 2005 Posts: 1179
|
Posted: Sun Apr 20, 2008 4:17 pm Post subject: |
|
|
kriko wrote: | I saw BFQ, but kernel didn't compile with it previously. Will it be reincluded and fixed?
I'm curious about performance with it. |
BFQ compiles with vanilla and dark-sources. _________________ this is a strange strange world. |
|
Back to top |
|
|
dodo1122 Guru
Joined: 02 Sep 2006 Posts: 347 Location: York, England
|
Posted: Sun Apr 20, 2008 9:49 pm Post subject: |
|
|
bfq will be in 2.6.25-zen1, which will (hopefully) be ready tomorrow.
dodo _________________ #zen-sources on irc.rizon.net |
|
Back to top |
|
|
Veldrin Veteran
Joined: 27 Jul 2004 Posts: 1945 Location: Zurich, Switzerland
|
Posted: Mon Apr 21, 2008 6:34 am Post subject: |
|
|
Yay... I started wondering when it would come.
OTOH I might wait with the upgrade until nvidia releases some decent drivers (173.08 are slow on 2.6.24, needs checking)
cheers
V. |
|
Back to top |
|
|
are Apprentice
Joined: 03 Jan 2006 Posts: 188
|
Posted: Mon Apr 21, 2008 6:35 am Post subject: can't mount with dmcrypt anymore? |
|
|
Hi all,
here 2.6.24-zen4 works great so far, but with 2.6.24-zen5 i can't mount my crypted device anymore:
Code: |
device-mapper: table: 253:0: crypt: Error initializing ESSIV hash
device-mapper: ioctl: error adding target to table
device-mapper: ioctl: device doesn't appear to be in the dev hash table.
|
Any hint, how I can hunt down this beast?
I thank you in advance! best regards
are |
|
Back to top |
|
|
kriko Tux's lil' helper
Joined: 18 Mar 2006 Posts: 92 Location: Slovenia
|
Posted: Mon Apr 21, 2008 7:03 am Post subject: |
|
|
Oh, yes - almost forgot. Are nvidia drivers working on 2.6.15? I mean older that those latest beta because they are slow like hell. _________________ Zen sources - fastest kernel in world |
|
Back to top |
|
|
dodo1122 Guru
Joined: 02 Sep 2006 Posts: 347 Location: York, England
|
Posted: Tue Apr 22, 2008 1:20 pm Post subject: |
|
|
We are still working on -zen1... it's taking a lot of time to rebase and update everything :/
Fortunately, I can announce that zen-sources will have proper patch distribution, just like kamikaze. This means that you won't have to clone the git repo in order to get the patchset, i will be uploading diffs between vanilla kernel and zen in bzip2 to (i already registered zen-sources, now waiting for approval or refusal ) sourceforge.
dodo _________________ #zen-sources on irc.rizon.net |
|
Back to top |
|
|
creidiki Apprentice
Joined: 23 Mar 2007 Posts: 283 Location: Varese (Italy)
|
Posted: Tue Apr 22, 2008 2:02 pm Post subject: |
|
|
kriko wrote: | Oh, yes - almost forgot. Are nvidia drivers working on 2.6.15? I mean older that those latest beta because they are slow like hell. |
If you mean .25, yeah, they compile and work on 25-zen0 _________________ '((eINIT) (soor overlay)) |
|
Back to top |
|
|
dodo1122 Guru
Joined: 02 Sep 2006 Posts: 347 Location: York, England
|
|
Back to top |
|
|
Gregoire Apprentice
Joined: 15 Apr 2006 Posts: 292
|
Posted: Tue Apr 22, 2008 6:15 pm Post subject: |
|
|
2.6.25 being finally out Which according to this forum, should be the kernel which gets multiproto getting in
Just for the reccord, there is now a multiproto_plus : http://jusst.de/hg/multiproto_plus which still lack support for some cards, like HVR-4000, but that's available though patch (see for example my last asking for inclusion of multiproto in this forum).
Thanks. |
|
Back to top |
|
|
Uzytkownik Guru
Joined: 31 Oct 2004 Posts: 399 Location: Bay Area, US
|
Posted: Thu Apr 24, 2008 7:17 am Post subject: |
|
|
I've getting an error with zen-sources-2.6.25-zen0 (+ versions from master-devel)[1]. I in certain conditions (after few houres of running?) cannot hibernate. It hangs on the 'seeking to xxxx free MB of ram'. If I press escape it start 'escaping'(ie. says so) but it do not seem to do anything more. What can be wrong?
[1] It worked on 2.6.24-zen* _________________ I've probably left my head... somwhere. Please wait untill I find it. |
|
Back to top |
|
|
mmike n00b
Joined: 02 May 2003 Posts: 19
|
Posted: Thu Apr 24, 2008 7:23 am Post subject: |
|
|
i have the same problem, but i workaround in freeing the memory myself before hibernating. _________________ --
there is no save distance |
|
Back to top |
|
|
deno Guru
Joined: 13 Sep 2006 Posts: 411
|
Posted: Thu Apr 24, 2008 8:01 am Post subject: |
|
|
mmike wrote: | i have the same problem, but i workaround in freeing the memory myself before hibernating. | How do you do that? |
|
Back to top |
|
|
|