[Bug 2754] ATI Technologies Inc Radeon Mobility M6 LY in DRM/DRI mode locks up if CPU frequency changes on battery power

2004-07-20 Thread bugme-daemon
http://bugme.osdl.org/show_bug.cgi?id=2754





--- Additional Comments From [EMAIL PROTECTED]  2004-07-20 00:48 ---
Yes, this is exactly the problem now.
OK.

--- You are receiving this mail because: ---
You are the assignee for the bug, or are watching the assignee.


---
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_id=4721alloc_id=10040op=click
--
___
Dri-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/dri-devel


Re: Kernel oops when loading i830 module

2004-07-20 Thread Dave Airlie

Okay my final attempt :-) is now checked in...

the last issue that register_chrdev returns a 0 when the fops is the same
caused your last problem.. hopefully this work..

if you can load/unload this module and see if it works... then I'll add
the couple of lines to hopefully avoid using the second device..

Dave.


On Thu, 15 Jul 2004, Bill Gou wrote:

 Dave Airlie wrote:
 
  I've checked in a fix for this load/unload it probably won't help your
  main situation yet but I'd appreciate if you could check it the module
  load and unload, if that works I'll try and fix your specific problem or
  at least rule out the DRM.
 

 oops again, seems this time at a different place.

 [drm] Debug messages ON
 [drm:drm_probe]
 [drm:i830_stub_register]
 [drm:i830_stub_register] calling inter_module_register
 [drm:i830_ctxbitmap_next] drm_ctxbitmap_next bit : 0
 [drm:i830_ctxbitmap_init] drm_ctxbitmap_init : 0
 [drm] Initialized i830 1.3.2 20021108 on minor 0: Intel Corp. 82852/855GM Integrated
 Graphics Device
 [drm:drm_probe]
 [drm:i830_stub_register]
 PCI: Enabling device 00:02.1 ( - 0002)
 [drm:i830_ctxbitmap_next] drm_ctxbitmap_next bit : 0
 [drm:i830_ctxbitmap_init] drm_ctxbitmap_init : 0
 [drm] Initialized i830 1.3.2 20021108 on minor 1: Intel Corp. 82852/855GM Integrated
 Graphics Device (#2)
 [drm:drm_exit]
 [drm:drm_cleanup]
 [drm:i830_takedown]
 [drm:i830_stub_unregister] 0
 inter_module_put: no entry for 'drm'kernel BUG at module.c:230!
 invalid operand: 
 CPU:0
 EIP:0010:[c01190ba]Tainted: PFZ
 EFLAGS: 00010282
 eax: 0027   ebx: ddeef5c0   ecx: dcfde000   edx: dcfdff64
 esi: c03069d7   edi: dec962f9   ebp: bfffe668   esp: d57b5f20
 ds: 0018   es: 0018   ss: 0018
 Process rmmod.old (pid: 2884, stackpage=d57b5000)
 Stack: c02e2b20 dec962f5  dec97ac0  dec9031f dec962f5 d7cbb580
d7cbb100 dec90558  dec9632a  dec97c60 dec8c910 
dec95fc4 c0328198 c155d800 c025d418 dec97c60 dec95fea fff0 dec8ca73
 Call Trace:[dec962f5] [dec97ac0] [dec9031f] [dec962f5] [dec90558]
   [dec9632a] [dec97c60] [dec8c910] [dec95fc4] [c025d418] [dec97c60]
   [dec95fea] [dec8ca73] [dec97ac0] [dec95fea] [c011a66a] [c01199e7]
   [c01079bf]

 Code: 0f 0b e6 00 46 84 2e c0 83 c4 08 5b 5e 5f c3 8b 41 0c 85 c0

 ---

 Decode the oops:

 ksymoops 2.4.9 on i686 2.4.24-1.  Options used
  -V (default)
  -k /proc/ksyms (default)
  -l /proc/modules (default)
  -o /lib/modules/2.4.24-1/ (default)
  -m /usr/src/linux-2.4.24-1/System.map (specified)

 Warning (compare_ksyms_lsmod): module i830 is in lsmod but not in ksyms, probably no
 symbols exported
 [drm] Debug messages ON
 inter_module_put: no entry for 'drm'kernel BUG at module.c:230!
 invalid operand: 
 CPU:0
 EIP:0010:[c01190ba]Tainted: PFZ
 Using defaults from ksymoops -t elf32-i386 -a i386
 EFLAGS: 00010282
 eax: 0027   ebx: ddeef5c0   ecx: dcfde000   edx: dcfdff64
 esi: c03069d7   edi: dec962f9   ebp: bfffe668   esp: d57b5f20
 ds: 0018   es: 0018   ss: 0018
 Process rmmod.old (pid: 2884, stackpage=d57b5000)
 Stack: c02e2b20 dec962f5  dec97ac0  dec9031f dec962f5 d7cbb580
d7cbb100 dec90558  dec9632a  dec97c60 dec8c910 
dec95fc4 c0328198 c155d800 c025d418 dec97c60 dec95fea fff0 dec8ca73
 Call Trace:[dec962f5] [dec97ac0] [dec9031f] [dec962f5] [dec90558]
   [dec9632a] [dec97c60] [dec8c910] [dec95fc4] [c025d418] [dec97c60]
   [dec95fea] [dec8ca73] [dec97ac0] [dec95fea] [c011a66a] [c01199e7]
   [c01079bf]
 Code: 0f 0b e6 00 46 84 2e c0 83 c4 08 5b 5e 5f c3 8b 41 0c 85 c0


 EIP; c01190ba inter_module_put+5a/80   =

 ebx; ddeef5c0 _end+1db2d2a8/1e81fd48
 ecx; dcfde000 _end+1cc1bce8/1e81fd48
 edx; dcfdff64 _end+1cc1dc4c/1e81fd48
 esi; c03069d7 bl_order+28fcb/3abb4
 edi; dec962f9 [vmnet].data.end+150ea/449e51
 esp; d57b5f20 _end+153f3c08/1e81fd48

 Trace; dec962f5 [vmnet].data.end+150e6/449e51
 Trace; dec97ac0 [vmnet].data.end+168b1/449e51
 Trace; dec9031f [vmnet].data.end+f110/449e51
 Trace; dec962f5 [vmnet].data.end+150e6/449e51
 Trace; dec90558 [vmnet].data.end+f349/449e51
 Trace; dec9632a [vmnet].data.end+1511b/449e51
 Trace; dec97c60 [vmnet].data.end+16a51/449e51
 Trace; dec8c910 [vmnet].data.end+b701/449e51
 Trace; dec95fc4 [vmnet].data.end+14db5/449e51
 Trace; c025d418 pci_unregister_driver+58/60
 Trace; dec97c60 [vmnet].data.end+16a51/449e51
 Trace; dec95fea [vmnet].data.end+14ddb/449e51
 Trace; dec8ca73 [vmnet].data.end+b864/449e51
 Trace; dec97ac0 [vmnet].data.end+168b1/449e51
 Trace; dec95fea [vmnet].data.end+14ddb/449e51
 Trace; c011a66a free_module+ba/d0
 Trace; c01199e7 sys_delete_module+a7/1d0
 Trace; c01079bf system_call+33/38

 Code;  c01190ba inter_module_put+5a/80
  _EIP:
 Code;  c01190ba inter_module_put+5a/80   =
0:   0f 0b ud2a  =
 Code;  c01190bc inter_module_put+5c/80
2:   e6 00 out%al,$0x0
 Code;  

Re: DRI on Savage: works great, minor issues, couple questions

2004-07-20 Thread Felix Kühling
On Mon, 19 Jul 2004 15:08:11 -0400
Alex Deucher [EMAIL PROTECTED] wrote:

 On 19 Jul 2004 19:34:19 +0200, Juliusz Chroboczek [EMAIL PROTECTED] wrote:
[snip]
  
  There are just two minor issues.  I've managed to get it to lockup
  twice (X server frozen with 100% cpu, the system can be rebooted
  remotely), but haven't been able to reproduce the problem since.
  
  The other issue is more annoying: there is visual noise whenever there
  is significant OpenGL activity in a full-screen window (rendered at
  640x400, scaled to 1024x768); this happens both with amoeba and
  MPlayer.  There is no such problem with 640x400 windows.
 
 hmmm...what exactly does it look like?  Felix may know more about that.

I havn't seen such noise. But I have a different integrated chipset:
ProSavageDDR. TwisterK has a lower memory bandwidth. It could be the 3D
engine and the hardware scaler fighting for memory bandwidth. That's
pure speculation though.

 
  
  Oh, a few questions if any of you have got time.  Without any
  customisation, the server reports that it found an AGP 4x chipset, but
  runs in AGP 1x.  Setting the server to AGP 4x in the XF86Config
  appears to work.  Could anyone explain what's going on?  (Oh, and what
  is it supposed to speed up?  Texture upload?)
 
 The server defaults to 1x like (all?) other 3d drivers as some older
 chipsets had problems with higher agp speeds.  Theoretically it should
 speed up AGP transfers (just textures at the moment), but in the real
 world rarely seems to affect performance.

