From: Wink Saville <wink@saville.com>
To: akpm@osdl.org
Cc: linux-fbdev-devel@lists.sourceforge.net
Subject: Re: [patch 01/25] Patch for nvidia divide by zero error for 7600 pci-express card
Date: Tue, 07 Nov 2006 08:16:42 -0800 [thread overview]
Message-ID: <4550B16A.2010201@saville.com> (raw)
In-Reply-To: <200611020550.kA25oHED002282@shell0.pdx.osdl.net>
akpm@osdl.org wrote:
> From: Wink Saville <wink@saville.com>
>
> The following patch resolves the divide by zero error I encountered on my system:
>
> http://marc.10east.com/?l=linux-fbdev-devel&m=116058257024413&w=2
>
> I accomplished this by merging what I thought was appropriate from:
>
> http://webcvs.freedesktop.org/xorg/driver/xf86-video-nv/src/
>
>
>
> Signed-off-by: Andrew Morton <akpm@osdl.org>
> ---
>
> drivers/video/nvidia/nv_hw.c | 12 +++++++++---
> drivers/video/nvidia/nv_setup.c | 18 +++++++++++++++++-
> drivers/video/nvidia/nv_type.h | 1 +
> drivers/video/nvidia/nvidia.c | 24 ++++++++++++------------
> 4 files changed, 39 insertions(+), 16 deletions(-)
>
> diff -puN drivers/video/nvidia/nv_hw.c~patch-for-nvidia-divide-by-zero-error-for-7600 drivers/video/nvidia/nv_hw.c
> --- a/drivers/video/nvidia/nv_hw.c~patch-for-nvidia-divide-by-zero-error-for-7600
> +++ a/drivers/video/nvidia/nv_hw.c
> @@ -145,12 +145,18 @@ static void nvGetClocks(struct nvidia_pa
>
<snip>
> + case 0x0290: /* GeForce 7900 */
> + case 0x0390: /* GeForce 7600 */
> arch = NV_ARCH_40;
> break;
> case 0x0020: /* TNT, TNT2 */
> _
>
After some trials and tribulations and help from Andrew Morton and Junio Hamano (thanks), I was able to successfully test this patch as sourced from v2.6.19-rc4-mm2. There is still the problem that the framebuffer console doesn't work, the display is blank until X comes up, but at least it doesn't crash.
I'm suspecting a configuration problem, my configuration file can be seen in my post from 10/14/2006 as seen here; http://marc.10east.com/?l=linux-fbdev-devel&m=116085527611531&w=2, if anyone has some suggestions I'll be glad to investigate further.
Regards,
Wink Saville
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
next prev parent reply other threads:[~2006-11-07 16:16 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-11-02 5:50 [patch 01/25] Patch for nvidia divide by zero error for 7600 pci-express card akpm
2006-11-07 16:16 ` Wink Saville [this message]
2006-11-13 16:03 ` James Simmons
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4550B16A.2010201@saville.com \
--to=wink@saville.com \
--cc=akpm@osdl.org \
--cc=linux-fbdev-devel@lists.sourceforge.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).