2003-01-03 23:14:43

by JSTHEMASTER

[permalink] [raw]
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!


2003-01-03 23:23:10

by Shureih, Tariq

[permalink] [raw]
Subject: RE: Kernel bug in agpgart module!

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:[email protected]]
Sent: Friday, January 03, 2003 3:23 PM
To: [email protected]
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!