AFAIK it doesn't make any difference on integrated graphics chips. They
access both AGP memory and (shared) system memory with the full
bandwidth.

 
[snip]


| Felix Kühling [EMAIL PROTECTED] http://fxk.de.vu |
| PGP Fingerprint: 6A3C 9566 5B30 DDED 73C3  B152 151C 5CC1 D888 E595 |


---
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_idG21alloc_id040op=click
--
___
Dri-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/dri-devel


__user annotations from kernel...

2004-07-20 Thread Dave Airlie

I know we spoke of this before and a big bunch of these just appeared in
the mainline tree and I want to merge them back into CVS...

For now my thinking is BSD doesn't use __user so we just go ahead and use
it and if later it stars being used for something else on another platform
we can search/replace it at that time ..

Dave.

-- 
David Airlie, Software Engineer
http://www.skynet.ie/~airlied / airlied at skynet.ie
pam_smb / Linux DECstation / Linux VAX / ILUG person



---
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_id=4721alloc_id=10040op=click
--
___
Dri-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/dri-devel


dri ioctl32 problem on amd64/x86_64 on 2.6.8-rc2 and earlier

2004-07-20 Thread phil . stewart
I have a working direct rendering mechanism in my 64-bit userland. However,
32-bit software running in a 32-bit chroot environment cannot operate with the
64-bit drm. I get the following error when executing the 32-bit glxinfo inside
the chroot:

