Go Back   nV News Forums > Linux Support Forums > NVIDIA Linux

Newegg Daily Deals

Reply
 
Thread Tools
Old 11-30-05, 11:16 PM   #13
Lithorus
Registered User
 
Lithorus's Avatar
 
Join Date: Sep 2004
Posts: 783
Default Re: 8168 - Bugreport

Related perhaps?
http://www.gossamer-threads.com/list.../kernel/589043
Lithorus is offline   Reply With Quote
Old 12-01-05, 07:46 AM   #14
shutdown
Registered User
 
Join Date: Nov 2005
Posts: 45
Default Re: 8168 - Bugreport

Quote:
Originally Posted by netllama
I've just tested with 2.6.15-rc3 (x86) and was able to reproduce a crash when shutting down glxgears. I've opened bug 200716 to have this investigated further to determine whether this is a kernel bug, an nvidia driver bug, or something else altogether.
After reproducing the crash, did you get any zombie processes or did maybe even your X-server itself become a zombie?
All the problems I had were connected to zombie processes, the X-server itself became a zombie when I tried shutting down the computer. Don't know why this did not happen immediately after the problem occured.
Luckily I was able to log in from another computer and was to do some testing, so in most cases there was xawtv (or another "graphical" application) and X running and not reacting to any kill signals send to them.

If you find out more about this issue, please tell me.

Thanks again,
Peter
shutdown is offline   Reply With Quote
Old 12-01-05, 09:27 AM   #15
zander
NVIDIA Corporation
 
zander's Avatar
 
Join Date: Aug 2002
Posts: 3,740
Default Re: 8168 - Bugreport

Linux 2.6.15-rc4 appears to work better, but generates a series of warnings when X and other NVIDIA RM clients are started (the warnings are generated because the NVIDIA Linux graphics driver performs multiple single-page remap_pfn_range() calls within a single VMA to map discontiguously allocated DMA buffers into a single linear address range). We'll continue to work towards a resolution of this problem.
zander is offline   Reply With Quote
Old 12-01-05, 10:25 AM   #16
shutdown
Registered User
 
Join Date: Nov 2005
Posts: 45
Default Re: 8168 - Bugreport

If you say 2.6.15-rc4 works better, does this mean no more crashs but ony warnings?
Please keep me up2date,

Peter
shutdown is offline   Reply With Quote
Old 12-01-05, 10:29 AM   #17
zander
NVIDIA Corporation
 
zander's Avatar
 
Join Date: Aug 2002
Posts: 3,740
Default Re: 8168 - Bugreport

I've not see any crashes, but the kernel will generate up to 10 warning messages with stack traces.
zander is offline   Reply With Quote
Old 12-01-05, 10:45 AM   #18
shutdown
Registered User
 
Join Date: Nov 2005
Posts: 45
Default Re: 8168 - Bugreport

So I am going to stick with 2.6.14.3 with nvidia 7676 for now hoping that the problems will be solved soon...

Just found this (from the changelog 2.6.15-rc3 to -rc4):
Quote:
commit a145dd411eb28c83ee4bb68b66f62c326c0f764e
Author: Linus Torvalds <torvalds@g5.osdl.org>
Date: Wed Nov 30 09:35:19 2005 -0800

VM: add "vm_insert_page()" function

This is what a lot of drivers will actually want to use to insert
individual pages into a user VMA. It doesn't have the old PageReserved
restrictions of remap_pfn_range(), and it doesn't complain about partial
remappings.

The page you insert needs to be a nice clean kernel allocation, so you
can't insert arbitrary page mappings with this, but that's not what
people want.

Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Peter
shutdown is offline   Reply With Quote
Old 12-01-05, 03:25 PM   #19
_tf_
scriptfoo warrior
 
_tf_'s Avatar
 
Join Date: Apr 2003
Location: here
Posts: 117
Default Re: 8168 - Bugreport

looks like -rc3 was really broken

Quote:
From: Linus Torvalds <torvalds@osdl.org>
To: Linux Kernel Mailing List <linux-kernel@vger.kernel.org>
Subject: Linux 2.6.15-rc4
Date: Wed, 30 Nov 2005 22:40:11 -0800 (PST)
Archive-link: Article, Thread

Ok, so -rc3 wasn't so good.

[ Everybody chorus now: "Nooo?" ]

No.

[ Everybody chorus now: "Really?" ]

Really.

[ Everybody chorus now: "So what?" ]

So I made an -rc4.

This one hopefully doesn't have those pesky PageReserved() annoyances, and
the EHCI host controller bootup problems.

[ Everybody chorus now: "Hallelujah!" ]

Indeed.

It also has some atm, mtd and cifs updates.

Linus

haha, just saw that the kernel is now named "Affluent Albatross"
__________________
"My mortgage rate was cut in half after I replied to spam
using Fedora!" raves Bo Battipaglia.
_tf_ is offline   Reply With Quote
Old 12-01-05, 03:34 PM   #20
shutdown
Registered User
 
Join Date: Nov 2005
Posts: 45
Default Re: 8168 - Bugreport

OK, so they tried to fix the problems in -rc4, but there are still error messages in the dmesg when running OpenGL apps or the X-server itself - does anyone of the kernel developers know about that?

Peter
shutdown is offline   Reply With Quote

Old 12-01-05, 05:05 PM   #21
Ironi
Registered User
 
Join Date: Dec 2004
Posts: 86
Default Re: 8168 - Bugreport

Those "incomplete pfn remapping" warnings are intentional but can be safely ignored. Even so, you may want to remove the check for now, since it seems to degrade 3D performance here. Apply the following patch to do that (untested against 2.6.15-rc4 and generates a harmless compile-time warning about incomplete_pfn_remap() defined but not used).

Code:
--- linux/mm/memory.c~2.6.15-rc3-mm1    2005-12-01 17:31:00.000000000 -0500
+++ linux/mm/memory.c   2005-12-01 17:56:56.000000000 -0500
@@ -1324,9 +1324,6 @@
        struct mm_struct *mm = vma->vm_mm;
        int err;

-       if (addr != vma->vm_start || end != vma->vm_end)
-               return incomplete_pfn_remap(vma, addr, end, pfn, prot);
-
        /*
         * Physically remapped pages are special. Tell the
         * rest of the world about it:
Ironi is offline   Reply With Quote
Old 12-01-05, 05:10 PM   #22
zander
NVIDIA Corporation
 
zander's Avatar
 
Join Date: Aug 2002
Posts: 3,740
Default Re: 8168 - Bugreport

Instead of removing the call to incomplete_pfn_remap(), you should comment out the print statement responsible for the warning in that function; judging from recent LKML traffic, the warning will be removed before the release of Linux 2.6.15.
zander is offline   Reply With Quote
Old 12-04-05, 04:27 AM   #23
shutdown
Registered User
 
Join Date: Nov 2005
Posts: 45
Default Re: 8168 - Bugreport

Code:
    Linux v2.6.15-rc5
    
    Hey, for no other reason than the fact that I'll be off-line for a
    week.
    
    Of course, I could force everybody to just use git (and when I'm emperor
    of the world, don't think I won't!), but it seems some people want to
    just test official releases.  Even if they are just -rc's.
    
    By the time I'm back, Andrew will have fixed all my bugs, and I'll
    release it as 2.6.15 and take all the credit.
    
    Mwahahahaaa
    
    Signed-off-by: Linus Torvalds <torvalds@osdl.org>

[...]

commit e3c3374fbf7efe9487edc53cd10436ed641983aa
Author: Linus Torvalds <torvalds@g5.osdl.org>
Date:   Sat Dec 3 20:48:11 2005 -0800

    Make vm_insert_page() available to NVidia module
    
    It used to use remap_pfn_range(), which wasn't GPL-only either, and the
    new interface is actually simpler and does more checking, so we
    shouldn't unnecessarily discourage people from switching over.
    
    Signed-off-by: Linus Torvalds <torvalds@osdl.org>
I don't think I have to add any comments on this, do I?
I'm already downloading 2.6.15-rc5, as 2.6.14 does not run quite well on my computer, but 2.6.15-rc4 does

Peter
shutdown is offline   Reply With Quote
Old 12-04-05, 07:00 AM   #24
zander
NVIDIA Corporation
 
zander's Avatar
 
Join Date: Aug 2002
Posts: 3,740
Default Re: 8168 - Bugreport

Note that the NVIDIA Linux graphics driver will need to be updated to take advantage of vm_insert_page(); with the unmodified 1.0-8168 driver, Linux 2.6.15-rc5 will behave like 2.6.15-rc4, i.e. it should work OK, but it will print a number of verbose DEBUG messages. I'll post a patch after the 1.0-8xxx driver has been released.
zander is offline   Reply With Quote
Reply


Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -5. The time now is 06:21 AM.


Powered by vBulletin® Version 3.7.1
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Copyright 1998 - 2014, nV News.