Re: 2.6.20-rc6-mm3 BUG in drm_ioctl with Rage 128 card

2007-02-05 Thread Thomas Hellström

Dave Jones wrote:

On Mon, Feb 05, 2007 at 01:56:22PM +0100, Thomas Hellström wrote:
 > Dave Jones wrote:
 > > On Sun, Feb 04, 2007 at 02:26:59PM -0500, Eric Buddington wrote:
 > >  > On Sun, Feb 04, 2007 at 11:00:05AM +0100, Thomas Hellstr?m wrote:
 > >  > > Eric,
 > >  > > Sorry for the breakage. Can you try the attached patch and see if it 
 > >  > > fixes the problem.
 > >  > > 
 > >  > > /Thomas
 > >  > 
 > >  > Thomas,
 > >  > 
 > >  > Thanks! That seems to fix it:

 > >
 > > Great.  Thomas, can you resend me that patch with a description & 
Signed-off-by ?
 > > (Also for some reason that one looks like it was MIME damaged, git-am 
wouldn't eat it)
 > >
 > >  Dave
 > >
 > >   
 > Dave,
 > I'll post an updated complete patch. The previous one was really only 
 > for Eric to try.


Can you send just an incremental against what's in agpgart.git right now?

Thanks,

Dave

  

Ok.

Coming right away,

/Thomas



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


Re: 2.6.20-rc6-mm3 BUG in drm_ioctl with Rage 128 card

2007-02-05 Thread Dave Jones
On Mon, Feb 05, 2007 at 01:56:22PM +0100, Thomas Hellström wrote:
 > Dave Jones wrote:
 > > On Sun, Feb 04, 2007 at 02:26:59PM -0500, Eric Buddington wrote:
 > >  > On Sun, Feb 04, 2007 at 11:00:05AM +0100, Thomas Hellstr?m wrote:
 > >  > > Eric,
 > >  > > Sorry for the breakage. Can you try the attached patch and see if it 
 > >  > > fixes the problem.
 > >  > > 
 > >  > > /Thomas
 > >  > 
 > >  > Thomas,
 > >  > 
 > >  > Thanks! That seems to fix it:
 > >
 > > Great.  Thomas, can you resend me that patch with a description & 
 > > Signed-off-by ?
 > > (Also for some reason that one looks like it was MIME damaged, git-am 
 > > wouldn't eat it)
 > >
 > >Dave
 > >
 > >   
 > Dave,
 > I'll post an updated complete patch. The previous one was really only 
 > for Eric to try.

Can you send just an incremental against what's in agpgart.git right now?

Thanks,

Dave

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


Re: 2.6.20-rc6-mm3 BUG in drm_ioctl with Rage 128 card

2007-02-05 Thread Thomas Hellström

Dave Jones wrote:

On Sun, Feb 04, 2007 at 02:26:59PM -0500, Eric Buddington wrote:
 > On Sun, Feb 04, 2007 at 11:00:05AM +0100, Thomas Hellstr?m wrote:
 > > Eric,
 > > Sorry for the breakage. Can you try the attached patch and see if it 
 > > fixes the problem.
 > > 
 > > /Thomas
 > 
 > Thomas,
 > 
 > Thanks! That seems to fix it:


Great.  Thomas, can you resend me that patch with a description & Signed-off-by 
?
(Also for some reason that one looks like it was MIME damaged, git-am wouldn't 
eat it)

Dave

  

Dave,
I'll post an updated complete patch. The previous one was really only 
for Eric to try.


/Thomas



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


Re: 2.6.20-rc6-mm3 BUG in drm_ioctl with Rage 128 card

2007-02-05 Thread Thomas Hellström

Dave Jones wrote:

On Sun, Feb 04, 2007 at 02:26:59PM -0500, Eric Buddington wrote:
  On Sun, Feb 04, 2007 at 11:00:05AM +0100, Thomas Hellstr?m wrote:
   Eric,
   Sorry for the breakage. Can you try the attached patch and see if it 
   fixes the problem.
   
   /Thomas
  
  Thomas,
  
  Thanks! That seems to fix it:


Great.  Thomas, can you resend me that patch with a description  Signed-off-by 
?
(Also for some reason that one looks like it was MIME damaged, git-am wouldn't 
eat it)

Dave

  

Dave,
I'll post an updated complete patch. The previous one was really only 
for Eric to try.


/Thomas



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


Re: 2.6.20-rc6-mm3 BUG in drm_ioctl with Rage 128 card

2007-02-05 Thread Dave Jones
On Mon, Feb 05, 2007 at 01:56:22PM +0100, Thomas Hellström wrote:
  Dave Jones wrote:
   On Sun, Feb 04, 2007 at 02:26:59PM -0500, Eric Buddington wrote:
 On Sun, Feb 04, 2007 at 11:00:05AM +0100, Thomas Hellstr?m wrote:
  Eric,
  Sorry for the breakage. Can you try the attached patch and see if it 
  fixes the problem.
  
  /Thomas
 
 Thomas,
 
 Thanks! That seems to fix it:
  
   Great.  Thomas, can you resend me that patch with a description  
   Signed-off-by ?
   (Also for some reason that one looks like it was MIME damaged, git-am 
   wouldn't eat it)
  
  Dave
  
 
  Dave,
  I'll post an updated complete patch. The previous one was really only 
  for Eric to try.

Can you send just an incremental against what's in agpgart.git right now?

Thanks,

Dave

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


Re: 2.6.20-rc6-mm3 BUG in drm_ioctl with Rage 128 card

2007-02-05 Thread Thomas Hellström

Dave Jones wrote:

On Mon, Feb 05, 2007 at 01:56:22PM +0100, Thomas Hellström wrote:
  Dave Jones wrote:
   On Sun, Feb 04, 2007 at 02:26:59PM -0500, Eric Buddington wrote:
 On Sun, Feb 04, 2007 at 11:00:05AM +0100, Thomas Hellstr?m wrote:
  Eric,
  Sorry for the breakage. Can you try the attached patch and see if it 
  fixes the problem.
  
  /Thomas
 
 Thomas,
 
 Thanks! That seems to fix it:

  
   Great.  Thomas, can you resend me that patch with a description  
Signed-off-by ?
   (Also for some reason that one looks like it was MIME damaged, git-am 
wouldn't eat it)
  
Dave
  
 
  Dave,
  I'll post an updated complete patch. The previous one was really only 
  for Eric to try.


Can you send just an incremental against what's in agpgart.git right now?

Thanks,

Dave

  

Ok.

Coming right away,

/Thomas



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


Re: 2.6.20-rc6-mm3 BUG in drm_ioctl with Rage 128 card

2007-02-04 Thread Dave Jones
On Sun, Feb 04, 2007 at 02:26:59PM -0500, Eric Buddington wrote:
 > On Sun, Feb 04, 2007 at 11:00:05AM +0100, Thomas Hellstr?m wrote:
 > > Eric,
 > > Sorry for the breakage. Can you try the attached patch and see if it 
 > > fixes the problem.
 > > 
 > > /Thomas
 > 
 > Thomas,
 > 
 > Thanks! That seems to fix it:

Great.  Thomas, can you resend me that patch with a description & Signed-off-by 
?
(Also for some reason that one looks like it was MIME damaged, git-am wouldn't 
eat it)

Dave

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


Re: 2.6.20-rc6-mm3 BUG in drm_ioctl with Rage 128 card

2007-02-04 Thread Eric Buddington
On Sun, Feb 04, 2007 at 11:00:05AM +0100, Thomas Hellstr?m wrote:
> Eric,
> Sorry for the breakage. Can you try the attached patch and see if it 
> fixes the problem.
> 
> /Thomas

Thomas,

Thanks! That seems to fix it:

[drm] Initialized drm 1.1.0 20060810
ACPI: PCI Interrupt :01:00.0[A] -> GSI 16 (level, low) -> IRQ 16
[drm] Initialized r128 2.5.0 20030725 on minor 0

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


Re: 2.6.20-rc6-mm3 BUG in drm_ioctl with Rage 128 card

2007-02-04 Thread Thomas Hellström

Eric Buddington wrote:


On Sun, Feb 04, 2007 at 10:20:29AM +1100, Dave Airlie wrote:
 


What AGP chipset do you have? it looks like it might be caused by the
AGP changes for TTM..
   



lspci:

00:00.0 Host bridge: Silicon Integrated Systems [SiS] 741/741GX/M741 Host (rev 
03)
00:01.0 PCI bridge: Silicon Integrated Systems [SiS] SiS AGP Port (virtual 
PCI-to-PCI bridge)
00:02.0 ISA bridge: Silicon Integrated Systems [SiS] SiS963 [MuTIOL Media IO] 
(rev 25)
00:02.1 SMBus: Silicon Integrated Systems [SiS] SiS961/2 SMBus Controller
00:02.5 IDE interface: Silicon Integrated Systems [SiS] 5513 [IDE]
...

-Eric
 


Eric,
Sorry for the breakage. Can you try the attached patch and see if it 
fixes the problem.


/Thomas

>From 531c7dc4e9d26a9a2c7a64d52cf73951c7c03ee8 Mon Sep 17 00:00:00 2001
From: Thomas Hellstrom 
Date: Sun, 4 Feb 2007 10:53:17 +0100
Subject: [PATCH] Add missing .agp_type_to_mask_type entries.
---
 drivers/char/agp/parisc-agp.c |1 +
 drivers/char/agp/sis-agp.c|1 +
 2 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/drivers/char/agp/parisc-agp.c b/drivers/char/agp/parisc-agp.c
index 17c50b0..b7b4590 100644
--- a/drivers/char/agp/parisc-agp.c
+++ b/drivers/char/agp/parisc-agp.c
@@ -228,6 +228,7 @@ struct agp_bridge_driver parisc_agp_driv
.free_by_type   = agp_generic_free_by_type,
.agp_alloc_page = agp_generic_alloc_page,
.agp_destroy_page   = agp_generic_destroy_page,
+   .agp_type_to_mask_type  = agp_generic_type_to_mask_type,
.cant_use_aperture  = 1,
 };
 
diff --git a/drivers/char/agp/sis-agp.c b/drivers/char/agp/sis-agp.c
index a00fd48..60342b7 100644
--- a/drivers/char/agp/sis-agp.c
+++ b/drivers/char/agp/sis-agp.c
@@ -140,6 +140,7 @@ static struct agp_bridge_driver sis_driv
.free_by_type   = agp_generic_free_by_type,
.agp_alloc_page = agp_generic_alloc_page,
.agp_destroy_page   = agp_generic_destroy_page,
+   .agp_type_to_mask_type  = agp_generic_type_to_mask_type,
 };
 
 static struct agp_device_ids sis_agp_device_ids[] __devinitdata =
-- 
1.4.1



Re: 2.6.20-rc6-mm3 BUG in drm_ioctl with Rage 128 card

2007-02-04 Thread Thomas Hellström

Eric Buddington wrote:


On Sun, Feb 04, 2007 at 10:20:29AM +1100, Dave Airlie wrote:
 


What AGP chipset do you have? it looks like it might be caused by the
AGP changes for TTM..
   



lspci:

00:00.0 Host bridge: Silicon Integrated Systems [SiS] 741/741GX/M741 Host (rev 
03)
00:01.0 PCI bridge: Silicon Integrated Systems [SiS] SiS AGP Port (virtual 
PCI-to-PCI bridge)
00:02.0 ISA bridge: Silicon Integrated Systems [SiS] SiS963 [MuTIOL Media IO] 
(rev 25)
00:02.1 SMBus: Silicon Integrated Systems [SiS] SiS961/2 SMBus Controller
00:02.5 IDE interface: Silicon Integrated Systems [SiS] 5513 [IDE]
...

-Eric
 


Eric,
Sorry for the breakage. Can you try the attached patch and see if it 
fixes the problem.


/Thomas

From 531c7dc4e9d26a9a2c7a64d52cf73951c7c03ee8 Mon Sep 17 00:00:00 2001
From: Thomas Hellstrom thomas-at-tungstengraphics-dot-com
Date: Sun, 4 Feb 2007 10:53:17 +0100
Subject: [PATCH] Add missing .agp_type_to_mask_type entries.
---
 drivers/char/agp/parisc-agp.c |1 +
 drivers/char/agp/sis-agp.c|1 +
 2 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/drivers/char/agp/parisc-agp.c b/drivers/char/agp/parisc-agp.c
index 17c50b0..b7b4590 100644
--- a/drivers/char/agp/parisc-agp.c
+++ b/drivers/char/agp/parisc-agp.c
@@ -228,6 +228,7 @@ struct agp_bridge_driver parisc_agp_driv
.free_by_type   = agp_generic_free_by_type,
.agp_alloc_page = agp_generic_alloc_page,
.agp_destroy_page   = agp_generic_destroy_page,
+   .agp_type_to_mask_type  = agp_generic_type_to_mask_type,
.cant_use_aperture  = 1,
 };
 
diff --git a/drivers/char/agp/sis-agp.c b/drivers/char/agp/sis-agp.c
index a00fd48..60342b7 100644
--- a/drivers/char/agp/sis-agp.c
+++ b/drivers/char/agp/sis-agp.c
@@ -140,6 +140,7 @@ static struct agp_bridge_driver sis_driv
.free_by_type   = agp_generic_free_by_type,
.agp_alloc_page = agp_generic_alloc_page,
.agp_destroy_page   = agp_generic_destroy_page,
+   .agp_type_to_mask_type  = agp_generic_type_to_mask_type,
 };
 
 static struct agp_device_ids sis_agp_device_ids[] __devinitdata =
