From owner-freebsd-current@FreeBSD.ORG Mon Nov 26 15:08:55 2007 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 3BA4216A421; Mon, 26 Nov 2007 15:08:55 +0000 (UTC) (envelope-from cristi@net.utcluj.ro) Received: from bavaria.utcluj.ro (unknown [IPv6:2001:b30:5000:2:20e:cff:fe4b:ca01]) by mx1.freebsd.org (Postfix) with ESMTP id 4D24313C45B; Mon, 26 Nov 2007 15:08:54 +0000 (UTC) (envelope-from cristi@net.utcluj.ro) Received: from localhost (localhost [127.0.0.1]) by bavaria.utcluj.ro (Postfix) with ESMTP id BE30450893; Mon, 26 Nov 2007 17:08:52 +0200 (EET) X-Virus-Scanned: by the daemon playing with your mail on local.mail.utcluj.ro Received: from bavaria.utcluj.ro ([127.0.0.1]) by localhost (bavaria.utcluj.ro [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id WYJ0Ab9zj4Ew; Mon, 26 Nov 2007 17:08:33 +0200 (EET) Received: from [172.27.2.200] (c7.campus.utcluj.ro [193.226.6.226]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by bavaria.utcluj.ro (Postfix) with ESMTP id F3A5550889; Mon, 26 Nov 2007 17:08:32 +0200 (EET) Message-ID: <474AE170.7020309@net.utcluj.ro> Date: Mon, 26 Nov 2007 17:08:32 +0200 From: Cristian KLEIN User-Agent: Thunderbird 2.0.0.6 (X11/20071022) MIME-Version: 1.0 To: Jung-uk Kim References: <473AD98A.8050003@gmail.com> <20071114115254.GA55351@eos.sc1.parodius.com> <473AEED9.6070301@gmail.com> <200711161618.40441.jkim@FreeBSD.org> In-Reply-To: <200711161618.40441.jkim@FreeBSD.org> X-Enigmail-Version: 0.95.5 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Cc: Andrey , freebsd-current@FreeBSD.org Subject: Re: RELENG_7 and HEAD: bge causes system hang 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: Mon, 26 Nov 2007 15:08:55 -0000 Jung-uk Kim wrote: > On Wednesday 14 November 2007 07:49 am, Andrey wrote: >> Thanks for willingness to help! >> >> I've tried to play with hw.bge.allow_asf sysctl option many times >> on many snapshots of 7-th branch (200708, 200709, 200710, >> 7.0-BETA1.5, 7.0-BETA2). More that each time I tracked changes in >> CVS assumed to be related with the problem I csup'ed sources and >> tried again and again. Even changing corresponding code inside of >> sys/dev/bge/if_bge.c (I mean string that currently looks like >> "static int bge_allow_asf = 0;") didn't help. >> >> I know it helps other people who had similar porblems on their HP >> machines with other Broadcom's NIC's. But unfortunately such a >> solution does not fit my case :o(. >> >> Jeremy Chadwick wrote: >>> This is a shot in the dark, but try putting the following in >>> /boot/loader.conf: >>> >>> hw.bge.allow_asf=1 >>> >>> If /boot/loader.conf already has that in it, try a value of 0 >>> instead. > > Please try: > > http://www.freebsd.org/cgi/cvsweb.cgi/src/sys/dev/pci/pci.c.diff?r1=1.355;r2=1.356 Great to hear this problem was solved. I still have one big fat question. Why did the system hang and not allow the kernel debugger show up? I strongly believe that this bug would have been easily spotted suppose KDB would have responded. Is it perhaps possible to "harden" KDB, so that such issues are easier to find and fix in future?