Kernel bug in agpgart module!

Jan Schiefer (CHEATERJS@gmx.de)
Sat, 4 Jan 2003 00:23:08 +0100 (MET)


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/