-- 
1.4.1



Re: 2.6.20-rc6-mm3 BUG in drm_ioctl with Rage 128 card

2007-02-04 Thread Eric Buddington
On Sun, Feb 04, 2007 at 11:00:05AM +0100, Thomas Hellstr?m wrote:
 Eric,
 Sorry for the breakage. Can you try the attached patch and see if it 
 fixes the problem.
 
 /Thomas

Thomas,

Thanks! That seems to fix it:

[drm] Initialized drm 1.1.0 20060810
ACPI: PCI Interrupt :01:00.0[A] - GSI 16 (level, low) - IRQ 16
[drm] Initialized r128 2.5.0 20030725 on minor 0

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


Re: 2.6.20-rc6-mm3 BUG in drm_ioctl with Rage 128 card

2007-02-04 Thread Dave Jones
On Sun, Feb 04, 2007 at 02:26:59PM -0500, Eric Buddington wrote:
  On Sun, Feb 04, 2007 at 11:00:05AM +0100, Thomas Hellstr?m wrote:
   Eric,
   Sorry for the breakage. Can you try the attached patch and see if it 
   fixes the problem.
   
   /Thomas
  
  Thomas,
  
  Thanks! That seems to fix it:

Great.  Thomas, can you resend me that patch with a description  Signed-off-by 
?
(Also for some reason that one looks like it was MIME damaged, git-am wouldn't 
eat it)

