kmem_malloc(1438330880): kmem_map too small: 3641344 total allocated

Yuri Khotyaintsev yuri at irfu.se
Wed Oct 5 09:14:12 PDT 2005


I try to run linux Matlab 7 on FreeBSD/amd64 6.0-BETA5 and I get the following 
panic:

Panic String: kmem_malloc(1438330880): kmem_map too small: 3641344 total 
allocated

[root at verdelet][/var/crash]# kgdb /boot/kernel/kernel /var/crash/vmcore.0
[GDB will not be able to debug user-mode threads: /usr/lib/libthread_db.so: 
Undefined symbol "ps_pglobal_lookup"]
GNU gdb 6.1.1 [FreeBSD]
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "amd64-marcel-freebsd".
(no debugging symbols found)...Attempt to extract a component of a value that 
is not a structure pointer.
(kgdb) bt
#0  0xffffffff8026d10d in doadump ()
#1  0xffffffff8026d134 in doadump ()
#2  0x0000000000000004 in ?? ()
#3  0xffffffff8026d683 in boot ()
#4  0x0000000000000029 in ?? ()
#5  0x000000001771f5ea in ?? ()
#6  0xffffff002ab764c0 in ?? ()
#7  0x0000000000000104 in ?? ()
#8  0x0000000000000104 in ?? ()
#9  0x0000000000000102 in ?? ()
#10 0xffffffff805826e0 in M_TEMP_init_sys_init ()
#11 0xffffffff8026dc76 in panic ()
#12 0x0000003000000018 in ?? ()
#13 0xffffffffa5a536f0 in ?? ()
#14 0xffffffffa5a53620 in ?? ()
#15 0xffffff0039a48000 in ?? ()
#16 0xffffffff805b3a80 in vop_bmap_vp_offsets ()
#17 0x0000000055bb3000 in ?? ()
#18 0x0000000000379000 in ?? ()
#19 0xffffff003a290160 in ?? ()
#20 0x0000000000000000 in ?? ()
Previous frame identical to this frame (corrupt stack?)
(kgdb)

Tried with linux_base-rh-9 and linux_base-suse-9.3 and different versions of 
Matlab, same panic... The same Matlab runs fine on FreeBSD/i386 6.0-BETA5.

Other linux apps (jdk, acroread) seem to run OK.

BTW, any hope to run 64-bit linux Matlab for and64 on FreeBSD in the future?

-- 
Yuri Khotyaintsev
Institutet för rymdfysik (IRF), Uppsala


More information about the freebsd-amd64 mailing list