# /usr/X11R6/bin/glxinfo
name of display: :0.0
libGL error: failed to open DRM: Operation not permitted
libGL error: reverting to (slow) indirect rendering
display: :0  screen: 0
direct rendering: No

This generates the following entry in kernel messages:

Jul 20 21:18:46 gordon ioctl32(glxinfo:12562): Unknown cmd fd(4)
cmd(c0086401){00} arg(b0f0) on /dev/dri/card0

Similarly for the 32-bit glxgears:

Jul 20 21:21:21 gordon ioctl32(glxgears:12567): Unknown cmd fd(4)
cmd(c0086401){00} arg(bfffeff0) on /dev/dri/card0

Kernels versions tested (all consistently produce the same error):
2.6.8-rc2
2.6.7-mm6
2.6.7-gentoo-r11

System hardware:
1x AMD Opteron 242
AMD 8151/8111 chipset
Radeon RV100 graphics card

Output of lspci -v regarding graphics card:
:02:00.0 VGA compatible controller: ATI Technologies Inc Radeon RV100 QY
[Radeon 7000/VE] (prog-if 00 [VGA])
Subsystem: PC Partner Limited RV100 QY [Sapphire Radeon VE 7000]
Flags: bus master, stepping, 66Mhz, medium devsel, latency 64, IRQ 16
Memory at e000 (32-bit, prefetchable) [size=ff5c]
I/O ports at b800 [size=256]
Memory at ff5f (32-bit, non-prefetchable) [size=64K]
Expansion ROM at 0002 [disabled]
Capabilities: [58] AGP version 2.0
Capabilities: [50] Power Management version 2

Output of scripts/ver_linux:
Linux gordon 2.6.8-rc2 #1 Tue Jul 20 20:37:41 BST 2004 x86_64 5  GNU/Linux
  
Gnu C  3.3.3
Gnu make   3.80
binutils   2.15.90.0.1.1
util-linux 2.12
mount  2.12
module-init-tools  3.0
e2fsprogs  1.35
Linux C Library2.3.4
Dynamic linker (ldd)   2.3.4
Procps 3.2.1
Net-tools  1.60
Kbd1.12
Sh-utils   5.2.1
Modules Loaded radeon eth1394 snd_seq_midi snd_seq_midi_event snd_seq
ohci1394 ieee1394 snd_pcm_oss snd_mixer_oss snd_cs46xx snd_rawmidi
snd_seq_device snd_ac97_codec snd_pcm snd_timer snd snd_page_alloc budget
budget_core dvb_core saa7146 ttpci_eeprom e1000

Please keep me CC'd in if more information is required.

--
Phil Stewart




---
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_id=4721alloc_id=10040op=click
--
___
Dri-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/dri-devel


[PATCH] depends on PCI: ATI Rage 128 and Radeon DRM

2004-07-20 Thread Geert Uytterhoeven
ATI Rage 128 and Radeon DRM unconditionally depend on PCI

Signed-off-by: Geert Uytterhoeven [EMAIL PROTECTED]

--- linux-2.6.8-rc2/drivers/char/drm/Kconfig2004-07-15 23:14:12.0 +0200
+++ linux-m68k-2.6.8-rc2/drivers/char/drm/Kconfig   2004-07-19 18:15:58.0 
+0200
@@ -31,7 +31,7 @@
 
 config DRM_R128
tristate ATI Rage 128
-   depends on DRM
+   depends on DRM  PCI
help
  Choose this option if you have an ATI Rage 128 graphics card.  If M
  is selected, the module will be called r128.  AGP support for
@@ -39,7 +39,7 @@
 
 config DRM_RADEON
tristate ATI Radeon
-   depends on DRM
+   depends on DRM  PCI
help
  Choose this option if you have an ATI Radeon graphics card.  There
  are both PCI and AGP versions.  You don't need to choose this to

Gr{oetje,eeting}s,

Geert

--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- [EMAIL PROTECTED]

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say programmer or something like that.
-- Linus Torvalds


---
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_id=4721alloc_id=10040op=click
--
___
Dri-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/dri-devel


Re: Kernel oops when loading i830 module

2004-07-20 Thread Bill Gou
Dave Airlie wrote:
 Okay my final attempt :-) is now checked in...
 
 the last issue that register_chrdev returns a 0 when the fops is the same
 caused your last problem.. hopefully this work..
 
 if you can load/unload this module and see if it works... then I'll add
 the couple of lines to hopefully avoid using the second device..
 

The module couldn't be unloaded. I tried to unload it right after loading, rmmod 
complains
 i830: Device or resource busy. lsmod shows:

Module  Size  Used byTainted: PF
i830   66620   1

Bill


---
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_id=4721alloc_id=10040op=click
--
___
Dri-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/dri-devel