Subject: port-i386/7117: default msgbufsize too small for modern x86 systems
To: None <gnats-bugs@gnats.netbsd.org>
From: Bill Sommerfeld <sommerfeld@orchard.arlington.ma.us>
List: netbsd-bugs
Date: 03/09/1999 16:21:47
>Number:         7117
>Category:       port-i386
>Synopsis:       default msgbufsize too small for modern x86 systems
>Confidential:   yes
>Severity:       non-critical
>Priority:       medium
>Responsible:    port-i386-maintainer (NetBSD/i386 Portmaster)
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Mar  9 08:35:00 1999
>Last-Modified:
>Originator:     Bill Sommerfeld
>Organization:
	
>Release:        19990306
>Environment:
	
System: NetBSD orchard.arlington.ma.us 1.3K NetBSD 1.3K (ORCHARDII) #22: Sun Mar 7 02:56:43 EST 1999 sommerfeld@orchard.arlington.ma.us:/usr/src/sys/arch/i386/compile/ORCHARDII i386


>Description:
	kernel config messages are now so large (given new drivers and
	chatty drivers (e.g., pciide, wscons, which prints ~50 characters per
	virtual console) that they no longer fit in NBPG bytes on one
	of my systems, which doesn't have an inordinate number of devices.

>How-To-Repeat:
	boot system with wscons, a disk on pciide0, a few scsi disks,
	raidframe, a couple devices on an aha, and the usual pc
	stuff.  (this doesn't seem like a very large system any more).
	Watch msgbuf overflow.

>Fix:

Change the definition of MSGBUFSIZE in sys/arch/i386/include/param.h
to 2*NBPG from NBPG.  I haven't tried this yet; sending a PR so this
doesn't get forgotten.
>Audit-Trail:
>Unformatted: