From owner-freebsd-bugs@FreeBSD.ORG Wed Feb 2 23:30:09 2011 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 02438106564A for ; Wed, 2 Feb 2011 23:30:08 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id B43B88FC18 for ; Wed, 2 Feb 2011 23:30:08 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id p12NU8YS051612 for ; Wed, 2 Feb 2011 23:30:08 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id p12NU8Xr051609; Wed, 2 Feb 2011 23:30:08 GMT (envelope-from gnats) Resent-Date: Wed, 2 Feb 2011 23:30:08 GMT Resent-Message-Id: <201102022330.p12NU8Xr051609@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, ALex Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 56C501065672 for ; Wed, 2 Feb 2011 23:20:26 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from red.freebsd.org (red.freebsd.org [IPv6:2001:4f8:fff6::22]) by mx1.freebsd.org (Postfix) with ESMTP id 45DC08FC16 for ; Wed, 2 Feb 2011 23:20:26 +0000 (UTC) Received: from red.freebsd.org (localhost [127.0.0.1]) by red.freebsd.org (8.14.4/8.14.4) with ESMTP id p12NKPmf077762 for ; Wed, 2 Feb 2011 23:20:25 GMT (envelope-from nobody@red.freebsd.org) Received: (from nobody@localhost) by red.freebsd.org (8.14.4/8.14.4/Submit) id p12NKPhx077761; Wed, 2 Feb 2011 23:20:25 GMT (envelope-from nobody) Message-Id: <201102022320.p12NKPhx077761@red.freebsd.org> Date: Wed, 2 Feb 2011 23:20:25 GMT From: ALex To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Cc: Subject: kern/154473: xen 4.0 - DomU freebsd8.1 i386, XEN kernel. Not Work SMP X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 02 Feb 2011 23:30:09 -0000 >Number: 154473 >Category: kern >Synopsis: xen 4.0 - DomU freebsd8.1 i386, XEN kernel. Not Work SMP >Confidential: no >Severity: critical >Priority: high >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Wed Feb 02 23:30:07 UTC 2011 >Closed-Date: >Last-Modified: >Originator: ALex >Release: 8.1 i386 >Organization: hosting & mail services >Environment: FreeBSD 8.1-RELEASE #26: Wed Feb 2 22:48:00 UTC 2011 al@a0.o.dp.ua:/usr/obj/xendrv/src/sys/XEN i386 >Description: use kernel /usr/src/sys/i386/conf/XEN GDB: no debug ports present KDB: debugger backends: ddb KDB: current backend: ddb Copyright (c) 1992-2010 The FreeBSD Project. Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 The Regents of the University of California. All rights reserved. FreeBSD is a registered trademark of The FreeBSD Foundation. FreeBSD 8.1-RELEASE #26: Wed Feb 2 22:48:00 UTC 2011 al@a0.o.dp.ua:/usr/obj/xendrv/src/sys/XEN i386 WARNING: WITNESS option enabled, expect reduced performance. Xen reported: 2812.408 MHz processor. Timecounter "ixen" frequency 1000000000 Hz quality 0 CPU: AMD Athlon(tm) II X4 630 Processor (2812.41-MHz 686-class CPU) Origin = "AuthenticAMD" Id = 0x100f52 Family = 10 Model = 5 Stepping = 2 Features=0x178bfbff Features2=0x802009 AMD Features=0xee500800 AMD Features2=0x37ff TSC: P-state invariant Data TLB: 48 entries, fully associative Instruction TLB: 32 entries, fully associative L1 data cache: 64 kbytes, 64 bytes/line, 1 lines/tag, 2-way associative L1 instruction cache: 64 kbytes, 64 bytes/line, 1 lines/tag, 2-way associative L2 internal cache: 512 kbytes, 64 bytes/line, 1 lines/tag, 8-way associative real memory = 268435456 (256 MB) Physical memory chunk(s): 0x00000000006bf000 - 0x000000000fafbfff, 256102400 bytes (62525 pages) avail memory = 253173760 (241 MB) APIC: Using the MPTable enumerator. SMP: Added CPU 0 (BSP) SMP: Added CPU 1 (AP) gdtpfn=1023cb pdptpfn=990a7 INTR: Adding local APIC 1 as a target FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs cpu0 (BSP): APIC ID: 0 cpu1 (AP): APIC ID: 1 panic: HYPERVISOR_update_va_mapping(((unsigned long)(va)), (pa | 0x002 | 0x001 | pgeflag | pmap_cache_bits(mode, 0)), UVMF_INVLPG| UVMF_ALL) < 0: /xendrv/src/sys/i386/xen/pmap.c:1269 cpuid = 0 KDB: enter: panic [thread pid 0 tid 0 ] Stopped at kdb_enter+0x3a: movl $0,kdb_why db> db> ======================== If you comment out # To make an SMP kernel, the next two lines are needed #options SMP # Symmetric MultiProcessor Kernel #device apic # I/O APIC #device atkbdc # AT keyboard controller #device atkbd # AT keyboard #device psm # PS/2 mouse device pci #device kbdmux # keyboard multiplexer system begins to boot but not work SMP If you uncomment #options SMP # Symmetric MultiProcessor Kernel #device apic # I/O APIC #device atkbdc # AT keyboard controller #device atkbd # AT keyboard #device psm # PS/2 mouse device pci #device kbdmux # keyboard multiplexer >How-To-Repeat: always >Fix: If you comment out # To make an SMP kernel, the next two lines are needed #options SMP # Symmetric MultiProcessor Kernel #device apic # I/O APIC #device atkbdc # AT keyboard controller #device atkbd # AT keyboard #device psm # PS/2 mouse device pci #device kbdmux # keyboard multiplexer system begins to boot but not work SMP If you uncomment #options SMP # Symmetric MultiProcessor Kernel #device apic # I/O APIC Copyright (c) 1992-2010 The FreeBSD Project. Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 The Regents of the University of California. All rights reserved. FreeBSD is a registered trademark of The FreeBSD Foundation. FreeBSD 8.1-RELEASE #21: Sat Jan 29 23:17:40 UTC 2011 al@a0.o.dp.ua:/usr/obj/xendrv/src/sys/XEN i386 Xen reported: 2812.408 MHz processor. Timecounter "ixen" frequency 1000000000 Hz quality 0 CPU: AMD Athlon(tm) II X4 630 Processor (2812.41-MHz 686-class CPU) Origin = "AuthenticAMD" Id = 0x100f52 Family = 10 Model = 5 Stepping = 2 Features=0x178bfbff Features2=0x802009 AMD Features=0xee500800 AMD Features2=0x37ff TSC: P-state invariant Data TLB: 48 entries, fully associative Instruction TLB: 32 entries, fully associative L1 data cache: 64 kbytes, 64 bytes/line, 1 lines/tag, 2-way associative L1 instruction cache: 64 kbytes, 64 bytes/line, 1 lines/tag, 2-way associative L2 internal cache: 512 kbytes, 64 bytes/line, 1 lines/tag, 8-way associative real memory = 268435456 (256 MB) Physical memory chunk(s): 0x000000000051b000 - 0x000000000fafbfff, 257822720 bytes (62945 pages) avail memory = 255012864 (243 MB) APIC: Using the MPTable enumerator. SMP: Added CPU 0 (BSP) SMP: Added CPU 1 (AP) gdtpfn=10edfb pdptpfn=bc343 INTR: Adding local APIC 1 as a target FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs cpu0 (BSP): APIC ID: 0 cpu1 (AP): APIC ID: 1 ULE: setup cpu 0 ULE: setup cpu 1 [XEN] IPI cpu=0 irq=128 vector=RESCHEDULE_VECTOR (0) [XEN] IPI cpu=0 irq=129 vector=CALL_FUNCTION_VECTOR (1) [XEN] IPI cpu=1 irq=130 vector=RESCHEDULE_VECTOR (0) [XEN] IPI cpu=1 irq=131 vector=CALL_FUNCTION_VECTOR (1) Event-channel device installed. mem: random: null: nfslock: pseudo-device io: Grant table initialized xenbus0: on motherboard xc0: on motherboard [XEN] xen_rtc_probe: probing Hypervisor RTC clock rtc0: on motherboard [XEN] xen_rtc_attach: attaching Hypervisor RTC clock rtc0: registered as a time-of-day clock (resolution 1000000us) npx0: INT 16 interface Device configuration finished. procfs registered Timecounters tick every 10.000 msec kernel trap 9 with interrupts disabled Fatal trap 9: general protection fault while in kernel mode cpuid = 0; apic id = 00 instruction pointer = 0x21:0xc02f8e51 stack pointer = 0x29:0xc1351ca0 frame pointer = 0x29:0xc1351ca8 code segment = base 0x0, limit 0xfffff, type 0x1b = DPL 1, pres 1, def32 1, gran 1 processor eflags = resume, IOPL = 0 current process = 11 (idle: cpu0) trap number = 9 panic: general protection fault cpuid = 0 Uptime: 1s Cannot dump. Device not defined or unavailable. Automatic reboot in 15 seconds - press a key on the console to abort [XEN] hypervisor wallclock nudged; nudging TOD. --> Press a key on the console to reboot, --> or switch off the system now. Rebooting... >Release-Note: >Audit-Trail: >Unformatted: