View previous topic :: View next topic |
Author |
Message |
MrGreen Apprentice
Joined: 07 Nov 2003 Posts: 211
|
Posted: Fri Oct 01, 2004 2:02 pm Post subject: |
|
|
Have you got a working nv.c file ... ???
I'm not on my system at the moment .... these non Gentoo users .... lol
If you could send me the file It would help....
Mr Green |
|
Back to top |
|
|
WaVeX Tux's lil' helper
Joined: 15 Mar 2004 Posts: 102 Location: USA, Michigan or Ohio
|
Posted: Fri Oct 01, 2004 3:20 pm Post subject: |
|
|
So far so good. This has been very stable and its fast.
Much, much appreciated.
Thx you one of one.
I now have restored faith in humanity. |
|
Back to top |
|
|
gmichels Guru
Joined: 20 Jun 2003 Posts: 480 Location: Brazil
|
Posted: Fri Oct 01, 2004 5:05 pm Post subject: |
|
|
Can't compile it with custom dsdt enabled...
Code: | ...several warning lines...
/root/ze4430us/acpi/DSDT.aml:795:15: warning: null character(s) preserved in literal
/root/ze4430us/acpi/DSDT.aml:795:15: missing terminating " character
/root/ze4430us/acpi/DSDT.aml:799:30: warning: null character(s) ignored
/root/ze4430us/acpi/DSDT.aml:799:46: warning: null character(s) ignored
/root/ze4430us/acpi/DSDT.aml:802:18: warning: null character(s) ignored
/root/ze4430us/acpi/DSDT.aml:802:62: warning: null character(s) ignored
/root/ze4430us/acpi/DSDT.aml:804:28: warning: null character(s) ignored
/root/ze4430us/acpi/DSDT.aml:805:15: warning: null character(s) ignored
/root/ze4430us/acpi/DSDT.aml:805:28: warning: null character(s) ignored
/root/ze4430us/acpi/DSDT.aml:807:26: missing terminating " character
/root/ze4430us/acpi/DSDT.aml:812:3: warning: null character(s) ignored
/root/ze4430us/acpi/DSDT.aml:816:10: warning: null character(s) ignored
/root/ze4430us/acpi/DSDT.aml:817:8: warning: null character(s) ignored
/root/ze4430us/acpi/DSDT.aml:817:10: warning: no newline at end of file
distcc[28780] ERROR: compile drivers/acpi/osl.c on vendas failed
make[2]: *** [drivers/acpi/osl.o] Error 1
make[1]: *** [drivers/acpi] Error 2
make: *** [drivers] Error 2 |
Code: | # grep DSDT .config
CONFIG_ACPI_CUSTOM_DSDT=y
CONFIG_ACPI_CUSTOM_DSDT_FILE="/root/ze4430us/acpi/DSDT.aml" |
The custom DSDT is working fine using the older initrd way.
Any ideas? |
|
Back to top |
|
|
infirit l33t
Joined: 11 Jan 2003 Posts: 778 Location: Hoofddorp / The Netherlands
|
|
Back to top |
|
|
mfkr79 Tux's lil' helper
Joined: 04 Jul 2004 Posts: 143 Location: Italy
|
Posted: Fri Oct 01, 2004 7:35 pm Post subject: |
|
|
gmichels wrote: | Can't compile it with custom dsdt enabled...
...
The custom DSDT is working fine using the older initrd way.
Any ideas? |
Same behavior here...
I thought it was due to my custom dsdt that isn't free of warnings (four exactly, I'm not able to correct them)
Is your dsdt completly free of errors/warnings ? _________________ Gentoo ~amd64 on DELL XPS M1530 |
|
Back to top |
|
|
gmichels Guru
Joined: 20 Jun 2003 Posts: 480 Location: Brazil
|
Posted: Fri Oct 01, 2004 9:20 pm Post subject: |
|
|
IIRC, yes, my custom DSDT doesn't have any problems/errors/warnings. |
|
Back to top |
|
|
Gaspode n00b
Joined: 02 Oct 2004 Posts: 36
|
Posted: Sat Oct 02, 2004 4:55 am Post subject: |
|
|
Even though the kernel compiles file, it breaks madwifi-driver:
Code: |
make[2]: Entering directory `/usr/src/linux-2.6.9-rc2-love4'
CC [M] /var/tmp/portage/madwifi-driver-0.1_pre20040906/work/net80211/if_media.o
CC [M] /var/tmp/portage/madwifi-driver-0.1_pre20040906/work/net80211/rc4.o
CC [M] /var/tmp/portage/madwifi-driver-0.1_pre20040906/work/net80211/ieee80211.o
CC [M] /var/tmp/portage/madwifi-driver-0.1_pre20040906/work/net80211/ieee80211_crypto.o
CC [M] /var/tmp/portage/madwifi-driver-0.1_pre20040906/work/net80211/ieee80211_input.o
CC [M] /var/tmp/portage/madwifi-driver-0.1_pre20040906/work/net80211/ieee80211_node.o
CC [M] /var/tmp/portage/madwifi-driver-0.1_pre20040906/work/net80211/ieee80211_output.o
CC [M] /var/tmp/portage/madwifi-driver-0.1_pre20040906/work/net80211/ieee80211_proto.o
CC [M] /var/tmp/portage/madwifi-driver-0.1_pre20040906/work/net80211/ieee80211_wireless.o
/var/tmp/portage/madwifi-driver-0.1_pre20040906/work/net80211/ieee80211_wireless.c: In function `ieee80211_ioctl_iwsetup':
/var/tmp/portage/madwifi-driver-0.1_pre20040906/work/net80211/ieee80211_wireless.c:2180: error: assignment of read-only member `num_private_args'
make[3]: *** [/var/tmp/portage/madwifi-driver-0.1_pre20040906/work/net80211/ieee80211_wireless.o] Error 1
|
The same driver compiles fine with, for example, the nitro sources.
Unfortunately, in this state love-sources are not usable for me |
|
Back to top |
|
|
silverpig Tux's lil' helper
Joined: 10 Dec 2003 Posts: 143 Location: Vancouver BC
|
Posted: Sat Oct 02, 2004 4:59 am Post subject: |
|
|
I've got a problem with this kernel that is kind of odd it seems.
My current kernel is 2.6.7-rc3-love1. Everything works perfectly.
hde - 74 GB raptor on Sil3112
hdg - 120 GB WD on Sil3112
hdc - 200 GB WD on ATA (nforce2)
I compiled and installed 2.6.9-rc2-love4 just fine, but it hangs on boot just after listing my two SATA drives as being both on IRQ 11. I get the IRQ nobody cared! error and then it just sits there. A few lines up it says that IRQ sharing is disabled.
So how do I get around this? Is there a simple way to compile support for IRQ sharing into the kernel or is there some boot option I can pass to get by this? _________________ 'Cause I can. |
|
Back to top |
|
|
BudNek n00b
Joined: 05 Aug 2004 Posts: 12 Location: Austria
|
Posted: Sat Oct 02, 2004 12:15 pm Post subject: |
|
|
blue.sca wrote: | BudNek wrote: | blue.sca wrote: | 2.6.7-love7 is stable as hell here. using since it is released and dont think about changing it unless 2.6.9 final will be released and an also stable love patch will be available. |
hi,
where can i get them? at sf.net i can only find 2.6.8 and 2.6.9.
bye |
Here. I dont think its still officially out. This is m overlay. Search the forums for patches included. Oh, and it applies on top of 2.6.7-mm6, dont know if this is available. If not, tell me... |
after some tries i got them running thx
now i have to look how to patch - yes im a noob |
|
Back to top |
|
|
tapted Tux's lil' helper
Joined: 02 Dec 2003 Posts: 122 Location: Sydney, Australia
|
Posted: Sat Oct 02, 2004 2:31 pm Post subject: |
|
|
This is perhaps a controversial suggestion with me not knowing The Right Way to setup kernel configurations...
I wasted about 30 minutes looking for reiser4 before (after a few greps, and a read of the reiser4 Kconfig) discovering that I had to turn off 4K stacks, which was defaulted to on with love.
I seem to remember the first time I patched a kernel for reiser 4, there was no such block, but during the compile some reiser4 source file blurted out that I had to disable 4K stacks in a preprocessor #error..
Having now wasted 30 minutes, I'd argue that that is perhaps a better solution. Or at least a note (a dummy option/subcategory) for reiser4 on the FileSystems page that says 4K blocks need to be disabled in kernel hacking..
Moo. |
|
Back to top |
|
|
rosowski n00b
Joined: 09 Nov 2003 Posts: 51
|
Posted: Sat Oct 02, 2004 3:09 pm Post subject: |
|
|
Hi there,
I can't get X to work with the this love.
I followed OneOfOne's link to the 6111 r2 nvidia drivers and emerged it.
But my screen stays black when I start up X.
The X config works for me on my vanilla 2.6.5 kernel with nvidia drivers 5336, so it has to be something else.
Any suggestions? |
|
Back to top |
|
|
chickaroo Tux's lil' helper
Joined: 21 Sep 2004 Posts: 102 Location: #!/usr/bin/girl
|
Posted: Sat Oct 02, 2004 3:13 pm Post subject: |
|
|
tapted wrote: | This is perhaps a controversial suggestion with me not knowing The Right Way to setup kernel configurations...
I wasted about 30 minutes looking for reiser4 before (after a few greps, and a read of the reiser4 Kconfig) discovering that I had to turn off 4K stacks, which was defaulted to on with love.
I seem to remember the first time I patched a kernel for reiser 4, there was no such block, but during the compile some reiser4 source file blurted out that I had to disable 4K stacks in a preprocessor #error..
Having now wasted 30 minutes, I'd argue that that is perhaps a better solution. Or at least a note (a dummy option/subcategory) for reiser4 on the FileSystems page that says 4K blocks need to be disabled in kernel hacking..
Moo. |
i remember reading a reiser4 patch in one of andrew's previous mm releases saying something about 4KB stack fix. i was hoping it was a fix for it, but it was just a menuconfig modification. _________________ Registered Linux user #364515 (Jun, 2004) |
|
Back to top |
|
|
chickaroo Tux's lil' helper
Joined: 21 Sep 2004 Posts: 102 Location: #!/usr/bin/girl
|
Posted: Sat Oct 02, 2004 3:15 pm Post subject: |
|
|
2.6.9-rc3-mm1 is now out
(as of 6 hours ago) _________________ Registered Linux user #364515 (Jun, 2004) |
|
Back to top |
|
|
madmango Guru
Joined: 15 Jul 2003 Posts: 507 Location: PA, USA
|
Posted: Sat Oct 02, 2004 4:14 pm Post subject: |
|
|
I need some win4lin, and I suck at manually patching rejected hunks. _________________ word. |
|
Back to top |
|
|
rosowski n00b
Joined: 09 Nov 2003 Posts: 51
|
Posted: Sat Oct 02, 2004 4:16 pm Post subject: |
|
|
rosowski wrote: | Hi there,
I can't get X to work with the this love.
I followed OneOfOne's link to the 6111 r2 nvidia drivers and emerged it.
But my screen stays black when I start up X.
The X config works for me on my vanilla 2.6.5 kernel with nvidia drivers 5336, so it has to be something else.
Any suggestions? |
...I forgot to emerge nvidia-glx 6111... sorry.
But now I don't have glx support:
Quote: |
(II) LoadModule: "glx"
(II) Loading /usr/X11R6/lib/modules/extensions/libglx.so
dlopen: /usr/lib/libGLcore.so.1: undefined symbol: glBlendEquationSeparateNVX
(EE) Failed to load /usr/X11R6/lib/modules/extensions/libglx.so
(II) UnloadModule: "glx"
(EE) Failed to load module "glx" (loader failed, 7)
|
Any ideas? |
|
Back to top |
|
|
madmango Guru
Joined: 15 Jul 2003 Posts: 507 Location: PA, USA
|
Posted: Sat Oct 02, 2004 4:22 pm Post subject: |
|
|
@rosowski:
you did modprobe nvidia, right? _________________ word. |
|
Back to top |
|
|
chickaroo Tux's lil' helper
Joined: 21 Sep 2004 Posts: 102 Location: #!/usr/bin/girl
|
Posted: Sat Oct 02, 2004 4:28 pm Post subject: |
|
|
chickaroo wrote: | 2.6.9-rc3-mm1 is now out
(as of 6 hours ago) |
seems buggy from what i've read on lkml anyways... i tried to test it but got errors compiling it. oh well. love is nice anyways _________________ Registered Linux user #364515 (Jun, 2004) |
|
Back to top |
|
|
rosowski n00b
Joined: 09 Nov 2003 Posts: 51
|
Posted: Sat Oct 02, 2004 4:46 pm Post subject: |
|
|
yes, I did modprobe nvidia...
but i forgot opengl-update nvidia
sorry!
quake3 still crashes though |
|
Back to top |
|
|
madmango Guru
Joined: 15 Jul 2003 Posts: 507 Location: PA, USA
|
Posted: Sat Oct 02, 2004 5:15 pm Post subject: |
|
|
I know there's a 2.6.9-rc2 win4lin patch out there; the link is on the forums somewhere.
So I applied the patch and manually put in rejected hunks. However, It won't compile. Gives me this:
Code: | GZIP usr/initramfs_data.cpio.gz
AS usr/initramfs_data.o
LD usr/built-in.o
CC arch/i386/kernel/process.o
CC arch/i386/kernel/semaphore.o
CC arch/i386/kernel/signal.o
AS arch/i386/kernel/entry.o
CC arch/i386/kernel/traps.o
arch/i386/kernel/traps.c: In function `do_general_protection':
arch/i386/kernel/traps.c:526: error: `per_cpu__init_tss' undeclared (first use in this function)
arch/i386/kernel/traps.c:526: error: (Each undeclared identifier is reported only once
arch/i386/kernel/traps.c:526: error: for each function it appears in.)
arch/i386/kernel/traps.c:526: error: invalid type argument of `unary *'
make[1]: *** [arch/i386/kernel/traps.o] Error 1
make: *** [arch/i386/kernel] Error 2
|
_________________ word. |
|
Back to top |
|
|
silverpig Tux's lil' helper
Joined: 10 Dec 2003 Posts: 143 Location: Vancouver BC
|
Posted: Sat Oct 02, 2004 8:05 pm Post subject: |
|
|
silverpig wrote: | I've got a problem with this kernel that is kind of odd it seems.
My current kernel is 2.6.7-rc3-love1. Everything works perfectly.
hde - 74 GB raptor on Sil3112
hdg - 120 GB WD on Sil3112
hdc - 200 GB WD on ATA (nforce2)
I compiled and installed 2.6.9-rc2-love4 just fine, but it hangs on boot just after listing my two SATA drives as being both on IRQ 11. I get the IRQ nobody cared! error and then it just sits there. A few lines up it says that IRQ sharing is disabled.
So how do I get around this? Is there a simple way to compile support for IRQ sharing into the kernel or is there some boot option I can pass to get by this? |
Anyone got a solution yet? I've searched on google but haven't found anything that would help short of asking for a patch to irq.c allowing irq sharing. I tried using the irq.c from 2.6.7-rc3-love1 but it didn't work (failed compile). _________________ 'Cause I can. |
|
Back to top |
|
|
madmango Guru
Joined: 15 Jul 2003 Posts: 507 Location: PA, USA
|
Posted: Sat Oct 02, 2004 9:11 pm Post subject: |
|
|
Did you guys try passing pci=routeirq to the kernel on boot? _________________ word. |
|
Back to top |
|
|
silverpig Tux's lil' helper
Joined: 10 Dec 2003 Posts: 143 Location: Vancouver BC
|
Posted: Sat Oct 02, 2004 9:45 pm Post subject: |
|
|
madmango wrote: | Did you guys try passing pci=routeirq to the kernel on boot? |
Yeah I tried that along with a whole slew of other options. I wonder what changed between 2.6.7-rc1-love1 and this kernel to make the difference?
I noticed that my Sil3112A chip likes to use only one IRQ, and as such, both drives attached to it have to share that IRQ. This is the problem. Is there maybe a way I can pass a command to the chip to use 2 IRQs? Or something else? _________________ 'Cause I can. |
|
Back to top |
|
|
Archangel1 Veteran
Joined: 21 Apr 2004 Posts: 1212 Location: Work
|
Posted: Sat Oct 02, 2004 10:31 pm Post subject: |
|
|
OneOfOne wrote: |
@Archangel1 hmm no, what file system?
|
I'm a little late on this response...
Reiser4 on /, but from the messages it looked like it was umounting one of my ntfs partitions. I don't think this is a love issue, I tried mm-sources and hit the same error. |
|
Back to top |
|
|
Pink Veteran
Joined: 24 Jul 2003 Posts: 1062
|
Posted: Sun Oct 03, 2004 9:36 am Post subject: |
|
|
madmango wrote: | I know there's a 2.6.9-rc2 win4lin patch out there; the link is on the forums somewhere.
So I applied the patch and manually put in rejected hunks. However, It won't compile. Gives me this:
Code: | GZIP usr/initramfs_data.cpio.gz
AS usr/initramfs_data.o
LD usr/built-in.o
CC arch/i386/kernel/process.o
CC arch/i386/kernel/semaphore.o
CC arch/i386/kernel/signal.o
AS arch/i386/kernel/entry.o
CC arch/i386/kernel/traps.o
arch/i386/kernel/traps.c: In function `do_general_protection':
arch/i386/kernel/traps.c:526: error: `per_cpu__init_tss' undeclared (first use in this function)
arch/i386/kernel/traps.c:526: error: (Each undeclared identifier is reported only once
arch/i386/kernel/traps.c:526: error: for each function it appears in.)
arch/i386/kernel/traps.c:526: error: invalid type argument of `unary *'
make[1]: *** [arch/i386/kernel/traps.o] Error 1
make: *** [arch/i386/kernel] Error 2
|
|
You will need to reverse all of the per_cpu and all of the mmap patches in the mm patchset and then adjust the remaining init_tss code in the kernel patches from the 2.6.9-rc2 code to be as they were (i.e. 2.6.8.1 style), also have a look at the gcc 3.4/5 patches in the mm patchset (not sure if they are still there) and most likely reverse those.
Then it will compile. Reboot, it won't work yet (just seg-faults), then look at the mm-patches and see which ones have the init_tss code in, change those and you should be ok.
It is very long and very complicated with the mm-patchset, especially so since the 2.6.9-rc mm-patches as a lot of the previous mm stuff is now incorporated in the stock kernel so has to be looked at.
The problem is then two fold (IMO):
1. Do you actually have an mm-kernel when 12-15 patches and a lot of code has been revesed?
2. The resulting win4lin is not very stable.
It is possible but I wouldn't recommend it (also bear in mind some of the patches in this patchset will need the patches you will have to reverse to get win4lin to work).
Hope that makes some sense. |
|
Back to top |
|
|
utpark n00b
Joined: 14 Sep 2004 Posts: 15
|
|
Back to top |
|
|
|