[Bug 22056] New: [regression UMS]compiz leads rendering slow due to vblank

2009-06-03 Thread bugzilla-daemon
http://bugs.freedesktop.org/show_bug.cgi?id=22056

   Summary: [regression UMS]compiz leads rendering slow due to
vblank
   Product: Mesa
   Version: unspecified
  Platform: Other
OS/Version: Linux (All)
Status: NEW
  Severity: normal
  Priority: medium
 Component: Drivers/DRI/i915
AssignedTo: dri-devel@lists.sourceforge.net
ReportedBy: haien@intel.com


Created an attachment (id=26381)
 --> (http://bugs.freedesktop.org/attachment.cgi?id=26381)
xorg.0.log

System Environment:
--
Host:   x-aspire1
Arch:   i386
Platform:   945GME  
Libdrm: (master)dbffeadcfca7cb4e3905ec0b8573d10e0418295e
Mesa:   (mesa_7_5_branch)1aef032d438aaa40ec28bf279ad5c089370773f0
Xserver:(server-1.6-branch)5cd5a01259ba349f1868ca4af04207cf120d69e4
Xf86_video_intel:  
(master)704771f1c595df481d244a6f074e9f5620d4a720
Kernel:   (for-linus)07f4f3e8a24138ca2f3650723d670df25687cd05

Bug detailed description:
--
startx with UMS,all renderings under compiz become very slow.and I think it is
caused by vlank, and only happens with LVDS(pipe 0?). it works well with VGA.
same issue happens on gm45.dmesg shows error like below:
[drm:i915_get_vblank_counter] *ERROR* trying to get vblank count for disabled
pipe 0

Reproduce Steps:
---
1.xinit&
2.gnome-session&
3. enable compiz(direct)
4.run any application


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

--
OpenSolaris 2009.06 is a cutting edge operating system for enterprises 
looking to deploy the next generation of Solaris that includes the latest 
innovations from Sun and the OpenSource community. Download a copy and 
enjoy capabilities such as Networking, Storage and Virtualization. 
Go to: http://p.sf.net/sfu/opensolaris-get
--
___
Dri-devel mailing list
Dri-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dri-devel


[Bug 22056] [regression UMS]compiz leads rendering slow due to vblank

2009-06-03 Thread bugzilla-daemon
http://bugs.freedesktop.org/show_bug.cgi?id=22056





--- Comment #1 from liuhaien   2009-06-03 01:17:39 PST ---
Created an attachment (id=26382)
 --> (http://bugs.freedesktop.org/attachment.cgi?id=26382)
xorg conf file


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

--
OpenSolaris 2009.06 is a cutting edge operating system for enterprises 
looking to deploy the next generation of Solaris that includes the latest 
innovations from Sun and the OpenSource community. Download a copy and 
enjoy capabilities such as Networking, Storage and Virtualization. 
Go to: http://p.sf.net/sfu/opensolaris-get
--
___
Dri-devel mailing list
Dri-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dri-devel


[Bug 22056] [UMS]compiz leads rendering slow due to vblank

2009-06-03 Thread bugzilla-daemon
http://bugs.freedesktop.org/show_bug.cgi?id=22056


liuhaien  changed:

   What|Removed |Added

Summary|[regression UMS]compiz leads|[UMS]compiz leads rendering
   |rendering slow due to vblank|slow due to vblank




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

--
OpenSolaris 2009.06 is a cutting edge operating system for enterprises 
looking to deploy the next generation of Solaris that includes the latest 
innovations from Sun and the OpenSource community. Download a copy and 
enjoy capabilities such as Networking, Storage and Virtualization. 
Go to: http://p.sf.net/sfu/opensolaris-get
--
___
Dri-devel mailing list
Dri-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dri-devel


[Bug 21849] many lockups since 2.6.30-rc1

2009-06-03 Thread bugzilla-daemon
http://bugs.freedesktop.org/show_bug.cgi?id=21849





--- Comment #5 from Fabio   2009-06-03 02:58:20 PST ---
(In reply to comment #4)
> Created an attachment (id=26351)
 --> (http://bugs.freedesktop.org/attachment.cgi?id=26351) [details]
> attempt to change ring alignment rules
> 
> Can you try this patch on top of the broken kernel?
> 
> I'm just guessing at what it might be.

The patch fixed the issue indeed.


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

--
OpenSolaris 2009.06 is a cutting edge operating system for enterprises 
looking to deploy the next generation of Solaris that includes the latest 
innovations from Sun and the OpenSource community. Download a copy and 
enjoy capabilities such as Networking, Storage and Virtualization. 
Go to: http://p.sf.net/sfu/opensolaris-get
--
___
Dri-devel mailing list
Dri-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dri-devel


Re: [Linux-fbdev-devel] [Bugme-new] [Bug 13285] New: INTELFB: Colors display incorrectly

2009-06-03 Thread Michal Suchanek
2009/6/2 Andrew Morton :
> On Sat, 30 May 2009 13:58:33 +0200
> Krzysztof Helt  wrote:
>
>> The intelfb driver sets color map depending on currently active pipe. 
>> However, if an LVDS
>> display is attached (like in laptop) the active pipe variable is never set. 
>> The default value is
>> PIPE_A and can be wrong.
>> Set up the pipe variable during driver initialization after hardware state 
>> was read.
>>
>> Also, the detection of the active display (and hence the pipe) is wrong. The 
>> pipes are assigned
>> to so called planes. Both pipes are always enabled on my laptop but only one 
>> plane is enabled
>> (the plane A for the CRT or the plane B for the LVDS). Change active pipe 
>> detection code
>> to take into account a status of the plane assigned to each pipe.
>>
>> The problem is visible in the 8 bpp mode if colors above 15 are used. The 
>> first 16 color
>> entries are displayed correctly.
>>
>> The graphics chip description is here (G45 vol. 3):
>> http://intellinuxgraphics.org/documentation.html
>>
>> Signed-off-by: Krzysztof Helt 
>>
>> ---
>> The second version of the fix to this problem. Now, it is much more 
>> sophisticated
>> based on the knowledge gained from documentation available at 
>> http://intellinuxgraphics.org/.
>>
>> It does not change a default behaviour (assumed pipe A) for all cases except 
>> the case that only
>> the plane assigned to the pipe B is active. It is enough to fix the issue 
>> for me.
>
> I queued this.
>
>> Please test it.
>
> But it would great be Dean and/or Michal were to be able to test it, please.
>

Thanks for the patch.

Unfortunately I did not get to testing the patch yet.

According to the description it is supposed to resolve some confusion
over what pipe is enabled or not.

X server reports the pipes connected as follows:
(II) intel(0):   Pipe A is on
(II) intel(0):   Display plane A is now enabled and connected to pipe A.
(II) intel(0):   Pipe B is off
(II) intel(0):   Display plane B is now disabled and connected to pipe A.
(II) intel(0):   Output VGA is connected to pipe none
(II) intel(0):   Output TMDS-1 is connected to pipe A
(II) intel(0):   Output TV is connected to pipe none

However, I also get this warning before the outputs are listed:
(WW) intel(0): Couldn't detect panel mode.  Disabling panel

Is this a configuration that would likely be affected by the issue
fixed here or do I have a different problem?

I am currently not using intelfb because last time I tried it produced
even worse results than efifb (which does suffer from the wrong colors
as well).

Thanks

Michal

--
OpenSolaris 2009.06 is a cutting edge operating system for enterprises 
looking to deploy the next generation of Solaris that includes the latest 
innovations from Sun and the OpenSource community. Download a copy and 
enjoy capabilities such as Networking, Storage and Virtualization. 
Go to: http://p.sf.net/sfu/opensolaris-get
--
___
Dri-devel mailing list
Dri-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dri-devel


[Bug 21942] Mobility x1400 crash and hang (during init?)

2009-06-03 Thread bugzilla-daemon
http://bugs.freedesktop.org/show_bug.cgi?id=21942


Jerome Glisse  changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution||WONTFIX




--- Comment #5 from Jerome Glisse   2009-06-03 09:02:12 
PST ---
So won't fix it, maybe when KMS for radeon enter mainline it will help with
your issue.


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

--
OpenSolaris 2009.06 is a cutting edge operating system for enterprises 
looking to deploy the next generation of Solaris that includes the latest 
innovations from Sun and the OpenSource community. Download a copy and 
enjoy capabilities such as Networking, Storage and Virtualization. 
Go to: http://p.sf.net/sfu/opensolaris-get
--
___
Dri-devel mailing list
Dri-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dri-devel


[Bug 22056] [UMS]compiz leads rendering slow due to vblank

2009-06-03 Thread bugzilla-daemon
http://bugs.freedesktop.org/show_bug.cgi?id=22056


Gordon Jin  changed:

   What|Removed |Added

 AssignedTo|dri-|jbar...@virtuousgeek.org
   |de...@lists.sourceforge.net |
   Severity|normal  |major




--- Comment #2 from Gordon Jin   2009-06-03 13:00:06 PST 
---
you indicated it's fine with KMS, right?


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

--
OpenSolaris 2009.06 is a cutting edge operating system for enterprises 
looking to deploy the next generation of Solaris that includes the latest 
innovations from Sun and the OpenSource community. Download a copy and 
enjoy capabilities such as Networking, Storage and Virtualization. 
Go to: http://p.sf.net/sfu/opensolaris-get
--
___
Dri-devel mailing list
Dri-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dri-devel


[Bug 11877] [i965 texture_srgb] texture_srgb glGetTexImage failed for internalFormat GL_SRGB_EXT

2009-06-03 Thread bugzilla-daemon
http://bugs.freedesktop.org/show_bug.cgi?id=11877


Shuang He  changed:

   What|Removed |Added

 Status|RESOLVED|VERIFIED




--- Comment #21 from Shuang He   2009-06-03 18:45:27 PST 
---
verified against:
Mesa:   (mesa_7_5_branch)fc7f92478286041a018ac4e72d2ccedeea7c0eca


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

--
OpenSolaris 2009.06 is a cutting edge operating system for enterprises 
looking to deploy the next generation of Solaris that includes the latest 
innovations from Sun and the OpenSource community. Download a copy and 
enjoy capabilities such as Networking, Storage and Virtualization. 
Go to: http://p.sf.net/sfu/opensolaris-get
--
___
Dri-devel mailing list
Dri-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dri-devel


[Bug 11877] [i965 texture_srgb] texture_srgb glGetTexImage failed for internalFormat GL_SRGB_EXT

2009-06-03 Thread bugzilla-daemon
http://bugs.freedesktop.org/show_bug.cgi?id=11877


Shuang He  changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution||FIXED




--- Comment #20 from Shuang He   2009-06-03 18:44:48 PST 
---
This issue has gone


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

--
OpenSolaris 2009.06 is a cutting edge operating system for enterprises 
looking to deploy the next generation of Solaris that includes the latest 
innovations from Sun and the OpenSource community. Download a copy and 
enjoy capabilities such as Networking, Storage and Virtualization. 
Go to: http://p.sf.net/sfu/opensolaris-get
--
___
Dri-devel mailing list
Dri-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dri-devel


[Bug 12092] [OGL] Get incorrect texture image if texture's internalformat is COMPRESSED_RGB_FXT1_3DFX

2009-06-03 Thread bugzilla-daemon
http://bugs.freedesktop.org/show_bug.cgi?id=12092





--- Comment #10 from Shuang He   2009-06-03 18:52:14 PST 
---
I don't quite know this issue, just post the latest result for the attached
case:
imgWidth is 2, imgHeight is 2
0, 0   origin img: 0.096774 1.00 0.193548
0, 1   origin img: 0.838710 0.612903 0.290323
1, 0   origin img: 0.806452 0.129032 0.387097
1, 1   origin img: 0.806452 0.129032 0.387097
image format is : GL_COMPRESSED_RGB_FXT1_3DFX
(0, 0) get img: 0.098039 1.00 0.192157
 origin img: 0.096774 1.00 0.193548
(0, 1) get img: 0.572549 0.415686 0.321569
 origin img: 0.838710 0.612903 0.290323
(1, 0) get img: 0.807843 0.125490 0.388235
 origin img: 0.806452 0.129032 0.387097
(1, 1) get img: 0.807843 0.125490 0.388235
 origin img: 0.806452 0.129032 0.387097

This result is against:
mesa: (master)0e8a5a84742adf6e99236f246c77325fad174204


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

--
OpenSolaris 2009.06 is a cutting edge operating system for enterprises 
looking to deploy the next generation of Solaris that includes the latest 
innovations from Sun and the OpenSource community. Download a copy and 
enjoy capabilities such as Networking, Storage and Virtualization. 
Go to: http://p.sf.net/sfu/opensolaris-get
--
___
Dri-devel mailing list
Dri-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dri-devel


[git pull] drm fixes

2009-06-03 Thread Dave Airlie

Hi Linus,

Please pull the 'drm-fixes' branch from
ssh://master.kernel.org/pub/scm/linux/kernel/git/airlied/drm-2.6.git drm-fixes

Have been out on holidays, so sorry these are a bit late, the radeon one 
fixes a regression reported since -rc1 so is most important.

Dave.

 drivers/gpu/drm/drm_bufs.c  |3 +-
 drivers/gpu/drm/drm_crtc.c  |7 ++-
 drivers/gpu/drm/drm_crtc_helper.c   |  109 ++-
 drivers/gpu/drm/drm_edid.c  |5 ++
 drivers/gpu/drm/drm_irq.c   |8 ++-
 drivers/gpu/drm/drm_sysfs.c |7 +-
 drivers/gpu/drm/i915/i915_dma.c |   12 +---
 drivers/gpu/drm/i915/intel_crt.c|6 +--
 drivers/gpu/drm/i915/intel_dvo.c|1 +
 drivers/gpu/drm/i915/intel_hdmi.c   |1 +
 drivers/gpu/drm/i915/intel_lvds.c   |8 +--
 drivers/gpu/drm/i915/intel_sdvo.c   |1 +
 drivers/gpu/drm/i915/intel_tv.c |1 +
 drivers/gpu/drm/radeon/radeon_cp.c  |4 +-
 drivers/gpu/drm/radeon/radeon_drv.h |5 +-
 include/drm/drm_crtc.h  |3 +
 include/drm/drm_crtc_helper.h   |2 +
 17 files changed, 151 insertions(+), 32 deletions(-)

commit fc43896630a421321a19d7970bac27ac94e9d162
Author: Adam Jackson 
Date:   Thu Jun 4 10:20:34 2009 +1000

drm: ignore EDID with really tiny modes.

Some EDIDs lie and report tiny modes that aren't possible. Ignore
these modes.

Signed-off-by: Adam Jackson 
Signed-off-by: Dave Airlie 

commit 6c51d1cfa0a370b48a157163340190cf5fd2346b
Author: Ben Skeggs 
Date:   Tue May 26 10:35:52 2009 +1000

drm: don't associate _DRM_DRIVER maps with a master

A driver will use the _DRM_DRIVER map flag to indicate that it wants
to be responsible for removing the map itself, bypassing the DRM's
automagic cleanup code.

Since the multi-master changes this has been broken, resulting in some
drivers having their registers unmapped before it's finished with them.

Signed-off-by: Ben Skeggs 
Signed-off-by: Dave Airlie 

commit 93c05f222413e3a16e8785f252db4726693abd71
Author: Jaswinder Singh Rajput 
Date:   Thu Jun 4 09:41:19 2009 +1000

drm/i915: intel_lvds.c fix section mismatch

intel_no_lvds[] does not require __initdata as it is used only by

void intel_lvds_init(struct drm_device *dev).

Signed-off-by: Jaswinder Singh Rajput 
Signed-off-by: Dave Airlie 

commit c9fb15f60eb517c958dec64dca9357bf62bf2201
Author: Keith Packard 
Date:   Sat May 30 20:42:28 2009 -0700

drm: Hook up DPMS property handling in drm_crtc.c. Add 
drm_helper_connector_dpms.

Making the drm_crtc.c code recognize the DPMS property and invoke the
connector->dpms function doesn't remove any capability from the driver while
reducing code duplication.

That just highlighted the problem with the existing DPMS functions which
could turn off the connector, but failed to turn off any relevant crtcs. The
new drm_helper_connector_dpms function manages all of that, using the
drm_helper-specific crtc and encoder dpms functions, automatically computing
the appropriate DPMS level for each object in the system.

This fixes the current troubles in the i915 driver which left PLLs, pipes
and planes running while in DPMS_OFF mode or even while they were unused.

Signed-off-by: Keith Packard 
Signed-off-by: Dave Airlie 

commit e36ebaf49274ffa78f17b62bcae4c92c33b5b391
Author: Keith Packard 
Date:   Sat May 30 20:42:26 2009 -0700

drm: set permissions on edid file to 0444

Without initializing the sysfs attributes for the edid file,
it was created with mode 0, making it difficult for applications to use.

Signed-off-by: Keith Packard 
Signed-off-by: Dave Airlie 

commit 75185c929ed241f5cf1aa28999b8012181e2c7cb
Author: Keith Packard 
Date:   Sat May 30 20:42:25 2009 -0700

drm: add newlines to text sysfs files

The contents of various simple text files in sysfs should end with
a newline to make them easier to read from the console.

Signed-off-by: Keith Packard 
Signed-off-by: Dave Airlie 

commit 9863871bd1bbf218b921af5e0bc48ca4f6ea9f12
Author: Dave Airlie 
Date:   Thu Jun 4 07:08:13 2009 +1000

drm/radeon: fix ring free alignment calculations

fd.o bz#21849

We were aligning to +16 dwords, instead of to the next 16dword
boundary in the ring. Fix the calculation to go to the next 16dword
boundary when space checking.

Signed-off-by: Dave Airlie 

commit b8da7de56ca0ad34726478a50d138a29a9ff76cb
Author: Dave Airlie 
Date:   Tue Jun 2 16:50:35 2009 +1000

drm: fix irq naming for kms drivers.

allocating devname in the i915 driver was a hack originally and I
forgot to figure out how to do this properly back then.

So this is the cleaner version that just picks devname or driver name
in the irq code.

It removes the devname allocs from the i915 

[Bug 22078] New: [radeon xpress 200m] dri causes kernel panic on hibernate/poweroff

2009-06-03 Thread bugzilla-daemon
http://bugs.freedesktop.org/show_bug.cgi?id=22078

   Summary: [radeon xpress 200m] dri causes kernel panic on
hibernate/poweroff
   Product: DRI
   Version: unspecified
  Platform: x86 (IA32)
OS/Version: All
Status: NEW
  Severity: critical
  Priority: medium
 Component: DRM/Radeon
AssignedTo: dri-devel@lists.sourceforge.net
ReportedBy: the.d...@gmail.com


I have radeon xpress 200M, and drm (linux-drm-20090320-kernelsource.tar.bz2)
causes kernel pani in the following cases:
1. On hibernating (tux-on-ice) [frequently]
2. On power off [always]

Here is my messages for the 1st case:
Jun  3 07:21:16 logos BUG: unable to handle kernel NULL pointer dereference at
012c
Jun  3 07:21:16 logos IP: [] vsnprintf+0xb0/0x8b4
Jun  3 07:21:16 logos *pde = 364c0067 *pte =  
Jun  3 07:21:16 logos Oops: 0002 [#1] 
Jun  3 07:21:16 logos last sysfs file:
/sys/devices/pci:00/:00:13.2/usb3/3-0:1.0/bInterfaceP
rotocol
Jun  3 07:21:16 logos Modules linked in: uhci_hcd ehci_hcd ohci_hcd usb_storage
radeon drm hidp bnep
 rfcomm l2cap snd_pcm_oss snd_mixer_oss bluetooth snd_seq_oss
snd_seq_midi_event snd_seq snd_seq_dev
ice fuse snd_atiixp snd_atiixp_modem snd_ac97_codec ac97_bus snd_pcm snd_timer
tg3 snd soundcore lib
phy usbcore psmouse video snd_page_alloc [last unloaded: ohci_hcd]
Jun  3 07:21:16 logos 
Jun  3 07:21:16 logos Pid: 4618, comm: X Not tainted (2.6.29-tuxonice-r2 #1)
18436NG
Jun  3 07:21:16 logos EIP: 0060:[] EFLAGS: 00213287 CPU: 0
Jun  3 07:21:16 logos EIP is at vsnprintf+0xb0/0x8b4
Jun  3 07:21:16 logos EAX: 118b EBX:  ECX: 012c EDX: 112c
Jun  3 07:21:16 logos ESI: f642fce4 EDI: f642fcb4 EBP: f642fcc4 ESP: f642fba4
Jun  3 07:21:16 logos DS: 007b ES: 007b FS:  GS: 0033 SS: 0068
Jun  3 07:21:16 logos Process X (pid: 4618, ti=f642e000 task=f706c660
task.ti=f642e000)
Jun  3 07:21:16 logos Stack:
Jun  3 07:21:16 logos f642fcb4  f8690c89 1000 012c f642fcec
012c 112c
Jun  3 07:21:16 logos 0018 f1a97018 004d08fa 0001 0020dd5d f733bc00
 000c
Jun  3 07:21:16 logos 000c 000c 0010 0010 0180 0560
f7142518 f7142500
Jun  3 07:21:16 logos Call Trace:
Jun  3 07:21:16 logos [] ? radeon_set_pcigart+0x271/0x6e6 [radeon]
Jun  3 07:21:16 logos [] ? inode2sd+0x142/0x155
Jun  3 07:21:16 logos [] ? pathrelse+0x1b/0x2f
Jun  3 07:21:16 logos [] ? reiserfs_update_sd_size+0x278/0x280
Jun  3 07:21:16 logos [] ? inode2sd+0x142/0x155
Jun  3 07:21:16 logos [] ? mutex_lock+0xe/0x1d
Jun  3 07:21:16 logos [] ? pathrelse+0x1b/0x2f
Jun  3 07:21:16 logos [] ? do_journal_end+0x2b5/0xb6d
Jun  3 07:21:16 logos [] ? reiserfs_update_sd_size+0x278/0x280
Jun  3 07:21:16 logos [] ? snprintf+0x15/0x17
Jun  3 07:21:16 logos [] ? dri_library_name+0x3f/0x43 [radeon]
Jun  3 07:21:16 logos [] ? radeon_set_pcigart+0x271/0x6e6 [radeon]
Jun  3 07:21:16 logos [] ? radeon_cp_resume+0x58/0xa5 [radeon]
Jun  3 07:21:16 logos [] ? radeon_cp_resume+0x0/0xa5 [radeon]
Jun  3 07:21:16 logos [] ? drm_unlocked_ioctl+0x1a3/0x21a [drm]
Jun  3 07:21:16 logos [] ? journal_end+0x99/0xa2
Jun  3 07:21:16 logos [] ? reiserfs_write_end+0x1b1/0x1df
Jun  3 07:21:16 logos [] ? generic_file_buffered_write+0x113/0x233
Jun  3 07:21:16 logos [] ? generic_file_buffered_write+0x168/0x233
Jun  3 07:21:16 logos [] ?
__generic_file_aio_write_nolock+0x3e3/0x41a
Jun  3 07:21:16 logos [] ? handle_mm_fault+0x1dc/0x40e
Jun  3 07:21:16 logos [] ? generic_file_aio_write+0x62/0xb4
Jun  3 07:21:16 logos [] ? do_sync_write+0xaa/0xe8
Jun  3 07:21:16 logos [] ? autoremove_wake_function+0x0/0x33
Jun  3 07:21:16 logos [] ? drm_ioctl+0x0/0x11 [drm]
Jun  3 07:21:16 logos [] ? drm_ioctl+0xf/0x11 [drm]
Jun  3 07:21:16 logos [] ? vfs_ioctl+0x3e/0x51
Jun  3 07:21:16 logos [] ? do_vfs_ioctl+0x420/0x461
Jun  3 07:21:16 logos [] ? vfs_write+0xf0/0x104
Jun  3 07:21:16 logos [] ? sys_ioctl+0x2c/0x45
Jun  3 07:21:16 logos [] ? sysenter_do_call+0x12/0x25
Jun  3 07:21:16 logos [] ? wext_handle_ioctl+0x13b/0x178
Jun  3 07:21:16 logos Code: 89 bd e0 fe ff ff 89 8d f8 fe ff ff e9 ce 07 00 00
31 db 3c 25 74 21 8b 95 fc fe ff ff 39 95 f8 fe ff ff 73 08 8b 8d f8 fe ff ff
<88> 01 ff 85 f8 fe ff ff e9 a1 07 00 00 ff 85 e8 fe ff ff 8b bd 
Jun  3 07:21:16 logos EIP: [] vsnprintf+0xb0/0x8b4 SS:ESP
0068:f642fba4
Jun  3 07:21:16 logos ---[ end trace 2ead4e5f87a1bffd ]---
Jun  3 07:21:16 logos [drm:drm_release] *ERROR* Device busy: 1 0

Here is another stacktrace for 1st case:
May 19 14:09:34 logos BUG: unable to handle kernel paging request at fffe
May 19 14:09:34 logos IP: [] radeon_set_pcigart+0x298/0x6e6 [radeon]
May 19 14:09:34 logos *pde = 00459067 *pte =  
May 19 14:09:34 logos Oops: 0002 [#1] 
May 19 14:09:34 logos last sysfs file: /sys/class/power_supply/AC/online
May 19 14:09:34 logos Modules linked in: uhci_hcd ehci_hcd ohci_hcd usb_storage
btusb bnep hidp snd_
pcm_oss rfcomm snd_mixer_oss snd_seq_o