From owner-freebsd-current@FreeBSD.ORG Mon Feb 26 23:42:49 2007 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 429AA16A402 for ; Mon, 26 Feb 2007 23:42:49 +0000 (UTC) (envelope-from jhb@freebsd.org) Received: from server.baldwin.cx (66-23-211-162.clients.speedfactory.net [66.23.211.162]) by mx1.freebsd.org (Postfix) with ESMTP id E19FA13C48E for ; Mon, 26 Feb 2007 23:42:48 +0000 (UTC) (envelope-from jhb@freebsd.org) Received: from localhost.corp.yahoo.com (john@localhost [127.0.0.1]) (authenticated bits=0) by server.baldwin.cx (8.13.8/8.13.8) with ESMTP id l1QNgb7U044454; Mon, 26 Feb 2007 18:42:42 -0500 (EST) (envelope-from jhb@freebsd.org) From: John Baldwin To: freebsd-current@freebsd.org Date: Mon, 26 Feb 2007 18:33:01 -0500 User-Agent: KMail/1.9.1 References: <20070223061822.GA1497@obelix.dsto.defence.gov.au> <20070224062628.GA8992@obelix.dsto.defence.gov.au> <20070224102351.GO39168@deviant.kiev.zoral.com.ua> In-Reply-To: <20070224102351.GO39168@deviant.kiev.zoral.com.ua> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-15" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200702261833.01791.jhb@freebsd.org> X-Greylist: Sender succeeded SMTP AUTH authentication, not delayed by milter-greylist-2.0.2 (server.baldwin.cx [127.0.0.1]); Mon, 26 Feb 2007 18:42:43 -0500 (EST) X-Virus-Scanned: ClamAV 0.88.3/2656/Mon Feb 26 15:24:59 2007 on server.baldwin.cx X-Virus-Status: Clean X-Spam-Status: No, score=-4.4 required=4.2 tests=ALL_TRUSTED,AWL,BAYES_00 autolearn=ham version=3.1.3 X-Spam-Checker-Version: SpamAssassin 3.1.3 (2006-06-01) on server.baldwin.cx Cc: Kostik Belousov Subject: Re: kgdb(1) ... is it broken ? 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 Feb 2007 23:42:49 -0000 On Saturday 24 February 2007 05:23, Kostik Belousov wrote: > On Sat, Feb 24, 2007 at 03:26:28PM +0900, Wilkinson, Alex wrote: > > 0n Fri, Feb 23, 2007 at 01:34:39PM +0200, Kostik Belousov wrote: > > > > >BTW, you panic is caused by nvidia driver. I believe there is a patch by > > >nvidia that would eliminate the problem. > > > > Got a link to the patch ? > I do not use nvidia cards, and did not saved the link. Search in the > archive. Try this: Index: kern_conf.c =================================================================== RCS file: /usr/cvs/src/sys/kern/kern_conf.c,v retrieving revision 1.200 diff -u -r1.200 kern_conf.c --- kern_conf.c 20 Oct 2006 07:59:50 -0000 1.200 +++ kern_conf.c 4 Jan 2007 20:42:07 -0000 @@ -843,16 +843,20 @@ dev_unlock(); return (0); } - if (unit == -1 && u == low) { - low++; - de = dev; - continue; - } else if (u < (unit | extra)) { - de = dev; - continue; - } else if (u > (unit | extra)) { - dl = dev; - break; + if (unit == -1) { + if (u == low) { + low++; + de = dev; + continue; + } + } else { + if (u < (unit | extra)) { + de = dev; + continue; + } else if (u > (unit | extra)) { + dl = dev; + break; + } } } if (unit == -1) -- John Baldwin