kern/53350: fill up a malloc md-disk on 5.1-R causes panic

Brian K. White brian at aljex.com
Thu Nov 13 15:40:40 PST 2003


The following reply was made to PR kern/53350; it has been noted by GNATS.

From: "Brian K. White" <brian at aljex.com>
To: <freebsd-gnats-submit at FreeBSD.org>, <jay at oneway.com>
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 at aljex.com  --  http://www.aljex.com/bkw/
 +++++[>+++[>+++++>+++++++<<-]<-]>>+.>.+++++.+++++++.-.[>+<---]>++.
 filePro BBx  Linux SCO  Prosper/FACTS AutoCAD  #callahans Satriani
 


More information about the freebsd-bugs mailing list