From owner-freebsd-current@FreeBSD.ORG Tue Aug 23 22:39:48 2005 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7CB4C16A41F for ; Tue, 23 Aug 2005 22:39:48 +0000 (GMT) (envelope-from markir@paradise.net.nz) Received: from linda-3.paradise.net.nz (bm-3a.paradise.net.nz [202.0.58.22]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1CD6543D45 for ; Tue, 23 Aug 2005 22:39:47 +0000 (GMT) (envelope-from markir@paradise.net.nz) Received: from smtp-1.paradise.net.nz (smtp-1a.paradise.net.nz [202.0.32.194]) by linda-3.paradise.net.nz (Paradise.net.nz) with ESMTP id <0ILP001665MA10@linda-3.paradise.net.nz> for freebsd-current@freebsd.org; Wed, 24 Aug 2005 10:39:47 +1200 (NZST) Received: from [192.168.1.11] (218-101-14-82.paradise.net.nz [218.101.14.82]) by smtp-1.paradise.net.nz (Postfix) with ESMTP id A1D3E82AE7; Wed, 24 Aug 2005 10:39:46 +1200 (NZST) Date: Wed, 24 Aug 2005 10:39:45 +1200 From: Mark Kirkwood In-reply-to: <430BA1F1.1010907@paradise.net.nz> To: Mark Kirkwood Message-id: <430BA5B1.5080507@paradise.net.nz> MIME-version: 1.0 Content-type: text/plain; format=flowed; charset=ISO-8859-1 Content-transfer-encoding: 7bit X-Accept-Language: en-us, en User-Agent: Mozilla Thunderbird 1.0.6 (X11/20050726) References: <430BA1F1.1010907@paradise.net.nz> Cc: freebsd-current@freebsd.org Subject: Re: 6.0 BETA2 reboot hangs on SMP system - progress of a sort X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 23 Aug 2005 22:39:48 -0000 Looks like I have false alarmed everybody :-( I must have changed something in my BIOS setup since I last (tried to) reboot, because now 5.4-RELEASE (SMP) reboots ok, and I have made no changes there. I will look around and try to see what it is (a quick glance suggests I have USB enabled now, whereas it may have been disabled before). Apologies for the confusion... Mark Mark Kirkwood wrote: > A brief description of system is (dmesg attached): > > Tyan S2510 dual 1Ghz > RELENG_6 From Aug 14 > GENERIC > > Reboot hangs after displaying "cpu_reset: Stopping other CPUs". This > appears to be a hard lockup, as I cannot break to the debugger. > > In an effort to see where the problem was, I amended > > src/sys/i386/i386/vm_machdep.c > src/sys/kern/subr_smp.c > > Adding some printf statements and removing the #ifdef DIAGNOSTIC in > subr_smp.c, so that it printed always (diffs attached). > > To my surprise, after a kernel rebuild + shutdown and restart, I find > that 'shutdown -r now' and 'reboot' *now work*! Hmmm, nice but weird. > This sort of voodoo suggests something like memory being clobbered > somewhere...