Date: Fri, 29 Nov 1996 00:50:02 -0800 (PST) From: Jason Thorpe <thorpej@nas.nasa.gov> To: freebsd-bugs Subject: Re: kern/2121: MAXBSIZE in param.h causes kernel panic if MSDOSFS LKM loaded Message-ID: <199611290850.AAA09258@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
The following reply was made to PR kern/2121; it has been noted by GNATS. From: Jason Thorpe <thorpej@nas.nasa.gov> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199611290850.AAA09258>