View previous topic :: View next topic |
Author |
Message |
freelight Apprentice
Joined: 12 Jun 2004 Posts: 295 Location: NYC, NY, USA
|
Posted: Thu Mar 03, 2005 12:50 am Post subject: |
|
|
Compiled and booted beautifully, with a noticeable speed increase (from 2.6.11-rc4-nitro1). Thanks for the great kernel!
I do have a problem, though - I'm unable to get direct rendering to work.
I have an ATI card (Radeon 9500), enabled agpgart and nvidia-agp as modules and enabled the in-kernel fglrx support that you guys provided. The modules are loading without any complaints, but X (xorg-x11-6.8.2) won't use direct rendering. I've found this in the Xorg.0.log:
Code: | (II) fglrx(0): doing DRIScreenInit
drmOpenDevice: node name is /dev/dri/card0
drmOpenDevice: open result is -1, (Unknown error 999)
drmOpenDevice: open result is -1, (Unknown error 999)
drmOpenDevice: Open failed
drmOpenDevice: node name is /dev/dri/card0
drmOpenDevice: open result is -1, (Unknown error 999)
drmOpenDevice: open result is -1, (Unknown error 999)
drmOpenDevice: Open failed
drmOpenByBusid: Searching for BusID PCI:2:0:0
drmOpenDevice: node name is /dev/dri/card0
drmOpenDevice: open result is -1, (Unknown error 999)
drmOpenDevice: open result is -1, (Unknown error 999)
drmOpenDevice: Open failed
<<more of the same for card1 through card14>>
(II) fglrx(0): [drm] drmOpen failed
(EE) fglrx(0): DRIScreenInit failed! |
Upon inspection, I've found that /dev/dri/ is indeed empty. I'm using udev 54, if that's of any relevance.
dmesg shows nothing of relevance.
Any ideas?
Last edited by freelight on Thu Mar 03, 2005 3:11 am; edited 1 time in total |
|
Back to top |
|
|
Jenden n00b
Joined: 14 Nov 2004 Posts: 59
|
Posted: Thu Mar 03, 2005 1:22 am Post subject: |
|
|
I'm having a similar issue with it compiling the nvidia module. I get the following error, also below is the output from emerge info.
Code: | CC [M] drivers/accel3d/nvidia/nv.o
cc1: error: unrecognized option `-fno-unit-at-a-time'
make[2]: *** [drivers/accel3d/nvidia/nv.o] Error 1
make[1]: *** [drivers/accel3d/nvidia] Error 2
make: *** [drivers] Error 2
|
Code: | DSI linux # emerge info
Portage 2.0.51-r15 (default-linux/x86/2004.3, gcc-3.3.4, glibc-2.3.4.20050125-r0, 2.6.11-rc4-nitro1 i686)
=================================================================
System uname: 2.6.11-rc4-nitro1 i686 AMD Athlon(tm) XP 1900+
Gentoo Base System version 1.6.9
Python: dev-lang/python-2.3.5 [2.3.5 (#1, Feb 19 2005, 02:09:35)]
dev-lang/python: 2.3.5
sys-devel/autoconf: 2.59-r6, 2.13
sys-devel/automake: 1.7.9-r1, 1.8.5-r3, 1.5, 1.4_p6, 1.6.3, 1.9.4
sys-devel/binutils: 2.15.92.0.2-r1
sys-devel/libtool: 1.5.10-r4
virtual/os-headers: 2.6.8.1-r1, 2.6.8.1-r2
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-march=athlon-xp -O3 -pipe"
CHOST="i686-pc-linux-gnu"
|
|
|
Back to top |
|
|
kootenaykid n00b
Joined: 26 Sep 2004 Posts: 33 Location: Victoria, Canada
|
Posted: Thu Mar 03, 2005 3:51 am Post subject: |
|
|
mcoulman wrote: | Code: | CC arch/x86_64/kernel/asm-offsets.s
arch/x86_64/kernel/asm-offsets.c: In function `main':
arch/x86_64/kernel/asm-offsets.c:65: error: invalid application of `sizeof' to incomplete type `pbe'
arch/x86_64/kernel/asm-offsets.c:66: error: dereferencing pointer to incompletetype
arch/x86_64/kernel/asm-offsets.c:67: error: dereferencing pointer to incompletetype
make[1]: *** [arch/x86_64/kernel/asm-offsets.s] Error 1
make: *** [arch/x86_64/kernel/asm-offsets.s] Error 2 |
Unlike 2.6.11rc3, this occurs regardless of the CONFIG_PM value
Workarounds? Pointers? Suggestions? |
Bump. I get this exact same error on make. |
|
Back to top |
|
|
John5788 Advocate
Joined: 06 Apr 2004 Posts: 2140 Location: 127.0.0.1
|
Posted: Thu Mar 03, 2005 4:50 am Post subject: |
|
|
i have a question about IT, what if new nvidia-glx and nvidia-kernel came out? or can I just unmerge those and just rely on nitro to provide me with the latest nvidia drivers? _________________ John5788 |
|
Back to top |
|
|
mikegpitt Advocate
Joined: 22 May 2004 Posts: 3224
|
Posted: Thu Mar 03, 2005 5:19 am Post subject: |
|
|
I too had the nvidia errors:
Code: | cc1: error: unrecognized option `-Wdeclaration-after-statement'
cc1: error: unrecognized option `-fno-unit-at-a-time'
make[2]: *** [drivers/accel3d/nvidia/nv.o] Error 1
make[1]: *** [drivers/accel3d/nvidia] Error 2
make: *** [drivers] Error 2
|
I'm pretty sure it's because those options are only available in the gcc 3.4 series. I'm still running 3.3.x, hence the problems.
I'm going to try it now without the modules built in... |
|
Back to top |
|
|
thebigslide l33t
Joined: 23 Dec 2004 Posts: 792 Location: under a car or on top of a keyboard
|
Posted: Thu Mar 03, 2005 5:59 am Post subject: |
|
|
mikegpitt wrote: | I too had the nvidia errors:
Code: | cc1: error: unrecognized option `-Wdeclaration-after-statement'
cc1: error: unrecognized option `-fno-unit-at-a-time'
make[2]: *** [drivers/accel3d/nvidia/nv.o] Error 1
make[1]: *** [drivers/accel3d/nvidia] Error 2
make: *** [drivers] Error 2
|
I'm pretty sure it's because those options are only available in the gcc 3.4 series. I'm still running 3.3.x, hence the problems.
I'm going to try it now without the modules built in... |
Just cut those flags out of the Makefile. It should compile fine. |
|
Back to top |
|
|
Tiger683 Veteran
Joined: 08 Jan 2005 Posts: 1347 Location: Heffner's House
|
Posted: Thu Mar 03, 2005 6:43 am Post subject: |
|
|
thebigslide wrote: | mikegpitt wrote: | I too had the nvidia errors:
Code: | cc1: error: unrecognized option `-Wdeclaration-after-statement'
cc1: error: unrecognized option `-fno-unit-at-a-time'
make[2]: *** [drivers/accel3d/nvidia/nv.o] Error 1
make[1]: *** [drivers/accel3d/nvidia] Error 2
make: *** [drivers] Error 2
|
I'm pretty sure it's because those options are only available in the gcc 3.4 series. I'm still running 3.3.x, hence the problems.
I'm going to try it now without the modules built in... |
Just cut those flags out of the Makefile. It should compile fine. |
Totally right. In next version (sometime today in experimental, if we get feedback soon enough) we will add check for the GCC
Version, and adjust the CFlags. Basically we need two informations PLEASE:
1)GCC version you use
2)The cflags being not recognized by this version (from the error message).
Ati users having problems with DRI:
Make sure you have the fglrx libraries (provided in ati package and/or ebuild stuff) FOR THE DRIVER 8.10.19!!!!!! This the driver
we use here
John5788 wrote: | i have a question about IT, what if new nvidia-glx and nvidia-kernel came out? or can I just unmerge those and just rely on nitro to provide me with the latest nvidia drivers? |
We will update as soon as new drivers are out, although bumping us on the shoulder and a "Hey, new drivers out!" might
accelerate our reaction, so please do so if we would not have upgraded already.....
Cheers,
T _________________ Retired gentoo user |
|
Back to top |
|
|
John5788 Advocate
Joined: 06 Apr 2004 Posts: 2140 Location: 127.0.0.1
|
Posted: Thu Mar 03, 2005 7:24 am Post subject: |
|
|
Tiger683 wrote: | John5788 wrote: | i have a question about IT, what if new nvidia-glx and nvidia-kernel came out? or can I just unmerge those and just rely on nitro to provide me with the latest nvidia drivers? |
We will update as soon as new drivers are out, although bumping us on the shoulder and a "Hey, new drivers out!" might
accelerate our reaction, so please do so if we would not have upgraded already.....
Cheers,
T |
so its safe if i unmerge nvidia-glx and nvidia-kernel? _________________ John5788 |
|
Back to top |
|
|
Tiger683 Veteran
Joined: 08 Jan 2005 Posts: 1347 Location: Heffner's House
|
Posted: Thu Mar 03, 2005 7:40 am Post subject: |
|
|
no, you still need the libs that nvidia package installs, u only can unmerge the nvidia kernel, this is the module
itself and is included in nitro now.
you will only need to upgrade nvidia-glx in the future (darckness, correct me if im wrong, i use ati )
At least this is true for ati, i only left the ati's libGL*.* and such in my lib + usr + X11R6 directories _________________ Retired gentoo user |
|
Back to top |
|
|
feld Guru
Joined: 29 Aug 2004 Posts: 593 Location: WI, USA
|
Posted: Thu Mar 03, 2005 7:43 am Post subject: |
|
|
After seeing things have been resolved and hopefully patched up forever, i've returned. sorry if I sounded rude or offending in the last thread. I always did like your work....
I just got this patchset installed.
Dude, i'm not kidding. My desktop is AT LEAST 2x as responsive. No joke. Everything just FLIES. The mouse is like wet ICE on wet ICE!!!!
I seriously don't know what to say.
This has to be your best patchset ever!
Keep it up cuz I am in heaven right now!!!!
-Feld _________________ < bmg505> I think the first line in reiserfsck is
if (random(65535)< 65500) { hose(partition); for (i=0;i<100000000;i++) print_crap(); } |
|
Back to top |
|
|
rzZzn Tux's lil' helper
Joined: 24 Aug 2004 Posts: 96 Location: Sweden
|
Posted: Thu Mar 03, 2005 8:09 am Post subject: |
|
|
kootenaykid wrote: | mcoulman wrote: | Code: | CC arch/x86_64/kernel/asm-offsets.s
arch/x86_64/kernel/asm-offsets.c: In function `main':
arch/x86_64/kernel/asm-offsets.c:65: error: invalid application of `sizeof' to incomplete type `pbe'
arch/x86_64/kernel/asm-offsets.c:66: error: dereferencing pointer to incompletetype
arch/x86_64/kernel/asm-offsets.c:67: error: dereferencing pointer to incompletetype
make[1]: *** [arch/x86_64/kernel/asm-offsets.s] Error 1
make: *** [arch/x86_64/kernel/asm-offsets.s] Error 2 |
Unlike 2.6.11rc3, this occurs regardless of the CONFIG_PM value
Workarounds? Pointers? Suggestions? |
Bump. I get this exact same error on make. |
Bump here too...
With 2.6.11-rc5 with rt it did work
on amd64
rZn |
|
Back to top |
|
|
pifactorial Tux's lil' helper
Joined: 15 Oct 2004 Posts: 77 Location: 3<x<4 on the gamma function
|
Posted: Thu Mar 03, 2005 8:15 am Post subject: |
|
|
Posting here using the old "nv" driver because I'm having the same problems as a13x:
Code: | nvidia: module license 'NVIDIA' taints kernel.
Unable to handle kernel NULL pointer dereference at virtual address 00000008
printing eip:
c0272cae
*pde = 00000000
Oops: 0000 [#1]
PREEMPT
Modules linked in: nvidia
CPU: 0
EIP: 0060:[<c0272cae>] Tainted: P VLI
EFLAGS: 00010282 (2.6.11-nitro0)
EIP is at pci_register_driver+0xe/0x80
eax: e199ffa0 ebx: 00000000 ecx: 00000003 edx: 00000000
esi: decc6000 edi: e19a0f80 ebp: decc6000 esp: decc7f64
ds: 007b es: 007b ss: 0068
Process modprobe (pid: 6488, threadinfo=decc6000 task=df35f590)
Stack: 00000009 e19a0340 e19a0f80 e19a305e 00000000 0000000c 0000001b 0000001a
0000001c e16389cc e15b249b e15b257c e19a0340 decc6000 00000000 decc6000
c0134882 c05c9808 00000001 e19a0340 b76ad008 0805d810 00000000 c010332f
Call Trace:
[<e19a305e>] nvidia_init_module+0x5e/0x3f0 [nvidia]
[<c0134882>] sys_init_module+0x192/0x280
[<c010332f>] syscall_call+0x7/0xb
Code: b4 26 00 00 00 00 8d bc 27 00 00 00 00 e9 0b fb ff ff 8d 74 26 00 8d bc 27 00 00 00 00 57 b9 03 00 00 00 53 83 ec 04 8b 5c 24 10 <8b> 43 08 8d 93 94 00 00 00 c7 43 2c 20 d4 51 c0 c7 83 80 00 00
|
Has this been fixed yet? |
|
Back to top |
|
|
Tiger683 Veteran
Joined: 08 Jan 2005 Posts: 1347 Location: Heffner's House
|
Posted: Thu Mar 03, 2005 8:18 am Post subject: |
|
|
Thanks to EvilDarkEchelon for this one:
FIX for x86_64 asm_offsets: (YES; IT WAS IN THE rc5-nitro0-rt)
Code: |
--- linux-2.6.11-rc2-mm2/arch/x86_64/kernel/asm-offsets.c 2005-02-08 13:45:01.000000000 -0800
+++ linux-2.6.11-rc4-nitro1/arch/x86_64/kernel/asm-offsets.c 2005-02-17 00:50:49.000000000 -0800
@@ -8,7 +8,9 @@
#include <linux/stddef.h>
#include <linux/errno.h>
#include <linux/hardirq.h>
+#ifdef CONFIG_PM
#include <linux/suspend.h>
+#endif
#include <asm/pda.h>
#include <asm/processor.h>
#include <asm/segment.h>
@@ -62,8 +64,10 @@
offsetof (struct rt_sigframe32, uc.uc_mcontext));
BLANK();
#endif
+#ifdef CONFIG_PM
DEFINE(SIZEOF_PBE, sizeof(struct pbe));
DEFINE(pbe_address, offsetof(struct pbe, address));
DEFINE(pbe_orig_address, offsetof(struct pbe, orig_address));
+#endif
return 0;
}
|
pifactorial wrote: | Posting here using the old "nv" driver because I'm having the same problems as a13x:
Code: | nvidia: module license 'NVIDIA' taints kernel.
Unable to handle kernel NULL pointer dereference at virtual address 00000008
printing eip:
c0272cae
*pde = 00000000
Oops: 0000 [#1]
PREEMPT
Modules linked in: nvidia
CPU: 0
EIP: 0060:[<c0272cae>] Tainted: P VLI
EFLAGS: 00010282 (2.6.11-nitro0)
EIP is at pci_register_driver+0xe/0x80
eax: e199ffa0 ebx: 00000000 ecx: 00000003 edx: 00000000
esi: decc6000 edi: e19a0f80 ebp: decc6000 esp: decc7f64
ds: 007b es: 007b ss: 0068
Process modprobe (pid: 6488, threadinfo=decc6000 task=df35f590)
Stack: 00000009 e19a0340 e19a0f80 e19a305e 00000000 0000000c 0000001b 0000001a
0000001c e16389cc e15b249b e15b257c e19a0340 decc6000 00000000 decc6000
c0134882 c05c9808 00000001 e19a0340 b76ad008 0805d810 00000000 c010332f
Call Trace:
[<e19a305e>] nvidia_init_module+0x5e/0x3f0 [nvidia]
[<c0134882>] sys_init_module+0x192/0x280
[<c010332f>] syscall_call+0x7/0xb
Code: b4 26 00 00 00 00 8d bc 27 00 00 00 00 e9 0b fb ff ff 8d 74 26 00 8d bc 27 00 00 00 00 57 b9 03 00 00 00 53 83 ec 04 8b 5c 24 10 <8b> 43 08 8d 93 94 00 00 00 c7 43 2c 20 d4 51 c0 c7 83 80 00 00
|
Has this been fixed yet? |
Not quite.... still waiting for darckness to get usable.....
T _________________ Retired gentoo user |
|
Back to top |
|
|
rzZzn Tux's lil' helper
Joined: 24 Aug 2004 Posts: 96 Location: Sweden
|
Posted: Thu Mar 03, 2005 8:45 am Post subject: |
|
|
Tiger683 wrote: | Thanks to EvilDarkEchelon for this one:
FIX for x86_64 asm_offsets: (YES; IT WAS IN THE rc5-nitro0-rt)
Code: |
--- linux-2.6.11-rc2-mm2/arch/x86_64/kernel/asm-offsets.c 2005-02-08 13:45:01.000000000 -0800
+++ linux-2.6.11-rc4-nitro1/arch/x86_64/kernel/asm-offsets.c 2005-02-17 00:50:49.000000000 -0800
@@ -8,7 +8,9 @@
#include <linux/stddef.h>
#include <linux/errno.h>
#include <linux/hardirq.h>
+#ifdef CONFIG_PM
#include <linux/suspend.h>
+#endif
#include <asm/pda.h>
#include <asm/processor.h>
#include <asm/segment.h>
@@ -62,8 +64,10 @@
offsetof (struct rt_sigframe32, uc.uc_mcontext));
BLANK();
#endif
+#ifdef CONFIG_PM
DEFINE(SIZEOF_PBE, sizeof(struct pbe));
DEFINE(pbe_address, offsetof(struct pbe, address));
DEFINE(pbe_orig_address, offsetof(struct pbe, orig_address));
+#endif
return 0;
}
|
|
Thx i'd tried this patch but it still print out the same error...
Is there someting else I have to do... enable disable somthing in config?
It did work with rt in rc5 though |
|
Back to top |
|
|
pifactorial Tux's lil' helper
Joined: 15 Oct 2004 Posts: 77 Location: 3<x<4 on the gamma function
|
Posted: Thu Mar 03, 2005 9:04 am Post subject: |
|
|
I'm still trying to get force feedback to work. I said before that it was a problem with HID - I was wrong. I think force feedback is implemented correctly in the kernel, and that everything should work except for a relatively small bug. That's my gut feeling anyway.
So here's the place it's really failing (drivers/input/evdev.c):
Code: | case EVIOCSFF:
if (dev->upload_effect) {
struct ff_effect effect;
int err;
if (copy_from_user(&effect, p, sizeof(effect)))
return -EFAULT;
err = dev->upload_effect(dev, &effect);
if (put_user(effect.id, &(((struct ff_effect __user *)arg)->id)))
return -EFAULT;
return err;
}
else return -ENOSYS;
|
It's returning ENOSYS (error, not implemented) because it can't find "dev->upload_effect". |
|
Back to top |
|
|
Tiger683 Veteran
Joined: 08 Jan 2005 Posts: 1347 Location: Heffner's House
|
Posted: Thu Mar 03, 2005 9:36 am Post subject: |
|
|
Hey pifactorial, sorry that i curerently cant take this as a prio no.1 , but ill look into it when everything else for experimental is ready today.
cheers,
T _________________ Retired gentoo user |
|
Back to top |
|
|
thecrazyperson_ws Tux's lil' helper
Joined: 06 Apr 2004 Posts: 89
|
Posted: Thu Mar 03, 2005 9:37 am Post subject: |
|
|
uman wrote: | I don't want to download gcc-3.4.3. It's -* masked, and rather than deal witch that I'm going to just keep self-installing the module. |
GCC 3.4.3 is NOT masked as -*. i'm running it just fine.
/* ------------------------Code Listing 1------------------------------
tidus@Tidus /usr/portage/sys-devel/gcc $ cat gcc-3.4.3.20050110.ebuild | grep KEYWORDS
KEYWORDS="-* ~amd64 ~mips ~ppc64 ~x86 -hppa ~ppc ~sparc -ia64"
tidus@Tidus /usr/portage/sys-devel/gcc $
------------------------------------------------------------------------/*
that -* in there means masked for all arches except these explicitly listed. (my arch is bolded)
When I find time, and if you INDs would quit releasing every other day ( ) I'll get around to installing this. Last time i ran into the IND release schedule, i had installed 2.6.10-nitro3 not even a half hour before darckness released nitro4. I was going "WTF". then i went and updated. then found some programs to update to test. found they worked, so went back to playstation and goofy drugs (sorry darckness, couldn't put that saying any other way) . _________________ Bevelle: Dual Athlon MP 2000+, 1.25G ram, 120G HD, Gentoo 2005.1-r1, Kernel 2.6.15-gentoo-r5
Gagazet: Pentium 2-266, 288M ram, 240G HD, currently installing gentoo
Besaid: p-150, 80M ram, win2k pro |
|
Back to top |
|
|
jzono1 Tux's lil' helper
Joined: 01 Feb 2004 Posts: 128
|
Posted: Thu Mar 03, 2005 10:08 am Post subject: |
|
|
CFLAGS for intel pentium 4 prescott???
I want to know some cflags that don't break everything, but gives me nice boosts in performance.
sse2/sse3 ones too!
anybody got any suggestions? |
|
Back to top |
|
|
MG-Cloud Apprentice
Joined: 28 Oct 2003 Posts: 200
|
Posted: Thu Mar 03, 2005 10:58 am Post subject: |
|
|
Just installed, using the nvidia modules you guys bundled with the kernel. That's a great idea - really makes the updating process more convenient ^_^
Thanks! |
|
Back to top |
|
|
thebigslide l33t
Joined: 23 Dec 2004 Posts: 792 Location: under a car or on top of a keyboard
|
Posted: Thu Mar 03, 2005 11:34 am Post subject: |
|
|
@Tiger683
Code: | cc1: error: unrecognized option `-Wdeclaration-after-statement'
cc1: error: unrecognized option `-fno-unit-at-a-time'
make[2]: *** [drivers/accel3d/nvidia/nv.o] Error 1
make[1]: *** [drivers/accel3d/nvidia] Error 2
make: *** [drivers] Error 2
|
This can be fixed in the Makefile by adding a condition append to the CFLAGS based on GCC version number. GCC 3.4.x will support those flags, anything lower won't. 3.4.3-r1 is the mainstream build of 3.4.x (in gentoo) |
|
Back to top |
|
|
thebigslide l33t
Joined: 23 Dec 2004 Posts: 792 Location: under a car or on top of a keyboard
|
Posted: Thu Mar 03, 2005 11:36 am Post subject: |
|
|
jzono1 wrote: | CFLAGS for intel pentium 4 prescott???
I want to know some cflags that don't break everything, but gives me nice boosts in performance.
sse2/sse3 ones too!
anybody got any suggestions? |
do a search for "CFLAGS CENTRAL" |
|
Back to top |
|
|
Tiger683 Veteran
Joined: 08 Jan 2005 Posts: 1347 Location: Heffner's House
|
Posted: Thu Mar 03, 2005 12:02 pm Post subject: |
|
|
thebigslide wrote: | @Tiger683
Code: | cc1: error: unrecognized option `-Wdeclaration-after-statement'
cc1: error: unrecognized option `-fno-unit-at-a-time'
make[2]: *** [drivers/accel3d/nvidia/nv.o] Error 1
make[1]: *** [drivers/accel3d/nvidia] Error 2
make: *** [drivers] Error 2
|
This can be fixed in the Makefile by adding a condition append to the CFLAGS based on GCC version number. GCC 3.4.x will support those flags, anything lower won't. 3.4.3-r1 is the mainstream build of 3.4.x (in gentoo) |
I know
Tiger683 wrote: |
-- snipp --
In next version (sometime today in experimental, if we get feedback soon enough) we will add check for the GCC
Version, and adjust the CFlags. Basically we need two informations PLEASE:
1)GCC version you use
2)The cflags being not recognized by this version (from the error message).
-- snipp --
Cheers,
T |
T _________________ Retired gentoo user |
|
Back to top |
|
|
rzZzn Tux's lil' helper
Joined: 24 Aug 2004 Posts: 96 Location: Sweden
|
Posted: Thu Mar 03, 2005 12:52 pm Post subject: |
|
|
rzZzn wrote: | Tiger683 wrote: | Thanks to EvilDarkEchelon for this one:
FIX for x86_64 asm_offsets: (YES; IT WAS IN THE rc5-nitro0-rt)
Code: |
--- linux-2.6.11-rc2-mm2/arch/x86_64/kernel/asm-offsets.c 2005-02-08 13:45:01.000000000 -0800
+++ linux-2.6.11-rc4-nitro1/arch/x86_64/kernel/asm-offsets.c 2005-02-17 00:50:49.000000000 -0800
@@ -8,7 +8,9 @@
#include <linux/stddef.h>
#include <linux/errno.h>
#include <linux/hardirq.h>
+#ifdef CONFIG_PM
#include <linux/suspend.h>
+#endif
#include <asm/pda.h>
#include <asm/processor.h>
#include <asm/segment.h>
@@ -62,8 +64,10 @@
offsetof (struct rt_sigframe32, uc.uc_mcontext));
BLANK();
#endif
+#ifdef CONFIG_PM
DEFINE(SIZEOF_PBE, sizeof(struct pbe));
DEFINE(pbe_address, offsetof(struct pbe, address));
DEFINE(pbe_orig_address, offsetof(struct pbe, orig_address));
+#endif
return 0;
}
|
|
Thx i'd tried this patch but it still print out the same error...
Is there someting else I have to do... enable disable somthing in config?
It did work with rt in rc5 though |
The 2.6.11 gentoo-dev-sources works too but still not this one
I even tried to copy over asm-offsets.c from rc5 too this one
Any ideas???
EDIT: Got it to work now did some changes in my config file...
rZn |
|
Back to top |
|
|
mirko_3 l33t
Joined: 02 Nov 2003 Posts: 605 Location: Birreria
|
Posted: Thu Mar 03, 2005 1:59 pm Post subject: |
|
|
I'm trying to reverse the software suspend patch, so that I can use ndiswrapper, but I'm having problems with mm/vmscan.c
Can I copy it over from vanilla, or is it used by other patches? _________________ Non fa male! Non fa male! |
|
Back to top |
|
|
Robin79 l33t
Joined: 18 Oct 2003 Posts: 632 Location: /home/valdemarsvik
|
Posted: Thu Mar 03, 2005 2:06 pm Post subject: |
|
|
mirko i use ndiswrapper but have to compile with softwaresuspend support _________________ Gentoo 2005.0
ASUS P5AD2 Deluxe MB
Intel P4 3.2GHz
PCI-E Nvidia Geforce PCX 5750
--------------------
Registered Linux User Nr # 319050 http://counter.li.org |
|
Back to top |
|
|
|