dri-devel Archive on lore.kernel.org
 help / color / mirror / Atom feed
* Re: Any SYSRQ key to force mode switch to console mode when using KMS?
       [not found]             ` <19611.32996.817920.499437@elektron.ikp.physik.tu-darmstadt.de>
@ 2010-09-24 15:07               ` Randy Dunlap
  2010-10-06 18:44                 ` Jason Wessel
  0 siblings, 1 reply; 2+ messages in thread
From: Randy Dunlap @ 2010-09-24 15:07 UTC (permalink / raw)
  To: Uwe Bonnes; +Cc: linux-kernel, David Airlie, dri-devel, Jesse Barnes

On Thu, 23 Sep 2010 18:31:32 +0200 Uwe Bonnes wrote:

[just adding cc's]

> >>>>> "Randy" == Randy Dunlap <rdunlap@xenotime.net> writes:
> 
> 
>     Randy> Is CONFIG_DRM_KMS_HELPER enabled in your kernel .config file?  If
>     Randy> not, we need to find out how to enable it (there is no kconfig
>     Randy> prompt for it).
> 
> Yes, it is enabled
> 
>     Randy> Can you check if Alt-Sysrq-H (help) lists V for "force-fb(V)"?
> Yes, it is listed.
> 
> And yes, my last experiments where with ALT-CTL-sysreq, so doomed for non
> function due to operator error.
> 
> However:
> When running X, X.Org X Server 1.9.0 on Thinkpad R50 RV250, Alt-Sysrq-v
> switches to an all-black display. By console switching with ALT-CLT-F1 I
> get back to the booting console and ALT-CLT-F7 brings me back to X.  Running
> on the console and calling Alt-Sysrq-v prints
>  SysRq : Restore framebuffer console
> 
> Is there some omission by the distribution or my setup that Alt-Sysrq-v when
> running X results in an all-black screen?
> 
> And when I hit the hibernate problem, the screen stays black even with a
> console switch after Alt-Sysrq-v
> 
> Bye
> -- 
> Uwe Bonnes                bon@elektron.ikp.physik.tu-darmstadt.de
> 
> Institut fuer Kernphysik  Schlossgartenstrasse 9  64289 Darmstadt
> --------- Tel. 06151 162516 -------- Fax. 06151 164321 ----------


---
~Randy
*** Remember to use Documentation/SubmitChecklist when testing your code ***

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Any SYSRQ key to force mode switch to console mode when using KMS?
  2010-09-24 15:07               ` Any SYSRQ key to force mode switch to console mode when using KMS? Randy Dunlap
@ 2010-10-06 18:44                 ` Jason Wessel
  0 siblings, 0 replies; 2+ messages in thread
From: Jason Wessel @ 2010-10-06 18:44 UTC (permalink / raw)
  To: Uwe Bonnes
  Cc: Randy Dunlap, linux-kernel, David Airlie, dri-devel, Jesse Barnes

On 09/24/2010 10:07 AM, Randy Dunlap wrote:
> On Thu, 23 Sep 2010 18:31:32 +0200 Uwe Bonnes wrote:
>
> [just adding cc's]
>
>   
>>>>>>> "Randy" == Randy Dunlap <rdunlap@xenotime.net> writes:
>>>>>>>               
>>     Randy> Is CONFIG_DRM_KMS_HELPER enabled in your kernel .config file?  If
>>     Randy> not, we need to find out how to enable it (there is no kconfig
>>     Randy> prompt for it).
>>
>> Yes, it is enabled
>>
>>     Randy> Can you check if Alt-Sysrq-H (help) lists V for "force-fb(V)"?
>> Yes, it is listed.
>>
>> And yes, my last experiments where with ALT-CTL-sysreq, so doomed for non
>> function due to operator error.
>>
>> However:
>> When running X, X.Org X Server 1.9.0 on Thinkpad R50 RV250, Alt-Sysrq-v
>> switches to an all-black display. By console switching with ALT-CLT-F1 I
>> get back to the booting console and ALT-CLT-F7 brings me back to X.  Running
>> on the console and calling Alt-Sysrq-v prints
>>  SysRq : Restore framebuffer console
>>
>> Is there some omission by the distribution or my setup that Alt-Sysrq-v when
>> running X results in an all-black screen?
>>
>> And when I hit the hibernate problem, the screen stays black even with a
>> console switch after Alt-Sysrq-v
>>
>>     
I am not exactly sure what you are looking for but alt-sysrq-v might not
tell you a whole lot because an escape back to the text console that was
not actively receiving printk's or crash data is going to in general
provide you with a black screen.

If you were interested in something a bit more invasive such as a
collecting a process listing or examining the dmesg output you might
consider jumping into kdb.  

echo kbd > /sys/module/kgdboc/parameters/kgdboc

Then you would do the "alt-sysrq v" followed by "alt-sysrq g".  From
there you could then run dmesg, and your screen would no longer be blank
in theory.  :-)

We do have some patches for the RV250 for atomic kernel mode setting
plus kdb support but they are not merged to the mainline kernels as of yet.


Jason.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2010-10-06 18:44 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <19601.1301.803816.92851@elektron.ikp.physik.tu-darmstadt.de>
     [not found] ` <20100921151033.80e61747.randy.dunlap@oracle.com>
     [not found]   ` <19609.53242.674915.369484@elektron.ikp.physik.tu-darmstadt.de>
     [not found]     ` <4C9A1FB7.9050902@oracle.com>
     [not found]       ` <19611.8986.142128.168878@elektron.ikp.physik.tu-darmstadt.de>
     [not found]         ` <19611.20403.865248.695829@elektron.ikp.physik.tu-darmstadt.de>
     [not found]           ` <20100923080212.ca4be1f6.rdunlap@xenotime.net>
     [not found]             ` <19611.32996.817920.499437@elektron.ikp.physik.tu-darmstadt.de>
2010-09-24 15:07               ` Any SYSRQ key to force mode switch to console mode when using KMS? Randy Dunlap
2010-10-06 18:44                 ` Jason Wessel

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox