From owner-freebsd-current@FreeBSD.ORG Sun Feb 17 14:17:41 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 C62DF16A418 for ; Sun, 17 Feb 2008 14:17:41 +0000 (UTC) (envelope-from freebsd-current@dino.sk) Received: from loki.netlab.sk (loki.netlab.sk [84.245.65.11]) by mx1.freebsd.org (Postfix) with ESMTP id 64AB413C457 for ; Sun, 17 Feb 2008 14:17:41 +0000 (UTC) (envelope-from freebsd-current@dino.sk) Received: from fox.dino.sk (home.dino.sk [84.245.95.252]) (AUTH: PLAIN milan, TLS: TLSv1/SSLv3,256bits,AES256-SHA) by loki.netlab.sk with esmtp; Sun, 17 Feb 2008 15:14:20 +0100 id 0002E00A.47B8413C.0000DDBA From: Milan Obuch To: freebsd-current@freebsd.org Date: Sun, 17 Feb 2008 15:17:26 +0100 User-Agent: KMail/1.9.7 References: <20080204022334.GC27999@cdnetworks.co.kr> <20080217112104.X80805@fledge.watson.org> <200802171458.26951.freebsd-current@dino.sk> In-Reply-To: <200802171458.26951.freebsd-current@dino.sk> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200802171517.26965.freebsd-current@dino.sk> Subject: Re: CFT: vr(4) 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: Sun, 17 Feb 2008 14:17:41 -0000 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. Regards, Milan -- Address this mail is sent from is used only for this mailing list. Do not send any messages to it directly as a response, reply only to mailing list. For mail to me personally, use milan in address instead.