From owner-freebsd-current@FreeBSD.ORG Sat Jun 6 22:36:46 2009 Return-Path: Delivered-To: current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0A4FE106564A; Sat, 6 Jun 2009 22:36:45 +0000 (UTC) (envelope-from glen.j.barber@gmail.com) Received: from mail-bw0-f211.google.com (mail-bw0-f211.google.com [209.85.218.211]) by mx1.freebsd.org (Postfix) with ESMTP id 4D4978FC15; Sat, 6 Jun 2009 22:36:43 +0000 (UTC) (envelope-from glen.j.barber@gmail.com) Received: by bwz7 with SMTP id 7so81611bwz.43 for ; Sat, 06 Jun 2009 15:36:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type :content-transfer-encoding; bh=d/E8WvwGaesrv01cjJ0WI7VTqVUYmOlWrVXS3cN9dAg=; b=lP/w0b13LHLDhD7cohYKq3PpJ0VV0hq/GbIp8YOgdCvfs+4ToqiYYMlvYIFB2Wb1dU LWl2vZl4SEULfk4+YBZnqM6VtqqVEGbkLk0v4698ZVp8K2CZSRBFuE8MPdNf/cqCxzHo 2h2o1aksXFZoXGfqk88NCXsHpI/hFALmasNBs= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; b=FpgdjhNqX6Cza9cjlgqNq+1m0LbwxI7Wh+h720cEPoVdcIXdqWDv1nOB6OuK2UyIS6 uPF34DzT2XdovdABvBD6OIB+ragrWkRlAQchgfhIXjV6GxuuEuq9/zJ9VtjTEC+MYF+x CNRnHDrmAmcbzP8vldxaFMUfBdIrUYqDyCUx0= MIME-Version: 1.0 Received: by 10.204.64.67 with SMTP id d3mr4769749bki.142.1244327803021; Sat, 06 Jun 2009 15:36:43 -0700 (PDT) In-Reply-To: <4A263ECD.2070704@fletchermoorland.co.uk> References: <20090514191237.GD70242@bsdcrew.de> <20090515101253.GH71804@bsdcrew.de> <4A0D7574.3050801@fletchermoorland.co.uk> <4A1AC253.6010306@egr.msu.edu> <20090603061650.GC1122@egr.msu.edu> <4A263ECD.2070704@fletchermoorland.co.uk> Date: Sat, 6 Jun 2009 18:36:42 -0400 Message-ID: <4ad871310906061536y55382376x6a73e7ad88ee3b8f@mail.gmail.com> From: Glen Barber To: ports@freebsd.org, current@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: Subject: Re: [Call For Testing] VirtualBox for FreeBSD! X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 06 Jun 2009 22:36:46 -0000 Good evening everyone. Earlier today, I finished a VBox build on a fresh system. After the build succeeded, I 'kldload /boot/modules/vboxdrv.ko' which caused a panic. The machine runs a GENERIC kernel with KDB and KDB_UNATTENDED added -- no other changes. -- The machine -- FreeBSD orion 7.2-STABLE FreeBSD 7.2-STABLE #1 r193481: Sat Jun 6 10:22:25 EDT 2009 root@orion:/usr/obj/usr/src/sys/ORION i386 -- Snippet from 'dmesg' -- FreeBSD 7.2-STABLE #0 r193481: Fri Jun 5 01:55:06 EDT 2009 root@orion:/usr/obj/usr/src/sys/ORION Timecounter "i8254" frequency 1193182 Hz quality 0 CPU: Intel(R) Core(TM)2 Duo CPU E4500 @ 2.20GHz (2217.69-MHz 686-class CPU) Origin = "GenuineIntel" Id = 0x6fd Stepping = 13 Features=0xbfebfbff Features2=0xe39d AMD Features=0x20100000 AMD Features2=0x1 Cores per package: 2 real memory = 2128793600 (2030 MB) avail memory = 2073436160 (1977 MB) ACPI APIC Table: FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs cpu0 (BSP): APIC ID: 0 cpu1 (AP): APIC ID: 1 ioapic0: Changing APIC ID to 2 -- The panic -- orion# kgdb kernel.debug /var/crash/vmcore.0 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 "i386-marcel-freebsd"... Unread portion of the kernel message buffer: !!Assertion Failed!! Expression: cMillies != RT_INDEFINITE_WAIT Location : /usr/home/gbarber/virtualbox/virtualbox/work/virtualbox-2.2.2r19980/ src/VBox/Runtime/r0drv/freebsd/semevent-r0drv-freebsd.c(212) rtSemEventWait Fatal trap 3: breakpoint instruction fault while in kernel mode cpuid = 1; apic id = 01 instruction pointer = 0x20:0xc5e180be stack pointer = 0x28:0xe7a73c08 frame pointer = 0x28:0xe7a73c34 code segment = base 0x0, limit 0xfffff, type 0x1b = DPL 0, pres 1, def32 1, gran 1 processor eflags = IOPL = 0 current process = 1838 (TIMER) trap number = 3 panic: breakpoint instruction fault cpuid = 1 Uptime: 6h58m4s Physical memory: 2017 MB Dumping 180 MB: 165 149 133 117 101 85 69 53 37 21 5 Reading symbols from /boot/kernel/coretemp.ko...Reading symbols from /boot/kerne l/coretemp.ko.symbols...done. done. Loaded symbols for /boot/kernel/coretemp.ko Reading symbols from /boot/kernel/acpi.ko...Reading symbols from /boot/kernel/ac pi.ko.symbols...done. done. Loaded symbols for /boot/kernel/acpi.ko Reading symbols from /boot/modules/vboxdrv.ko...done. Loaded symbols for /boot/modules/vboxdrv.ko #0 doadump () at pcpu.h:196 196 __asm __volatile("movl %%fs:0,%0" : "=r" (td)); (kgdb) bt #0 doadump () at pcpu.h:196 #1 0xc07e45a7 in boot (howto=260) at /usr/src/sys/kern/kern_shutdown.c:418 #2 0xc07e48b2 in panic (fmt=Variable "fmt" is not available. ) at /usr/src/sys/kern/kern_shutdown.c:574 #3 0xc0ae6d83 in trap_fatal (frame=0xe7a73bc8, eva=0) at /usr/src/sys/i386/i386/trap.c:939 #4 0xc0ae7bdc in trap (frame=0xe7a73bc8) at /usr/src/sys/i386/i386/trap.c:726 #5 0xc0acc05b in calltrap () at /usr/src/sys/i386/i386/exception.s:159 #6 0xc5e180be in rtSemEventWait (EventSem=0xc5d2a110, cMillies=4294967295, fInterruptible=false) at /usr/home/gbarber/virtualbox/virtualbox/work/virtualbox-2.2.2r19980/src/V Box/Runtime/r0drv/freebsd/semevent-r0drv-freebsd.c:212 #7 0xc5e181b0 in RTSemEventWait (EventSem=0xc5d2a110, cMillies=4294967295) at /usr/home/gbarber/virtualbox/virtualbox/work/virtualbox-2.2.2r19980/src/V Box/Runtime/r0drv/freebsd/semevent-r0drv-freebsd.c:240 #8 0xc5e157f1 in rtTimerThread (Thread=0xc5d2b990, pvUser=0xc5d2be90) at /usr/home/gbarber/virtualbox/virtualbox/work/virtualbox-2.2.2r19980/src/V Box/Runtime/generic/timer-generic.cpp:238 #9 0xc5e1a6c0 in rtThreadMain (pThread=0xc5d2b990, NativeThread=3316025600, pszThreadName=0xc5d2b9d0 "TIMER") at /usr/home/gbarber/virtualbox/virtualbox/work/virtualbox-2.2.2r19980/src/V Box/Runtime/common/misc/thread.cpp:635 #10 0xc5e26ee7 in rtThreadNativeMain (pvThreadInt=0xc5d2b990) at /usr/home/gbarber/virtualbox/virtualbox/work/virtualbox-2.2.2r19980/src/V Box/Runtime/r0drv/freebsd/thread2-r0drv-freebsd.c:112 ---Type to continue, or q to quit--- #11 0xc07bdbc9 in fork_exit (callout=0xc5e26ec0 , arg=0xc5d2b990, frame=0xe7a73d38) at /usr/src/sys/kern/kern_fork.c:811 #12 0xc0acc0d0 in fork_trampoline () at /usr/src/sys/i386/i386/exception.s:264 (kgdb) Any thoughts? If needed, I will test patches. -- Glen Barber