Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 20 Mar 2007 15:10:08 GMT
From:      Guy Helmer <ghelmer@palisadesys.com>
To:        freebsd-i386@FreeBSD.org
Subject:   Re: i386/108139: System hangs after /sbin/shutdown
Message-ID:  <200703201510.l2KFA8dW004445@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
The following reply was made to PR i386/108139; it has been noted by GNATS.

From: Guy Helmer <ghelmer@palisadesys.com>
To: bug-followup@freebsd.org, Juergen.Dankoweit@FreeBSD-Onkel.de
Cc:  
Subject: Re: i386/108139: System hangs after /sbin/shutdown
Date: Tue, 20 Mar 2007 09:50:08 -0500

 We have encountered a similar problem on Supermicro X7DBR-8+ and 
 X7DBR-i+ motherboards where, when rebooting, the kernel hangs after the 
 "Uptime:" message.  The following change to bus_generic_shutdown() in 
 subr_bus.c seems to have helped:
 
 Index: sys/kern/subr_bus.c
 ===================================================================
 RCS file: /home/ncvs/src/sys/kern/subr_bus.c,v
 retrieving revision 1.184.2.4
 diff -u -r1.184.2.4 subr_bus.c
 --- sys/kern/subr_bus.c	22 Sep 2006 18:49:14 -0000	1.184.2.4
 +++ sys/kern/subr_bus.c	16 Mar 2007 17:59:04 -0000
 @@ -2913,7 +2913,11 @@
  	device_t child;
  
  	TAILQ_FOREACH(child, &dev->children, link) {
 +		//printf(" Calling device_shutdown on child '%s':\n", child->nameunit);
 +		DELAY(1000);
  		device_shutdown(child);
 +		//printf(" Returned from device_shutdown on child '%s'.\n", child->nameunit);
 +		DELAY(1000);
  	}
  
  	return (0);
 
 Guy Helmer
 ghelmer@freebsd.org
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200703201510.l2KFA8dW004445>