http://bugs.freedesktop.org/show_bug.cgi?id=24159





--- Comment #2 from Andrew Randrianasulu <rand...@mail.ru>  2010-01-16 17:44:46 
PST ---
issue still here, on 33-rc4+:

after minor modification in drivers/gpu/drm/radeon/r100.c

----debug patch

diff --git a/drivers/gpu/drm/radeon/r100.c b/drivers/gpu/drm/radeon/r100.c
index 8760d66..09e5acb 100644
--- a/drivers/gpu/drm/radeon/r100.c
+++ b/drivers/gpu/drm/radeon/r100.c
@@ -2846,6 +2846,8 @@ static int r100_cs_track_texture_check(struct
radeon_device *rdev,
                }
                size *= track->textures[u].cpp;

+               // r100_cs_track_texture_print(&track->textures[u]); // tmp
debug
+
                switch (track->textures[u].tex_coord_type) {
                case 0:
                        break;
@@ -2975,6 +2977,7 @@ int r100_cs_track_check(struct radeon_device *rdev,
struct r100_cs_track *track)
                          prim_walk);
                return -EINVAL;
        }
+       DRM_INFO("[drm] want to call r100_cs_track_texture_check! \n");
        return r100_cs_track_texture_check(rdev, track);
 }
---debug patch end

i get this

Jan 17 03:42:20 (none) kernel: Console: switching to colour frame buffer device
160x64
Jan 17 03:43:16 (none) kernel: [drm:r100_cs_track_texture_print] *ERROR* pitch 
                    256
Jan 17 03:43:16 (none) kernel: [drm:r100_cs_track_texture_print] *ERROR*
use_pitch                  0
Jan 17 03:43:16 (none) kernel: [drm:r100_cs_track_texture_print] *ERROR* width 
                    64
Jan 17 03:43:16 (none) kernel: [drm:r100_cs_track_texture_print] *ERROR*
width_11                   2048
Jan 17 03:43:16 (none) kernel: [drm:r100_cs_track_texture_print] *ERROR* height
                    64
Jan 17 03:43:16 (none) kernel: [drm:r100_cs_track_texture_print] *ERROR*
height_11                  2048
Jan 17 03:43:16 (none) kernel: [drm:r100_cs_track_texture_print] *ERROR* num
levels                 0
Jan 17 03:43:16 (none) kernel: [drm:r100_cs_track_texture_print] *ERROR* depth 
                    6
Jan 17 03:43:16 (none) kernel: [drm:r100_cs_track_texture_print] *ERROR* bpp   
                    4
