Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
* 2.2.1 - CTRL-ALT-DEL instant reboot (bad!)
@ 1999-02-28  7:37 B. James Phillippe
  1999-02-28 23:50 ` Michael Tibor
  0 siblings, 1 reply; 9+ messages in thread
From: B. James Phillippe @ 1999-02-28  7:37 UTC (permalink / raw)
  To: RedHat AXP list

Hello,

Anyone else notice this?  I CTRL-ALT-DEL'd my Alpha earlier this evening so
I could move it (the monitor was disconnected), and rather than the "beep"
from init warning of shutdown followed by the thrashing of the disk to kill
processes, the box just instantly cycled!  Needless to say, my filesystems
weren't too happy about that (and neither was I).  Can anyone else confirm
this (remount ro or sync first :)  I'm running 2.2.1 on an AS200, compiled
for Avanti/SRM.

thanks,
-bp
--
B. James Phillippe		. bryan@terran.org
Software Engineer, WGT Inc.	. http://www.terran.org/~bryan


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

* Re: 2.2.1 - CTRL-ALT-DEL instant reboot (bad!)
  1999-02-28  7:37 B. James Phillippe
@ 1999-02-28 23:50 ` Michael Tibor
  1999-03-01  0:54   ` B. James Phillippe
  0 siblings, 1 reply; 9+ messages in thread
From: Michael Tibor @ 1999-02-28 23:50 UTC (permalink / raw)
  To: RedHat AXP list

On Sat, 27 Feb 1999, B. James Phillippe wrote:

> Hello,
> 
> Anyone else notice this?  I CTRL-ALT-DEL'd my Alpha earlier this evening so
> I could move it (the monitor was disconnected), and rather than the "beep"
> from init warning of shutdown followed by the thrashing of the disk to kill
> processes, the box just instantly cycled!  Needless to say, my filesystems
> weren't too happy about that (and neither was I).  Can anyone else confirm
> this (remount ro or sync first :)  I'm running 2.2.1 on an AS200, compiled
> for Avanti/SRM.

Isn't it init's job to handle that?

I'm just thinking that I remember seeing something in /etc/inittab about
"trapping CTRL-ALT-DEL"...

Mike
-- 
Mike Tibor         Univ. of Alaska Anchorage    (907) 786-1001 voice
LAN Technician     Consortium Library             (907) 786-6050 fax
tibor@lib.uaa.alaska.edu       http://www.lib.uaa.alaska.edu/~tibor/
http://www.lib.uaa.alaska.edu/~tibor/pgpkey  for PGP public key


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

* Re: 2.2.1 - CTRL-ALT-DEL instant reboot (bad!)
  1999-02-28 23:50 ` Michael Tibor
@ 1999-03-01  0:54   ` B. James Phillippe
  0 siblings, 0 replies; 9+ messages in thread
From: B. James Phillippe @ 1999-03-01  0:54 UTC (permalink / raw)
  To: RedHat AXP list

On Sun, 28 Feb 1999, Michael Tibor wrote:

> On Sat, 27 Feb 1999, B. James Phillippe wrote:
> 
> > Hello,
> > 
> > Anyone else notice this?  I CTRL-ALT-DEL'd my Alpha earlier this evening so
> > I could move it (the monitor was disconnected), and rather than the "beep"
> > from init warning of shutdown followed by the thrashing of the disk to kill
> > processes, the box just instantly cycled!  Needless to say, my filesystems
> > weren't too happy about that (and neither was I).  Can anyone else confirm
> > this (remount ro or sync first :)  I'm running 2.2.1 on an AS200, compiled
> > for Avanti/SRM.
> 
> Isn't it init's job to handle that?

It is, assuming the kernel correctly notifies it.  However, the kernel may
also opt to simply do a hard cycle of the unit immediately after receiving
ctrl-alt-del from within the keyboard interrupt.  Which it does is supposed
to be determined by the last call to reboot(2), which is normally done by
init.

thanks,
-bp
--
B. James Phillippe		. bryan@terran.org
Software Engineer, WGT Inc.	. http://www.terran.org/~bryan


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

* Re: 2.2.1 - CTRL-ALT-DEL instant reboot (bad!)
@ 1999-03-01  5:58 clc31
  1999-03-01  6:03 ` B. James Phillippe
  0 siblings, 1 reply; 9+ messages in thread
