From owner-freebsd-bugs@FreeBSD.ORG Thu Nov 13 15:40:40 2003 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0C72116A4CE for ; Thu, 13 Nov 2003 15:40:40 -0800 (PST) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id B235343F93 for ; Thu, 13 Nov 2003 15:40:09 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.9/8.12.9) with ESMTP id hADNe9FY093554 for ; Thu, 13 Nov 2003 15:40:09 -0800 (PST) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.9/8.12.9/Submit) id hADNe9FJ093552; Thu, 13 Nov 2003 15:40:09 -0800 (PST) (envelope-from gnats) Date: Thu, 13 Nov 2003 15:40:09 -0800 (PST) Message-Id: <200311132340.hADNe9FJ093552@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.org From: "Brian K. White" Subject: Re: kern/53350: fill up a malloc md-disk on 5.1-R causes panic X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: "Brian K. White" List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 13 Nov 2003 23:40:40 -0000 The following reply was made to PR kern/53350; it has been noted by GNATS. From: "Brian K. White" To: , Cc: Subject: Re: kern/53350: fill up a malloc md-disk on 5.1-R causes panic Date: Thu, 13 Nov 2003 18:30:24 -0500 Re: kern/53350: fill up a malloc md-disk on 5.1-R causes panic I get the same thing on a 1G machine when trying to use a 768 M ramdisk when the ramdisk is only 25% full. It never fails at exactly the same place, but always within a minute or two and it never gets anywhere close to filling up the md-disk. In my case I was creating the 768 meg malloc disc and trying to copy /usr/src into it. initially I tried a couple times with midnight commander, and after that crashed twice, I tried just using tar mdconfig -a -t malloc -s 768m newfs -U /dev/md0 mount /dev/md0 /md0 cd /usr/src ;tar cvf - * |(cd /md0 ;tar xvf - ) /usr/src is only about 350 megs so it should fit easy, but just in case some difference in block sizes cause the same data to take up mor room on md0 than it does on the hard drive, I watched df in another console while it was copying. repeatedly looking at df in another consle showed the disk only reaching about 25% full at the time of kernel panic. I got some different messages each time one time I just got this line repeated scrolling up the console untill I decided to power off: initiate_write_filepage: already started the last time I got this: panic: kmem_malloc(4096) kmem_map too small: 275251200 total allocated syncing disks, buffers remaining... 7095 panic: initiate_write_inodeblock_ufs2: already started This is the 5.1 that is on the 5.1 iso as of about Nov/03/2003 Brian K. White -- brian@aljex.com -- http://www.aljex.com/bkw/ +++++[>+++[>+++++>+++++++<<-]<-]>>+.>.+++++.+++++++.-.[>+<---]>++. filePro BBx Linux SCO Prosper/FACTS AutoCAD #callahans Satriani