* [gentoo-user] [OT] eee PC crashes on shutdown.
@ 2009-07-08 18:27 Maxim Wexler
2009-07-08 18:58 ` [gentoo-user] " walt
2009-07-08 21:53 ` [gentoo-user] " Neil Bothwick
0 siblings, 2 replies; 16+ messages in thread
From: Maxim Wexler @ 2009-07-08 18:27 UTC (permalink / raw
To: gentoo-user
Hi group,
Here's a switch: a computer that refuses to turn OFF. When I open a
root console and enter shutdown -h now my eee 900A Asus Intel-n270
freezes with the message:
The system is going down for a system halt NOW!
Looking at ctrl alt F12, after the usual, normal messages there is this:
<...>
:mtrr:no MTRR for d0000000,10000000 found
:cpufreqd: term_handler :Caught TERM signal (Terminated), forcing exit.
and at ctrl alt F7 I see:
<...>
*Stopping CPU Frequency Daemon ... [ok]
*Storing ALSA Mixer Levels ... [ok]
*Killing processes using ALSA ... [ok]
*Unloading ALSA modules ... [ok]
This happened yesterday too when I clicked the 'quit' button on the
Xfce4 desktop, so I tried it manually from a console to see if it
would make any difference. Not a bit of it.
Now I have to hold down the off/on button and pray the SSD doesn't
croak when I reboot. Very scary messages about non-contiguous files
and a forced reboot.
FWIW this only started after installing alsa-utils and configuring the
sound card(Intel 82801G) according to alsa-guide.xml
^ permalink raw reply [flat|nested] 16+ messages in thread
* [gentoo-user] Re: [OT] eee PC crashes on shutdown.
2009-07-08 18:27 [gentoo-user] [OT] eee PC crashes on shutdown Maxim Wexler
@ 2009-07-08 18:58 ` walt
2009-07-08 19:31 ` Maxim Wexler
2009-07-08 21:53 ` [gentoo-user] " Neil Bothwick
1 sibling, 1 reply; 16+ messages in thread
From: walt @ 2009-07-08 18:58 UTC (permalink / raw
To: gentoo-user
On 07/08/2009 11:27 AM, Maxim Wexler wrote:
> Hi group,
>
> Here's a switch: a computer that refuses to turn OFF. When I open a
> root console and enter shutdown -h now my eee 900A Asus Intel-n270
> freezes with the message:
>
> The system is going down for a system halt NOW!
>
> Looking at ctrl alt F12, after the usual, normal messages there is this:
>
> <...>
> :mtrr:no MTRR for d0000000,10000000 found
> :cpufreqd: term_handler :Caught TERM signal (Terminated), forcing exit.
>
> and at ctrl alt F7 I see:
>
> <...>
> *Stopping CPU Frequency Daemon ... [ok]
> *Storing ALSA Mixer Levels ... [ok]
> *Killing processes using ALSA ... [ok]
> *Unloading ALSA modules ... [ok]
The very first thing to try is to change your /etc/conf.d/alsasound so
that it has these two lines:
# Deprecated options:
# Upstream feels, and we wholehartedly agree, that this was a silly idea
UNLOAD_ON_STOP="no"
KILLPROC_ON_STOP="no"
May not help, but that change should be made in any case.
^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: [gentoo-user] Re: [OT] eee PC crashes on shutdown.
2009-07-08 18:58 ` [gentoo-user] " walt
@ 2009-07-08 19:31 ` Maxim Wexler
2009-07-08 21:53 ` walt
2009-07-08 21:57 ` Neil Bothwick
0 siblings, 2 replies; 16+ messages in thread
From: Maxim Wexler @ 2009-07-08 19:31 UTC (permalink / raw
To: gentoo-user
> The very first thing to try is to change your /etc/conf.d/alsasound so
> that it has these two lines:
>
> # Deprecated options:
> # Upstream feels, and we wholehartedly agree, that this was a silly idea
> UNLOAD_ON_STOP="no"
> KILLPROC_ON_STOP="no"
>
> May not help, but that change should be made in any case.
>
Definitely related to alsa. I deleted alsasound from runlevel boot(why
does the doc insist on putting it there?) and it shutdown normally.
And why the huge raft of drivers for such simple hardware, just two
ports? My desktop has all the bells and whistles and doesn't use half
the drivers of the little netbook
UPDATE Just rebooted and ran lsmod. The modules with the string
'_hda_' in the middle are still loaded. Some of the others, like
'snd_mixer_oss,snd_seq_oss,snd_seq,snd_seq_device' are gone. Except
for 'snd_pcm, snd_timer, snd'; they're still loaded. The logic, if
any, of what's going on escapes me. If I turned off alsa in rc-update
why should it still load some of the modules. They're not it
modules.autoload.d.
mw
^ permalink raw reply [flat|nested] 16+ messages in thread
* [gentoo-user] Re: [OT] eee PC crashes on shutdown.
2009-07-08 19:31 ` Maxim Wexler
@ 2009-07-08 21:53 ` walt
2009-07-08 21:57 ` Neil Bothwick
1 sibling, 0 replies; 16+ messages in thread
From: walt @ 2009-07-08 21:53 UTC (permalink / raw
To: gentoo-user
On 07/08/2009 12:31 PM, Maxim Wexler wrote:
>> The very first thing to try is to change your /etc/conf.d/alsasound so
>> that it has these two lines:
>>
>> # Deprecated options:
>> # Upstream feels, and we wholehartedly agree, that this was a silly idea
>> UNLOAD_ON_STOP="no"
>> KILLPROC_ON_STOP="no"
>>
>> May not help, but that change should be made in any case.
>>
>
> Definitely related to alsa. I deleted alsasound from runlevel boot(why
> does the doc insist on putting it there?) and it shutdown normally.
> And why the huge raft of drivers for such simple hardware, just two
> ports? My desktop has all the bells and whistles and doesn't use half
> the drivers of the little netbook
>
> UPDATE Just rebooted and ran lsmod. The modules with the string
> '_hda_' in the middle are still loaded. Some of the others, like
> 'snd_mixer_oss,snd_seq_oss,snd_seq,snd_seq_device' are gone. Except
> for 'snd_pcm, snd_timer, snd'; they're still loaded. The logic, if
> any, of what's going on escapes me. If I turned off alsa in rc-update
> why should it still load some of the modules. They're not it
> modules.autoload.d.
Read through /etc/conf.d/alsasound and look at the environment variables
that are set in that file. LOAD_ON_START, for example changes the way
/etc/init.d/alsasound behaves.
If it's set to 'yes' then the script does a modprobe -c and greps thru
the output for sound modules and then loads them. It's all quite well
done for my purposes, but YMMV.
^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: [gentoo-user] [OT] eee PC crashes on shutdown.
2009-07-08 18:27 [gentoo-user] [OT] eee PC crashes on shutdown Maxim Wexler
2009-07-08 18:58 ` [gentoo-user] " walt
@ 2009-07-08 21:53 ` Neil Bothwick
2009-07-08 23:34 ` Maxim Wexler
2009-07-09 0:13 ` Walter Dnes
1 sibling, 2 replies; 16+ messages in thread
From: Neil Bothwick @ 2009-07-08 21:53 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 409 bytes --]
On Wed, 8 Jul 2009 12:27:02 -0600, Maxim Wexler wrote:
> Now I have to hold down the off/on button and pray the SSD doesn't
> croak when I reboot. Very scary messages about non-contiguous files
> and a forced reboot.
Why? Magic SysRq keys are a much safer option.
--
Neil Bothwick
Q: How many accountants does it take to screw in a light bulb?
A: What kind of answer did you have in mind?
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 198 bytes --]
^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: [gentoo-user] Re: [OT] eee PC crashes on shutdown.
2009-07-08 19:31 ` Maxim Wexler
2009-07-08 21:53 ` walt
@ 2009-07-08 21:57 ` Neil Bothwick
2009-07-08 23:13 ` Maxim Wexler
1 sibling, 1 reply; 16+ messages in thread
From: Neil Bothwick @ 2009-07-08 21:57 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 1400 bytes --]
On Wed, 8 Jul 2009 13:31:53 -0600, Maxim Wexler wrote:
> > The very first thing to try is to change your /etc/conf.d/alsasound so
> > that it has these two lines:
> >
> > # Deprecated options:
> > # Upstream feels, and we wholehartedly agree, that this was a silly
> > idea UNLOAD_ON_STOP="no"
> > KILLPROC_ON_STOP="no"
> >
> > May not help, but that change should be made in any case.
> >
>
> Definitely related to alsa. I deleted alsasound from runlevel boot
What's the point of quoting a message that gives useful advice, then
going on to explain that you ignored that advice and took a completely
different, and non-functional, approach? Walt's advice is sound (sorry :)
those variables should be set to no top prevent the alsa module unloading
that is apparently stopping your shutdown.
> UPDATE Just rebooted and ran lsmod. The modules with the string
> '_hda_' in the middle are still loaded. Some of the others, like
> 'snd_mixer_oss,snd_seq_oss,snd_seq,snd_seq_device' are gone. Except
> for 'snd_pcm, snd_timer, snd'; they're still loaded. The logic, if
> any, of what's going on escapes me. If I turned off alsa in rc-update
> why should it still load some of the modules. They're not it
> modules.autoload.d.
They've been loaded by the hotplug system when the hardware was detected.
--
Neil Bothwick
Speak softly and carry a cellular phone.
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 198 bytes --]
^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: [gentoo-user] Re: [OT] eee PC crashes on shutdown.
2009-07-08 21:57 ` Neil Bothwick
@ 2009-07-08 23:13 ` Maxim Wexler
0 siblings, 0 replies; 16+ messages in thread
From: Maxim Wexler @ 2009-07-08 23:13 UTC (permalink / raw
To: gentoo-user
>> > May not help, but that change should be made in any case.
>> >
>>
>> Definitely related to alsa. I deleted alsasound from runlevel boot
>
> What's the point of quoting a message that gives useful advice, then
> going on to explain that you ignored that advice and took a completely
> different, and non-functional, approach?
Whoa! I never "explained" anything. I merely turned off alsasound to
see if that was the problem.
>Walt's advice is sound (sorry :)
Thanks for your kind corroboration. I'll get to it pronto.
mw
^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: [gentoo-user] [OT] eee PC crashes on shutdown.
2009-07-08 21:53 ` [gentoo-user] " Neil Bothwick
@ 2009-07-08 23:34 ` Maxim Wexler
2009-07-08 23:57 ` Neil Bothwick
2009-07-09 0:13 ` Walter Dnes
1 sibling, 1 reply; 16+ messages in thread
From: Maxim Wexler @ 2009-07-08 23:34 UTC (permalink / raw
To: gentoo-user
> Why? Magic SysRq keys are a much safer option.
>
Learn something new... Ok, I'll try that, thanks. But I forsee
difficulties: the Sys Rq key on the eee is part of the fn +
blue-labelled-key system. Is that similar to yours?
How do I test it out? Must I induce a freeze somehow or can I just
apply it to a working rig?
mw
^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: [gentoo-user] [OT] eee PC crashes on shutdown.
2009-07-08 23:34 ` Maxim Wexler
@ 2009-07-08 23:57 ` Neil Bothwick
2009-07-09 21:54 ` Maxim Wexler
0 siblings, 1 reply; 16+ messages in thread
From: Neil Bothwick @ 2009-07-08 23:57 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 769 bytes --]
On Wed, 8 Jul 2009 17:34:54 -0600, Maxim Wexler wrote:
> > Why? Magic SysRq keys are a much safer option.
> Learn something new... Ok, I'll try that, thanks. But I forsee
> difficulties: the Sys Rq key on the eee is part of the fn +
> blue-labelled-key system. Is that similar to yours?
You have to hold down Alt, hold down Fn, hold down PrtSc, release Fn then
press the command keys. If you keep Fn held down, U is seen as 4 etc.
> How do I test it out? Must I induce a freeze somehow or can I just
> apply it to a working rig?
Press Ctrl-Alt-F1 to get to the first VC then press Alt-SysRq S. It
should report "Emergency sync".
--
Neil Bothwick
Programmer (n): A red-eyed, mumbling mammal capable of conversing
with inanimate objects.
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 198 bytes --]
^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: [gentoo-user] [OT] eee PC crashes on shutdown.
2009-07-08 21:53 ` [gentoo-user] " Neil Bothwick
2009-07-08 23:34 ` Maxim Wexler
@ 2009-07-09 0:13 ` Walter Dnes
2009-07-09 8:53 ` Neil Bothwick
1 sibling, 1 reply; 16+ messages in thread
From: Walter Dnes @ 2009-07-09 0:13 UTC (permalink / raw
To: gentoo-user
On Wed, Jul 08, 2009 at 10:53:46PM +0100, Neil Bothwick wrote
> On Wed, 8 Jul 2009 12:27:02 -0600, Maxim Wexler wrote:
>
> > Now I have to hold down the off/on button and pray the SSD doesn't
> > croak when I reboot. Very scary messages about non-contiguous files
> > and a forced reboot.
>
> Why? Magic SysRq keys are a much safer option.
Or, failing that, at least issue the command "sync" from a text
console just before "offing" your computer.
--
Walter Dnes <waltdnes@waltdnes.org>
^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: [gentoo-user] [OT] eee PC crashes on shutdown.
2009-07-09 0:13 ` Walter Dnes
@ 2009-07-09 8:53 ` Neil Bothwick
0 siblings, 0 replies; 16+ messages in thread
From: Neil Bothwick @ 2009-07-09 8:53 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 372 bytes --]
On Wed, 8 Jul 2009 20:13:39 -0400, Walter Dnes wrote:
> > Why? Magic SysRq keys are a much safer option.
>
> Or, failing that, at least issue the command "sync" from a text
> console just before "offing" your computer.
Sync won't help much where active processes have files open.
--
Neil Bothwick
In an atomic war, all men will be cremated equal.
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 198 bytes --]
^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: [gentoo-user] [OT] eee PC crashes on shutdown.
2009-07-08 23:57 ` Neil Bothwick
@ 2009-07-09 21:54 ` Maxim Wexler
2009-07-09 22:44 ` Neil Bothwick
0 siblings, 1 reply; 16+ messages in thread
From: Maxim Wexler @ 2009-07-09 21:54 UTC (permalink / raw
To: gentoo-user
> You have to hold down Alt, hold down Fn, hold down PrtSc, release Fn then
> press the command keys. If you keep Fn held down, U is seen as 4 etc.
>
>> How do I test it out? Must I induce a freeze somehow or can I just
>> apply it to a working rig?
>
> Press Ctrl-Alt-F1 to get to the first VC then press Alt-SysRq S. It
> should report "Emergency sync".
None of these maneuvers have any effect whatever. Except getting to
the first console. Least that I can see.
BTW, when I try getting back to the X console, it's blank. Is this an
Xfce4 thing? I remember sysrescuecd which also uses Xfce4 had the same
bug/feature. I have to ctrl-c on the first console to get back to the
prompt so I can restart X.
FWIW Prt Sc and Sys Rq are separate keys on this unit. They share
space with Ins and Del, respectively. Prt Sc and Sys Rq are printed in
blue and, I assume. are part of the 'fn' system.
mw
^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: [gentoo-user] [OT] eee PC crashes on shutdown.
2009-07-09 21:54 ` Maxim Wexler
@ 2009-07-09 22:44 ` Neil Bothwick
2009-07-10 19:50 ` Maxim Wexler
0 siblings, 1 reply; 16+ messages in thread
From: Neil Bothwick @ 2009-07-09 22:44 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 1018 bytes --]
On Thu, 9 Jul 2009 15:54:14 -0600, Maxim Wexler wrote:
> > Press Ctrl-Alt-F1 to get to the first VC then press Alt-SysRq S. It
> > should report "Emergency sync".
>
> None of these maneuvers have any effect whatever. Except getting to
> the first console. Least that I can see.
Do you have CONFIG_MAGIC_SYSRQ enabled in your kernel?
> BTW, when I try getting back to the X console, it's blank. Is this an
> Xfce4 thing? I remember sysrescuecd which also uses Xfce4 had the same
> bug/feature. I have to ctrl-c on the first console to get back to the
> prompt so I can restart X.
Ctrl-C, my console isn't even logged in. so Ctrl-C won't do anything.
Alt-F7 takes me back to KDE.
> FWIW Prt Sc and Sys Rq are separate keys on this unit. They share
> space with Ins and Del, respectively. Prt Sc and Sys Rq are printed in
> blue and, I assume. are part of the 'fn' system.
Yes, and both work s magic SysRq keys on my Eee.
--
Neil Bothwick
Gravity isn't easy, but it's the law.
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 198 bytes --]
^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: [gentoo-user] [OT] eee PC crashes on shutdown.
2009-07-09 22:44 ` Neil Bothwick
@ 2009-07-10 19:50 ` Maxim Wexler
2009-07-10 20:18 ` Neil Bothwick
0 siblings, 1 reply; 16+ messages in thread
From: Maxim Wexler @ 2009-07-10 19:50 UTC (permalink / raw
To: gentoo-user
> Do you have CONFIG_MAGIC_SYSRQ enabled in your kernel?
yes
>
>> BTW, when I try getting back to the X console, it's blank. Is this an
> > Xfce4 thing? I remember sysrescuecd which also uses Xfce4 had the same
>> bug/feature. I have to ctrl-c on the first console to get back to the
>> prompt so I can restart X.
>
> Ctrl-C, my console isn't even logged in. so Ctrl-C won't do anything.
Don't understand "isn't even logged in"
> Alt-F7 takes me back to KDE.
Takes me to a completely blank(black) console, no cursor, no login, zip
>
>> FWIW Prt Sc and Sys Rq are separate keys on this unit. They share
>> space with Ins and Del, respectively. Prt Sc and Sys Rq are printed in
>> blue and, I assume. are part of the 'fn' system.
>
> Yes, and both work s magic SysRq keys on my Eee.
>
When you do # tail -f /var/log/messages do you see some sort of report
when you push SysRq.
mw
^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: [gentoo-user] [OT] eee PC crashes on shutdown.
2009-07-10 19:50 ` Maxim Wexler
@ 2009-07-10 20:18 ` Neil Bothwick
2009-07-12 1:03 ` Maxim Wexler
0 siblings, 1 reply; 16+ messages in thread
From: Neil Bothwick @ 2009-07-10 20:18 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 579 bytes --]
On Fri, 10 Jul 2009 13:50:33 -0600, Maxim Wexler wrote:
> > Ctrl-C? My console isn't even logged in. so Ctrl-C won't do anything.
>
> Don't understand "isn't even logged in"
As in it's just sitting there with a login prompt, but pressing Alt-SysRq-S
shows the emergency sync message.
> When you do # tail -f /var/log/messages do you see some sort of report
> when you push SysRq.
Yes.
Jul 10 21:17:12 zaphod SysRq : Emergency Sync
Jul 10 21:17:12 zaphod Emergency Sync complete
--
Neil Bothwick
(A)bort, (R)etry, (P)retend this never happened...
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 198 bytes --]
^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: [gentoo-user] [OT] eee PC crashes on shutdown.
2009-07-10 20:18 ` Neil Bothwick
@ 2009-07-12 1:03 ` Maxim Wexler
0 siblings, 0 replies; 16+ messages in thread
From: Maxim Wexler @ 2009-07-12 1:03 UTC (permalink / raw
To: gentoo-user
>> When you do # tail -f /var/log/messages do you see some sort of report
>> when you push SysRq.
>
> Yes.
>
> Jul 10 21:17:12 zaphod SysRq : Emergency Sync
> Jul 10 21:17:12 zaphod Emergency Sync complete
>
That's strange; I see nothing. Is there a hotkey number associated
with it as there is for the wireless key or the brightness-darkness
keys? Perhaps something is configured as a module which should be in
the kernel. BTW cat /proc/sys/kernel/sysrq shows a '1', which
supposedly means it's enabled.
mw
^ permalink raw reply [flat|nested] 16+ messages in thread
end of thread, other threads:[~2009-07-12 1:03 UTC | newest]
Thread overview: 16+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-07-08 18:27 [gentoo-user] [OT] eee PC crashes on shutdown Maxim Wexler
2009-07-08 18:58 ` [gentoo-user] " walt
2009-07-08 19:31 ` Maxim Wexler
2009-07-08 21:53 ` walt
2009-07-08 21:57 ` Neil Bothwick
2009-07-08 23:13 ` Maxim Wexler
2009-07-08 21:53 ` [gentoo-user] " Neil Bothwick
2009-07-08 23:34 ` Maxim Wexler
2009-07-08 23:57 ` Neil Bothwick
2009-07-09 21:54 ` Maxim Wexler
2009-07-09 22:44 ` Neil Bothwick
2009-07-10 19:50 ` Maxim Wexler
2009-07-10 20:18 ` Neil Bothwick
2009-07-12 1:03 ` Maxim Wexler
2009-07-09 0:13 ` Walter Dnes
2009-07-09 8:53 ` Neil Bothwick
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox