Re: [patch 01/25] Patch for nvidia divide by zero error for 7600 pci-express card
From: Wink Saville <hidden>
Date: 2006-11-07 16:16:50
akpm@osdl.org wrote:
quoted hunk ↗ jump to hunk
From: Wink Saville <redacted> 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 <redacted> --- 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