From: clc31 @ 1999-03-01  5:58 UTC (permalink / raw)
  To: axp-list; +Cc: bryan

I noticed this problem when using the experimental glibc rpms such as 
2.0.111.  I didn't have this problem with 2.0.7 and I don't have it now 
with 2.1-0.990219.  I think it was kernel-independent (happened on 2.0.36 
as well, as I recall).  I chalked it up to the raw nature of January's 
rawhide releases.

-Charles


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

* Re: 2.2.1 - CTRL-ALT-DEL instant reboot (bad!)
  1999-03-01  5:58 2.2.1 - CTRL-ALT-DEL instant reboot (bad!) clc31
@ 1999-03-01  6:03 ` B. James Phillippe
  1999-03-02 23:30   ` Larry Snyder
  0 siblings, 1 reply; 9+ messages in thread
From: B. James Phillippe @ 1999-03-01  6:03 UTC (permalink / raw)
  To: clc31; +Cc: axp-list

On Mon, 1 Mar 1999 clc31@cornell.edu wrote:

> I noticed this problem when using the experimental glibc rpms such as 
> 2.0.111.  I didn't have this problem with 2.0.7 and I don't have it now 
> with 2.1-0.990219.  I think it was kernel-independent (happened on 2.0.36 
> as well, as I recall).  I chalked it up to the raw nature of January's 
> rawhide releases.

I think you nailed it; my system is running glibc 2.1 (grrr...).  Perhaps
the reboot system call has changed semantics and is missing a
backward-compat version(?)

thanks for the other set of eyes. :)

-bp
--
B. James Phillippe		. bryan@terran.org
Software Engineer, WGT Inc.	. http://www.terran.org/~bryan


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

* Re: 2.2.1 - CTRL-ALT-DEL instant reboot (bad!)
  1999-03-01  6:03 ` B. James Phillippe
@ 1999-03-02 23:30   ` Larry Snyder
  1999-03-03  1:37     ` B. James Phillippe
  0 siblings, 1 reply; 9+ messages in thread
From: Larry Snyder @ 1999-03-02 23:30 UTC (permalink / raw)
  To: axp-list

Check /usr/src/linux/Documentation/Changes.  After the minimum versions
section there's a note about the effect of ctl-alt-del.
-ls-

"B. James Phillippe" <bryan@terran.org> wrote:
> On Mon, 1 Mar 1999 clc31@cornell.edu wrote:
> 
> > I noticed this problem when using the experimental glibc rpms such as 
> > 2.0.111.  I didn't have this problem with 2.0.7 and I don't have it now 
> > with 2.1-0.990219.  I think it was kernel-independent (happened on 2.0.36 
> > as well, as I recall).  I chalked it up to the raw nature of January's 
> > rawhide releases.
> 
> I think you nailed it; my system is running glibc 2.1 (grrr...).  Perhaps
> the reboot system call has changed semantics and is missing a
> backward-compat version(?)
> 
> thanks for the other set of eyes. :)
> 
> -bp
> --
> B. James Phillippe		. bryan@terran.org
> Software Engineer, WGT Inc.	. http://www.terran.org/~bryan
> 
> -- 
> To unsubscribe: send e-mail to axp-list-request@redhat.com with
> 'unsubscribe' as the subject.  Do not send it to axp-list@redhat.com


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

* Re: 2.2.1 - CTRL-ALT-DEL instant reboot (bad!)
  1999-03-02 23:30   ` Larry Snyder
@ 1999-03-03  1:37     ` B. James Phillippe
  1999-03-03  1:56       ` Michal Jaegermann
  0 siblings, 1 reply; 9+ messages in thread
From: B. James Phillippe @ 1999-03-03  1:37 UTC (permalink / raw)
  To: axp-list

On Tue, 2 Mar 1999, Larry Snyder wrote:

> Check /usr/src/linux/Documentation/Changes.  After the minimum versions
> section there's a note about the effect of ctl-alt-del.

