From owner-freebsd-stable@FreeBSD.ORG Sat Oct 29 20:29:50 2005 Return-Path: X-Original-To: freebsd-stable@freebsd.org Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id CF37416A420; Sat, 29 Oct 2005 20:29:50 +0000 (GMT) (envelope-from arno@heho.snv.jussieu.fr) Received: from shiva.jussieu.fr (shiva.jussieu.fr [134.157.0.129]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1D36343D46; Sat, 29 Oct 2005 20:29:49 +0000 (GMT) (envelope-from arno@heho.snv.jussieu.fr) Received: from heho.snv.jussieu.fr (heho.snv.jussieu.fr [134.157.184.22]) by shiva.jussieu.fr (8.13.5/jtpda-5.4) with ESMTP id j9TKTmoO004136 ; Sat, 29 Oct 2005 22:29:48 +0200 (CEST) X-Ids: 165 Received: from heho.labo (localhost [127.0.0.1]) by heho.snv.jussieu.fr (8.13.3/jtpda-5.2) with ESMTP id j9TKTlsG020753 ; Sat, 29 Oct 2005 22:29:47 +0200 (MEST) Received: (from arno@localhost) by heho.labo (8.13.3/8.13.1/Submit) id j9TKTlwA020750; Sat, 29 Oct 2005 22:29:47 +0200 (MEST) (envelope-from arno) Sender: arno@heho.snv.jussieu.fr To: freebsd-stable@freebsd.org From: "Arno J. Klaassen" Date: 29 Oct 2005 22:29:47 +0200 Message-ID: Lines: 97 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3 MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-1.7.2 (shiva.jussieu.fr [134.157.0.165]); Sat, 29 Oct 2005 22:29:48 +0200 (CEST) X-Antivirus: scanned by sophie at shiva.jussieu.fr X-Miltered: at shiva.jussieu.fr with ID 4363DBBC.000 by Joe's j-chkmail (http://j-chkmail.ensmp.fr)! Cc: freebsd-emulation@freebsd.org, freebsd-amd64@freebsd.org Subject: RELENG_6 linux emulation problem on amd64 X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 29 Oct 2005 20:29:51 -0000 Hello, I get an easy to reproduce panic on recent RELENG_6/amd64 : -su-2.05b# /compat/linux/bin/bash bash-2.05b# cd /dev bash-2.05b# ls panic : kmem_malloc: entry not found or misaligned Setup is as follows : /dev/ad0s3d mounted on / /dev/ad0s4d mount on /files /usr is a symlink to /files/amd64/usr if ever that might be of importance (the rest of ad0s3 is RELENG_5/i386) uname -a : FreeBSD demo 6.0-RC1 FreeBSD 6.0-RC1 #1: Sat Oct 29 17:04:50 CEST 2005 toor@demo:/files/amd64/obj/files/bsd/src6/sys/D470K amd64 generic config-file with outcommented non-needed drivers and extra options : device cpufreq device tap device atapicam device sound device smbus device iicbus device iicsmb options NTFS options TCP_DROP_SYNFIN linux_base-8-8.0_7 installed. NB, please respond preferentially to list; i still need a good solution to filter important email from my flooding "misc" procmail-filter output ;( Arno ##### kgdb trace : #### (kgdb) where #0 doadump () at /files/bsd/src6/sys/kern/kern_shutdown.c:234 #1 0xffffffff8030c10b in boot (howto=260) at /files/bsd/src6/sys/kern/kern_shutdown.c:399 #2 0xffffffff8030c5de in panic ( fmt=0xffffffff805cdea8 "kmem_malloc: entry not found or misaligned") at /files/bsd/src6/sys/kern/kern_shutdown.c:555 #3 0xffffffff804ed2cf in kmem_malloc (map=0xffffff003e0b0160, size=0, flags=258) at /files/bsd/src6/sys/vm/vm_kern.c:382 #4 0xffffffff804e00a2 in page_alloc (zone=0x0, bytes=0, pflag=0xffffffffa7aba5e7 "\002\200\202®-", wait=258) at /files/bsd/src6/sys/vm/uma_core.c:957 #5 0xffffffff804e3bbb in uma_large_malloc (size=0, wait=258) at /files/bsd/src6/sys/vm/uma_core.c:2711 #6 0xffffffff802fc503 in malloc (size=0, mtp=0xffffffff80706880, flags=258) at /files/bsd/src6/sys/kern/kern_malloc.c:327 #7 0xffffffff802fc6fe in realloc (addr=0x0, size=18446744073709549576, mtp=0xffffffff80706880, flags=258) at /files/bsd/src6/sys/kern/kern_malloc.c:416 #8 0xffffffff80398412 in vfs_read_dirent (ap=0xffffffffa7aba790, dp=0xffffff0000e16298, off=0) at /files/bsd/src6/sys/kern/vfs_subr.c:3877 #9 0xffffffff80290f56 in devfs_readdir (ap=0xffffffffa7aba790) at /files/bsd/src6/sys/fs/devfs/devfs_vnops.c:828 #10 0xffffffff805815ec in VOP_READDIR_APV (vop=0xffffffff806fc480, a=0xffffffffa7aba790) at vnode_if.c:1427 #11 0xffffffff8056f559 in VOP_READDIR (vp=0xffffff0002f6e000, uio=0xffffffffa7abaab0, cred=0xffffff002e93c700, eofflag=0xffffffffa7aba854, ncookies=0xffffffffa7aba834, cookies=0xffffffffa7aba840) at vnode_if.h:747 #12 0xffffffff8056efe6 in getdents_common (td=0xffffff002ff22be0, args=0xffffffffa7abab90, is64bit=1) at /files/bsd/src6/sys/compat/linux/linux_file.c:328 #13 0xffffffff8056f612 in linux_getdents64 (td=0xffffff002ff22be0, args=0xffffffffa7abab90) at /files/bsd/src6/sys/compat/linux/linux_file.c:476 #14 0xffffffff80564f54 in ia32_syscall (frame= {tf_rdi = 3, tf_rsi = 0, tf_rdx = 4096, tf_rcx = 134598592, tf_r8 = 0, tf_r9 = 0, tf_rax = 220, tf_rbx = 3, tf_rbp = 4294958168, tf_r10 = 0, tf_r11 = 0, tf_r12 = 0, tf_r13 = 0, tf_r14 = 0, tf_r15 = 0, tf_trapno = 12, tf_addr = 134602692, tf_flags = 0, tf_err = 2, tf_rip = 672250937, tf_cs = 27, tf_rflags = 582, tf_rsp = 4294958092, tf_ss = 35}) at /files/bsd/src6/sys/amd64/ia32/ia32_syscall.c:186 #15 0xffffffff8050c1ad in Xint0x80_syscall () at ia32_exception.S:64 #16 0x000000002811bc39 in ?? () Previous frame inner to this frame (corrupt stack?) (kgdb) -- Arno J. Klaassen SCITO S.A. 8 rue des Haies F-75020 Paris, France http://scito.com