Jan 17 03:43:16 (none) kernel: [drm:r100_cs_track_texture_print] *ERROR*
coordinate type            2
Jan 17 03:43:16 (none) kernel: [drm:r100_cs_track_texture_print] *ERROR* width
round to power of 2  1
Jan 17 03:43:16 (none) kernel: [drm:r100_cs_track_texture_print] *ERROR* height
round to power of 2 1
Jan 17 03:43:16 (none) kernel: [drm:r100_cs_track_texture_print] *ERROR*
compress format            0
Jan 17 03:43:16 (none) kernel: BUG: unable to handle kernel NULL pointer
dereference at 00000040
Jan 17 03:43:16 (none) kernel: IP: [<d11906d7>] r100_cs_track_check+0x4e2/0x58b
[radeon]
Jan 17 03:43:16 (none) kernel: *pde = 00000000 
Jan 17 03:43:16 (none) kernel: Oops: 0000 [#1] SMP 
Jan 17 03:43:16 (none) kernel: last sysfs file: /sys/class/vc/vcs7/dev
Jan 17 03:43:16 (none) kernel: Modules linked in: radeon ttm drm_kms_helper drm
i2c_algo_bit cfbcopyarea cfbimgblt cfbfillrect snd_seq_dummy snd_seq_oss
snd_seq_midi_event snd_seq snd_pcm_oss snd_mixer_oss nfsd lockd nfs_acl
auth_rpcgss sunrpc ipv6 mousedev usbhid usbmouse snd_via82xx snd_cs4236
snd_mpu401 tuner_simple tuner_types snd_ac97_codec snd_wavefront tda9887
snd_wss_lib ac97_bus tda8290 snd_pcm snd_opl3_lib uhci_hcd snd_timer
snd_page_alloc snd_hwdep saa7134 snd_mpu401_uart ehci_hcd snd_rawmidi
snd_seq_device ppdev ir_common rtc_cmos videobuf_dma_sg snd parport_pc rtc_core
rtc_lib shpchp videobuf_core 8139too mii ns558 parport usbcore pci_hotplug
floppy processor via_agp soundcore gameport ir_core thermal button tveeprom
evdev ufs xfs exportfs agpgart psmouse tuner v4l2_common videodev v4l1_compat
w83627hf hwmon_vid hwmon i2c_viapro i2c_dev i2c_core fbcon tileblit font
bitblit softcursor fb via82cxxx ide_gd_mod ide_core
Jan 17 03:43:16 (none) kernel: 
Jan 17 03:43:16 (none) kernel: Pid: 3804, comm: stex3d Not tainted
2.6.33-rc4-i486 #61 MS-6380E/MS-6380E
Jan 17 03:43:16 (none) kernel: EIP: 0060:[<d11906d7>] EFLAGS: 00210246 CPU: 0
Jan 17 03:43:16 (none) kernel: EIP is at r100_cs_track_check+0x4e2/0x58b
[radeon]
Jan 17 03:43:16 (none) kernel: EAX: 00000000 EBX: 00000000 ECX: cd59b0d4 EDX:
00000004
Jan 17 03:43:16 (none) kernel: ESI: 00004000 EDI: cd59b0d0 EBP: cac32da4 ESP:
cac32d5c
Jan 17 03:43:16 (none) kernel:  DS: 007b ES: 007b FS: 00d8 GS: 0033 SS: 0068
Jan 17 03:43:16 (none) kernel: Process stex3d (pid: 3804, ti=cac32000
task=cbb88000 task.ti=cac32000)
Jan 17 03:43:16 (none) kernel: Stack:
Jan 17 03:43:16 (none) kernel:  00000040 cbb66210 00002d00 cac32de0 cd59b000
cd591000 00000004 00000000
Jan 17 03:43:16 (none) kernel: <0> cac33400 00000000 cd59b000 00000066 00000004
00000024 00001000 00000000
Jan 17 03:43:16 (none) kernel: <0> cac32e24 cd59b000 cac32e0c d119239e 00000003
00000000 00001000 00000004
Jan 17 03:43:16 (none) kernel: Call Trace:
Jan 17 03:43:16 (none) kernel:  [<d119239e>] ? r100_cs_parse+0x41a/0x46a
[radeon]
Jan 17 03:43:16 (none) kernel:  [<d118de21>] ? radeon_cs_ioctl+0xe3/0x162
[radeon]
Jan 17 03:43:16 (none) kernel:  [<d106e698>] ? drm_ioctl+0x268/0x310 [drm]
Jan 17 03:43:16 (none) kernel:  [<d118dd3e>] ? radeon_cs_ioctl+0x0/0x162
[radeon]
Jan 17 03:43:16 (none) kernel:  [<c10b8ff5>] ?
mem_cgroup_update_file_mapped+0x12/0x5c
Jan 17 03:43:16 (none) kernel:  [<c1091833>] ? unlock_page+0x43/0x46
Jan 17 03:43:16 (none) kernel:  [<c10a3895>] ? __do_fault+0x33c/0x36c
Jan 17 03:43:16 (none) kernel:  [<d106e430>] ? drm_ioctl+0x0/0x310 [drm]
Jan 17 03:43:16 (none) kernel:  [<c10c5e48>] ? vfs_ioctl+0x27/0x8a
Jan 17 03:43:16 (none) kernel:  [<c10c63c4>] ? do_vfs_ioctl+0x470/0x4aa
Jan 17 03:43:16 (none) kernel:  [<c10a9888>] ? do_mmap_pgoff+0x22a/0x27a
Jan 17 03:43:16 (none) kernel:  [<c101c7ac>] ? do_page_fault+0x26c/0x2aa
Jan 17 03:43:16 (none) kernel:  [<c10c642f>] ? sys_ioctl+0x31/0x4a
Jan 17 03:43:16 (none) kernel:  [<c1240cb5>] ? syscall_call+0x7/0xb
Jan 17 03:43:16 (none) kernel: Code: 00 8b 45 c8 80 b8 d1 08 00 00 00 74 53 8b
55 e0 8d 4f 04 31 db 8b 92 34 01 00 00 89 55 d0 8b 01 8b 51 0c 0f af 51 08 0f
af 55 d0 <8b> 40 40 03 51 04 c1 e0 0c 39 c2 76 1d 50 52 68 60 f0 1a d1 68 
Jan 17 03:43:16 (none) kernel: EIP: [<d11906d7>]
r100_cs_track_check+0x4e2/0x58b [radeon] SS:ESP 0068:cac32d5c
Jan 17 03:43:16 (none) kernel: CR2: 0000000000000040
Jan 17 03:43:16 (none) kernel: ---[ end trace 92b6cc214ec9a14f ]---


-- 
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

------------------------------------------------------------------------------
Throughout its 18-year history, RSA Conference consistently attracts the
world's best and brightest in the field, creating opportunities for Conference
attendees to learn about information security's most important issues through
interactions with peers, luminaries and emerging and established companies.
http://p.sf.net/sfu/rsaconf-dev2dev
--
_______________________________________________
Dri-devel mailing list
Dri-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dri-devel

Reply via email to