Actually, I did read that from the Changes file.  But it sounded so
overwhelmingly x86 that it never occured to me to try it for Alpha.  Here
is the text:

...

   <CTRL><ALT><DEL> now performs a cold reboot instead of a warm reboot
for increased hardware compatibility.  If you want a warm reboot and
know it works on your hardware, add a "reboot=warm" command line option
in LILO.  A small number of machines need "reboot=bios" to reboot via
the BIOS.

...

The mention of LILO and BIOS led me to instantly dismiss it as a change
which didn't apply to me.  I'll give it a try with SRM tonight and see what
happens.

Another point that someone on this list brought up was glibc-2.1.  IIRC the
possibility was mentioned that breaking the reboot(2) syscall in glibc
might have prevented init from telling the kernel to inform of of
ctr-alt-del and let it do the work.

thanks,
-bp
--
B. James Phillippe		. bryan@terran.org
Software Engineer, WGT Inc.	. http://www.terran.org/~bryan


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

* Re: 2.2.1 - CTRL-ALT-DEL instant reboot (bad!)
  1999-03-03  1:37     ` B. James Phillippe
@ 1999-03-03  1:56       ` Michal Jaegermann
  0 siblings, 0 replies; 9+ messages in thread
From: Michal Jaegermann @ 1999-03-03  1:56 UTC (permalink / raw)
  To: axp-list

B. James Phillippe wrote:
> 
> On Tue, 2 Mar 1999, Larry Snyder wrote:
> 
> > Check /usr/src/linux/Documentation/Changes.  After the minimum versions
> > section there's a note about the effect of ctl-alt-del.
> 
> Actually, I did read that from the Changes file.  But it sounded so
> overwhelmingly x86 that it never occured to me to try it for Alpha.

I did try that on Alpha.  

>    <CTRL><ALT><DEL> now performs a cold reboot instead of a warm reboot
> for increased hardware compatibility.

Just to check if I am not dreaming I hit this ctrl-alt-del on EB64+
running at the moment 2.2.2-ac5.  A regular 'shutdown -r' happened.
And I know that LX and UX with 2.2 series kernels acted the same way.
Maybe there is a difference between machines booting from ARC (and
similar) and those booting from SRM?  I rather supect something
different between glibc2 and pre-releases glibc2.1.  Was 'init'
recompiled?  With possibly different layout of some structures
maybe this signal is not caught?

Does 'ctrlaltdel' utility has any effect for you?

  Michal


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

* Re: 2.2.1 - CTRL-ALT-DEL instant reboot (bad!)
       [not found] <bryan@terran.org>
@ 1999-03-03  4:51 ` Bruce Elliott
  0 siblings, 0 replies; 9+ messages in thread
From: Bruce Elliott @ 1999-03-03  4:51 UTC (permalink / raw)
  To: axp-list

On Mar 2,  5:37pm, "B. James Phillippe" wrote:

[ ... ]

} Another point that someone on this list brought up was glibc-2.1.  IIRC the
} possibility was mentioned that breaking the reboot(2) syscall in glibc
} might have prevented init from telling the kernel to inform of of
} ctr-alt-del and let it do the work.

This problem existed in 2.0.112 (and some number of earlier versions), but
was fixed in 2.1.  If one of the bad versions was used, init would not be
able to "capture" ctrl-alt-delete, and the system would immediately reboot.

-- 
B. D. Elliott   bde@nwlink.com   (Seattle)


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

end of thread, other threads:[~1999-03-03  4:55 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1999-03-01  5:58 2.2.1 - CTRL-ALT-DEL instant reboot (bad!) clc31
1999-03-01  6:03 ` B. James Phillippe
1999-03-02 23:30   ` Larry Snyder
1999-03-03  1:37     ` B. James Phillippe
1999-03-03  1:56       ` Michal Jaegermann
     [not found] <bryan@terran.org>
1999-03-03  4:51 ` Bruce Elliott
  -- strict thread matches above, loose matches on Subject: below --
1999-02-28  7:37 B. James Phillippe
1999-02-28 23:50 ` Michael Tibor
1999-03-01  0:54   ` B. James Phillippe

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