From owner-freebsd-current@FreeBSD.ORG Tue Feb 27 19:53:48 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 B950216A405 for ; Tue, 27 Feb 2007 19:53:48 +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 66B8E13C471 for ; Tue, 27 Feb 2007 19:53: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 l1RJrjc6052936; Tue, 27 Feb 2007 14:53:46 -0500 (EST) (envelope-from jhb@freebsd.org) From: John Baldwin To: "Bruce M. Simpson" Date: Tue, 27 Feb 2007 13:02:40 -0500 User-Agent: KMail/1.9.1 References: <20070223061822.GA1497@obelix.dsto.defence.gov.au> <200702261833.01791.jhb@freebsd.org> <45E383D1.8040702@FreeBSD.org> In-Reply-To: <45E383D1.8040702@FreeBSD.org> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-15" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200702271302.41380.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]); Tue, 27 Feb 2007 14:53:46 -0500 (EST) X-Virus-Scanned: ClamAV 0.88.3/2665/Tue Feb 27 11:26:03 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 , freebsd-current@freebsd.org 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: Tue, 27 Feb 2007 19:53:48 -0000 On Monday 26 February 2007 20:05, Bruce M. Simpson wrote: > John Baldwin wrote: > > > > Try this: > > > > Index: kern_conf.c > > =================================================================== > > RCS file: /usr/cvs/src/sys/kern/kern_conf.c,v > > retrieving revision 1.200 > ... > > Have you checked that this jibes OK with rev 1.201? Devices may be added > out of order without this change; see > http://www.freebsd.org/cgi/query-pr.cgi?pr=105228 for details. Right now the system panics. phk@ refuses to investigate the bug at all (which is most unhelpful). I can provide more detailed analysis of the problem on demand. The patch changes the way that the 'unit == -1 && u != low' case is handled. It now leaves 'low' alone and tries the next device in the list rather than comparing 'u' against (-1 | extra). -- John Baldwin