From owner-freebsd-bugs Mon Oct 29 12:10: 8 2001 Delivered-To: freebsd-bugs@hub.freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id A1ADC37B401 for ; Mon, 29 Oct 2001 12:10:02 -0800 (PST) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.4/8.11.4) id f9TKA2J63745; Mon, 29 Oct 2001 12:10:02 -0800 (PST) (envelope-from gnats) Date: Mon, 29 Oct 2001 12:10:02 -0800 (PST) Message-Id: <200110292010.f9TKA2J63745@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.org Cc: From: Oleg Ilin Subject: Re[4]: i386/31535: Can't reboot system: Tyan Thunder K7+ Dual AMD Athlon 1.2 MP / FreeBSD 4.4 STABLE or 4.3 RELEASE Reply-To: Oleg Ilin Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org The following reply was made to PR i386/31535; it has been noted by GNATS. From: Oleg Ilin To: Tor.Egge@fast.no Cc: freebsd-gnats-submit@FreeBSD.org Subject: Re[4]: i386/31535: Can't reboot system: Tyan Thunder K7+ Dual AMD Athlon 1.2 MP / FreeBSD 4.4 STABLE or 4.3 RELEASE Date: Mon, 29 Oct 2001 23:06:13 +0300 Hello Tor, Monday, October 29, 2001, 7:04:38 PM, you wrote: > The AP probably managed to count to 10000000 before the BSP had > completed printing the message about having grabbed the MP lock. Thus > cpu_reset_proxy_active was not updated before the timeout had expired. > The fix for that is to move the printf call to after the wbinvd() > statement in cpu_reset_proxy(). Hmm... /usr/src/sys/i386/i386 > mv vm_machdep.c.orig vm_machdep.c cd /usr/src /usr/src > patch < tor.patch2 Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |diff -u -r1.132.2.5 vm_machdep.c |--- sys/i386/i386/vm_machdep.c 22 Sep 2001 09:21:48 -0000 1.132.2.5 |+++ sys/i386/i386/vm_machdep.c 29 Oct 2001 15:55:23 -0000 -------------------------- Patching file sys/i386/i386/vm_machdep.c using Plan A... Hunk #1 succeeded at 415. Hunk #2 succeeded at 465. Hunk #3 succeeded at 473. Hunk #4 succeeded at 481. done Rebuild kernel, boot new kernel.. test# reboot reboot log [console] #==========================================================================> boot() called on cpu#1 Waiting (max 60 seconds) for system process `bufdaemon' to stop...stopped Waiting (max 60 seconds) for system process `syncer' to stop...stopped syncing disks... done Uptime: 32m55s Rebooting... cpu_reset called on cpu#1 cpu_reset: Stopping other CPUs cpu_reset: Restarting BSP cpu_reset_proxy: Grabbed mp lock for BSP cpu_reset_proxy: Stopped CPU 1 #==========================================================================< Long wait.. System not restarting. Best regards, Oleg mailto:ilin@rinet.ru To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message