From nobody  Mon Apr  7 10:17:54 1997
Received: (from nobody@localhost)
          by freefall.freebsd.org (8.8.5/8.8.5) id KAA24920;
          Mon, 7 Apr 1997 10:17:54 -0700 (PDT)
Message-Id: <199704071717.KAA24920@freefall.freebsd.org>
Date: Mon, 7 Apr 1997 10:17:54 -0700 (PDT)
From: dmm125@bellatlantic.net
To: freebsd-gnats-submit@freebsd.org
Subject: 2.2.1 RELEASE - hangs during boot...
X-Send-Pr-Version: www-1.0

>Number:         3220
>Category:       kern
>Synopsis:       2.2.1 RELEASE - hangs during boot...
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    freebsd-bugs
>State:          closed
>Quarter:
>Keywords:
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon Apr  7 10:20:02 PDT 1997
>Closed-Date:    Sun Apr 27 00:41:46 PDT 1997
>Last-Modified:  Sun Apr 27 00:44:43 PDT 1997
>Originator:     Donn Miller
>Release:        2.2.1 RELEASE
>Organization:
>Environment:
n/a
>Description:
Hangs during boot - immediately after message "probing for devices
on ISA bus".  After machine hung for a while, tried unplugging
keyboard.  Machine then came to life, finished booting.  Plugged
in keyboard, worked OK.  When logging in as root, prompted me
for password (should be another problem report, but I'll include
this anyway).  Machine is 386sx 16.
>How-To-Repeat:
after installing 2.2.1 RELEASE, reboot or reset computer.  My computer
then hangs right after "probing for devices on ISA bus".  It's
a 386sx 16, but I don't think this is the problem.  Maybe a problem
with my keyboard type conflicting with the console or keyboard driver
(even though it's a standard AT keyboard).
>Fix:
Temporary - just unplug keyboard when computer hangs.  Then,
plug back in after booting resumes.  (It won't continue booting
unless keyboard is unplugged).
>Release-Note:
>Audit-Trail:

From: Kazutaka YOKOTA <yokota@zodiac.mech.utsunomiya-u.ac.jp>
To: dmm125@bellatlantic.net
Cc: freebsd-gnats-submit@freebsd.org, yokota@zodiac.mech.utsunomiya-u.ac.jp
Subject: Re: kern/3220: 2.2.1 RELEASE - hangs during boot... 
Date: Tue, 08 Apr 1997 08:02:06 +0900

 >>Number:         3220
 >>Category:       kern
 >>Synopsis:       2.2.1 RELEASE - hangs during boot...
 >>Confidential:   no
 >>Severity:       serious
 >>Priority:       high
 >>Responsible:    freebsd-bugs
 >>State:          open
 >>Class:          sw-bug
 >>Submitter-Id:   current-users
 >>Arrival-Date:   Mon Apr  7 10:20:02 PDT 1997
 >>Last-Modified:
 >>Originator:     Donn Miller
 >>Organization:
 >>Release:        2.2.1 RELEASE
 >>Environment:
 >n/a
 >>Description:
 >Hangs during boot - immediately after message "probing for devices
 >on ISA bus".  After machine hung for a while, tried unplugging
 >keyboard.  Machine then came to life, finished booting.  Plugged
 >in keyboard, worked OK.
 
 If you can login, apply the following patch to
 /sys/i386/isa/syscons.c, rebuild the kernel, and see if it works. 
 
 BTW is this the same PR as kern/3059?
 
 Kazu
 
 --- syscons.c-dist	Mon Mar  3 10:09:00 1997
 +++ syscons.c	Mon Apr  7 14:10:10 1997
 @@ -332,14 +332,10 @@
      c |= KBD_OVERRIDE_KBD_LOCK;
  #endif
  
 -    /*
 -     * enable the keyboard port, but disable the keyboard intr. 
 -     * the aux port (mouse port) is disabled too.
 -     */
 +    /* enable the keyboard port, but disable the keyboard intr. */
      if (!set_controller_command_byte(sc_kbdc,
 -            KBD_KBD_CONTROL_BITS | KBD_AUX_CONTROL_BITS,
 -            KBD_ENABLE_KBD_PORT | KBD_DISABLE_KBD_INT
 -                | KBD_DISABLE_AUX_PORT | KBD_DISABLE_AUX_INT)) {
 +            KBD_KBD_CONTROL_BITS, 
 +            KBD_ENABLE_KBD_PORT | KBD_DISABLE_KBD_INT)) {
  	/* CONTROLLER ERROR 
  	 * there is very little we can do...
  	 */
 @@ -411,8 +407,8 @@
      }
      /* enable the keyboard port and intr. */
      if (!set_controller_command_byte(sc_kbdc, 
 -            KBD_KBD_CONTROL_BITS | KBD_AUX_CONTROL_BITS | KBD_OVERRIDE_KBD_LOCK,
 -	    (c & (KBD_AUX_CONTROL_BITS | KBD_OVERRIDE_KBD_LOCK))
 +            KBD_KBD_CONTROL_BITS | KBD_TRANSLATION | KBD_OVERRIDE_KBD_LOCK,
 +	    (c & (KBD_TRANSLATION | KBD_OVERRIDE_KBD_LOCK))
  	        | KBD_ENABLE_KBD_PORT | KBD_ENABLE_KBD_INT)) {
  	/* CONTROLLER ERROR 
  	 * This is serious; we are left with the disabled keyboard intr. 
State-Changed-From-To: open->closed 
State-Changed-By: yokota 
State-Changed-When: Sun Apr 27 00:41:46 PDT 1997 
State-Changed-Why:  
This PR is a duplicate of kern/3059. 
Fixed in syscons.c 1.182.2.16 (RELENG_2_2) and 1.209 (-current). 
>Unformatted:
