From owner-freebsd-current@FreeBSD.ORG Mon Feb 18 08:18:13 2008 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5127A16A468 for ; Mon, 18 Feb 2008 08:18:13 +0000 (UTC) (envelope-from pyunyh@gmail.com) Received: from py-out-1112.google.com (py-out-1112.google.com [64.233.166.182]) by mx1.freebsd.org (Postfix) with ESMTP id F0D5813C4DB for ; Mon, 18 Feb 2008 08:18:12 +0000 (UTC) (envelope-from pyunyh@gmail.com) Received: by py-out-1112.google.com with SMTP id u52so1954198pyb.10 for ; Mon, 18 Feb 2008 00:18:12 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:received:received:date:from:to:cc:subject:message-id:reply-to:references:mime-version:content-type:content-disposition:in-reply-to:user-agent; bh=K8BlDU2djt/4W1xM2XmjppDyy3sWyLK7YH+IpmeDcIE=; b=IF6wJ09gFN+9N+qiyIeNonrWvWIuGuhwz8vhhSnZ7N/VeNsdqPHmhQgmzAUYBOkaU72UdfaI9HUM83ijCgySdCTvsNDK+OfWyL6zUntqBAgeWWAXu27zgsyZcbKZtDH6AnchJ4HFjF16TocXuWeM7kl7JaLLMiGS6MgtCNWbrOA= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=date:from:to:cc:subject:message-id:reply-to:references:mime-version:content-type:content-disposition:in-reply-to:user-agent; b=bzDxF5PiliOsI6Zju3XjVNwi8llOAdqsk7zUiRxAz/xKBP/OwNybDzV1CLl5+7xkKK0JlTt31zLu8Oy+ZngKLluoNj0StzPLoJak3T6zhYNtkYs+Q+qFXkVcwQTfgdJmbG0qIzhZIPN5oKgCRkfrHVrlesSVp7CL6JEWhV2xYho= Received: by 10.142.78.10 with SMTP id a10mr4080257wfb.37.1203322691839; Mon, 18 Feb 2008 00:18:11 -0800 (PST) Received: from michelle.cdnetworks.co.kr ( [211.53.35.84]) by mx.google.com with ESMTPS id 30sm16575709wfd.19.2008.02.18.00.18.09 (version=TLSv1/SSLv3 cipher=OTHER); Mon, 18 Feb 2008 00:18:10 -0800 (PST) Received: from michelle.cdnetworks.co.kr (localhost.cdnetworks.co.kr [127.0.0.1]) by michelle.cdnetworks.co.kr (8.13.5/8.13.5) with ESMTP id m1I8I5pi015578 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Mon, 18 Feb 2008 17:18:05 +0900 (KST) (envelope-from pyunyh@gmail.com) Received: (from yongari@localhost) by michelle.cdnetworks.co.kr (8.13.5/8.13.5/Submit) id m1I8I1vc015577; Mon, 18 Feb 2008 17:18:01 +0900 (KST) (envelope-from pyunyh@gmail.com) Date: Mon, 18 Feb 2008 17:18:01 +0900 From: Pyun YongHyeon To: Milan Obuch Message-ID: <20080218081801.GB14601@cdnetworks.co.kr> References: <20080204022334.GC27999@cdnetworks.co.kr> <20080217112104.X80805@fledge.watson.org> <200802171458.26951.freebsd-current@dino.sk> <200802171517.26965.freebsd-current@dino.sk> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200802171517.26965.freebsd-current@dino.sk> User-Agent: Mutt/1.4.2.1i Cc: freebsd-current@freebsd.org Subject: Re: CFT: vr(4) X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: pyunyh@gmail.com List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 18 Feb 2008 08:18:13 -0000 On Sun, Feb 17, 2008 at 03:17:26PM +0100, Milan Obuch wrote: > On Sunday 17 February 2008, Milan Obuch wrote: > > On Sunday 17 February 2008, Robert Watson wrote: > > > On Sat, 16 Feb 2008, Milan Obuch wrote: > > > >> I have tested 4-port Rhine III(6105LOM) and I never seen this hangs. > > > >> Does this also happen on other network interface too? When the system > > > >> hangs, would you break into DDB and show me the output of 'show > > > >> alllocks' and 'ps'? > > > > > > > > I need some tests with another box. I was not able to break into DDB. > > > > Ctrl-Alt-Esc worked until hang. Hang was really hard, Ctrl-Alt-Esc did > > > > not invoke DDB. I do not feel if_vr is culprit here, more probably PCI > > > > bus got somehow locked, but I have no idea how could I test it > > > > currently. > > > > > > FYI, there are known issues with the effectiveness of syscons > > > ctrl-alt-esc to get into the debugger -- if you haven't tried with a > > > serial break on a serial console, you might want to do so. This is > > > because syscons's interrupt handler acquires the Giant lock in an > > > ithread, requiring a lot more things to be happy to succeed. In > > > constrast, sio (and friends) use fast interrupt handlers and no Giant > > > lock on the way to processing the break request. It may well be that a > > > serial break doesn't get into DDB for you, but it's worth trying... > > > > > > Robert N M Watson > > > Computer Laboratory > > > University of Cambridge > > > > You are right, after rebuilding kernel with BREAK_TO_DEBUGGER I am able to > > get requested data. BTW, I can't find just now what ALT_BREAK_TO_DEBUGGER > > means... > > > > After kldload if_vr, dhclient vr0 and ping -f in a minute > > system freezes. > > > > Correction... as I moved cable from on-board re0 to vr0, system remembered arp > table entry and did not actually try to use vr0. Now I repeated it, but boot > system with cable in vr0. This time it hangs right after ping <>, and break > does not enter debugger... hard hang. I tried it twice, the same result... > > So no data to check, actually, only hard hang. > I've put up a new version under the old URL. It's not tested in sparc64 but it seems to work on i386. Would you give it spin? -- Regards, Pyun YongHyeon