RE: Kernel bug in agpgart module!

Shureih, Tariq (tariq.shureih@intel.com)
Fri, 3 Jan 2003 15:31:29 -0800


WindowZ programmers can't write Linux code? It's C after all :p

Maybe it's a licensing thingie?! :=)

--
Tariq Shureih
Intel Corporation
Opinions are my own and don't represent my employer

-----Original Message----- From: Jan Schiefer [mailto:CHEATERJS@gmx.de] Sent: Friday, January 03, 2003 3:23 PM To: linux-kernel@vger.kernel.org Subject: Kernel bug in agpgart module!

I found a bug in agpgart module, that isn't fixed in any version. Even not development releases.

Description: Mainboard: VIA K7VZA KT133 Chipset (Via Apollo Pro KT133) When AGP APARTURE SIZE 4M is set in BIOS, then agpgart cant bind the port to the graphic card module. DRI and stuff don't work. It seems to work with anything bigger than 4M.

This isn't passed: agpgart_be.c

---
static int agp_generic_insert_memory(agp_memory * mem,
				     off_t pg_start, int type)
{

(...blah...)

if ((pg_start + mem->page_count) > num_entries) { //<--- This check fails then! :O return -EINVAL; }

---

Maybe someone can fix it. (I'm an windowze only coder. :( )

Greetings, Jan Schiefer!

-- 
+++ GMX - Mail, Messaging & more  http://www.gmx.net +++
NEU: Mit GMX ins Internet. Rund um die Uhr für 1 ct/ Min. surfen!

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/ - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/