From owner-freebsd-amd64@FreeBSD.ORG Wed Oct 5 16:14:12 2005 Return-Path: X-Original-To: freebsd-amd64@freebsd.org Delivered-To: freebsd-amd64@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8BC9916A420 for ; Wed, 5 Oct 2005 16:14:12 +0000 (GMT) (envelope-from yuri@irfu.se) Received: from elvira.ekonomikum.uu.se (elvira.ekonomikum.uu.se [130.238.164.5]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8277343D46 for ; Wed, 5 Oct 2005 16:14:08 +0000 (GMT) (envelope-from yuri@irfu.se) Received: by elvira.ekonomikum.uu.se (Postfix, from userid 204) id 1CDB222F; Wed, 5 Oct 2005 18:14:06 +0200 (MSZ) Received: from elvira.ekonomikum.uu.se(127.0.0.1) by elvira.ekonomikum.uu.se via virus-scan id s26682; Wed, 5 Oct 05 18:13:59 +0200 Received: from hq.irfu.se (hq.irfu.se [130.238.30.10]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by elvira.ekonomikum.uu.se (Postfix) with ESMTP id 7C84E3CF for ; Wed, 5 Oct 2005 18:13:59 +0200 (MSZ) Received: from ice.irfu.se (ice.irfu.se [130.238.30.157]) (authenticated bits=0) by hq.irfu.se (8.13.3/8.13.3) with ESMTP id j95GDti0009862 (version=TLSv1/SSLv3 cipher=RC4-MD5 bits=128 verify=NO) for ; Wed, 5 Oct 2005 18:13:56 +0200 (CEST) (envelope-from yuri@irfu.se) From: Yuri Khotyaintsev Organization: Swedish Institute of Space Physics To: freebsd-amd64@freebsd.org Date: Wed, 5 Oct 2005 18:13:55 +0200 User-Agent: KMail/1.8.2 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Message-Id: <200510051813.55678.yuri@irfu.se> Subject: kmem_malloc(1438330880): kmem_map too small: 3641344 total allocated X-BeenThere: freebsd-amd64@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the AMD64 platform List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 05 Oct 2005 16:14:12 -0000 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