From owner-freebsd-bugs Fri Nov 29 00:50:03 1996 Return-Path: owner-bugs Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id AAA09266 for bugs-outgoing; Fri, 29 Nov 1996 00:50:03 -0800 (PST) Received: (from gnats@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id AAA09258; Fri, 29 Nov 1996 00:50:02 -0800 (PST) Date: Fri, 29 Nov 1996 00:50:02 -0800 (PST) Message-Id: <199611290850.AAA09258@freefall.freebsd.org> To: freebsd-bugs Cc: From: Jason Thorpe Subject: Re: kern/2121: MAXBSIZE in param.h causes kernel panic if MSDOSFS LKM loaded Reply-To: Jason Thorpe Sender: owner-bugs@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk The following reply was made to PR kern/2121; it has been noted by GNATS. From: Jason Thorpe To: jehamby@lightside.com Cc: FreeBSD-gnats-submit@freebsd.org Subject: Re: kern/2121: MAXBSIZE in param.h causes kernel panic if MSDOSFS LKM loaded Date: Fri, 29 Nov 1996 00:37:26 -0800 On Thu, 28 Nov 1996 23:53:12 -0800 (PST) jehamby@lightside.com wrote: > sys/param.h was recently changed to define MAXBSIZE as 32768 if MSDOSFS is > defined, or 16384 otherwise. If MSDOSFS is not compiled into the kernel, > but instead loaded as an LKM (as I have done), then the kernel immediately > panics with: "panic: getblk: size(32768) > MAXBSIZE(16384)" when the LKM > is loaded. MAXBSIZE should probably just expand to MAXPHYS. It seems seriously wrong to conditionalize it on some random config option. Jason R. Thorpe thorpej@nas.nasa.gov NASA Ames Research Center Home: 408.866.1912 NAS: M/S 258-6 Work: 415.604.0935 Moffett Field, CA 94035 Pager: 415.428.6939