Dave

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


Re: 2.6.20-rc6-mm3 BUG in drm_ioctl with Rage 128 card

2007-02-03 Thread Eric Buddington
On Sun, Feb 04, 2007 at 10:20:29AM +1100, Dave Airlie wrote:
> What AGP chipset do you have? it looks like it might be caused by the
> AGP changes for TTM..

lspci:

00:00.0 Host bridge: Silicon Integrated Systems [SiS] 741/741GX/M741 Host (rev 
03)
00:01.0 PCI bridge: Silicon Integrated Systems [SiS] SiS AGP Port (virtual 
PCI-to-PCI bridge)
00:02.0 ISA bridge: Silicon Integrated Systems [SiS] SiS963 [MuTIOL Media IO] 
(rev 25)
00:02.1 SMBus: Silicon Integrated Systems [SiS] SiS961/2 SMBus Controller
00:02.5 IDE interface: Silicon Integrated Systems [SiS] 5513 [IDE]
...

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


Re: 2.6.20-rc6-mm3 BUG in drm_ioctl with Rage 128 card

2007-02-03 Thread Dave Airlie

agpgart: Found an AGP 3.5 compliant device at :00:00.0.
agpgart: Device is in legacy mode, falling back to 2.x
agpgart: Putting AGP V2 device at :00:00.0 into 1x mode
agpgart: Putting AGP V2 device at :01:00.0 into 1x mode
BUG: unable to handle kernel NULL pointer dereference at virtual address 

 printing eip:

*pde = 48057067
Oops:  [#1]
last sysfs file: /devices/pci:00/:00:00.0/class
Modules linked in: ppp_synctty ppp_async crc_ccitt ppp_generic slhc r128 drm 
softdog keyspan_pda usbserial sch_tbf raw1394 dv1394 ohci1394 ieee1394 
snd_ice1712 snd_ice17xx_ak4xxx snd_ak4xxx_adda snd_cs8427 snd_i2c 
snd_mpu401_uart snd_rawmidi usbnet snd_intel8x0 snd_ac97_codec ac97_bus ipt_tos 
ipt_owner iptable_nat nf_conntrack_ipv4 ipt_MASQUERADE nf_nat nf_conntrack 
nfnetlink ipt_TOS iptable_filter iptable_mangle ip_tables x_tables 8139too 
sis900 sis5595 hwmon i2c_isa i2c_core sis_agp agpgart ide_scsi
CPU:0
EIP:0060:[<>]Not tainted VLI
EFLAGS: 00013246   (2.6.20-rc6-mm3 #1)
EIP is at 0x0
eax: f5e6f2e0   ebx:    ecx: f928eda0   edx: 
esi: f5e6f2e0   edi: f3604be0   ebp: 4000   esp: f2c2feb0
ds: 007b   es: 007b   fs: 00d8  gs: 0033  ss: 0068
Process X (pid: 3465, ti=f2c2e000 task=f2c10ab0 task.ti=f2c2e000)
Stack: f9299ccc 3292 f2401f10 0010 c164f880   0163
   f928eda0 f3604be0  f3bfb000 f929928c f5e6f2e0  f37113e0
    f3604160 f93e77bf f93f1800 c029926f  f93f1810 f3bfb000
Call Trace:
 [] agp_generic_insert_memory+0x5f/0x147 [agpgart]
 [] agp_bind_memory+0x53/0x64 [agpgart]
 [] drm_agp_bind+0x49/0x9f [drm]
 [] copy_to_user+0x2d/0x42
 [] drm_agp_bind_ioctl+0x30/0x39 [drm]
 [] drm_agp_bind_ioctl+0x0/0x39 [drm]
 [] drm_ioctl+0x14b/0x193 [drm]
 [] drm_ioctl+0x0/0x193 [drm]
 [] do_ioctl+0x3e/0x4d
 [] vfs_ioctl+0x207/0x21e
 [] sys_ioctl+0x33/0x4d
 [] sysenter_past_esp+0x5d/0x81
 ===
Code:  Bad EIP value.
EIP: [<>] 0x0 SS:ESP 0068:f2c2feb0
[drm:drm_release] *ERROR* Device busy: 1 0


What AGP chipset do you have? it looks like it might be caused by the
AGP changes for TTM..

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


Re: 2.6.20-rc6-mm3 BUG in drm_ioctl with Rage 128 card

2007-02-03 Thread Eric Buddington
On Sat, Feb 03, 2007 at 04:22:17PM -0500, Lee Revell wrote:
> On 2/3/07, Eric Buddington <[EMAIL PROTECTED]> wrote:
> >EIP:0060:[<>]Tainted: G   M   VLI
> >EFLAGS: 00013246   (2.6.20-rc6-mm3 #1)
> 
> The "M" taint flag indicates that a machine check exception has
> occured.  Check your logs for the MCE and make sure the hardware is
> OK.

Lee,

Thanks for pointing that out; I didn't know about that flag. I *think*
there had meen an exception that Google suggested was an ECC-corrected
memory problem (which is suspect, since I don't have ECC RAM).

Anyway, here's a non-tainted one I got after a reboot:

---
agpgart: Found an AGP 3.5 compliant device at :00:00.0.
agpgart: Device is in legacy mode, falling back to 2.x
agpgart: Putting AGP V2 device at :00:00.0 into 1x mode
agpgart: Putting AGP V2 device at :01:00.0 into 1x mode
BUG: unable to handle kernel NULL pointer dereference at virtual address 

 printing eip:

*pde = 48057067
Oops:  [#1]
last sysfs file: /devices/pci:00/:00:00.0/class
Modules linked in: ppp_synctty ppp_async crc_ccitt ppp_generic slhc r128 drm 
softdog keyspan_pda usbserial sch_tbf raw1394 dv1394 ohci1394 ieee1394 
snd_ice1712 snd_ice17xx_ak4xxx snd_ak4xxx_adda snd_cs8427 snd_i2c 
snd_mpu401_uart snd_rawmidi usbnet snd_intel8x0 snd_ac97_codec ac97_bus ipt_tos 
ipt_owner iptable_nat nf_conntrack_ipv4 ipt_MASQUERADE nf_nat nf_conntrack 
nfnetlink ipt_TOS iptable_filter iptable_mangle ip_tables x_tables 8139too 
sis900 sis5595 hwmon i2c_isa i2c_core sis_agp agpgart ide_scsi
CPU:0
EIP:0060:[<>]Not tainted VLI
EFLAGS: 00013246   (2.6.20-rc6-mm3 #1)
EIP is at 0x0
eax: f5e6f2e0   ebx:    ecx: f928eda0   edx: 
esi: f5e6f2e0   edi: f3604be0   ebp: 4000   esp: f2c2feb0
ds: 007b   es: 007b   fs: 00d8  gs: 0033  ss: 0068
Process X (pid: 3465, ti=f2c2e000 task=f2c10ab0 task.ti=f2c2e000)
Stack: f9299ccc 3292 f2401f10 0010 c164f880   0163 
   f928eda0 f3604be0  f3bfb000 f929928c f5e6f2e0  f37113e0 
    f3604160 f93e77bf f93f1800 c029926f  f93f1810 f3bfb000 
Call Trace:
 [] agp_generic_insert_memory+0x5f/0x147 [agpgart]
 [] agp_bind_memory+0x53/0x64 [agpgart]
 [] drm_agp_bind+0x49/0x9f [drm]
 [] copy_to_user+0x2d/0x42
 [] drm_agp_bind_ioctl+0x30/0x39 [drm]
 [] drm_agp_bind_ioctl+0x0/0x39 [drm]
 [] drm_ioctl+0x14b/0x193 [drm]
 [] drm_ioctl+0x0/0x193 [drm]
 [] do_ioctl+0x3e/0x4d
 [] vfs_ioctl+0x207/0x21e
 [] sys_ioctl+0x33/0x4d
 [] sysenter_past_esp+0x5d/0x81
 ===
Code:  Bad EIP value.
EIP: [<>] 0x0 SS:ESP 0068:f2c2feb0
[drm:drm_release] *ERROR* Device busy: 1 0
pool-71-161-133-234$ dmesg | grep excep
Enabling unmasked SIMD FPU exception support... done.
Machine check exception polling timer started.
pool-71-161-133-234$ dmesg | grep ank  
pool-71-161-133-234$ dmesg | grep -i excep
Enabling unmasked SIMD FPU exception support... done.
Machine check exception polling timer started.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


Re: 2.6.20-rc6-mm3 BUG in drm_ioctl with Rage 128 card

2007-02-03 Thread Lee Revell

On 2/3/07, Eric Buddington <[EMAIL PROTECTED]> wrote:

EIP:0060:[<>]Tainted: G   M   VLI
EFLAGS: 00013246   (2.6.20-rc6-mm3 #1)


The "M" taint flag indicates that a machine check exception has
occured.  Check your logs for the MCE and make sure the hardware is
OK.

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


2.6.20-rc6-mm3 BUG in drm_ioctl with Rage 128 card

2007-02-03 Thread Eric Buddington
While repeatedly recompiling and restarting xorg-server-1.1.1, I
managed to generate the following BUG. Kernel is 2.6.20-rc6-mm3, video card is

01:00.0 VGA compatible controller: ATI Technologies Inc Rage 128 Pro Ultra TF 
(prog-if 00 [VGA])

-Eric

--
BUG: unable to handle kernel NULL pointer dereference at virtual address 000
0
 printing eip:

*pde = 18cdb067
*pte = 
Oops:  [#1]
last sysfs file: /devices/pci:00/:00:00.0/class
Modules linked in: ppp_synctty ppp_async crc_ccitt ppp_generic slhc r128 drm sof
tdog keyspan_pda usbserial sch_tbf raw1394 dv1394 ohci1394 ieee1394 snd_ice1712 
snd_ice17xx_ak4xxx snd_ak4xxx_adda snd_cs8427 snd_i2c snd_mpu401_uart snd_rawmid
i usbnet snd_intel8x0 snd_ac97_codec ac97_bus ipt_tos ipt_owner iptable_nat nf_c
onntrack_ipv4 ipt_MASQUERADE nf_nat nf_conntrack nfnetlink ipt_TOS iptable_filte
r iptable_mangle ip_tables x_tables 8139too sis900 sis5595 hwmon i2c_isa i2c_cor
e sis_agp agpgart ide_scsi
CPU:0
EIP:0060:[<>]Tainted: G   M   VLI
EFLAGS: 00013246   (2.6.20-rc6-mm3 #1)
EIP is at 0x0
eax: f7a3ec60   ebx:    ecx: f928eda0   edx: 
esi: f7a3ec60   edi: c3c399e0   ebp: 4000   esp: f355feb0
ds: 007b   es: 007b   fs: 00d8  gs: 0033  ss: 0068
Process X (pid: 30162, ti=f355e000 task=f7932030 task.ti=f355e000)
Stack: f9299ccc 0800 06d0 0003 c1b36570   0040ee73 
   f928eda0 c3c399e0  f56d2800 f929928c bf94831c  f52bf1e0 
    f51c8860 f93e77bf f93f1800 c029926f  f93f1810 f56d2800 
Call Trace:
 [] agp_generic_insert_memory+0x5f/0x147 [agpgart]
 [] agp_bind_memory+0x53/0x64 [agpgart]
 [] drm_agp_bind+0x49/0x9f [drm]
 [] copy_to_user+0x2d/0x42
 [] drm_agp_bind_ioctl+0x30/0x39 [drm]
 [] drm_agp_bind_ioctl+0x0/0x39 [drm]
 [] drm_ioctl+0x14b/0x193 [drm]
 [] drm_ioctl+0x0/0x193 [drm]
 [] do_ioctl+0x3e/0x4d
 [] vfs_ioctl+0x207/0x21e
 [] sys_ioctl+0x33/0x4d
 [] sysenter_past_esp+0x5d/0x81
 ===
Code:  Bad EIP value.
EIP: [<>] 0x0 SS:ESP 0068:f355feb0
[drm:drm_release] *ERROR* Device busy: 1 0
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


2.6.20-rc6-mm3 BUG in drm_ioctl with Rage 128 card

2007-02-03 Thread Eric Buddington
While repeatedly recompiling and restarting xorg-server-1.1.1, I
managed to generate the following BUG. Kernel is 2.6.20-rc6-mm3, video card is

01:00.0 VGA compatible controller: ATI Technologies Inc Rage 128 Pro Ultra TF 
(prog-if 00 [VGA])

-Eric

--
BUG: unable to handle kernel NULL pointer dereference at virtual address 000
0
 printing eip:

*pde = 18cdb067
*pte = 
Oops:  [#1]
last sysfs file: /devices/pci:00/:00:00.0/class
Modules linked in: ppp_synctty ppp_async crc_ccitt ppp_generic slhc r128 drm sof
tdog keyspan_pda usbserial sch_tbf raw1394 dv1394 ohci1394 ieee1394 snd_ice1712 
snd_ice17xx_ak4xxx snd_ak4xxx_adda snd_cs8427 snd_i2c snd_mpu401_uart snd_rawmid
i usbnet snd_intel8x0 snd_ac97_codec ac97_bus ipt_tos ipt_owner iptable_nat nf_c
onntrack_ipv4 ipt_MASQUERADE nf_nat nf_conntrack nfnetlink ipt_TOS iptable_filte
r iptable_mangle ip_tables x_tables 8139too sis900 sis5595 hwmon i2c_isa i2c_cor
e sis_agp agpgart ide_scsi
CPU:0
EIP:0060:[]Tainted: G   M   VLI
EFLAGS: 00013246   (2.6.20-rc6-mm3 #1)
EIP is at 0x0
eax: f7a3ec60   ebx:    ecx: f928eda0   edx: 
esi: f7a3ec60   edi: c3c399e0   ebp: 4000   esp: f355feb0
ds: 007b   es: 007b   fs: 00d8  gs: 0033  ss: 0068
Process X (pid: 30162, ti=f355e000 task=f7932030 task.ti=f355e000)
Stack: f9299ccc 0800 06d0 0003 c1b36570   0040ee73 
   f928eda0 c3c399e0  f56d2800 f929928c bf94831c  f52bf1e0 
    f51c8860 f93e77bf f93f1800 c029926f  f93f1810 f56d2800 
Call Trace:
 [f9299ccc] agp_generic_insert_memory+0x5f/0x147 [agpgart]
 [f929928c] agp_bind_memory+0x53/0x64 [agpgart]
 [f93e77bf] drm_agp_bind+0x49/0x9f [drm]
 [c029926f] copy_to_user+0x2d/0x42
 [f93e7845] drm_agp_bind_ioctl+0x30/0x39 [drm]
 [f93e7815] drm_agp_bind_ioctl+0x0/0x39 [drm]
 [f93e3f10] drm_ioctl+0x14b/0x193 [drm]
 [f93e3dc5] drm_ioctl+0x0/0x193 [drm]
 [c015b94a] do_ioctl+0x3e/0x4d
 [c015bb60] vfs_ioctl+0x207/0x21e
 [c015bbaa] sys_ioctl+0x33/0x4d
 [c0104b30] sysenter_past_esp+0x5d/0x81
 ===
Code:  Bad EIP value.
EIP: [] 0x0 SS:ESP 0068:f355feb0
[drm:drm_release] *ERROR* Device busy: 1 0
-
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


Re: 2.6.20-rc6-mm3 BUG in drm_ioctl with Rage 128 card

2007-02-03 Thread Lee Revell

On 2/3/07, Eric Buddington [EMAIL PROTECTED] wrote:

EIP:0060:[]Tainted: G   M   VLI
EFLAGS: 00013246   (2.6.20-rc6-mm3 #1)


The M taint flag indicates that a machine check exception has
occured.  Check your logs for the MCE and make sure the hardware is
OK.

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


Re: 2.6.20-rc6-mm3 BUG in drm_ioctl with Rage 128 card

2007-02-03 Thread Eric Buddington
On Sat, Feb 03, 2007 at 04:22:17PM -0500, Lee Revell wrote:
 On 2/3/07, Eric Buddington [EMAIL PROTECTED] wrote:
 EIP:0060:[]Tainted: G   M   VLI
 EFLAGS: 00013246   (2.6.20-rc6-mm3 #1)
 
 The M taint flag indicates that a machine check exception has
 occured.  Check your logs for the MCE and make sure the hardware is
 OK.

Lee,

Thanks for pointing that out; I didn't know about that flag. I *think*
there had meen an exception that Google suggested was an ECC-corrected
memory problem (which is suspect, since I don't have ECC RAM).

Anyway, here's a non-tainted one I got after a reboot:

---
agpgart: Found an AGP 3.5 compliant device at :00:00.0.
agpgart: Device is in legacy mode, falling back to 2.x
agpgart: Putting AGP V2 device at :00:00.0 into 1x mode
agpgart: Putting AGP V2 device at :01:00.0 into 1x mode
BUG: unable to handle kernel NULL pointer dereference at virtual address 

 printing eip:

*pde = 48057067
Oops:  [#1]
last sysfs file: /devices/pci:00/:00:00.0/class
Modules linked in: ppp_synctty ppp_async crc_ccitt ppp_generic slhc r128 drm 
softdog keyspan_pda usbserial sch_tbf raw1394 dv1394 ohci1394 ieee1394 
snd_ice1712 snd_ice17xx_ak4xxx snd_ak4xxx_adda snd_cs8427 snd_i2c 
snd_mpu401_uart snd_rawmidi usbnet snd_intel8x0 snd_ac97_codec ac97_bus ipt_tos 
ipt_owner iptable_nat nf_conntrack_ipv4 ipt_MASQUERADE nf_nat nf_conntrack 
nfnetlink ipt_TOS iptable_filter iptable_mangle ip_tables x_tables 8139too 
sis900 sis5595 hwmon i2c_isa i2c_core sis_agp agpgart ide_scsi
CPU:0
EIP:0060:[]Not tainted VLI
EFLAGS: 00013246   (2.6.20-rc6-mm3 #1)
EIP is at 0x0
eax: f5e6f2e0   ebx:    ecx: f928eda0   edx: 
esi: f5e6f2e0   edi: f3604be0   ebp: 4000   esp: f2c2feb0
ds: 007b   es: 007b   fs: 00d8  gs: 0033  ss: 0068
Process X (pid: 3465, ti=f2c2e000 task=f2c10ab0 task.ti=f2c2e000)
Stack: f9299ccc 3292 f2401f10 0010 c164f880   0163 
   f928eda0 f3604be0  f3bfb000 f929928c f5e6f2e0  f37113e0 
    f3604160 f93e77bf f93f1800 c029926f  f93f1810 f3bfb000 
Call Trace:
 [f9299ccc] agp_generic_insert_memory+0x5f/0x147 [agpgart]
 [f929928c] agp_bind_memory+0x53/0x64 [agpgart]
 [f93e77bf] drm_agp_bind+0x49/0x9f [drm]
 [c029926f] copy_to_user+0x2d/0x42
 [f93e7845] drm_agp_bind_ioctl+0x30/0x39 [drm]
 [f93e7815] drm_agp_bind_ioctl+0x0/0x39 [drm]
 [f93e3f10] drm_ioctl+0x14b/0x193 [drm]
 [f93e3dc5] drm_ioctl+0x0/0x193 [drm]
 [c015b94a] do_ioctl+0x3e/0x4d
 [c015bb60] vfs_ioctl+0x207/0x21e
 [c015bbaa] sys_ioctl+0x33/0x4d
 [c0104b30] sysenter_past_esp+0x5d/0x81
 ===
Code:  Bad EIP value.
EIP: [] 0x0 SS:ESP 0068:f2c2feb0
[drm:drm_release] *ERROR* Device busy: 1 0
pool-71-161-133-234$ dmesg | grep excep
Enabling unmasked SIMD FPU exception support... done.
Machine check exception polling timer started.
pool-71-161-133-234$ dmesg | grep ank  
pool-71-161-133-234$ dmesg | grep -i excep
Enabling unmasked SIMD FPU exception support... done.
Machine check exception polling timer started.
-
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


Re: 2.6.20-rc6-mm3 BUG in drm_ioctl with Rage 128 card

2007-02-03 Thread Dave Airlie

agpgart: Found an AGP 3.5 compliant device at :00:00.0.
agpgart: Device is in legacy mode, falling back to 2.x
agpgart: Putting AGP V2 device at :00:00.0 into 1x mode
agpgart: Putting AGP V2 device at :01:00.0 into 1x mode
BUG: unable to handle kernel NULL pointer dereference at virtual address 

 printing eip:

*pde = 48057067
Oops:  [#1]
last sysfs file: /devices/pci:00/:00:00.0/class
Modules linked in: ppp_synctty ppp_async crc_ccitt ppp_generic slhc r128 drm 
softdog keyspan_pda usbserial sch_tbf raw1394 dv1394 ohci1394 ieee1394 
snd_ice1712 snd_ice17xx_ak4xxx snd_ak4xxx_adda snd_cs8427 snd_i2c 
snd_mpu401_uart snd_rawmidi usbnet snd_intel8x0 snd_ac97_codec ac97_bus ipt_tos 
ipt_owner iptable_nat nf_conntrack_ipv4 ipt_MASQUERADE nf_nat nf_conntrack 
nfnetlink ipt_TOS iptable_filter iptable_mangle ip_tables x_tables 8139too 
sis900 sis5595 hwmon i2c_isa i2c_core sis_agp agpgart ide_scsi
CPU:0
EIP:0060:[]Not tainted VLI
EFLAGS: 00013246   (2.6.20-rc6-mm3 #1)
EIP is at 0x0
eax: f5e6f2e0   ebx:    ecx: f928eda0   edx: 
esi: f5e6f2e0   edi: f3604be0   ebp: 4000   esp: f2c2feb0
ds: 007b   es: 007b   fs: 00d8  gs: 0033  ss: 0068
Process X (pid: 3465, ti=f2c2e000 task=f2c10ab0 task.ti=f2c2e000)
Stack: f9299ccc 3292 f2401f10 0010 c164f880   0163
   f928eda0 f3604be0  f3bfb000 f929928c f5e6f2e0  f37113e0
    f3604160 f93e77bf f93f1800 c029926f  f93f1810 f3bfb000
Call Trace:
 [f9299ccc] agp_generic_insert_memory+0x5f/0x147 [agpgart]
 [f929928c] agp_bind_memory+0x53/0x64 [agpgart]
 [f93e77bf] drm_agp_bind+0x49/0x9f [drm]
 [c029926f] copy_to_user+0x2d/0x42
 [f93e7845] drm_agp_bind_ioctl+0x30/0x39 [drm]
 [f93e7815] drm_agp_bind_ioctl+0x0/0x39 [drm]
 [f93e3f10] drm_ioctl+0x14b/0x193 [drm]
 [f93e3dc5] drm_ioctl+0x0/0x193 [drm]
 [c015b94a] do_ioctl+0x3e/0x4d
 [c015bb60] vfs_ioctl+0x207/0x21e
 [c015bbaa] sys_ioctl+0x33/0x4d
 [c0104b30] sysenter_past_esp+0x5d/0x81
 ===
Code:  Bad EIP value.
EIP: [] 0x0 SS:ESP 0068:f2c2feb0
[drm:drm_release] *ERROR* Device busy: 1 0


What AGP chipset do you have? it looks like it might be caused by the
AGP changes for TTM..

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


Re: 2.6.20-rc6-mm3 BUG in drm_ioctl with Rage 128 card

2007-02-03 Thread Eric Buddington
On Sun, Feb 04, 2007 at 10:20:29AM +1100, Dave Airlie wrote:
 What AGP chipset do you have? it looks like it might be caused by the
 AGP changes for TTM..

lspci:

00:00.0 Host bridge: Silicon Integrated Systems [SiS] 741/741GX/M741 Host (rev 
03)
00:01.0 PCI bridge: Silicon Integrated Systems [SiS] SiS AGP Port (virtual 
PCI-to-PCI bridge)
00:02.0 ISA bridge: Silicon Integrated Systems [SiS] SiS963 [MuTIOL Media IO] 
(rev 25)
00:02.1 SMBus: Silicon Integrated Systems [SiS] SiS961/2 SMBus Controller
00:02.5 IDE interface: Silicon Integrated Systems [SiS] 5513 [IDE]
...

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