Re: kgdb(1) ... is it broken ?

From: John Baldwin <jhb_at_freebsd.org>
Date: Tue, 27 Feb 2007 13:02:40 -0500
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_at_ 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
Received on Tue Feb 27 2007 - 18:53:48 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:06 UTC