From nobody@FreeBSD.org  Fri May  6 21:16:46 2005
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id 2F8C416A4D4
	for <freebsd-gnats-submit@FreeBSD.org>; Fri,  6 May 2005 21:16:46 +0000 (GMT)
Received: from www.freebsd.org (www.freebsd.org [216.136.204.117])
	by mx1.FreeBSD.org (Postfix) with ESMTP id 1A95643D88
	for <freebsd-gnats-submit@FreeBSD.org>; Fri,  6 May 2005 21:16:46 +0000 (GMT)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (localhost [127.0.0.1])
	by www.freebsd.org (8.13.1/8.13.1) with ESMTP id j46LGjlx049453
	for <freebsd-gnats-submit@FreeBSD.org>; Fri, 6 May 2005 21:16:45 GMT
	(envelope-from nobody@www.freebsd.org)
Received: (from nobody@localhost)
	by www.freebsd.org (8.13.1/8.13.1/Submit) id j46LGj17049452;
	Fri, 6 May 2005 21:16:45 GMT
	(envelope-from nobody)
Message-Id: <200505062116.j46LGj17049452@www.freebsd.org>
Date: Fri, 6 May 2005 21:16:45 GMT
From: Jonathan Chappelow <jcchapp@emory.edu>
To: freebsd-gnats-submit@FreeBSD.org
Subject: drop/boot to single user hangs on 5.4-RELEASE with atapicam
X-Send-Pr-Version: www-2.3

>Number:         80714
>Category:       kern
>Synopsis:       [atapicam] drop/boot to single user hangs on 5.4-RELEASE with atapicam
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    jh
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Fri May 06 21:20:07 GMT 2005
>Closed-Date:    Fri May 21 07:38:18 UTC 2010
>Last-Modified:  Fri May 21 07:38:18 UTC 2010
>Originator:     Jonathan Chappelow
>Release:        5.4
>Organization:
Emory University
>Environment:
FreeBSD monkey.xxxx.emory.edu 5.4-RELEASE FreeBSD 5.4-RELEASE #2: Fri May  6 16:31:34 EDT 2005     root@monkey.xxxx.emory.edu:/usr/obj/usr/src/sys/MONKEY  i386
>Description:
      After build of kernel with 'device atapicam', booting to single user mode results in a hang at:
"Enter full pathname of shell or RETURN for /bin/sh:"

No characters appear as you type and Return does nothing.  The keyboard still works as I can use scroll lock to review the boot messages, and CTRL-ALT-DEL to reboot.

When device atapicam is removed from the kernel, I can boot to single user mode and continue to installword.

However, I still cannot drop to single user with 'shutdown now'.  It hangs at the same spot.  Again, CTRL-ALT-DEL can reboot gracefully.

Problem came only after cvsup from 5.4-RC3 to 5.4-RELEASE.  5.4-RELEASE discs not available yet.  Kernel built with same options from 5.4-RC3 or earlier has no problem.
>How-To-Repeat:
      I installed with 5.4-RC3 discs, build and installed world and custom (and working) kernel using procedure in UPDATING.  On May 6,2005, cvsup to 5.4-RELEASE.  Build and install using same kernel config file.

Same problem occurs on another computer after cvsup from 5.4-RC3 to 5.4-RELEASE.  Have repeatedly upgraded with similar procedure and using atapicam starting from 5.2.1.
>Fix:
      To boot to single user:  remove 'device atapicam'.
To drop to single user: ???.
>Release-Note:
>Audit-Trail:

From: "Jonathan Chappelow" <jcchapp@emory.edu>
To: <bug-followup@FreeBSD.org>, <jcchapp@emory.edu>
Cc:  
Subject: Re: kern/80714: drop/boot to single user hangs on 5.4-RELEASE with atapicam
Date: Fri, 6 May 2005 18:08:47 -0400

 Removing 'device atapicam' only solves the single user boot problem with =
 one of my machines.  The other machine originally, installed from the =
 5.4-RC3 discs and cvsup'd to 5.4-RELEASE, still hangs at entry into =
 single user, even after removal of 'device atapicam' and rebuild/install =
 of kernel.
 
 Jonathan

From: "Jonathan Chappelow" <jcchapp@emory.edu>
To: <bug-followup@FreeBSD.org>,
	"Jonathan Chappelow" <jcchapp@emory.edu>
Cc:  
Subject: Re: kern/80714: drop/boot to single user hangs on 5.4-RELEASE with atapicam
Date: Sun, 8 May 2005 14:04:47 -0400

 Occasionally, a page fault will occur when pressing enter or =
 CTRL-ALT-DEL at prompt for single user shell.  Usually the system hangs.
 Again, removing atapicam only partially solved the issue on one of two =
 machines tested.  It is still impossible to enter single user via =
 'shutdown now'.
 
 Jonathan

From: Jonathan Chappelow <jcchapp@emory.edu>
To: bug-followup@FreeBSD.org, jcchapp@emory.edu
Cc:  
Subject: Re: kern/80714: drop/boot to single user hangs on 5.4-RELEASE with
 atapicam
Date: Mon, 09 May 2005 13:51:56 -0400

 Back to normal with reverted tty.c:
 
 src/sys/kern/tty.c,v 1.228.2.2.2.2 2005/05/07 17:51:09 scottl
 
 
State-Changed-From-To: open->feedback 
State-Changed-By: jh 
State-Changed-When: Fri Mar 26 10:36:51 UTC 2010 
State-Changed-Why:  
Is this report still relevant for recent FreeBSD versions? 


Responsible-Changed-From-To: freebsd-bugs->jh 
Responsible-Changed-By: jh 
Responsible-Changed-When: Fri Mar 26 10:36:51 UTC 2010 
Responsible-Changed-Why:  
Track. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=80714 
State-Changed-From-To: feedback->closed 
State-Changed-By: jh 
State-Changed-When: Fri May 21 07:38:17 UTC 2010 
State-Changed-Why:  
Feedback timeout. Probably not a problem anymore. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=80714 
>Unformatted:
