From owner-freebsd-stable@FreeBSD.ORG Mon Mar 8 08:33:57 2010 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 18003106564A; Mon, 8 Mar 2010 08:33:57 +0000 (UTC) (envelope-from to.my.trociny@gmail.com) Received: from mail-ew0-f226.google.com (mail-ew0-f226.google.com [209.85.219.226]) by mx1.freebsd.org (Postfix) with ESMTP id 46E628FC13; Mon, 8 Mar 2010 08:33:55 +0000 (UTC) Received: by ewy26 with SMTP id 26so3232320ewy.3 for ; Mon, 08 Mar 2010 00:33:55 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:to:cc:subject:references :organization:from:date:in-reply-to:message-id:user-agent :mime-version:content-type:content-transfer-encoding; bh=srbW6vdDB+eItNSbzlPOYrVl7nEOO68i3Gq36MtNBto=; b=kMowaUBquvWB3bJgZxSZBN2yWWhKW/hsO/KHG1EkdzS8smvTI81vLjqqguYtgDg2ny 1pvespVfh2IkjHXwqELQk9KesAvzwiWhHGlJbTK03R9KykEjAI0gxye8Gfm05f2M9r9y OrnvknuitqNOLaQ+WuJK+Dfxab6utbN1iLYGE= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=to:cc:subject:references:organization:from:date:in-reply-to :message-id:user-agent:mime-version:content-type :content-transfer-encoding; b=J/svZU+Pq8phkWtX1A1K4fv5CmVPC2fYLV4SXDwVJR7KklTpghjoG/KraeHT1+zP2g 1fIhQC22CH/ke7vjOhE5m61xVRrFxt55GWq13/ADjiRVF3unElWmeo3Qb+lwpjL0YMcF fixZyIs7FoudWBg3CqGp39UpP604PnPpXLbwk= Received: by 10.213.57.10 with SMTP id a10mr2897500ebh.92.1268037235065; Mon, 08 Mar 2010 00:33:55 -0800 (PST) Received: from localhost ([95.69.173.225]) by mx.google.com with ESMTPS id 14sm2148632ewy.6.2010.03.08.00.33.53 (version=TLSv1/SSLv3 cipher=RC4-MD5); Mon, 08 Mar 2010 00:33:53 -0800 (PST) To: Alexander Eichner References: <86zl2l2w9n.fsf@kopusha.onet> <1267972128.2825.2.camel@Prometheus> Organization: TOA Ukraine From: Mikolaj Golub Date: Mon, 08 Mar 2010 10:33:52 +0200 In-Reply-To: <1267972128.2825.2.camel@Prometheus> (Alexander Eichner's message of "Sun\, 07 Mar 2010 15\:28\:48 +0100") Message-ID: <86ocizgqkv.fsf@kopusha.onet> User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.3 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=koi8-r Content-Transfer-Encoding: 8bit Cc: alc@freebsd.org, freebsd-emulation@freebsd.org, freebsd-stable@freebsd.org Subject: Re: virtualbox status on 8.0-STABLE i386 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: Mon, 08 Mar 2010 08:33:57 -0000 On Sun, 07 Mar 2010 15:28:48 +0100 Alexander Eichner wrote: > Hi, > > can you try the attached patch please? > This should fix the panic you encountered. Please undo your kernel > changes befoer testing. Unfortunately, the same panic: (kgdb) bt #0 doadump () at pcpu.h:246 #1 0xc04ec379 in db_fncall (dummy1=-1064468854, dummy2=0, dummy3=-1, dummy4=0xe866b5b4 "ȵfè") at /usr/src/sys/ddb/db_command.c:548 #2 0xc04ec7af in db_command (last_cmdp=0xc0e04c9c, cmd_table=0x0, dopager=0) at /usr/src/sys/ddb/db_command.c:445 #3 0xc04ec864 in db_command_script (command=0xc0e05bc4 "call doadump") at /usr/src/sys/ddb/db_command.c:516 #4 0xc04f09a0 in db_script_exec (scriptname=0xe866b6c0 "kdb.enter.panic", warnifnotfound=Variable "warnifnotfound" is not available. ) at /usr/src/sys/ddb/db_script.c:302 #5 0xc04f0a87 in db_script_kdbenter (eventname=0xc0cc246d "panic") at /usr/src/sys/ddb/db_script.c:324 #6 0xc04ee768 in db_trap (type=3, code=0) at /usr/src/sys/ddb/db_main.c:228 #7 0xc08d7d06 in kdb_trap (type=3, code=0, tf=0xe866b7fc) at /usr/src/sys/kern/subr_kdb.c:535 #8 0xc0beb38b in trap (frame=0xe866b7fc) at /usr/src/sys/i386/i386/trap.c:690 #9 0xc0bcccfb in calltrap () at /usr/src/sys/i386/i386/exception.s:165 #10 0xc08d7e8a in kdb_enter (why=0xc0cc246d "panic", msg=0xc0cc246d "panic") at cpufunc.h:71 #11 0xc08a88b6 in panic (fmt=0xc0cecba4 "vm_fault: fault on nofault entry, addr: %lx") at /usr/src/sys/kern/kern_shutdown.c:562 #12 0xc0b0c3c7 in vm_fault (map=0xc1990000, vaddr=3244318720, fault_type=Variable "fault_type" is not available. ) at /usr/src/sys/vm/vm_fault.c:283 #13 0xc0bea7c6 in trap_pfault (frame=0xe866bab8, usermode=0, eva=3244322776) at /usr/src/sys/i386/i386/trap.c:840 #14 0xc0beb215 in trap (frame=0xe866bab8) at /usr/src/sys/i386/i386/trap.c:533 #15 0xc0bcccfb in calltrap () at /usr/src/sys/i386/i386/exception.s:165 #16 0xc12beef3 in rtR0MemObjNativeGetPagePhysAddr () from /boot/modules/vboxdrv.ko #17 0xc12ac374 in SUPR0LockMem () from /boot/modules/vboxdrv.ko #18 0xc12ac8eb in supdrvIOCtl () from /boot/modules/vboxdrv.ko #19 0xc12b0c5a in VBoxDrvFreeBSDIOCtl () from /boot/modules/vboxdrv.ko #20 0xc0829658 in devfs_ioctl_f (fp=0xc5f1c8c0, com=3321378576, data=0xe866bd00, cred=0xc6972a00, td=0xc728e250) at /usr/src/sys/fs/devfs/devfs_vnops.c:659 #21 0xc08eec8d in kern_ioctl (td=0xc728e250, fd=7, com=536892942, data=0xe866bd00 "@Ç\023)ø\023üÀ8½fèø\023üÀ,½fè\005\\½À\001") at file.h:262 #22 0xc08eee14 in ioctl (td=0xc728e250, uap=0xe866bcf8) at /usr/src/sys/kern/sys_generic.c:678 #23 0xc0beaac0 in syscall (frame=0xe866bd38) at /usr/src/sys/i386/i386/trap.c:1111 #24 0xc0bccd90 in Xint0x80_syscall () at /usr/src/sys/i386/i386/exception.s:261 #25 0x00000033 in ?? () Previous frame inner to this frame (corrupt stack?) (this time I built the modules without debugging symbols). Just to be sure that I did all thing properly below the steps I did: 1) returned original pmap.h (with KPTmap), rebuilt the kernel and rebooted 2) rebuilt with the patch virtualbox drivers and virtualbox (not sure this last was needed bu just in case...): cd emulators/virtualbox-ose-kmod && make patch applied this patch and your previous patch ("Patch to fix VirtualBox with recent kernel versions") built and reinstall the same for emulators/virtualbox-ose 3) rebooted and started vm guest virtualbox-ose-3.1.2_1 A general-purpose full virtualizer for x86 hardware virtualbox-ose-kmod-3.1.2_1 VirtualBox kernel module for FreeBSD -- Mikolaj Golub