From nobody@FreeBSD.org  Tue Nov 13 21:01:06 2001
Return-Path: <nobody@FreeBSD.org>
Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21])
	by hub.freebsd.org (Postfix) with ESMTP id 7D42037B405
	for <freebsd-gnats-submit@FreeBSD.org>; Tue, 13 Nov 2001 21:01:05 -0800 (PST)
Received: (from nobody@localhost)
	by freefall.freebsd.org (8.11.4/8.11.4) id fAE515W16476;
	Tue, 13 Nov 2001 21:01:05 -0800 (PST)
	(envelope-from nobody)
Message-Id: <200111140501.fAE515W16476@freefall.freebsd.org>
Date: Tue, 13 Nov 2001 21:01:05 -0800 (PST)
From: Mark Abene <phiber@phiber.com>
To: freebsd-gnats-submit@FreeBSD.org
Subject: reboot/shutdown hangs on Sony VAIO 505 w/FreeBSD-4.4
X-Send-Pr-Version: www-1.0

>Number:         31967
>Category:       i386
>Synopsis:       reboot/shutdown hangs on Sony VAIO 505 w/FreeBSD-4.4
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    freebsd-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue Nov 13 21:10:00 PST 2001
>Closed-Date:    Sun Dec 01 13:16:26 PST 2002
>Last-Modified:  Sun Dec 01 13:16:26 PST 2002
>Originator:     Mark Abene
>Release:        FreeBSD-4.4
>Organization:
>Environment:
FreeBSD bushido.phiber.com 4.4-RELEASE FreeBSD 4.4-RELEASE #0: Fri Nov  9 18:26:31 EST 2001     root@bushido.phiber.com:/usr/src/sys/compile/BUSHIDO  i386
>Description:
Since doing a full "make world" upgrade from 4.3 to 4.4, neither shutdown
nor reboot act as expected.  My Sony VAIO 505EX shuts down cleanly, it
syncs the disk, prints the uptime, then locks SOLID.  Ctrl-Alt-Del won't
work, and I have to hard power-cycle the laptop.  This is affecting reboot
as well as shutdown -p and shutdown -h.  All freeze after the uptime is
displayed.  This didn't happen with 4.3, nor as far back as I can remember
(2.2.x and 3.x always shutdown/rebooted fine with PAO, FWIW).  Turning off
APM made no difference, so I doubt that's related...
>How-To-Repeat:
Try shutting down or rebooting, and it will hang solid after printing
the uptime, every single time without fail.

>Fix:
      
>Release-Note:
>Audit-Trail:

From: Mark Abene <phiber@radicalmedia.com>
To: gnats-admin@freebsd.org, freebsd-bugs@freebsd.org
Cc: Mark Abene <phiber@phiber.com>
Subject: Re: i386/31967: reboot/shutdown hangs on Sony VAIO 505 w/FreeBSD-4.4
Date: Thu, 15 Nov 2001 14:44:15 -0500

 Just a little update...  I've discovered that this problem ONLY occurs if a
 PCMCIA card is in the machine during reboot or shutdown.  If the slot is empty,
 the laptop will reboot or shutdown as normal.  If the slot is full (e.g. with
 my 3C589), the machine will hang on reboot or shutdown.
 This is the only time I've experienced PCMCIA related hangs with 4.4-RELEASE.
 My ethernet card works fine during normal system use.  Suffice to say this did
 NOT happen with previous versions of FreeBSD.  Also of note is that I had to
 add...
 
 hw.pcic.intr_path="1"
 hw.pcic.irq="0"
 
 ...to /boot/loader.conf after doing my initial install, since the machine would
 panic otherwise.  But everything seemed fine after this, only the reboot and
 shutdown weirdness remains.
 In adding some printf's to /sys/kern/kern_shutdown.c, it would appear that
 when the PCMCIA slot is occupied on shutdown, the machine hangs when
 EVENTHANDLER_INVOKE(shutdown_post_sync, howto)
 is called on line 310.
State-Changed-From-To: open->feedback 
State-Changed-By: iedowse 
State-Changed-When: Sun Dec 1 12:28:51 PST 2002 
State-Changed-Why:  

Does this still happen with more recent releases? 

http://www.freebsd.org/cgi/query-pr.cgi?pr=31967 

From: Ian Dowse <iedowse@maths.tcd.ie>
To: freebsd-gnats-submit@freebsd.org
Cc:  
Subject: Re: i386/31967: reboot/shutdown hangs on Sony VAIO 505 w/FreeBSD-4.4 
Date: Sun, 01 Dec 2002 20:54:07 +0000

 Adding to the audit trail:
 
 In message <20021201154108.B11526@mail.radicalmedia.com>, Mark Abene writes:
 >I had been using a "pccardc power" command in my /etc/rc.shutdown for so long
 >that I had forgotten about this.  It now appears to be working fine during
 >shutdown/reboot without any help from pccardc.
 >
 >Thanks,
 >-Mark
State-Changed-From-To: feedback->closed 
State-Changed-By: iedowse 
State-Changed-When: Sun Dec 1 13:15:23 PST 2002 
State-Changed-Why:  

Submitter says that the problem has been fixed. 

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