ls+lists.freebsd.org.mailman.listinfo.freebsd-stable93930659@gambit.com.ru
2004-Nov-05 03:08 UTC
5.3: tmpmfs="YES": panic: kmem_malloc(4096): kmem_map too small: 63737856 total allocated
I'm using> uname -vFreeBSD 5.3-STABLE #0: Sun Oct 31 04:03:03 UTC 2004 Want to use /tmp in memory:> grep tmp /etc/rc.conftmpmfs="YES" tmpsize="384m" Using swap space, not just RAM:> diff -u /usr/src/etc/rc.d/initdiskless /etc/rc.d/initdiskless--- /usr/src/etc/rc.d/initdiskless Sun Oct 10 13:50:53 2004 +++ /etc/rc.d/initdiskless Mon Oct 25 15:20:01 2004 @@ -149,7 +149,7 @@ # Create a generic memory disk # mount_md() { - /sbin/mdmfs -i 4096 -s $1 -M md $2 + /sbin/mdmfs -i 4096 -s $1 md $2 } # Create the memory filesystem if it has not already been created But I'm still getting panic sometimes when trying to untar data to /tmp:> dmesg | grep -A 3 panicpanic: kmem_malloc(4096): kmem_map too small: 63737856 total allocated Uptime: 1d23h53m0s Cannot dump. No dump device defined. Shutting down ACPI This host has 192 MB of RAM:> dmesg | grep memoryreal memory = 199753728 (190 MB) avail memory = 189919232 (181 MB) And 512 MB of swap:> swapinfo -kDevice 1K-blocks Used Avail Capacity /dev/ad0s1b 524288 17412 506876 3% Is it a feature or a bug^Wproblem? -- 14:08 up 2 days, 3:04, 0 users, load averages: 0,00 0,02 0,00
Kris Kennaway
2004-Nov-05 13:52 UTC
5.3: tmpmfs="YES": panic: kmem_malloc(4096): kmem_map too small: 63737856 total allocated
On Fri, Nov 05, 2004 at 02:08:30PM +0300, ls+lists.freebsd.org.mailman.listinfo.freebsd-stable93930659@gambit.com.ru wrote:> This host has 192 MB of RAM: > > > dmesg | grep memory > real memory = 199753728 (190 MB) > avail memory = 189919232 (181 MB) > > And 512 MB of swap: > > > swapinfo -k > Device 1K-blocks Used Avail Capacity > /dev/ad0s1b 524288 17412 506876 3% > > Is it a feature or a bug^Wproblem?Feature..see the manpage. You don't have enough RAM in your system to do that. Kris -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 187 bytes Desc: not available Url : http://lists.freebsd.org/pipermail/freebsd-stable/attachments/20041105/468b4ac9/attachment.bin