From 44e9f20ad412c8a3556f88e74593569d66c9fef5 Mon Sep 17 00:00:00 2001 From: Kazutaka YOKOTA Date: Mon, 8 Nov 1999 10:57:02 +0000 Subject: [PATCH] Describe kernel panic caused by ctl-alt-space. The bug has been fixed in both -CURRENT and -STABLE, but it didn't make it into 3.3-RELEASE... PR: i386/14576 and kern/14586 --- en/releases/3.3R/errata.sgml | 51 ++++++++++++++++++++++++++++++++++-- 1 file changed, 49 insertions(+), 2 deletions(-) diff --git a/en/releases/3.3R/errata.sgml b/en/releases/3.3R/errata.sgml index 2c3cecdf72..5f97cafdb4 100644 --- a/en/releases/3.3R/errata.sgml +++ b/en/releases/3.3R/errata.sgml @@ -1,10 +1,10 @@ - + %includes; ]> - + &header; @@ -79,6 +79,53 @@ Fix: Download and install the latest version of ppp(8) from: http://www.Awfulhak.org/~brian/ (UK) or upgrade your system to -stable. + +Hitting Ctl-Alt-Space may panic the kernel with the +apm driver which is disabled or is not functional because of +the lack of APM support in the motherboard. + +Fix: To fix this, apply the following patch to + /sys/i386/apm/apm.c and rebuild the kernel. + +Index: apm.c +=================================================================== +RCS file: /src/CVS/src/sys/i386/apm/apm.c,v +retrieving revision 1.77.2.8 +retrieving revision 1.77.2.9 +diff -u -r1.77.2.8 -r1.77.2.9 +--- apm.c 1999/09/12 01:06:28 1.77.2.8 ++++ apm.c 1999/09/20 15:34:29 1.77.2.9 +@@ -621,6 +621,9 @@ + apm_suspend(int state) + { + struct apm_softc *sc = &apm_softc; ++ ++ if (!sc->initialized) ++ return; + + switch (state) { + case PMST_SUSPEND: + + + If you don't like to rebuild the kernel, you can edit your + keymap file so that it won't cause panic. Find your keymap + file in /usr/share/syscons/keymap. Open it with an editor + program and locate the following line. + + 057 ' ' ' ' nul ' ' ' ' ' ' susp ' ' O + ~~~~ + Change it to + + 057 ' ' ' ' nul ' ' ' ' ' ' ' ' ' ' O + ~~~ (a quoted space) + You must change the next line too. + + 104 slock saver slock saver susp nop susp nop O + ~~~~ ~~~~ + Edit this to + + 104 slock saver slock saver nop nop nop nop O +

Release Home &footer;