Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 5 Oct 2005 18:13:55 +0200
From:      Yuri Khotyaintsev <yuri@irfu.se>
To:        freebsd-amd64@freebsd.org
Subject:   kmem_malloc(1438330880): kmem_map too small: 3641344 total allocated
Message-ID:  <200510051813.55678.yuri@irfu.se>

next in thread | raw e-mail | index | archive | help
I try to run linux Matlab 7 on FreeBSD/amd64 6.0-BETA5 and I get the follow=
ing=20
panic:

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

[root@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:=
=20
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 condition=
s.
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 th=
at=20
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 o=
f=20
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?

=2D-=20
Yuri Khotyaintsev
Institutet f=F6r rymdfysik (IRF), Uppsala



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200510051813.55678.yuri>