login
Login
/
Register
Search
Search this site:
Forums
News
Blogs
Features
Site
Home
»
Mailing list archives
»
linux-kernel
»
2010
»
May
»
20
Re: [RFC] Try a bit harder to get output on the screen at panic time
view
thread
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
[view in full thread]
From: Maxim Levitsky
Subject:
Re: [RFC] Try a bit harder to get output on the screen at panic time
Date: Thursday, May 20, 2010 - 2:14 pm
On Thu, 2010-05-20 at 09:28 -0700, Jesse Barnes wrote:
quoted text
> On Thu, 20 May 2010 04:27:07 +0300 > Maxim Levitsky <maximlevitsky@gmail.com> wrote: > > > On Thu, 2010-05-20 at 04:13 +0300, Maxim Levitsky wrote: > > > On Wed, 2010-05-19 at 17:34 -0700, Jesse Barnes wrote: > > > > On Fri, 9 Apr 2010 15:10:50 -0700 > > > > Jesse Barnes <jbarnes@virtuousgeek.org> wrote: > > > > > > > > > This set of 3 patches makes it a little more likely we'll get panic > > > > > output onto the screen even when X is running, assuming a KMS enabled > > > > > stack anyway. > > > > > > > > > > It gets me from a blank or very sparsely populated black screen at > > > > > panic time, to one including the full backtrace and panic output at > > > > > panic time (tested with "echo c > /proc/sysrq-trigger" from an X > > > > > session). > > > > > > > > > > It doesn't cover every case; for instance I think it'll fail when X has > > > > > disabled the display, but those cases need to be handled with separate > > > > > patches anyway (need to add atomic DPMS paths for instance). > > > > > > > > > > Anyway, please test these out and let me know if they work for you. > > > > > > > > Ping Linus & Dave again. Have you guys tried these? Really, it's cool. > > > > > > > Second that, just tested these patches, and these work perfectly. > > > One more reason for me to dump nvidia driver for nouveau. > > > > > > Unfortunately I spoke too soon. > > > > > > After suspend to ram, system doesn't properly resume now. > > > > My system is based on nvidia G86, I use latest nouveau drivers, and > > suspend with compiz running. > > > > I also patched kernel not to do vt switch on suspend/resume: > > > > diff --git a/drivers/gpu/drm/nouveau/nouveau_state.c > > b/drivers/gpu/drm/nouveau/nouveau_state.c > > index 062b7f6..b3ef08b 100644 > > --- a/drivers/gpu/drm/nouveau/nouveau_state.c > > +++ b/drivers/gpu/drm/nouveau/nouveau_state.c > > @@ -31,6 +31,7 @@ > > #include "drm_crtc_helper.h" > > #include <linux/vgaarb.h> > > #include <linux/vga_switcheroo.h> > > +#include <linux/suspend.h> > > > > #include "nouveau_drv.h" > > #include "nouveau_drm.h" > > @@ -771,6 +772,8 @@ int nouveau_load(struct drm_device *dev, unsigned > > long flags) > > int ret = nouveau_card_init(dev); > > if (ret) > > return ret; > > + > > + pm_set_vt_switch(0); > > } > > > > return 0; > > Hm I don't see how my patches would have affected suspend/resume, since > they just add "oops_in_progress" checks to a few places. Are you sure > something else isn't breaking your resume path?
I am sure. I just reverted them, and everything works again. I refer to 3 patches in this thread. Best regards, Maxim Levitsky
quoted text
>
--
unsubscribe notice
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to
majordomo@vger.kernel.org
More majordomo info at
http://vger.kernel.org/majordomo-info.html
Please read the FAQ at
http://www.tux.org/lkml/
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
Messages in current thread:
[RFC] Try a bit harder to get output on the screen at pani ...
, Jesse Barnes
, (Fri Apr 9, 3:10 pm)
[PATCH] drm: add locked variant of drm_fb_helper_force_ker ...
, Jesse Barnes
, (Fri Apr 9, 3:11 pm)
[PATCH] vt: try harder to print output when panicing
, Jesse Barnes
, (Fri Apr 9, 3:12 pm)
[PATCH] fbcon: assume console is active if panicing
, Jesse Barnes
, (Fri Apr 9, 3:12 pm)
Re: [PATCH] drm: add locked variant of drm_fb_helper_force ...
, Dave Airlie
, (Sun Apr 11, 5:05 pm)
Re: [PATCH] drm: add locked variant of drm_fb_helper_force ...
, Jesse Barnes
, (Mon Apr 12, 8:46 am)
Re: [PATCH] drm: add locked variant of drm_fb_helper_force ...
, Jesse Barnes
, (Mon Apr 12, 9:05 am)
Re: [RFC] Try a bit harder to get output on the screen at ...
, Jesse Barnes
, (Mon Apr 19, 3:05 pm)
Re: [RFC] Try a bit harder to get output on the screen at ...
, Jesse Barnes
, (Wed May 19, 5:34 pm)
Re: [RFC] Try a bit harder to get output on the screen at ...
, Maxim Levitsky
, (Wed May 19, 6:13 pm)
Re: [RFC] Try a bit harder to get output on the screen at ...
, Maxim Levitsky
, (Wed May 19, 6:27 pm)
Re: [RFC] Try a bit harder to get output on the screen at ...
, Jesse Barnes
, (Thu May 20, 9:28 am)
Re: [RFC] Try a bit harder to get output on the screen at ...
, Maxim Levitsky
, (Thu May 20, 2:14 pm)
Re: [RFC] Try a bit harder to get output on the screen at ...
, Maxim Levitsky
, (Fri May 21, 2:57 pm)
Re: [RFC] Try a bit harder to get output on the screen at ...
, Jesse Barnes
, (Fri May 21, 3:02 pm)
Re: [RFC] Try a bit harder to get output on the screen at ...
, Maxim Levitsky
, (Fri May 21, 3:26 pm)
Re: [RFC] Try a bit harder to get output on the screen at ...
, Maxim Levitsky
, (Sun May 30, 7:48 am)
Re: [RFC] Try a bit harder to get output on the screen at ...
, James Simmons
, (Sun Jun 6, 9:36 am)
Re: [RFC] Try a bit harder to get output on the screen at ...
, Jesse Barnes
, (Tue Jun 8, 4:20 pm)
Navigation
Mailing list archives
Recent posts
Popular discussions
linux-kernel
:
monstr
[PATCH 46/56] microblaze_v2: headers files entry.h current.h mman.h registers.h se...
Jan Engelhardt
Re: Linux Security *Module* Framework (Was: LSM conversion to static interface)
Dave Jones
Re: Why do so many machines need "noapic"?
Michael Moore
Re: underage models, pre teen models, lolita porn, young preteens, little lolitas
Lars-Peter Clausen
[PATCH v4] MMC: Add JZ4740 mmc driver
git
:
Andy Parkins
git-fetch fails with error code 128
Eli Zaretskii
Re: Switching from CVS to GIT
Jan Harkes
Re: git-svn and huge data and modifying the git-svn-HEAD branch directly
Dan Chokola
Re: how do you "force a pull"?
Johan Herland
Re: Comment on weak refs
git-commits-head
:
Linux Kernel Mailing List
No need to do lock_super() for exclusion in generic_shutdown_super()
Linux Kernel Mailing List
x86, msr: Export the register-setting MSR functions via /dev/*/msr
Linux Kernel Mailing List
MIPS: SMTC: Fix lockup in smtc_distribute_timer
Linux Kernel Mailing List
Input: gpio-keys - add support for disabling gpios through sysfs
Linux Kernel Mailing List
sh-sci: update receive error handling for muxed irqs
linux-netdev
:
Patrick McHardy
Re: no reassembly for outgoing packets on RAW socket
Ilpo Järvinen
net-next/unix: BUG: using smp_processor_id() in preemptible
Herbert Xu
Re: [PATCH] pkt_sched: Destroy gen estimators under rtnl_lock().
Evgeniy Polyakov
Re: virt-manager broken by bind(0) in net-next.
Eric Dumazet
Re: [PATCH] conntrack: use SLAB_DESTROY_BY_RCU for nf_conn structs
openbsd-misc
:
elitdostlar
Seks partneri arayan bayanlar bu adreste - 8878xs706x6438
Marcus Andree
Re: This is what Linus Torvalds calls openBSD crowd
Lars D. Noodén
Re: sshd.config and AllowUsers
Henning Brauer
Re: Sun Blade 1000?
Laurens Vets
Re: OT: opinions on IDS / IPS solutions
Colocation donated by:
Syndicate