From owner-freebsd-current@FreeBSD.ORG Wed Jun 29 23:56:28 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 E97BE16A428 for ; Wed, 29 Jun 2005 23:56:27 +0000 (GMT) (envelope-from scottl@samsco.org) Received: from pooker.samsco.org (pooker.samsco.org [168.103.85.57]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9AD2D43D53 for ; Wed, 29 Jun 2005 23:56:25 +0000 (GMT) (envelope-from scottl@samsco.org) Received: from [192.168.254.14] (imini.samsco.home [192.168.254.14]) (authenticated bits=0) by pooker.samsco.org (8.13.3/8.13.3) with ESMTP id j5U03vYD072116; Wed, 29 Jun 2005 18:03:57 -0600 (MDT) (envelope-from scottl@samsco.org) Message-ID: <42C3346B.9010408@samsco.org> Date: Wed, 29 Jun 2005 17:53:15 -0600 From: Scott Long User-Agent: Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.7.7) Gecko/20050416 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Adam K Kirchhoff References: <42C098B0.5060004@voicenet.com> <42C119FE.7020809@comcast.net> <42C1381B.9000901@voicenet.com> <42C31D30.3000009@comcast.net> <42C3266A.3000901@voicenet.com> In-Reply-To: <42C3266A.3000901@voicenet.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-2.8 required=3.8 tests=ALL_TRUSTED autolearn=failed version=3.0.2 X-Spam-Checker-Version: SpamAssassin 3.0.2 (2004-11-16) on pooker.samsco.org Cc: rsh.lists@comcast.net, freebsd-current@freebsd.org Subject: Re: Portupgrade, -CURRENT & SMP 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: Wed, 29 Jun 2005 23:56:28 -0000 Adam K Kirchhoff wrote: > Sean wrote: > >> Adam K Kirchhoff wrote: >> >>> Sean wrote: >>> >>>> Adam K Kirchhoff wrote: >>>> >>>>> >>>>> I have three machines which I just upgraded from 5.4 to -CURRENT. >>>>> They are two SMP desktops and a UP laptop. >>>>> >>>>> After building world and installing, I started to run portupgrade >>>>> on my systems. On the laptop, everything has been running >>>>> smoothly.. On both SMP systems, portupgrade hangs. top shows the >>>>> ruby18 process stuck in the *vnode state. On one machine, which I >>>>> can't physically access, it's been this way for hours. I can't ssh >>>>> into this machine, and only have access to sessions that were >>>>> connected before the hang. On my home machine (which I can >>>>> physically access), I've been able to log in on the virtual >>>>> consoles and reboot when this happens (though it's not ever able to >>>>> sync all buffers and cleanly unmount /). It's now happened with 5 >>>>> or 6 consecutive attempts at portupgrade on this machine. The most >>>>> recent time this happened, on a hunch, I built a UP kernel, >>>>> rebooted, and tried portupgrade again. It's now been running for >>>>> two hours without hanging (previous record was less than five >>>>> minutes). >>>>> >>>>> I've googled around a bit for this problem, but haven't come across >>>>> anythign yet. Has anyone seen this before? I'll gladly submit a >>>>> pr, but I'm just looking for more idea, or maybe some confirmation >>>>> from others who have seen this. >>>>> >>>>> Adam >>>>> >>>>> _______________________________________________ >>>>> freebsd-current@freebsd.org mailing list >>>>> http://lists.freebsd.org/mailman/listinfo/freebsd-current >>>>> To unsubscribe, send any mail to >>>>> "freebsd-current-unsubscribe@freebsd.org" >>>>> >>>> >>>> Same problem here, with no solution for the problem. >>>> >>>> Sean >>>> _______________________________________________ >>>> freebsd-current@freebsd.org mailing list >>>> http://lists.freebsd.org/mailman/listinfo/freebsd-current >>>> To unsubscribe, send any mail to >>>> "freebsd-current-unsubscribe@freebsd.org" >>>> >>> >>> Well, since I at least know that I'm not alone in this, I've >>> submitted a pr (after searching for one with SMP and portupgrade and >>> coming up blank): >>> >>> http://www.freebsd.org/cgi/query-pr.cgi?pr=82730 >>> >>> Anyone having this problem, please take note and add your own >>> comments if possible. >>> >>> Adam >>> >>> >> So I guess for now we have to rebuild the kernel to go SMP, >> portupgrade, then rebuild back to SMP. Annoying. > > > > I think you mean '...we have to rebuild the kernel to go UP, > portupgrade..." > > Which, yes, is quite annoying and, IMHO, is a pretty critical bug that > needs fixing. It makes SMP on -CURRENT nearly unusable if you want to > regularly update your ports. > > Adam > Well, you can disable SMP at boot via set hw.apic.0.disable=1 But yes, it's some sort of a bug and it needs to be fixed. I'll track the PR. Scott