* forcing a reboot
@ 2004-10-22 10:29 urgrue
2004-10-22 10:45 ` Adrian C.
2004-10-22 13:08 ` forcing a reboot Thornton Prime
0 siblings, 2 replies; 11+ messages in thread
From: urgrue @ 2004-10-22 10:29 UTC (permalink / raw)
To: admin
is there a way to force an instant reboot? in some cases "reboot"
doesnt work, as it seems to do many things before actually initiating a
phsyical reset, like shutting down processes. ive now run into the
situation a few times where zombie processes or module problems can
prevent "reboot" from completing its task.
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: forcing a reboot
2004-10-22 10:29 forcing a reboot urgrue
@ 2004-10-22 10:45 ` Adrian C.
2004-10-22 13:21 ` Andreas Unterkircher
2004-10-24 15:45 ` Quota setting Edward Parrilla
2004-10-22 13:08 ` forcing a reboot Thornton Prime
1 sibling, 2 replies; 11+ messages in thread
From: Adrian C. @ 2004-10-22 10:45 UTC (permalink / raw)
To: urgrue; +Cc: admin
You could try a killall -9 zombie_process_name before reboot. man
reboot has no force reboot option that i can see.
--Adrian.
On Fri, 22 Oct 2004 13:29:23 +0300, urgrue <urgrue@tumsan.fi> wrote:
> is there a way to force an instant reboot? in some cases "reboot"
> doesnt work, as it seems to do many things before actually initiating a
> phsyical reset, like shutting down processes. ive now run into the
> situation a few times where zombie processes or module problems can
> prevent "reboot" from completing its task.
> -
> To unsubscribe from this list: send the line "unsubscribe linux-admin" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
>
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: forcing a reboot
2004-10-22 10:45 ` Adrian C.
@ 2004-10-22 13:21 ` Andreas Unterkircher
2004-11-01 22:40 ` chuck gelm
2004-10-24 15:45 ` Quota setting Edward Parrilla
1 sibling, 1 reply; 11+ messages in thread
From: Andreas Unterkircher @ 2004-10-22 13:21 UTC (permalink / raw)
To: Adrian C.; +Cc: urgrue, admin
if you really nead a reboot and you have sysrq (Magic Sysrq Key in the
Menu Kernel hacking) enabled, you can use
echo b > /proc/sysrq-trigger
to reboot - if your system is still alive then you can try the
combination
ALT+"Print Screen"
to get the Sysrq-Menu in the console and then press the key as shown on
the oncoming menu.
more information you could find in the file sysrq.txt in the
documentation directory of the linux kernel sources.
hope this helps you.
andi
Am Freitag, den 22.10.2004, 13:45 +0300 schrieb Adrian C.:
> You could try a killall -9 zombie_process_name before reboot. man
> reboot has no force reboot option that i can see.
>
> --Adrian.
>
> On Fri, 22 Oct 2004 13:29:23 +0300, urgrue <urgrue@tumsan.fi> wrote:
> > is there a way to force an instant reboot? in some cases "reboot"
> > doesnt work, as it seems to do many things before actually initiating a
> > phsyical reset, like shutting down processes. ive now run into the
> > situation a few times where zombie processes or module problems can
> > prevent "reboot" from completing its task.
> > -
> > To unsubscribe from this list: send the line "unsubscribe linux-admin" in
> > the body of a message to majordomo@vger.kernel.org
> > More majordomo info at http://vger.kernel.org/majordomo-info.html
> >
> -
> To unsubscribe from this list: send the line "unsubscribe linux-admin" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
^ permalink raw reply [flat|nested] 11+ messages in thread* Re: forcing a reboot
2004-10-22 13:21 ` Andreas Unterkircher
@ 2004-11-01 22:40 ` chuck gelm
2004-11-01 23:16 ` Kevin J. Cummings
0 siblings, 1 reply; 11+ messages in thread
From: chuck gelm @ 2004-11-01 22:40 UTC (permalink / raw)
To: unki; +Cc: Adrian C., urgrue, admin
Andreas Unterkircher wrote:
>if you really nead a reboot and you have sysrq (Magic Sysrq Key in the
>Menu Kernel hacking) enabled, you can use
>
> echo b > /proc/sysrq-trigger
>
>to reboot - if your system is still alive then you can try the
>combination
>
> ALT+"Print Screen"
>
>to get the Sysrq-Menu in the console and then press the key as shown on
>the oncoming menu.
>
>more information you could find in the file sysrq.txt in the
>documentation directory of the linux kernel sources.
>
>hope this helps you.
>
>andi
>
>
>Am Freitag, den 22.10.2004, 13:45 +0300 schrieb Adrian C.:
>
>
>>You could try a killall -9 zombie_process_name before reboot. man
>>reboot has no force reboot option that i can see.
>>
>>--Adrian.
>>
>>On Fri, 22 Oct 2004 13:29:23 +0300, urgrue <urgrue@tumsan.fi> wrote:
>>
>>
>>>is there a way to force an instant reboot? in some cases "reboot"
>>>doesnt work, as it seems to do many things before actually initiating a
>>>phsyical reset, like shutting down processes. ive now run into the
>>>situation a few times where zombie processes or module problems can
>>>prevent "reboot" from completing its task.
>>>
>>>
I do not have a 'sysrq'.
I am using Slackware v9.1, kernel 2.4.22.
Is 'sysrq (Magic Sysrq Key in the Menu Kernel hacking)'
distribution specific.
grep -i sysrq /usr/src/linux/.config returns 'null'.
?
Anyhow, I use
'halt'
to shut my systems down in a hurry.
Regards, Chuck
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: forcing a reboot
2004-11-01 22:40 ` chuck gelm
@ 2004-11-01 23:16 ` Kevin J. Cummings
2004-11-02 23:19 ` chuck gelm
0 siblings, 1 reply; 11+ messages in thread
From: Kevin J. Cummings @ 2004-11-01 23:16 UTC (permalink / raw)
To: chuck; +Cc: linux-admin
chuck gelm wrote:
> I do not have a 'sysrq'.
It is usually: ALT + Print Scrn
> I am using Slackware v9.1, kernel 2.4.22.
> Is 'sysrq (Magic Sysrq Key in the Menu Kernel hacking)'
> distribution specific.
> grep -i sysrq /usr/src/linux/.config returns 'null'.
> ?
>
> Anyhow, I use
> 'halt'
> to shut my systems down in a hurry.
--
Kevin J. Cummings
kjchome@rcn.com
cummings@kjchome.homeip.net
cummings@kjc386.framingham.ma.us
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: forcing a reboot
2004-11-01 23:16 ` Kevin J. Cummings
@ 2004-11-02 23:19 ` chuck gelm
2004-11-02 23:58 ` Glynn Clements
2004-11-03 0:03 ` Thornton Prime
0 siblings, 2 replies; 11+ messages in thread
From: chuck gelm @ 2004-11-02 23:19 UTC (permalink / raw)
To: Kevin J. Cummings; +Cc: linux-admin
Kevin J. Cummings wrote:
> chuck gelm wrote:
>
>> I do not have a 'sysrq'.
>
>
> It is usually: ALT + Print Scrn
>
>> I am using Slackware v9.1, kernel 2.4.22.
>> Is 'sysrq (Magic Sysrq Key in the Menu Kernel hacking)'
>> distribution specific.
>> grep -i sysrq /usr/src/linux/.config returns 'null'.
>> ?
>>
>> Anyhow, I use
>> 'halt'
>> to shut my systems down in a hurry.
>
Hi, Kevin:
"ALT + Print Screen"
does nothing on three of my linux o/s computers.
Chuck
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: forcing a reboot
2004-11-02 23:19 ` chuck gelm
@ 2004-11-02 23:58 ` Glynn Clements
2004-11-03 0:03 ` Thornton Prime
1 sibling, 0 replies; 11+ messages in thread
From: Glynn Clements @ 2004-11-02 23:58 UTC (permalink / raw)
To: chuck; +Cc: Kevin J. Cummings, linux-admin
chuck gelm wrote:
> >> I do not have a 'sysrq'.
> >
> >
> > It is usually: ALT + Print Scrn
> >
> >> I am using Slackware v9.1, kernel 2.4.22.
> >> Is 'sysrq (Magic Sysrq Key in the Menu Kernel hacking)'
> >> distribution specific.
> >> grep -i sysrq /usr/src/linux/.config returns 'null'.
> >> ?
> >>
> >> Anyhow, I use
> >> 'halt'
> >> to shut my systems down in a hurry.
> >
> Hi, Kevin:
>
> "ALT + Print Screen"
>
> does nothing on three of my linux o/s computers.
1. You need to enable the feature with e.g.:
echo 1 > /proc/sys/kernel/sysrq
If that file doesn't exist, the kernel was built without SysRq support
([CONFIG_]MAGIC_SYSRQ).
2. You need to use Alt+PrtSc+<key>, where <key> is one of those listed
in /usr/src/linux/Documentation/sysrq.txt:
'r' - Turns off keyboard raw mode and sets it to XLATE.
'k' - Secure Access Key (SAK) Kills all programs on the current virtual
console. NOTE: See important comments below in SAK section.
'b' - Will immediately reboot the system without syncing or unmounting
your disks.
'o' - Will shut your system off (if configured and supported).
's' - Will attempt to sync all mounted filesystems.
'u' - Will attempt to remount all mounted filesystems read-only.
'p' - Will dump the current registers and flags to your console.
't' - Will dump a list of current tasks and their information to your
console.
'm' - Will dump current memory info to your console.
'v' - Dumps Voyager SMP processor info to your console.
'0'-'9' - Sets the console log level, controlling which kernel messages
will be printed to your console. ('0', for example would make
it so that only emergency messages like PANICs or OOPSes would
make it to your console.)
'e' - Send a SIGTERM to all processes, except for init.
'i' - Send a SIGKILL to all processes, except for init.
'l' - Send a SIGKILL to all processes, INCLUDING init. (Your system
will be non-functional after this.)
'h' - Will display help ( actually any other key than those listed
above will display help. but 'h' is easy to remember :-)
--
Glynn Clements <glynn@gclements.plus.com>
^ permalink raw reply [flat|nested] 11+ messages in thread* Re: forcing a reboot
2004-11-02 23:19 ` chuck gelm
2004-11-02 23:58 ` Glynn Clements
@ 2004-11-03 0:03 ` Thornton Prime
1 sibling, 0 replies; 11+ messages in thread
From: Thornton Prime @ 2004-11-03 0:03 UTC (permalink / raw)
To: linux-admin
> "ALT + Print Screen"
>
> does nothing on three of my linux o/s computers.
If it is not built into your kernel, it won't work.
If it is, you need to enable it with a sysctl -w kernel.sysrq=1.
You then need to use a magic key combination of
[ALT]+[PrintScrn]+<KEY>, where <KEY> is one of 0-8beikmoprstu. Use 'h'
to get help.
thornton
^ permalink raw reply [flat|nested] 11+ messages in thread
* Quota setting
2004-10-22 10:45 ` Adrian C.
2004-10-22 13:21 ` Andreas Unterkircher
@ 2004-10-24 15:45 ` Edward Parrilla
1 sibling, 0 replies; 11+ messages in thread
From: Edward Parrilla @ 2004-10-24 15:45 UTC (permalink / raw)
Hi all,
I have defined the following partition:
/dev/hdb3 /mnt/newfs devpts defaults,usrquota
0 0
And when running the quotacheck gives me this message
/sbin/quotacheck -uagv
quotacheck: Can't find filesystem to check or filesystem not mounted
with quota option.
How do I create the quota.user for that partition?
Thanks in advance for your advice
Regards
Ed
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: forcing a reboot
2004-10-22 10:29 forcing a reboot urgrue
2004-10-22 10:45 ` Adrian C.
@ 2004-10-22 13:08 ` Thornton Prime
1 sibling, 0 replies; 11+ messages in thread
From: Thornton Prime @ 2004-10-22 13:08 UTC (permalink / raw)
To: urgrue; +Cc: admin
urgrue wrote:
> is there a way to force an instant reboot? in some cases "reboot" doesnt
> work, as it seems to do many things before actually initiating a
> phsyical reset, like shutting down processes. ive now run into the
> situation a few times where zombie processes or module problems can
> prevent "reboot" from completing its task.
For "extreme" rebooting, check out the kernel sysctl interface. You can send commands via keyboard,
serial, or cat > /proc/sysctl. Command include forced reboot, killall, killall (minus init), dump, etc.
thornton
^ permalink raw reply [flat|nested] 11+ messages in thread
* RE: forcing a reboot
@ 2004-11-01 19:10 Mraz, Scott
0 siblings, 0 replies; 11+ messages in thread
From: Mraz, Scott @ 2004-11-01 19:10 UTC (permalink / raw)
Cc: linux-admin
Correct me if I'm wrong, however, would not a shutdown -r now command
not immediately kill the system and reboot?
http://www.computerhope.com/unix/ushutdow.htm
-Scott
-----Original Message-----
From: unki@netshadow.at [mailto:unki@netshadow.at]
Sent: Friday, October 22, 2004 6:21 AM
To: drupix@gmail.com
Cc: linux-admin@vger.kernel.org; urgrue@tumsan.fi
Subject: Re: forcing a reboot
if you really nead a reboot and you have sysrq (Magic Sysrq Key in the
Menu Kernel hacking) enabled, you can use
echo b > /proc/sysrq-trigger
to reboot - if your system is still alive then you can try the
combination
ALT+"Print Screen"
to get the Sysrq-Menu in the console and then press the key as shown on
the oncoming menu.
more information you could find in the file sysrq.txt in the
documentation directory of the linux kernel sources.
hope this helps you.
andi
Am Freitag, den 22.10.2004, 13:45 +0300 schrieb Adrian C.:
> You could try a killall -9 zombie_process_name before reboot. man
> reboot has no force reboot option that i can see.
>
> --Adrian.
>
> On Fri, 22 Oct 2004 13:29:23 +0300, urgrue <urgrue@tumsan.fi> wrote:
> > is there a way to force an instant reboot? in some cases "reboot"
> > doesnt work, as it seems to do many things before actually
> > initiating a phsyical reset, like shutting down processes. ive now
> > run into the situation a few times where zombie processes or module
> > problems can prevent "reboot" from completing its task.
> > -
> > To unsubscribe from this list: send the line "unsubscribe
> > linux-admin" in the body of a message to majordomo@vger.kernel.org
> > More majordomo info at http://vger.kernel.org/majordomo-info.html
> >
> -
> To unsubscribe from this list: send the line "unsubscribe linux-admin"
> in the body of a message to majordomo@vger.kernel.org More majordomo
> info at http://vger.kernel.org/majordomo-info.html
-
To unsubscribe from this list: send the line "unsubscribe linux-admin"
in the body of a message to majordomo@vger.kernel.org More majordomo
info at http://vger.kernel.org/majordomo-info.html
^ permalink raw reply [flat|nested] 11+ messages in thread
end of thread, other threads:[~2004-11-03 0:03 UTC | newest]
Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-10-22 10:29 forcing a reboot urgrue
2004-10-22 10:45 ` Adrian C.
2004-10-22 13:21 ` Andreas Unterkircher
2004-11-01 22:40 ` chuck gelm
2004-11-01 23:16 ` Kevin J. Cummings
2004-11-02 23:19 ` chuck gelm
2004-11-02 23:58 ` Glynn Clements
2004-11-03 0:03 ` Thornton Prime
2004-10-24 15:45 ` Quota setting Edward Parrilla
2004-10-22 13:08 ` forcing a reboot Thornton Prime
-- strict thread matches above, loose matches on Subject: below --
2004-11-01 19:10 Mraz, Scott
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).