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
This commit is contained in:
Kazutaka YOKOTA 1999-11-08 10:57:02 +00:00
parent 5d6b65a8f1
commit 44e9f20ad4
Notes: svn2git 2020-12-08 03:00:23 +00:00
svn path=/www/; revision=6030

View file

@ -1,10 +1,10 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN" [
<!ENTITY base CDATA "../..">
<!ENTITY date "$FreeBSD: www/en/releases/3.3R/errata.sgml,v 1.3 1999/10/01 08:20:35 jkh Exp $">
<!ENTITY date "$FreeBSD: www/en/releases/3.3R/errata.sgml,v 1.4 1999/10/08 08:39:10 brian Exp $">
<!ENTITY title "FreeBSD 3.3 Errata Notes">
<!ENTITY % includes SYSTEM "../../includes.sgml"> %includes;
]>
<!-- $FreeBSD: www/en/releases/3.3R/errata.sgml,v 1.3 1999/10/01 08:20:35 jkh Exp $ -->
<!-- $FreeBSD: www/en/releases/3.3R/errata.sgml,v 1.4 1999/10/08 08:39:10 brian Exp $ -->
<html>
&header;
@ -79,6 +79,53 @@ Fix: Download and install the latest version of ppp(8) from:
<a href="http://www.Awfulhak.org/~brian/">http://www.Awfulhak.org/~brian/</a> (UK)
or upgrade your system to -stable.
<strong>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.</strong>
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
</pre>
<p></p><a href="../index.html">Release Home</a>
&footer;