public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] KDE4 halts - how to catch a reason?
@ 2009-06-04 20:03 Andrew Gaydenko
  2009-06-04 20:11 ` [gentoo-user] " Nikos Chantziaras
  2009-06-06 14:07 ` [gentoo-user] " Alex Schuster
  0 siblings, 2 replies; 6+ messages in thread
From: Andrew Gaydenko @ 2009-06-04 20:03 UTC (permalink / raw
  To: gentoo-user

Last week or two (I mostly use Gnome and can not say more precisely) after 
KDE4 starting session apps starts also, as well as bg and panels. But then I 
get black screen (during this KDE4 start process), and Ctrl-Alt-Backspace does 
nothing. The only way I have in hand to continue is to use SysRq kernel 
hacking (s, u, b).

Have you an idea how to catch the halt reason?



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

* [gentoo-user]  Re: KDE4 halts - how to catch a reason?
  2009-06-04 20:03 [gentoo-user] KDE4 halts - how to catch a reason? Andrew Gaydenko
@ 2009-06-04 20:11 ` Nikos Chantziaras
  2009-06-06 14:07 ` [gentoo-user] " Alex Schuster
  1 sibling, 0 replies; 6+ messages in thread
From: Nikos Chantziaras @ 2009-06-04 20:11 UTC (permalink / raw
  To: gentoo-user

Andrew Gaydenko wrote:
> Last week or two (I mostly use Gnome and can not say more precisely) after 
> KDE4 starting session apps starts also, as well as bg and panels. But then I 
> get black screen (during this KDE4 start process), and Ctrl-Alt-Backspace does 
> nothing. The only way I have in hand to continue is to use SysRq kernel 
> hacking (s, u, b).
> 
> Have you an idea how to catch the halt reason?

Try to ssh into the box from another machine and inspect the logs 
("~/.xsession-errors" and "/var/log/Xorg.0.log").




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

* Re: [gentoo-user] KDE4 halts - how to catch a reason?
  2009-06-04 20:03 [gentoo-user] KDE4 halts - how to catch a reason? Andrew Gaydenko
  2009-06-04 20:11 ` [gentoo-user] " Nikos Chantziaras
@ 2009-06-06 14:07 ` Alex Schuster
  2009-06-06 14:51   ` Andrew Gaydenko
  2009-06-06 15:09   ` Andrew Gaydenko
  1 sibling, 2 replies; 6+ messages in thread
From: Alex Schuster @ 2009-06-06 14:07 UTC (permalink / raw
  To: gentoo-user

Andrew Gaydenko writes:

> Last week or two (I mostly use Gnome and can not say more precisely)
> after KDE4 starting session apps starts also, as well as bg and panels.
> But then I get black screen (during this KDE4 start process), and
> Ctrl-Alt-Backspace does nothing. The only way I have in hand to continue
> is to use SysRq kernel hacking (s, u, b).
>
> Have you an idea how to catch the halt reason?

Alt-SysRq-R will allow you to switch to a text console with Ctrl-Alt-Fn.

	Wonko




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

* Re: [gentoo-user] KDE4 halts - how to catch a reason?
  2009-06-06 14:07 ` [gentoo-user] " Alex Schuster
@ 2009-06-06 14:51   ` Andrew Gaydenko
  2009-06-06 15:09   ` Andrew Gaydenko
  1 sibling, 0 replies; 6+ messages in thread
From: Andrew Gaydenko @ 2009-06-06 14:51 UTC (permalink / raw
  To: gentoo-user

On Saturday 06 June 2009 18:07:53 Alex Schuster wrote:
> Andrew Gaydenko writes:
> > Last week or two (I mostly use Gnome and can not say more precisely)
> > after KDE4 starting session apps starts also, as well as bg and panels.
> > But then I get black screen (during this KDE4 start process), and
> > Ctrl-Alt-Backspace does nothing. The only way I have in hand to continue
> > is to use SysRq kernel hacking (s, u, b).
> >
> > Have you an idea how to catch the halt reason?
>
> Alt-SysRq-R will allow you to switch to a text console with Ctrl-Alt-Fn.
>
> 	Wonko

Thanks, I'll try - this way is more appropriate rather ssh-ing as far as I 
havn't additional computer in hand.




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

* Re: [gentoo-user] KDE4 halts - how to catch a reason?
  2009-06-06 14:07 ` [gentoo-user] " Alex Schuster
  2009-06-06 14:51   ` Andrew Gaydenko
@ 2009-06-06 15:09   ` Andrew Gaydenko
  2009-06-07  8:00     ` Walter Dnes
  1 sibling, 1 reply; 6+ messages in thread
From: Andrew Gaydenko @ 2009-06-06 15:09 UTC (permalink / raw
  To: gentoo-user

On Saturday 06 June 2009 18:07:53 Alex Schuster wrote:
> Alt-SysRq-R will allow you to switch to a text console with Ctrl-Alt-Fn.
>
> 	Wonko

Unfortunately didn't help - still black screen during switching attempts.



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

* Re: [gentoo-user] KDE4 halts - how to catch a reason?
  2009-06-06 15:09   ` Andrew Gaydenko
@ 2009-06-07  8:00     ` Walter Dnes
  0 siblings, 0 replies; 6+ messages in thread
From: Walter Dnes @ 2009-06-07  8:00 UTC (permalink / raw
  To: gentoo-user

On Sat, Jun 06, 2009 at 07:09:56PM +0400, Andrew Gaydenko wrote
> On Saturday 06 June 2009 18:07:53 Alex Schuster wrote:
> > Alt-SysRq-R will allow you to switch to a text console with Ctrl-Alt-Fn.
> >
> > 	Wonko
> 
> Unfortunately didn't help - still black screen during switching attempts.

  It may be something as simple as blindly typing the command "reset"
(without the quotes) just after doing Ctrl-Alt-Fn.  That will only work
if you have a command prompt open and waiting.  A more heavy-handed
method is to use acpid to tell your system that a short tap on the "big
power button" kicks you over to text console 1, rather than doing a
reboot.  Yes, acpid works with desktops, as well as laptops.

as root...
cd /usr/src/linux
make menuconfig
  Power management options (ACPI, APM)  --->
    [*] Power Management support
        ACPI (Advanced Configuration and Power Interface) Support
          [*] ACPI Support
          <*>   Button

Compile and re-boot into new kernel

emerge acpid

change the uncommented lines in /etc/acpi/events/default to read
event=.*
action=chvt 1

execute the commands...
/etc/init.d/acpid start      (to start acpid now)
rc-update add acpid default  (to automatically start acpid at future bootups)

  Notes:
  - When testing, I suggest executing "sync" as a precaution, just
    before pressing the "big power button".

  - PCs also have a smaller power button which is hard-wired to shutdown
    or re-boot.  Do not press that button.

  - After editing /etc/acpi/events/default run the command
/etc/init.d/acpid restart
    to force acpid to read in the new config


-- 
Walter Dnes <waltdnes@waltdnes.org>



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

end of thread, other threads:[~2009-06-07  8:01 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-06-04 20:03 [gentoo-user] KDE4 halts - how to catch a reason? Andrew Gaydenko
2009-06-04 20:11 ` [gentoo-user] " Nikos Chantziaras
2009-06-06 14:07 ` [gentoo-user] " Alex Schuster
2009-06-06 14:51   ` Andrew Gaydenko
2009-06-06 15:09   ` Andrew Gaydenko
2009-06-07  8:00     ` Walter Dnes

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