From owner-freebsd-xen@freebsd.org Mon Oct 19 15:33:03 2015 Return-Path: Delivered-To: freebsd-xen@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 08118A195AC for ; Mon, 19 Oct 2015 15:33:03 +0000 (UTC) (envelope-from lausts@acm.org) Received: from cdptpa-oedge-vip.email.rr.com (cdptpa-outbound-snat.email.rr.com [107.14.166.231]) by mx1.freebsd.org (Postfix) with ESMTP id C417F148D for ; Mon, 19 Oct 2015 15:33:01 +0000 (UTC) (envelope-from lausts@acm.org) Received: from [173.88.10.122] ([173.88.10.122:22511] helo=mail.laus.org) by cdptpa-oedge01 (envelope-from ) (ecelerity 3.5.0.35861 r(Momo-dev:tip)) with ESMTP id 15/E4-01181-AEC05265; Mon, 19 Oct 2015 15:31:55 +0000 Received: from [192.168.1.100] (laust2 [192.168.1.100]) by mail.laus.org (8.15.2/8.15.2) with ESMTPS id t9JFVsJf039381 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO) for ; Mon, 19 Oct 2015 11:31:54 -0400 (EDT) (envelope-from lausts@acm.org) X-Authentication-Warning: mail.laus.org: Host laust2 [192.168.1.100] claimed to be [192.168.1.100] From: "Thomas Laus" Organization: ABB To: freebsd-xen@freebsd.org Date: Mon, 19 Oct 2015 11:31:49 -0400 Subject: Xen Kernel Won't Boot Reply-to: lausts@acm.org Message-ID: <56250CE5.17484.2086AC@lausts.acm.org> Priority: normal X-mailer: Pegasus Mail for Windows (4.70) X-RR-Connecting-IP: 107.14.168.118:25 X-Cloudmark-Score: 0 X-BeenThere: freebsd-xen@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Discussion of the freebsd port to xen - implementation and usage List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 19 Oct 2015 15:33:03 -0000 List: I have a new installation of FreeBSD Current that won't boot the Xen kernel. I loaded the most recent snapshot and then ran 'svnup' to bring my source tree up to date on Saturday 10/17/2015. I followed the instructions on the FreeBSD Wiki page on setting up Dom0 support. I made the changes to sysconf.conf, /etc/ttys, /boot/loader.conf and generated a new /boot/menu.rc.local. When the computer was rebooted, it would not load the Xen boot file and choked giving me the OK? prompt. This is my dmesg output showing the CPU information: Oct 19 10:55:41 xenserver kernel: FreeBSD 11.0-CURRENT #0: Sun Oct 18 04:21:24 EDT 2015 Oct 19 10:55:41 xenserver kernel: root@xenserver:/usr/obj/usr/src/sys/XENSERVER amd64 Oct 19 10:55:41 xenserver kernel: FreeBSD clang version 3.7.0 (tags/RELEASE_370/final 246257) 20150906 Oct 19 10:55:41 xenserver kernel: WARNING: WITNESS option enabled, expect reduced performance. Oct 19 10:55:41 xenserver kernel: VT(efifb): resolution 1280x1024 Oct 19 10:55:41 xenserver kernel: CPU: Intel(R) Celeron(R) CPU J1900 @ 1.99GHz (2000.05-MHz K8-class CPU) Oct 19 10:55:41 xenserver kernel: Origin="GenuineIntel" Id=0x30673 Family=0x6 Model=0x37 Stepping=3 Oct 19 10:55:41 xenserver kernel: Features=0xbfebfbff Oct 19 10:55:41 xenserver kernel: Features2=0x41d8e3bf Oct 19 10:55:41 xenserver kernel: AMD Features=0x28100800 Oct 19 10:55:41 xenserver kernel: AMD Features2=0x101 Oct 19 10:55:41 xenserver kernel: Structured Extended Features=0x2282 Oct 19 10:55:41 xenserver kernel: VT-x: PAT,HLT,MTF,PAUSE,EPT,UG,VPID Oct 19 10:55:41 xenserver kernel: TSC: P-state invariant, performance statistics Oct 19 10:55:41 xenserver kernel: real memory = 4294967296 (4096 MB) Oct 19 10:55:41 xenserver kernel: avail memory = 3997675520 (3812 MB) Oct 19 10:55:41 xenserver kernel: Event timer "LAPIC" quality 600 Oct 19 10:55:41 xenserver kernel: ACPI APIC Table: Oct 19 10:55:41 xenserver kernel: FreeBSD/SMP: Multiprocessor System Detected: 4 CPUs Oct 19 10:55:41 xenserver kernel: FreeBSD/SMP: 1 package(s) x 4 core(s) Oct 19 10:55:41 xenserver kernel: cpu0 (BSP): APIC ID: 0 Oct 19 10:55:41 xenserver kernel: cpu1 (AP): APIC ID: 2 Oct 19 10:55:41 xenserver kernel: cpu2 (AP): APIC ID: 4 Oct 19 10:55:41 xenserver kernel: cpu3 (AP): APIC ID: 6 Having a non-functioning entry in /boot/loader.conf is a tough one to recover and requires booting to a live filesystem. Loading one of the working kernels still loads the same loader.conf. This motherboard uses UEFI and was installed with a UEFI kernel. This computer was able to successfully load the Citrix XenServer 6.5 and had all 'green' lights when I ran 'xl dmesg'. I used another hard drive for the Citrix load. It seemed to be happy with all of my CPU and hardware features. I was able to make a DomU image from an OpenBSD 5.8 snapshot. I have been running FreeBSD since version 4.11 and would prefer not to run the Citrix XenServer because of all of it's 'Linux-isms'. Their filesystem uses Logical Volume Manager and I much prefer ZFS for disk management. Is there any other information that should be sent to this list? Tom -- Public Keys: PGP KeyID = 0x5F22FDC1 GnuPG KeyID = 0x620836CF From owner-freebsd-xen@freebsd.org Mon Oct 19 15:45:56 2015 Return-Path: Delivered-To: freebsd-xen@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 7D6A5A199A8 for ; Mon, 19 Oct 2015 15:45:56 +0000 (UTC) (envelope-from prvs=72730eddd=roger.pau@citrix.com) Received: from SMTP02.CITRIX.COM (smtp02.citrix.com [66.165.176.63]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (Client CN "mail.citrix.com", Issuer "Verizon Public SureServer CA G14-SHA2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 2E5731D45 for ; Mon, 19 Oct 2015 15:45:55 +0000 (UTC) (envelope-from prvs=72730eddd=roger.pau@citrix.com) X-IronPort-AV: E=Sophos;i="5.17,702,1437436800"; d="scan'208";a="311356722" Subject: Re: Xen Kernel Won't Boot To: , References: <56250CE5.17484.2086AC@lausts.acm.org> From: =?UTF-8?Q?Roger_Pau_Monn=c3=a9?= X-Enigmail-Draft-Status: N1110 Message-ID: <56251027.9040303@citrix.com> Date: Mon, 19 Oct 2015 17:45:43 +0200 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.9; rv:38.0) Gecko/20100101 Thunderbird/38.3.0 MIME-Version: 1.0 In-Reply-To: <56250CE5.17484.2086AC@lausts.acm.org> Content-Type: text/plain; charset="windows-1252" Content-Transfer-Encoding: 7bit X-DLP: MIA1 X-BeenThere: freebsd-xen@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Discussion of the freebsd port to xen - implementation and usage List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 19 Oct 2015 15:45:56 -0000 Hello, El 19/10/15 a les 17.31, Thomas Laus ha escrit: > List: > > I have a new installation of FreeBSD Current that won't boot the Xen kernel. > I loaded the most recent snapshot and then ran 'svnup' to bring my source > tree up to date on Saturday 10/17/2015. I followed the instructions on the > FreeBSD Wiki page on setting up Dom0 support. I made the changes to > sysconf.conf, /etc/ttys, /boot/loader.conf and generated a new > /boot/menu.rc.local. When the computer was rebooted, it would not load the > Xen boot file and choked giving me the OK? prompt. > > This is my dmesg output showing the CPU information: > > Oct 19 10:55:41 xenserver kernel: FreeBSD 11.0-CURRENT #0: Sun Oct 18 > 04:21:24 EDT 2015 > Oct 19 10:55:41 xenserver kernel: > root@xenserver:/usr/obj/usr/src/sys/XENSERVER amd64 > Oct 19 10:55:41 xenserver kernel: FreeBSD clang version 3.7.0 > (tags/RELEASE_370/final 246257) 20150906 > Oct 19 10:55:41 xenserver kernel: WARNING: WITNESS option enabled, expect > reduced performance. > Oct 19 10:55:41 xenserver kernel: VT(efifb): resolution 1280x1024 > Oct 19 10:55:41 xenserver kernel: CPU: Intel(R) Celeron(R) CPU J1900 @ > 1.99GHz (2000.05-MHz K8-class CPU) AFAICT you won't be able to boot a FreeBSD/Xen Dom0 on this box because FreeBSD Dom0 runs as a PVH guest and it requires an IOMMU (aka VT-d in Intel speech), which your CPU doesn't seem to support. A traditional Linux PV Dom0 will work fine, but FreeBSD doesn't support traditional PV mode. Anyway, see the rest of reply below to figure out why you weren't able to boot... > Oct 19 10:55:41 xenserver kernel: Origin="GenuineIntel" Id=0x30673 > Family=0x6 Model=0x37 Stepping=3 > Oct 19 10:55:41 xenserver kernel: > Features=0xbfebfbff MOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE> > Oct 19 10:55:41 xenserver kernel: > Features2=0x41d8e3bf TPR,PDCM,SSE4.1,SSE4.2,MOVBE,POPCNT,TSCDLT,RDRAND> > Oct 19 10:55:41 xenserver kernel: AMD > Features=0x28100800 > Oct 19 10:55:41 xenserver kernel: AMD Features2=0x101 > Oct 19 10:55:41 xenserver kernel: Structured Extended > Features=0x2282 > Oct 19 10:55:41 xenserver kernel: VT-x: PAT,HLT,MTF,PAUSE,EPT,UG,VPID > Oct 19 10:55:41 xenserver kernel: TSC: P-state invariant, performance > statistics > Oct 19 10:55:41 xenserver kernel: real memory = 4294967296 (4096 MB) > Oct 19 10:55:41 xenserver kernel: avail memory = 3997675520 (3812 MB) > Oct 19 10:55:41 xenserver kernel: Event timer "LAPIC" quality 600 > Oct 19 10:55:41 xenserver kernel: ACPI APIC Table: > Oct 19 10:55:41 xenserver kernel: FreeBSD/SMP: Multiprocessor System > Detected: 4 CPUs > Oct 19 10:55:41 xenserver kernel: FreeBSD/SMP: 1 package(s) x 4 core(s) > Oct 19 10:55:41 xenserver kernel: cpu0 (BSP): APIC ID: 0 > Oct 19 10:55:41 xenserver kernel: cpu1 (AP): APIC ID: 2 > Oct 19 10:55:41 xenserver kernel: cpu2 (AP): APIC ID: 4 > Oct 19 10:55:41 xenserver kernel: cpu3 (AP): APIC ID: 6 > > Having a non-functioning entry in /boot/loader.conf is a tough one to recover > and requires booting to a live filesystem. Loading one of the working > kernels still loads the same loader.conf. FWIW, and I know it won't help much now, but you can use: > unload > unset xen_kernel > boot ... And the loader won't try to load the Xen kernel anymore. > This motherboard uses UEFI and was > installed with a UEFI kernel. This computer was able to successfully load > the > Citrix XenServer 6.5 and had all 'green' lights when I ran 'xl dmesg'. I > used another hard drive for the Citrix load. It seemed to be happy with all > of my CPU and hardware features. I was able to make a DomU image from an > OpenBSD 5.8 snapshot. I have been running FreeBSD since version 4.11 and > would prefer not to run the Citrix XenServer because of all of it's > 'Linux-isms'. Their filesystem uses Logical Volume Manager and I much prefer > ZFS for disk management. > > Is there any other information that should be sent to this list? Booting a FreeBSD/Xen Dom0 using UEFI is not yet supported, if you want to use this box as a FreeBSD/Xen Dom0 you will have to switch back to BIOS boot I'm afraid (although as noted above I think your CPU is missing a feature in order to run a FreeBSD/Xen Dom0). Roger. From owner-freebsd-xen@freebsd.org Mon Oct 19 23:13:44 2015 Return-Path: Delivered-To: freebsd-xen@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id CE691A18C51 for ; Mon, 19 Oct 2015 23:13:44 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id BAF4A1918 for ; Mon, 19 Oct 2015 23:13:44 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id t9JNDiDV029693 for ; Mon, 19 Oct 2015 23:13:44 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-xen@FreeBSD.org Subject: [Bug 154428] [xen] xn0 network interface and PF - Massive performance drop Date: Mon, 19 Oct 2015 23:13:44 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: unspecified X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: thinker.lp@gmail.com X-Bugzilla-Status: In Progress X-Bugzilla-Priority: Normal X-Bugzilla-Assigned-To: freebsd-xen@FreeBSD.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-xen@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Discussion of the freebsd port to xen - implementation and usage List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 19 Oct 2015 23:13:44 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=154428 --- Comment #17 from Jonas Liepuonius --- Well I tried latest FreeBSD-HEAD that should include the patch, but unfortunately it didn't solve the problem for me. I can still get pings through, but nothing else. TCP connections just time out. My issue is either different or there's something special about my XenServer, anyways great work guys! -- You are receiving this mail because: You are the assignee for the bug. From owner-freebsd-xen@freebsd.org Mon Oct 19 23:25:26 2015 Return-Path: Delivered-To: freebsd-xen@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 24638A19032 for ; Mon, 19 Oct 2015 23:25:26 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 0F2891F30 for ; Mon, 19 Oct 2015 23:25:26 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id t9JNPPZH047388 for ; Mon, 19 Oct 2015 23:25:25 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-xen@FreeBSD.org Subject: [Bug 154428] [xen] xn0 network interface and PF - Massive performance drop Date: Mon, 19 Oct 2015 23:25:26 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: unspecified X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: meyer.sydney@gmail.com X-Bugzilla-Status: In Progress X-Bugzilla-Priority: Normal X-Bugzilla-Assigned-To: freebsd-xen@FreeBSD.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-xen@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Discussion of the freebsd port to xen - implementation and usage List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 19 Oct 2015 23:25:26 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=154428 --- Comment #18 from Sydney Meyer --- (In reply to Jonas Liepuonius from comment #17) I had also tested a recent snapshot of both, head and stable, and on my Xen 4.4/Linux 4.2 setup the IPv4 TCP performance problems seem to be gone, i.e. host-host single IPv4 TCP stream. The routing problems, as in https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=188261, are still present, i.e. icmp works, tcp times out. -- You are receiving this mail because: You are the assignee for the bug. From owner-freebsd-xen@freebsd.org Mon Oct 19 23:26:26 2015 Return-Path: Delivered-To: freebsd-xen@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 56AD0A190A8 for ; Mon, 19 Oct 2015 23:26:26 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 439A81F76 for ; Mon, 19 Oct 2015 23:26:26 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id t9JNQQ1J048469 for ; Mon, 19 Oct 2015 23:26:26 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-xen@FreeBSD.org Subject: [Bug 154428] [xen] xn0 network interface and PF - Massive performance drop Date: Mon, 19 Oct 2015 23:26:26 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: unspecified X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: alex@ahhyes.net X-Bugzilla-Status: In Progress X-Bugzilla-Priority: Normal X-Bugzilla-Assigned-To: freebsd-xen@FreeBSD.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-xen@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Discussion of the freebsd port to xen - implementation and usage List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 19 Oct 2015 23:26:26 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=154428 --- Comment #19 from Alex --- @Jonas I think your issue is something else. The issue was never no tcp flow at all, it was excruciatingly slow tcp performance. -- You are receiving this mail because: You are the assignee for the bug. From owner-freebsd-xen@freebsd.org Mon Oct 19 23:40:03 2015 Return-Path: Delivered-To: freebsd-xen@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 99566A19447 for ; Mon, 19 Oct 2015 23:40:03 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 85E918ED for ; Mon, 19 Oct 2015 23:40:03 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id t9JNe3fl068331 for ; Mon, 19 Oct 2015 23:40:03 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-xen@FreeBSD.org Subject: [Bug 154428] [xen] xn0 network interface and PF - Massive performance drop Date: Mon, 19 Oct 2015 23:40:03 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: unspecified X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: thinker.lp@gmail.com X-Bugzilla-Status: In Progress X-Bugzilla-Priority: Normal X-Bugzilla-Assigned-To: freebsd-xen@FreeBSD.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-xen@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Discussion of the freebsd port to xen - implementation and usage List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 19 Oct 2015 23:40:03 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=154428 --- Comment #20 from Jonas Liepuonius --- I probably have the routing issue mentioned above by Sydney. Anyways, we're moving in the right direction. -- You are receiving this mail because: You are the assignee for the bug. From owner-freebsd-xen@freebsd.org Tue Oct 20 15:14:45 2015 Return-Path: Delivered-To: freebsd-xen@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id B8B4DA1A9FD for ; Tue, 20 Oct 2015 15:14:45 +0000 (UTC) (envelope-from lars@netapp.com) Received: from mx142.netapp.com (mx142.netapp.com [216.240.21.19]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (Client CN "mx142.netapp.com", Issuer "Symantec Class 3 Secure Server CA - G4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 8156E27D; Tue, 20 Oct 2015 15:14:45 +0000 (UTC) (envelope-from lars@netapp.com) X-IronPort-AV: E=Sophos;i="5.17,707,1437462000"; d="asc'?scan'208";a="71901659" Received: from hioexcmbx04-prd.hq.netapp.com ([10.122.105.37]) by mx142-out.netapp.com with ESMTP; 20 Oct 2015 08:13:36 -0700 Received: from HIOEXCMBX07-PRD.hq.netapp.com (10.122.105.40) by hioexcmbx04-prd.hq.netapp.com (10.122.105.37) with Microsoft SMTP Server (TLS) id 15.0.1104.5; Tue, 20 Oct 2015 08:13:36 -0700 Received: from HIOEXCMBX07-PRD.hq.netapp.com ([::1]) by hioexcmbx07-prd.hq.netapp.com ([fe80::e1d9:911e:3048:d510%21]) with mapi id 15.00.1104.000; Tue, 20 Oct 2015 08:13:36 -0700 From: "Eggert, Lars" To: =?Windows-1252?Q?Roger_Pau_Monn=E9?= CC: Roman Bogorodskiy , "freebsd-xen@freebsd.org" Subject: Re: Xen dom0 crash Thread-Topic: Xen dom0 crash Thread-Index: AQHQkWsjWWZFxg5CcECFAUy3VuNwPJ2CMi0AgAZ0NYCAAARrAIAFs0gAgAABZICA54bPAA== Date: Tue, 20 Oct 2015 15:13:35 +0000 Message-ID: References: <7CB114B9-B666-4764-86B6-B94F07973389@netapp.com> <5559EB2E.6080609@citrix.com> <20150522161117.GA59488@kloomba> <555F58DC.2040807@citrix.com> <46625CAE-750E-4ECE-8B39-DF8EDDFA912F@netapp.com> <55642229.9020106@citrix.com> In-Reply-To: <55642229.9020106@citrix.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: yes X-MS-TNEF-Correlator: x-mailer: Apple Mail (2.3094) x-ms-exchange-messagesentrepresentingtype: 1 x-ms-exchange-transport-fromentityheader: Hosted x-originating-ip: [10.122.56.79] Content-Type: multipart/signed; boundary="Apple-Mail=_0160A8EF-9FF6-45F7-AF1F-12E86064B89B"; protocol="application/pgp-signature"; micalg=pgp-sha256 MIME-Version: 1.0 X-BeenThere: freebsd-xen@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Discussion of the freebsd port to xen - implementation and usage List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 20 Oct 2015 15:14:45 -0000 --Apple-Mail=_0160A8EF-9FF6-45F7-AF1F-12E86064B89B Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=windows-1252 Hi, with a recent -CURRENT and xen-4.6.0, I now see a different crash at = boot on the same box. Any ideas? Thanks, Lars = B2 ______ ____ _____ _____ | ____| | _ \ / ____| __ \ | |___ _ __ ___ ___ | |_) | (___ | | | | | ___| '__/ _ \/ _ \| _ < \___ \| | | | | | | | | __/ __/| |_) |____) | |__| | | | | | | | || | | | Xen 4.6.0el/cc_vegas.ko size 0x3348 at 0x1403000 = ` (XEN) Xen version 4.6.0 (root@netapp.com) (gcc47 (FreeBSD Ports = Collection) 4.7.4) debug=3Dn Wed Oct 14 18:50:20 CEST = 2015g...el/cc_hd.ko size 0x2ea8 at 0x13ff000o .--` /y:` = +. (XEN) Latest ChangeSet: 'ertt' | yo`:. :o = `+- (XEN) Bootloader: FreeBSD Loader | y/ -/` = -o/ (XEN) Command line: guest_loglvl=3Dall loglvl=3Dal dom0_max_vcpus=3D32 = dom0_mem=3D4096M dom0pvh=3D1 com1=3D115200,8n1 console=3Dcom13. [Esc]ape = to loader prompt | / `-- / (XEN) Video information: | `: = :` (XEN) VGA is text mode 80x25, font 8x16 | `: = :` (XEN) VBE/DDC methods: none; EDID transfer time: 0 seconds = / (XEN) EDID info not retrieved because no DDC retrieval method detected = -. (XEN) Disc information:O]ptions... | -- = -. (XEN) Found 1 MBR signatures | `:` `:` (XEN) Found 1 EDD information structures | .-- `--. (XEN) Xen-e820 RAM map: | .---.....----. (XEN) 0000000000000000 - 000000000009ac00 (usable) (XEN) 000000000009ac00 - 00000000000a0000 (reserved) (XEN) 00000000000e0000 - 0000000000100000 (reserved) (XEN) 0000000000100000 - 000000007de19000 (usable) (XEN) 000000007de19000 - 000000007dea8000 (reserved) (XEN) 000000007dea8000 - 000000007dfb1000 (ACPI data) (XEN) 000000007dfb1000 - 000000007e1cb000 (ACPI NVS) (XEN) 000000007e1cb000 - 000000007f355000 (reserved) (XEN) 000000007f355000 - 000000007f800000 (ACPI NVS) (XEN) 0000000080000000 - 0000000090000000 (reserved) (XEN) 00000000fed1c000 - 00000000fed40000 (reserved) (XEN) 00000000ff000000 - 0000000100000000 (reserved) (XEN) 0000000100000000 - 0000002080000000 (usable) (XEN) ACPI: RSDP 000F04A0, 0024 (r2 SUPERM) (XEN) ACPI: XSDT 7DEDD088, 008C (r1 SUPERM SMCI--MB 1 AMI = 10013) (XEN) ACPI: FACP 7DEE80F8, 00F4 (r4 SUPERM SMCI--MB 1 AMI = 10013) (XEN) ACPI: DSDT 7DEDD1A0, AF53 (r2 SUPERM SMCI--MB 0 INTL = 20091112) (XEN) ACPI: FACS 7E1C2080, 0040 (XEN) ACPI: APIC 7DEE81F0, 0224 (r3 1 AMI = 10013) (XEN) ACPI: FPDT 7DEE8418, 0044 (r1 1 AMI = 10013) (XEN) ACPI: HPET 7DEE8460, 0038 (r1 SUPERM SMCI--MB 1 AMI. = 5) (XEN) ACPI: PRAD 7DEE8498, 00BE (r2 PRADID PRADTID 1 MSFT = 4000000) (XEN) ACPI: SPMI 7DEE8558, 0040 (r5 A M I OEMSPMI 0 AMI. = 0) (XEN) ACPI: SSDT 7DEE8598, C7AE8 (r2 INTEL CpuPm 4000 INTL = 20091112) (XEN) ACPI: EINJ 7DFB0080, 0130 (r1 AMI AMI EINJ 0 = 0) (XEN) ACPI: ERST 7DFB01B0, 0230 (r1 AMIER AMI ERST 0 = 0) (XEN) ACPI: HEST 7DFB03E0, 00A8 (r1 AMI AMI HEST 0 = 0) (XEN) ACPI: BERT 7DFB0488, 0030 (r1 AMI AMI BERT 0 = 0) (XEN) ACPI: DMAR 7DFB04B8, 0168 (r1 A M I OEMDMAR 1 INTL = 1) (XEN) ACPI: MCFG 7DFB0620, 003C (r1 SUPERM SMCI--MB 1 MSFT = 97) (XEN) System RAM: 131037MB (134182604kB) (XEN) Domain heap initialised (XEN) ACPI: 32/64X FACS address mismatch in FADT - = 7e1c2080/0000000000000000, using 32 (XEN) Processor #0 6:13 APIC version 21 (XEN) Processor #2 6:13 APIC version 21 (XEN) Processor #4 6:13 APIC version 21 (XEN) Processor #6 6:13 APIC version 21 (XEN) Processor #8 6:13 APIC version 21 (XEN) Processor #10 6:13 APIC version 21 (XEN) Processor #12 6:13 APIC version 21 (XEN) Processor #14 6:13 APIC version 21 (XEN) Processor #32 6:13 APIC version 21 (XEN) Processor #34 6:13 APIC version 21 (XEN) Processor #36 6:13 APIC version 21 (XEN) Processor #38 6:13 APIC version 21 (XEN) Processor #40 6:13 APIC version 21 (XEN) Processor #42 6:13 APIC version 21 (XEN) Processor #44 6:13 APIC version 21 (XEN) Processor #46 6:13 APIC version 21 (XEN) Processor #1 6:13 APIC version 21 (XEN) Processor #3 6:13 APIC version 21 (XEN) Processor #5 6:13 APIC version 21 (XEN) Processor #7 6:13 APIC version 21 (XEN) Processor #9 6:13 APIC version 21 (XEN) Processor #11 6:13 APIC version 21 (XEN) Processor #13 6:13 APIC version 21 (XEN) Processor #15 6:13 APIC version 21 (XEN) Processor #33 6:13 APIC version 21 (XEN) Processor #35 6:13 APIC version 21 (XEN) Processor #37 6:13 APIC version 21 (XEN) Processor #39 6:13 APIC version 21 (XEN) Processor #41 6:13 APIC version 21 (XEN) Processor #43 6:13 APIC version 21 (XEN) Processor #45 6:13 APIC version 21 (XEN) Processor #47 6:13 APIC version 21 (XEN) IOAPIC[0]: apic_id 0, version 32, address 0xfec00000, GSI 0-23 (XEN) IOAPIC[1]: apic_id 2, version 32, address 0xfec01000, GSI 24-47 (XEN) IOAPIC[2]: apic_id 3, version 32, address 0xfec40000, GSI 48-71 (XEN) Enabling APIC mode: Phys. Using 3 I/O APICs (XEN) Switched to APIC driver x2apic_cluster. (XEN) xstate_init: using cntxt_size: 0x340 and states: 0x7 (XEN) Using scheduler: SMP Credit Scheduler (credit) (XEN) Detected 2000.043 MHz processor. (XEN) Initing memory sharing. (XEN) Intel VT-d iommu 0 supported page sizes: 4kB, 2MB, 1GB. (XEN) Intel VT-d iommu 1 supported page sizes: 4kB, 2MB, 1GB. (XEN) Intel VT-d Snoop Control enabled. (XEN) Intel VT-d Dom0 DMA Passthrough not enabled. (XEN) Intel VT-d Queued Invalidation enabled. (XEN) Intel VT-d Interrupt Remapping enabled. (XEN) Intel VT-d Shared EPT tables enabled. (XEN) I/O virtualisation enabled (XEN) - Dom0 mode: Relaxed (XEN) Interrupt remapping enabled (XEN) Enabled directed EOI with ioapic_ack_old on! (XEN) ENABLING IO-APIC IRQs (XEN) -> Using old ACK method (XEN) Platform timer is 14.318MHz HPET (XEN) Allocated console ring of 64 KiB. (XEN) VMX: Supported advanced features: (XEN) - APIC MMIO access virtualisation (XEN) - APIC TPR shadow (XEN) - Extended Page Tables (EPT) (XEN) - Virtual-Processor Identifiers (VPID) (XEN) - Virtual NMI (XEN) - MSR direct-access bitmap (XEN) - Unrestricted Guest (XEN) HVM: ASIDs enabled. (XEN) HVM: VMX enabled (XEN) HVM: Hardware Assisted Paging (HAP) detected (XEN) HVM: HAP page sizes: 4kB, 2MB, 1GB (XEN) Brought up 32 CPUs (XEN) Dom0 has maximum 1224 PIRQs (XEN) *** LOADING DOMAIN 0 *** (XEN) Xen kernel: 64-bit, lsb, compat32 (XEN) Dom0 kernel: 64-bit, PAE, lsb, paddr 0x200000 -> 0x15ed678 (XEN) Dom0 symbol map 0x15ed678 -> 0x180ba40 (XEN) PHYSICAL MEMORY ARRANGEMENT: (XEN) Dom0 alloc.: 0000002020000000->0000002024000000 (1032178 pages = to be allocated) (XEN) Init. ramdisk: 000000207fff2000->0000002080000000 (XEN) VIRTUAL MEMORY ARRANGEMENT: (XEN) Loaded kernel: ffffffff80200000->ffffffff8180ba40 (XEN) Init. ramdisk: ffffffff8180c000->ffffffff8181a000 (XEN) Phys-Mach map: ffffffff8181a000->ffffffff8201a000 (XEN) Start info: ffffffff8201a000->ffffffff8201b4b4 (XEN) Page tables: ffffffff8201c000->ffffffff82031000 (XEN) Boot stack: ffffffff82031000->ffffffff82032000 (XEN) TOTAL: ffffffff80000000->ffffffff82400000 (XEN) ENTRY ADDRESS: ffffffff80963000 (XEN) Dom0 has maximum 32 VCPUs (XEN) Scrubbing Free RAM on 1 nodes using 16 CPUs (XEN) = .................................................................done. (XEN) Initial low memory virq threshold set at 0x4000 pages. (XEN) Std. Loglevel: Errors and warnings (XEN) Guest Loglevel: All (XEN) *** Serial input -> DOM0 (type 'CTRL-a' three times to switch = input to Xen) (XEN) Freed 296kB init memory. FreeBSD PVH running on xen-3.0-x86_64p GDB: no debug ports present KDB: debugger backends: ddb KDB: current backend: ddb Copyright (c) 1992-2015 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 11.0-CURRENT #15 384e927(muclab)-dirty: Tue Oct 20 16:46:27 CEST = 2015 = elars@laurel.muccbc.hq.netapp.com:/usr/home/elars/obj/usr/home/elars/src/s= ys/MUCLAB amd64 FreeBSD clang version 3.7.0 (tags/RELEASE_370/final 246257) 20150906 sysctl: OID number(10) is already in use for 'intr_direct_queue_maxlen' sysctl: OID number(11) is already in use for 'intr_direct_queue_drops' VT(vga): resolution 640x480 (XEN) Direct Vector 0x93 CPU: Intel(R) Xeon(R) CPU E5-2650 0 @ 2.00GHz (2000.00-MHz K8-class CPU) Origin=3D"GenuineIntel" Id=3D0x206d7 Family=3D0x6 Model=3D0x2d = Stepping=3D7 = Features=3D0x1fc3ebff = Features2=3D0x9fb82283 AMD Features=3D0x20100800 AMD Features2=3D0x1 XSAVE Features=3D0x1 TSC: P-state invariant, performance statistics Hypervisor: Origin =3D "XenVMMXenVMM" real memory =3D 6478413824 (6178 MB) avail memory =3D 4065890304 (3877 MB) FreeBSD/SMP: Multiprocessor System Detected: 32 CPUs FreeBSD/SMP: 2 package(s) x 16 core(s) cpu0 (BSP): APIC ID: 0 cpu1 (AP): APIC ID: 2 cpu2 (AP): APIC ID: 4 cpu3 (AP): APIC ID: 6 cpu4 (AP): APIC ID: 8 cpu5 (AP): APIC ID: 10 cpu6 (AP): APIC ID: 12 cpu7 (AP): APIC ID: 14 cpu8 (AP): APIC ID: 16 cpu9 (AP): APIC ID: 18 cpu10 (AP): APIC ID: 20 cpu11 (AP): APIC ID: 22 cpu12 (AP): APIC ID: 24 cpu13 (AP): APIC ID: 26 cpu14 (AP): APIC ID: 28 cpu15 (AP): APIC ID: 30 cpu16 (AP): APIC ID: 32 cpu17 (AP): APIC ID: 34 cpu18 (AP): APIC ID: 36 cpu19 (AP): APIC ID: 38 cpu20 (AP): APIC ID: 40 cpu21 (AP): APIC ID: 42 cpu22 (AP): APIC ID: 44 cpu23 (AP): APIC ID: 46 cpu24 (AP): APIC ID: 48 cpu25 (AP): APIC ID: 50 cpu26 (AP): APIC ID: 52 cpu27 (AP): APIC ID: 54 cpu28 (AP): APIC ID: 56 cpu29 (AP): APIC ID: 58 cpu30 (AP): APIC ID: 60 cpu31 (AP): APIC ID: 62 random: entropy device external interface module_register_init: MOD_LOAD (vesa, 0xffffffff80994b90, 0) error 19 netmap: loaded module vtvga0: on motherboard smbios0: at iomem 0xf04d0-0xf04ee on = motherboard smbios0: Version: 2.7, BCD Revision: 2.7 aesni0: on motherboard cryptosoft0: on motherboard acpi0: on motherboard acpi0: Power Button (fixed) attimer0: port 0x40-0x43 irq 0 on acpi0 Timecounter "i8254" frequency 1193182 Hz quality 0 attimer0: Can't map interrupt. atrtc0: port 0x70-0x71 irq 8 on acpi0 Event timer "RTC" frequency 32768 Hz quality 0 (XEN) d0v0 EPT violation 0x1aa (-w-/r-x) gpa 0x000000800f8060 mfn = 0x800f8 type 5 (XEN) d0v0 Walking EPT tables for GFN 800f8: (XEN) d0v0 epte 80000020269b7007 (XEN) d0v0 epte 800000207fd8f007 (XEN) d0v0 epte 800000207fd8e007 (XEN) d0v0 epte 80500000800f8805 (XEN) d0v0 --- GLA 0xfffff800800f8060 (XEN) domain_crash called from vmx.c:2691 (XEN) Domain 0 (vcpu#0) crashed on cpu#7: (XEN) ----[ Xen-4.6.0 x86_64 debug=3Dn Not tainted ]---- (XEN) CPU: 7 (XEN) RIP: 0020:[] (XEN) RFLAGS: 0000000000010246 CONTEXT: hvm guest (d0v0) (XEN) rax: 000000000000008b rbx: 00000000000f8000 rcx: = 00000000000f8060 (XEN) rdx: fffff80080000000 rsi: 000000000000001f rdi: = 0000000000000000 (XEN) rbp: ffffffff82038390 rsp: ffffffff82038350 r8: = 000000000000008b (XEN) r9: 0000000000000001 r10: ffffffff802ffc80 r11: = fffff80005d1e830 (XEN) r12: 0000000000000001 r13: 00000000000f8000 r14: = 0000000000000000 (XEN) r15: 0000000000000060 cr0: 000000008005003b cr4: = 00000000000406e0 (XEN) cr3: 0000000002043000 cr2: 0000000000000000 (XEN) ds: 003b es: 003b fs: 0013 gs: 0028 ss: 0028 cs: 0020 (XEN) Guest stack trace from rsp=3Dffffffff82038350: (XEN) Fault while accessing guest memory. (XEN) Hardware Dom0 crashed: rebooting machine in 5 seconds. (XEN) Resetting with ACPI MEMORY or I/O RESET_REG. --Apple-Mail=_0160A8EF-9FF6-45F7-AF1F-12E86064B89B Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="signature.asc" Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Message signed with OpenPGP using GPGMail -----BEGIN PGP SIGNATURE----- iQCVAwUBViZaH9ZcnpRveo1xAQg3tgQAhjPvS/xBb/UERbVaw5oFh2dHfeGepou+ g61H4PgMq4sbeG5taykvICTnqVMdri9Lip3HUmgE90WU5jLfa4whfMevGM2sScra vb1kJguwEPjjVROZ9k6qu+glDOn5DE6ReOQhWZK6Eyr+P4lpiT05g7ZerTRnK0YD HQK9mOvZJ1k= =mYvQ -----END PGP SIGNATURE----- --Apple-Mail=_0160A8EF-9FF6-45F7-AF1F-12E86064B89B-- From owner-freebsd-xen@freebsd.org Tue Oct 20 15:40:10 2015 Return-Path: Delivered-To: freebsd-xen@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 18445A191B6 for ; Tue, 20 Oct 2015 15:40:10 +0000 (UTC) (envelope-from lars@netapp.com) Received: from mx142.netapp.com (mx142.netapp.com [216.240.21.19]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (Client CN "mx142.netapp.com", Issuer "Symantec Class 3 Secure Server CA - G4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id E4AB269E for ; Tue, 20 Oct 2015 15:40:09 +0000 (UTC) (envelope-from lars@netapp.com) X-IronPort-AV: E=Sophos;i="5.17,707,1437462000"; d="asc'?scan'208";a="71909594" Received: from hioexcmbx07-prd.hq.netapp.com ([10.122.105.40]) by mx142-out.netapp.com with ESMTP; 20 Oct 2015 08:39:09 -0700 Received: from HIOEXCMBX07-PRD.hq.netapp.com (10.122.105.40) by hioexcmbx07-prd.hq.netapp.com (10.122.105.40) with Microsoft SMTP Server (TLS) id 15.0.1104.5; Tue, 20 Oct 2015 08:39:09 -0700 Received: from HIOEXCMBX07-PRD.hq.netapp.com ([::1]) by hioexcmbx07-prd.hq.netapp.com ([fe80::e1d9:911e:3048:d510%21]) with mapi id 15.00.1104.000; Tue, 20 Oct 2015 08:39:09 -0700 From: "Eggert, Lars" To: =?Windows-1252?Q?Roger_Pau_Monn=E9?= CC: "freebsd-xen@freebsd.org" Subject: Re: Xen dom0 crash Thread-Topic: Xen dom0 crash Thread-Index: AQHQkWsjWWZFxg5CcECFAUy3VuNwPJ2CMi0AgAZ0NYCAAARrAIAFs0gAgAABZICA54bPAIAABySA Date: Tue, 20 Oct 2015 15:39:08 +0000 Message-ID: <3D14E8B2-D0BF-4232-93D5-382C521BA2DF@netapp.com> References: <7CB114B9-B666-4764-86B6-B94F07973389@netapp.com> <5559EB2E.6080609@citrix.com> <20150522161117.GA59488@kloomba> <555F58DC.2040807@citrix.com> <46625CAE-750E-4ECE-8B39-DF8EDDFA912F@netapp.com> <55642229.9020106@citrix.com> In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: yes X-MS-TNEF-Correlator: x-mailer: Apple Mail (2.3094) x-ms-exchange-messagesentrepresentingtype: 1 x-ms-exchange-transport-fromentityheader: Hosted x-originating-ip: [10.122.56.79] Content-Type: multipart/signed; boundary="Apple-Mail=_BC82DA56-F2DC-4B29-A462-B6F99CC7DFF8"; protocol="application/pgp-signature"; micalg=pgp-sha256 MIME-Version: 1.0 X-BeenThere: freebsd-xen@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Discussion of the freebsd port to xen - implementation and usage List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 20 Oct 2015 15:40:10 -0000 --Apple-Mail=_BC82DA56-F2DC-4B29-A462-B6F99CC7DFF8 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=windows-1252 On 2015-10-20, at 17:13, Eggert, Lars wrote: > with a recent -CURRENT and xen-4.6.0, I now see a different crash at = boot on the same box. Any ideas? Actually, it's a different box (Supermicro) Lars >=20 > Thanks, > Lars >=20 >=20 > = B2 > ______ ____ _____ _____ > | ____| | _ \ / ____| __ \ > | |___ _ __ ___ ___ | |_) | (___ | | | | > | ___| '__/ _ \/ _ \| _ < \___ \| | | | > | | | | | __/ __/| |_) |____) | |__| | > | | | | | | || | | | > Xen 4.6.0el/cc_vegas.ko size 0x3348 at 0x1403000 = ` > (XEN) Xen version 4.6.0 (root@netapp.com) (gcc47 (FreeBSD Ports = Collection) 4.7.4) debug=3Dn Wed Oct 14 18:50:20 CEST = 2015g...el/cc_hd.ko size 0x2ea8 at 0x13ff000o .--` /y:` = +. > (XEN) Latest ChangeSet: 'ertt' | yo`:. :o = `+- > (XEN) Bootloader: FreeBSD Loader | y/ -/` = -o/ > (XEN) Command line: guest_loglvl=3Dall loglvl=3Dal dom0_max_vcpus=3D32 = dom0_mem=3D4096M dom0pvh=3D1 com1=3D115200,8n1 console=3Dcom13. [Esc]ape = to loader prompt | / `-- / > (XEN) Video information: | `: = :` > (XEN) VGA is text mode 80x25, font 8x16 | `: = :` > (XEN) VBE/DDC methods: none; EDID transfer time: 0 seconds = / > (XEN) EDID info not retrieved because no DDC retrieval method = detected -. > (XEN) Disc information:O]ptions... | -- = -. > (XEN) Found 1 MBR signatures | `:` = `:` > (XEN) Found 1 EDD information structures | .-- `--. > (XEN) Xen-e820 RAM map: | .---.....----. > (XEN) 0000000000000000 - 000000000009ac00 (usable) > (XEN) 000000000009ac00 - 00000000000a0000 (reserved) > (XEN) 00000000000e0000 - 0000000000100000 (reserved) > (XEN) 0000000000100000 - 000000007de19000 (usable) > (XEN) 000000007de19000 - 000000007dea8000 (reserved) > (XEN) 000000007dea8000 - 000000007dfb1000 (ACPI data) > (XEN) 000000007dfb1000 - 000000007e1cb000 (ACPI NVS) > (XEN) 000000007e1cb000 - 000000007f355000 (reserved) > (XEN) 000000007f355000 - 000000007f800000 (ACPI NVS) > (XEN) 0000000080000000 - 0000000090000000 (reserved) > (XEN) 00000000fed1c000 - 00000000fed40000 (reserved) > (XEN) 00000000ff000000 - 0000000100000000 (reserved) > (XEN) 0000000100000000 - 0000002080000000 (usable) > (XEN) ACPI: RSDP 000F04A0, 0024 (r2 SUPERM) > (XEN) ACPI: XSDT 7DEDD088, 008C (r1 SUPERM SMCI--MB 1 AMI = 10013) > (XEN) ACPI: FACP 7DEE80F8, 00F4 (r4 SUPERM SMCI--MB 1 AMI = 10013) > (XEN) ACPI: DSDT 7DEDD1A0, AF53 (r2 SUPERM SMCI--MB 0 INTL = 20091112) > (XEN) ACPI: FACS 7E1C2080, 0040 > (XEN) ACPI: APIC 7DEE81F0, 0224 (r3 1 AMI = 10013) > (XEN) ACPI: FPDT 7DEE8418, 0044 (r1 1 AMI = 10013) > (XEN) ACPI: HPET 7DEE8460, 0038 (r1 SUPERM SMCI--MB 1 AMI. = 5) > (XEN) ACPI: PRAD 7DEE8498, 00BE (r2 PRADID PRADTID 1 MSFT = 4000000) > (XEN) ACPI: SPMI 7DEE8558, 0040 (r5 A M I OEMSPMI 0 AMI. = 0) > (XEN) ACPI: SSDT 7DEE8598, C7AE8 (r2 INTEL CpuPm 4000 INTL = 20091112) > (XEN) ACPI: EINJ 7DFB0080, 0130 (r1 AMI AMI EINJ 0 = 0) > (XEN) ACPI: ERST 7DFB01B0, 0230 (r1 AMIER AMI ERST 0 = 0) > (XEN) ACPI: HEST 7DFB03E0, 00A8 (r1 AMI AMI HEST 0 = 0) > (XEN) ACPI: BERT 7DFB0488, 0030 (r1 AMI AMI BERT 0 = 0) > (XEN) ACPI: DMAR 7DFB04B8, 0168 (r1 A M I OEMDMAR 1 INTL = 1) > (XEN) ACPI: MCFG 7DFB0620, 003C (r1 SUPERM SMCI--MB 1 MSFT = 97) > (XEN) System RAM: 131037MB (134182604kB) > (XEN) Domain heap initialised > (XEN) ACPI: 32/64X FACS address mismatch in FADT - = 7e1c2080/0000000000000000, using 32 > (XEN) Processor #0 6:13 APIC version 21 > (XEN) Processor #2 6:13 APIC version 21 > (XEN) Processor #4 6:13 APIC version 21 > (XEN) Processor #6 6:13 APIC version 21 > (XEN) Processor #8 6:13 APIC version 21 > (XEN) Processor #10 6:13 APIC version 21 > (XEN) Processor #12 6:13 APIC version 21 > (XEN) Processor #14 6:13 APIC version 21 > (XEN) Processor #32 6:13 APIC version 21 > (XEN) Processor #34 6:13 APIC version 21 > (XEN) Processor #36 6:13 APIC version 21 > (XEN) Processor #38 6:13 APIC version 21 > (XEN) Processor #40 6:13 APIC version 21 > (XEN) Processor #42 6:13 APIC version 21 > (XEN) Processor #44 6:13 APIC version 21 > (XEN) Processor #46 6:13 APIC version 21 > (XEN) Processor #1 6:13 APIC version 21 > (XEN) Processor #3 6:13 APIC version 21 > (XEN) Processor #5 6:13 APIC version 21 > (XEN) Processor #7 6:13 APIC version 21 > (XEN) Processor #9 6:13 APIC version 21 > (XEN) Processor #11 6:13 APIC version 21 > (XEN) Processor #13 6:13 APIC version 21 > (XEN) Processor #15 6:13 APIC version 21 > (XEN) Processor #33 6:13 APIC version 21 > (XEN) Processor #35 6:13 APIC version 21 > (XEN) Processor #37 6:13 APIC version 21 > (XEN) Processor #39 6:13 APIC version 21 > (XEN) Processor #41 6:13 APIC version 21 > (XEN) Processor #43 6:13 APIC version 21 > (XEN) Processor #45 6:13 APIC version 21 > (XEN) Processor #47 6:13 APIC version 21 > (XEN) IOAPIC[0]: apic_id 0, version 32, address 0xfec00000, GSI 0-23 > (XEN) IOAPIC[1]: apic_id 2, version 32, address 0xfec01000, GSI 24-47 > (XEN) IOAPIC[2]: apic_id 3, version 32, address 0xfec40000, GSI 48-71 > (XEN) Enabling APIC mode: Phys. Using 3 I/O APICs > (XEN) Switched to APIC driver x2apic_cluster. > (XEN) xstate_init: using cntxt_size: 0x340 and states: 0x7 > (XEN) Using scheduler: SMP Credit Scheduler (credit) > (XEN) Detected 2000.043 MHz processor. > (XEN) Initing memory sharing. > (XEN) Intel VT-d iommu 0 supported page sizes: 4kB, 2MB, 1GB. > (XEN) Intel VT-d iommu 1 supported page sizes: 4kB, 2MB, 1GB. > (XEN) Intel VT-d Snoop Control enabled. > (XEN) Intel VT-d Dom0 DMA Passthrough not enabled. > (XEN) Intel VT-d Queued Invalidation enabled. > (XEN) Intel VT-d Interrupt Remapping enabled. > (XEN) Intel VT-d Shared EPT tables enabled. > (XEN) I/O virtualisation enabled > (XEN) - Dom0 mode: Relaxed > (XEN) Interrupt remapping enabled > (XEN) Enabled directed EOI with ioapic_ack_old on! > (XEN) ENABLING IO-APIC IRQs > (XEN) -> Using old ACK method > (XEN) Platform timer is 14.318MHz HPET > (XEN) Allocated console ring of 64 KiB. > (XEN) VMX: Supported advanced features: > (XEN) - APIC MMIO access virtualisation > (XEN) - APIC TPR shadow > (XEN) - Extended Page Tables (EPT) > (XEN) - Virtual-Processor Identifiers (VPID) > (XEN) - Virtual NMI > (XEN) - MSR direct-access bitmap > (XEN) - Unrestricted Guest > (XEN) HVM: ASIDs enabled. > (XEN) HVM: VMX enabled > (XEN) HVM: Hardware Assisted Paging (HAP) detected > (XEN) HVM: HAP page sizes: 4kB, 2MB, 1GB > (XEN) Brought up 32 CPUs > (XEN) Dom0 has maximum 1224 PIRQs > (XEN) *** LOADING DOMAIN 0 *** > (XEN) Xen kernel: 64-bit, lsb, compat32 > (XEN) Dom0 kernel: 64-bit, PAE, lsb, paddr 0x200000 -> 0x15ed678 > (XEN) Dom0 symbol map 0x15ed678 -> 0x180ba40 > (XEN) PHYSICAL MEMORY ARRANGEMENT: > (XEN) Dom0 alloc.: 0000002020000000->0000002024000000 (1032178 = pages to be allocated) > (XEN) Init. ramdisk: 000000207fff2000->0000002080000000 > (XEN) VIRTUAL MEMORY ARRANGEMENT: > (XEN) Loaded kernel: ffffffff80200000->ffffffff8180ba40 > (XEN) Init. ramdisk: ffffffff8180c000->ffffffff8181a000 > (XEN) Phys-Mach map: ffffffff8181a000->ffffffff8201a000 > (XEN) Start info: ffffffff8201a000->ffffffff8201b4b4 > (XEN) Page tables: ffffffff8201c000->ffffffff82031000 > (XEN) Boot stack: ffffffff82031000->ffffffff82032000 > (XEN) TOTAL: ffffffff80000000->ffffffff82400000 > (XEN) ENTRY ADDRESS: ffffffff80963000 > (XEN) Dom0 has maximum 32 VCPUs > (XEN) Scrubbing Free RAM on 1 nodes using 16 CPUs > (XEN) = .................................................................done. > (XEN) Initial low memory virq threshold set at 0x4000 pages. > (XEN) Std. Loglevel: Errors and warnings > (XEN) Guest Loglevel: All > (XEN) *** Serial input -> DOM0 (type 'CTRL-a' three times to switch = input to Xen) > (XEN) Freed 296kB init memory. > FreeBSD PVH running on xen-3.0-x86_64p > GDB: no debug ports present > KDB: debugger backends: ddb > KDB: current backend: ddb > Copyright (c) 1992-2015 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 11.0-CURRENT #15 384e927(muclab)-dirty: Tue Oct 20 16:46:27 = CEST 2015 > = elars@laurel.muccbc.hq.netapp.com:/usr/home/elars/obj/usr/home/elars/src/s= ys/MUCLAB amd64 > FreeBSD clang version 3.7.0 (tags/RELEASE_370/final 246257) 20150906 > sysctl: OID number(10) is already in use for = 'intr_direct_queue_maxlen' > sysctl: OID number(11) is already in use for 'intr_direct_queue_drops' > VT(vga): resolution 640x480 > (XEN) Direct Vector 0x93 > CPU: Intel(R) Xeon(R) CPU E5-2650 0 @ 2.00GHz (2000.00-MHz K8-class = CPU) > Origin=3D"GenuineIntel" Id=3D0x206d7 Family=3D0x6 Model=3D0x2d = Stepping=3D7 > = Features=3D0x1fc3ebff > = Features2=3D0x9fb82283 > AMD Features=3D0x20100800 > AMD Features2=3D0x1 > XSAVE Features=3D0x1 > TSC: P-state invariant, performance statistics > Hypervisor: Origin =3D "XenVMMXenVMM" > real memory =3D 6478413824 (6178 MB) > avail memory =3D 4065890304 (3877 MB) > FreeBSD/SMP: Multiprocessor System Detected: 32 CPUs > FreeBSD/SMP: 2 package(s) x 16 core(s) > cpu0 (BSP): APIC ID: 0 > cpu1 (AP): APIC ID: 2 > cpu2 (AP): APIC ID: 4 > cpu3 (AP): APIC ID: 6 > cpu4 (AP): APIC ID: 8 > cpu5 (AP): APIC ID: 10 > cpu6 (AP): APIC ID: 12 > cpu7 (AP): APIC ID: 14 > cpu8 (AP): APIC ID: 16 > cpu9 (AP): APIC ID: 18 > cpu10 (AP): APIC ID: 20 > cpu11 (AP): APIC ID: 22 > cpu12 (AP): APIC ID: 24 > cpu13 (AP): APIC ID: 26 > cpu14 (AP): APIC ID: 28 > cpu15 (AP): APIC ID: 30 > cpu16 (AP): APIC ID: 32 > cpu17 (AP): APIC ID: 34 > cpu18 (AP): APIC ID: 36 > cpu19 (AP): APIC ID: 38 > cpu20 (AP): APIC ID: 40 > cpu21 (AP): APIC ID: 42 > cpu22 (AP): APIC ID: 44 > cpu23 (AP): APIC ID: 46 > cpu24 (AP): APIC ID: 48 > cpu25 (AP): APIC ID: 50 > cpu26 (AP): APIC ID: 52 > cpu27 (AP): APIC ID: 54 > cpu28 (AP): APIC ID: 56 > cpu29 (AP): APIC ID: 58 > cpu30 (AP): APIC ID: 60 > cpu31 (AP): APIC ID: 62 > random: entropy device external interface > module_register_init: MOD_LOAD (vesa, 0xffffffff80994b90, 0) error 19 > netmap: loaded module > vtvga0: on motherboard > smbios0: at iomem 0xf04d0-0xf04ee on = motherboard > smbios0: Version: 2.7, BCD Revision: 2.7 > aesni0: on motherboard > cryptosoft0: on motherboard > acpi0: on motherboard > acpi0: Power Button (fixed) > attimer0: port 0x40-0x43 irq 0 on acpi0 > Timecounter "i8254" frequency 1193182 Hz quality 0 > attimer0: Can't map interrupt. > atrtc0: port 0x70-0x71 irq 8 on acpi0 > Event timer "RTC" frequency 32768 Hz quality 0 > (XEN) d0v0 EPT violation 0x1aa (-w-/r-x) gpa 0x000000800f8060 mfn = 0x800f8 type 5 > (XEN) d0v0 Walking EPT tables for GFN 800f8: > (XEN) d0v0 epte 80000020269b7007 > (XEN) d0v0 epte 800000207fd8f007 > (XEN) d0v0 epte 800000207fd8e007 > (XEN) d0v0 epte 80500000800f8805 > (XEN) d0v0 --- GLA 0xfffff800800f8060 > (XEN) domain_crash called from vmx.c:2691 > (XEN) Domain 0 (vcpu#0) crashed on cpu#7: > (XEN) ----[ Xen-4.6.0 x86_64 debug=3Dn Not tainted ]---- > (XEN) CPU: 7 > (XEN) RIP: 0020:[] > (XEN) RFLAGS: 0000000000010246 CONTEXT: hvm guest (d0v0) > (XEN) rax: 000000000000008b rbx: 00000000000f8000 rcx: = 00000000000f8060 > (XEN) rdx: fffff80080000000 rsi: 000000000000001f rdi: = 0000000000000000 > (XEN) rbp: ffffffff82038390 rsp: ffffffff82038350 r8: = 000000000000008b > (XEN) r9: 0000000000000001 r10: ffffffff802ffc80 r11: = fffff80005d1e830 > (XEN) r12: 0000000000000001 r13: 00000000000f8000 r14: = 0000000000000000 > (XEN) r15: 0000000000000060 cr0: 000000008005003b cr4: = 00000000000406e0 > (XEN) cr3: 0000000002043000 cr2: 0000000000000000 > (XEN) ds: 003b es: 003b fs: 0013 gs: 0028 ss: 0028 cs: 0020 > (XEN) Guest stack trace from rsp=3Dffffffff82038350: > (XEN) Fault while accessing guest memory. > (XEN) Hardware Dom0 crashed: rebooting machine in 5 seconds. > (XEN) Resetting with ACPI MEMORY or I/O RESET_REG. >=20 --Apple-Mail=_BC82DA56-F2DC-4B29-A462-B6F99CC7DFF8 Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="signature.asc" Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Message signed with OpenPGP using GPGMail -----BEGIN PGP SIGNATURE----- iQCVAwUBViZgG9ZcnpRveo1xAQg0qwQAiWbHjzOPZsK1UwC5IQoMpQjssM4eGg2F p0H6mnaUDdd6pmz/EKYEch2CXq/Y32r+CsycD6oa2/tILpnppNLJkp/quEvDlr4Z xvB2NFVCqmC9d9OGu4K/UNIbJRjXp8XchNVHpPj1b5G6bywCFHtbx0o6ugSxf52N hTubD4Uuk/M= =bdO/ -----END PGP SIGNATURE----- --Apple-Mail=_BC82DA56-F2DC-4B29-A462-B6F99CC7DFF8-- From owner-freebsd-xen@freebsd.org Wed Oct 21 07:40:47 2015 Return-Path: Delivered-To: freebsd-xen@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 0C58DA1B80D for ; Wed, 21 Oct 2015 07:40:47 +0000 (UTC) (envelope-from prvs=72919e7bd=roger.pau@citrix.com) Received: from SMTP02.CITRIX.COM (smtp02.citrix.com [66.165.176.63]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (Client CN "mail.citrix.com", Issuer "Verizon Public SureServer CA G14-SHA2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 07474395; Wed, 21 Oct 2015 07:40:45 +0000 (UTC) (envelope-from prvs=72919e7bd=roger.pau@citrix.com) X-IronPort-AV: E=Sophos;i="5.17,709,1437436800"; d="scan'208";a="311840555" Subject: Re: Xen dom0 crash To: "Eggert, Lars" References: <7CB114B9-B666-4764-86B6-B94F07973389@netapp.com> <5559EB2E.6080609@citrix.com> <20150522161117.GA59488@kloomba> <555F58DC.2040807@citrix.com> <46625CAE-750E-4ECE-8B39-DF8EDDFA912F@netapp.com> <55642229.9020106@citrix.com> CC: Roman Bogorodskiy , "freebsd-xen@freebsd.org" From: =?UTF-8?Q?Roger_Pau_Monn=c3=a9?= Message-ID: <5627417A.20304@citrix.com> Date: Wed, 21 Oct 2015 09:40:42 +0200 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.9; rv:38.0) Gecko/20100101 Thunderbird/38.3.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset="windows-1252" Content-Transfer-Encoding: 7bit X-DLP: MIA1 X-BeenThere: freebsd-xen@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Discussion of the freebsd port to xen - implementation and usage List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 21 Oct 2015 07:40:47 -0000 El 20/10/15 a les 17.13, Eggert, Lars ha escrit: > Hi, > > with a recent -CURRENT and xen-4.6.0, I now see a different crash at boot on the same box. Any ideas? > > Thanks, > Lars > > > B2 > ______ ____ _____ _____ > | ____| | _ \ / ____| __ \ > | |___ _ __ ___ ___ | |_) | (___ | | | | > | ___| '__/ _ \/ _ \| _ < \___ \| | | | > | | | | | __/ __/| |_) |____) | |__| | > | | | | | | || | | | > Xen 4.6.0el/cc_vegas.ko size 0x3348 at 0x1403000 ` > (XEN) Xen version 4.6.0 (root@netapp.com) (gcc47 (FreeBSD Ports Collection) 4.7.4) debug=n Wed Oct 14 18:50:20 CEST 2015g...el/cc_hd.ko size 0x2ea8 at 0x13ff000o .--` /y:` +. > (XEN) Latest ChangeSet: 'ertt' | yo`:. :o `+- > (XEN) Bootloader: FreeBSD Loader | y/ -/` -o/ > (XEN) Command line: guest_loglvl=all loglvl=al dom0_max_vcpus=32 dom0_mem=4096M dom0pvh=1 com1=115200,8n1 console=com13. [Esc]ape to loader prompt | / `-- / > (XEN) Video information: | `: :` > (XEN) VGA is text mode 80x25, font 8x16 | `: :` > (XEN) VBE/DDC methods: none; EDID transfer time: 0 seconds / > (XEN) EDID info not retrieved because no DDC retrieval method detected -. > (XEN) Disc information:O]ptions... | -- -. > (XEN) Found 1 MBR signatures | `:` `:` > (XEN) Found 1 EDD information structures | .-- `--. > (XEN) Xen-e820 RAM map: | .---.....----. > (XEN) 0000000000000000 - 000000000009ac00 (usable) > (XEN) 000000000009ac00 - 00000000000a0000 (reserved) > (XEN) 00000000000e0000 - 0000000000100000 (reserved) > (XEN) 0000000000100000 - 000000007de19000 (usable) > (XEN) 000000007de19000 - 000000007dea8000 (reserved) > (XEN) 000000007dea8000 - 000000007dfb1000 (ACPI data) > (XEN) 000000007dfb1000 - 000000007e1cb000 (ACPI NVS) > (XEN) 000000007e1cb000 - 000000007f355000 (reserved) > (XEN) 000000007f355000 - 000000007f800000 (ACPI NVS) > (XEN) 0000000080000000 - 0000000090000000 (reserved) > (XEN) 00000000fed1c000 - 00000000fed40000 (reserved) > (XEN) 00000000ff000000 - 0000000100000000 (reserved) > (XEN) 0000000100000000 - 0000002080000000 (usable) > (XEN) ACPI: RSDP 000F04A0, 0024 (r2 SUPERM) > (XEN) ACPI: XSDT 7DEDD088, 008C (r1 SUPERM SMCI--MB 1 AMI 10013) > (XEN) ACPI: FACP 7DEE80F8, 00F4 (r4 SUPERM SMCI--MB 1 AMI 10013) > (XEN) ACPI: DSDT 7DEDD1A0, AF53 (r2 SUPERM SMCI--MB 0 INTL 20091112) > (XEN) ACPI: FACS 7E1C2080, 0040 > (XEN) ACPI: APIC 7DEE81F0, 0224 (r3 1 AMI 10013) > (XEN) ACPI: FPDT 7DEE8418, 0044 (r1 1 AMI 10013) > (XEN) ACPI: HPET 7DEE8460, 0038 (r1 SUPERM SMCI--MB 1 AMI. 5) > (XEN) ACPI: PRAD 7DEE8498, 00BE (r2 PRADID PRADTID 1 MSFT 4000000) > (XEN) ACPI: SPMI 7DEE8558, 0040 (r5 A M I OEMSPMI 0 AMI. 0) > (XEN) ACPI: SSDT 7DEE8598, C7AE8 (r2 INTEL CpuPm 4000 INTL 20091112) > (XEN) ACPI: EINJ 7DFB0080, 0130 (r1 AMI AMI EINJ 0 0) > (XEN) ACPI: ERST 7DFB01B0, 0230 (r1 AMIER AMI ERST 0 0) > (XEN) ACPI: HEST 7DFB03E0, 00A8 (r1 AMI AMI HEST 0 0) > (XEN) ACPI: BERT 7DFB0488, 0030 (r1 AMI AMI BERT 0 0) > (XEN) ACPI: DMAR 7DFB04B8, 0168 (r1 A M I OEMDMAR 1 INTL 1) > (XEN) ACPI: MCFG 7DFB0620, 003C (r1 SUPERM SMCI--MB 1 MSFT 97) > (XEN) System RAM: 131037MB (134182604kB) > (XEN) Domain heap initialised > (XEN) ACPI: 32/64X FACS address mismatch in FADT - 7e1c2080/0000000000000000, using 32 > (XEN) Processor #0 6:13 APIC version 21 > (XEN) Processor #2 6:13 APIC version 21 > (XEN) Processor #4 6:13 APIC version 21 > (XEN) Processor #6 6:13 APIC version 21 > (XEN) Processor #8 6:13 APIC version 21 > (XEN) Processor #10 6:13 APIC version 21 > (XEN) Processor #12 6:13 APIC version 21 > (XEN) Processor #14 6:13 APIC version 21 > (XEN) Processor #32 6:13 APIC version 21 > (XEN) Processor #34 6:13 APIC version 21 > (XEN) Processor #36 6:13 APIC version 21 > (XEN) Processor #38 6:13 APIC version 21 > (XEN) Processor #40 6:13 APIC version 21 > (XEN) Processor #42 6:13 APIC version 21 > (XEN) Processor #44 6:13 APIC version 21 > (XEN) Processor #46 6:13 APIC version 21 > (XEN) Processor #1 6:13 APIC version 21 > (XEN) Processor #3 6:13 APIC version 21 > (XEN) Processor #5 6:13 APIC version 21 > (XEN) Processor #7 6:13 APIC version 21 > (XEN) Processor #9 6:13 APIC version 21 > (XEN) Processor #11 6:13 APIC version 21 > (XEN) Processor #13 6:13 APIC version 21 > (XEN) Processor #15 6:13 APIC version 21 > (XEN) Processor #33 6:13 APIC version 21 > (XEN) Processor #35 6:13 APIC version 21 > (XEN) Processor #37 6:13 APIC version 21 > (XEN) Processor #39 6:13 APIC version 21 > (XEN) Processor #41 6:13 APIC version 21 > (XEN) Processor #43 6:13 APIC version 21 > (XEN) Processor #45 6:13 APIC version 21 > (XEN) Processor #47 6:13 APIC version 21 > (XEN) IOAPIC[0]: apic_id 0, version 32, address 0xfec00000, GSI 0-23 > (XEN) IOAPIC[1]: apic_id 2, version 32, address 0xfec01000, GSI 24-47 > (XEN) IOAPIC[2]: apic_id 3, version 32, address 0xfec40000, GSI 48-71 > (XEN) Enabling APIC mode: Phys. Using 3 I/O APICs > (XEN) Switched to APIC driver x2apic_cluster. > (XEN) xstate_init: using cntxt_size: 0x340 and states: 0x7 > (XEN) Using scheduler: SMP Credit Scheduler (credit) > (XEN) Detected 2000.043 MHz processor. > (XEN) Initing memory sharing. > (XEN) Intel VT-d iommu 0 supported page sizes: 4kB, 2MB, 1GB. > (XEN) Intel VT-d iommu 1 supported page sizes: 4kB, 2MB, 1GB. > (XEN) Intel VT-d Snoop Control enabled. > (XEN) Intel VT-d Dom0 DMA Passthrough not enabled. > (XEN) Intel VT-d Queued Invalidation enabled. > (XEN) Intel VT-d Interrupt Remapping enabled. > (XEN) Intel VT-d Shared EPT tables enabled. > (XEN) I/O virtualisation enabled > (XEN) - Dom0 mode: Relaxed > (XEN) Interrupt remapping enabled > (XEN) Enabled directed EOI with ioapic_ack_old on! > (XEN) ENABLING IO-APIC IRQs > (XEN) -> Using old ACK method > (XEN) Platform timer is 14.318MHz HPET > (XEN) Allocated console ring of 64 KiB. > (XEN) VMX: Supported advanced features: > (XEN) - APIC MMIO access virtualisation > (XEN) - APIC TPR shadow > (XEN) - Extended Page Tables (EPT) > (XEN) - Virtual-Processor Identifiers (VPID) > (XEN) - Virtual NMI > (XEN) - MSR direct-access bitmap > (XEN) - Unrestricted Guest > (XEN) HVM: ASIDs enabled. > (XEN) HVM: VMX enabled > (XEN) HVM: Hardware Assisted Paging (HAP) detected > (XEN) HVM: HAP page sizes: 4kB, 2MB, 1GB > (XEN) Brought up 32 CPUs > (XEN) Dom0 has maximum 1224 PIRQs > (XEN) *** LOADING DOMAIN 0 *** > (XEN) Xen kernel: 64-bit, lsb, compat32 > (XEN) Dom0 kernel: 64-bit, PAE, lsb, paddr 0x200000 -> 0x15ed678 > (XEN) Dom0 symbol map 0x15ed678 -> 0x180ba40 > (XEN) PHYSICAL MEMORY ARRANGEMENT: > (XEN) Dom0 alloc.: 0000002020000000->0000002024000000 (1032178 pages to be allocated) > (XEN) Init. ramdisk: 000000207fff2000->0000002080000000 > (XEN) VIRTUAL MEMORY ARRANGEMENT: > (XEN) Loaded kernel: ffffffff80200000->ffffffff8180ba40 > (XEN) Init. ramdisk: ffffffff8180c000->ffffffff8181a000 > (XEN) Phys-Mach map: ffffffff8181a000->ffffffff8201a000 > (XEN) Start info: ffffffff8201a000->ffffffff8201b4b4 > (XEN) Page tables: ffffffff8201c000->ffffffff82031000 > (XEN) Boot stack: ffffffff82031000->ffffffff82032000 > (XEN) TOTAL: ffffffff80000000->ffffffff82400000 > (XEN) ENTRY ADDRESS: ffffffff80963000 > (XEN) Dom0 has maximum 32 VCPUs > (XEN) Scrubbing Free RAM on 1 nodes using 16 CPUs > (XEN) .................................................................done. > (XEN) Initial low memory virq threshold set at 0x4000 pages. > (XEN) Std. Loglevel: Errors and warnings > (XEN) Guest Loglevel: All > (XEN) *** Serial input -> DOM0 (type 'CTRL-a' three times to switch input to Xen) > (XEN) Freed 296kB init memory. > FreeBSD PVH running on xen-3.0-x86_64p > GDB: no debug ports present > KDB: debugger backends: ddb > KDB: current backend: ddb > Copyright (c) 1992-2015 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 11.0-CURRENT #15 384e927(muclab)-dirty: Tue Oct 20 16:46:27 CEST 2015 > elars@laurel.muccbc.hq.netapp.com:/usr/home/elars/obj/usr/home/elars/src/sys/MUCLAB amd64 > FreeBSD clang version 3.7.0 (tags/RELEASE_370/final 246257) 20150906 > sysctl: OID number(10) is already in use for 'intr_direct_queue_maxlen' > sysctl: OID number(11) is already in use for 'intr_direct_queue_drops' > VT(vga): resolution 640x480 > (XEN) Direct Vector 0x93 > CPU: Intel(R) Xeon(R) CPU E5-2650 0 @ 2.00GHz (2000.00-MHz K8-class CPU) > Origin="GenuineIntel" Id=0x206d7 Family=0x6 Model=0x2d Stepping=7 > Features=0x1fc3ebff > Features2=0x9fb82283 > AMD Features=0x20100800 > AMD Features2=0x1 > XSAVE Features=0x1 > TSC: P-state invariant, performance statistics > Hypervisor: Origin = "XenVMMXenVMM" > real memory = 6478413824 (6178 MB) > avail memory = 4065890304 (3877 MB) > FreeBSD/SMP: Multiprocessor System Detected: 32 CPUs > FreeBSD/SMP: 2 package(s) x 16 core(s) > cpu0 (BSP): APIC ID: 0 > cpu1 (AP): APIC ID: 2 > cpu2 (AP): APIC ID: 4 > cpu3 (AP): APIC ID: 6 > cpu4 (AP): APIC ID: 8 > cpu5 (AP): APIC ID: 10 > cpu6 (AP): APIC ID: 12 > cpu7 (AP): APIC ID: 14 > cpu8 (AP): APIC ID: 16 > cpu9 (AP): APIC ID: 18 > cpu10 (AP): APIC ID: 20 > cpu11 (AP): APIC ID: 22 > cpu12 (AP): APIC ID: 24 > cpu13 (AP): APIC ID: 26 > cpu14 (AP): APIC ID: 28 > cpu15 (AP): APIC ID: 30 > cpu16 (AP): APIC ID: 32 > cpu17 (AP): APIC ID: 34 > cpu18 (AP): APIC ID: 36 > cpu19 (AP): APIC ID: 38 > cpu20 (AP): APIC ID: 40 > cpu21 (AP): APIC ID: 42 > cpu22 (AP): APIC ID: 44 > cpu23 (AP): APIC ID: 46 > cpu24 (AP): APIC ID: 48 > cpu25 (AP): APIC ID: 50 > cpu26 (AP): APIC ID: 52 > cpu27 (AP): APIC ID: 54 > cpu28 (AP): APIC ID: 56 > cpu29 (AP): APIC ID: 58 > cpu30 (AP): APIC ID: 60 > cpu31 (AP): APIC ID: 62 > random: entropy device external interface > module_register_init: MOD_LOAD (vesa, 0xffffffff80994b90, 0) error 19 > netmap: loaded module > vtvga0: on motherboard > smbios0: at iomem 0xf04d0-0xf04ee on motherboard > smbios0: Version: 2.7, BCD Revision: 2.7 > aesni0: on motherboard > cryptosoft0: on motherboard > acpi0: on motherboard > acpi0: Power Button (fixed) > attimer0: port 0x40-0x43 irq 0 on acpi0 > Timecounter "i8254" frequency 1193182 Hz quality 0 > attimer0: Can't map interrupt. > atrtc0: port 0x70-0x71 irq 8 on acpi0 > Event timer "RTC" frequency 32768 Hz quality 0 > (XEN) d0v0 EPT violation 0x1aa (-w-/r-x) gpa 0x000000800f8060 mfn 0x800f8 type 5 Hello, This physical address seems to belong to a reserved memory region: (XEN) 0000000080000000 - 0000000090000000 (reserved) Can you execute: # addr2line -e /boot/kernel/kernel ffffffff8097bf80 In order to get the file and line where the failure happens? Thanks, Roger. From owner-freebsd-xen@freebsd.org Wed Oct 21 07:41:32 2015 Return-Path: Delivered-To: freebsd-xen@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id A4DC9A1B909 for ; Wed, 21 Oct 2015 07:41:32 +0000 (UTC) (envelope-from prvs=72919e7bd=roger.pau@citrix.com) Received: from SMTP.CITRIX.COM (smtp.citrix.com [66.165.176.89]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (Client CN "mail.citrix.com", Issuer "Verizon Public SureServer CA G14-SHA2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 42D477CC for ; Wed, 21 Oct 2015 07:41:31 +0000 (UTC) (envelope-from prvs=72919e7bd=roger.pau@citrix.com) X-IronPort-AV: E=Sophos;i="5.17,709,1437436800"; d="scan'208";a="307879852" Subject: Re: Xen dom0 crash To: "Eggert, Lars" References: <7CB114B9-B666-4764-86B6-B94F07973389@netapp.com> <5559EB2E.6080609@citrix.com> <20150522161117.GA59488@kloomba> <555F58DC.2040807@citrix.com> <46625CAE-750E-4ECE-8B39-DF8EDDFA912F@netapp.com> <55642229.9020106@citrix.com> <3D14E8B2-D0BF-4232-93D5-382C521BA2DF@netapp.com> CC: "freebsd-xen@freebsd.org" From: =?UTF-8?Q?Roger_Pau_Monn=c3=a9?= Message-ID: <562741A8.7090508@citrix.com> Date: Wed, 21 Oct 2015 09:41:28 +0200 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.9; rv:38.0) Gecko/20100101 Thunderbird/38.3.0 MIME-Version: 1.0 In-Reply-To: <3D14E8B2-D0BF-4232-93D5-382C521BA2DF@netapp.com> Content-Type: text/plain; charset="windows-1252" Content-Transfer-Encoding: 7bit X-DLP: MIA2 X-BeenThere: freebsd-xen@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Discussion of the freebsd port to xen - implementation and usage List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 21 Oct 2015 07:41:32 -0000 El 20/10/15 a les 17.39, Eggert, Lars ha escrit: > On 2015-10-20, at 17:13, Eggert, Lars wrote: >> with a recent -CURRENT and xen-4.6.0, I now see a different crash at boot on the same box. Any ideas? > > Actually, it's a different box (Supermicro) Does the previous box work with Xen 4.6? Roger. From owner-freebsd-xen@freebsd.org Wed Oct 21 08:33:28 2015 Return-Path: Delivered-To: freebsd-xen@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 049ABA1AC3D for ; Wed, 21 Oct 2015 08:33:28 +0000 (UTC) (envelope-from lars@netapp.com) Received: from mx141.netapp.com (mx141.netapp.com [216.240.21.12]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (Client CN "mx141.netapp.com", Issuer "Symantec Class 3 Secure Server CA - G4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id AEEB3C58; Wed, 21 Oct 2015 08:33:27 +0000 (UTC) (envelope-from lars@netapp.com) X-IronPort-AV: E=Sophos;i="5.17,711,1437462000"; d="asc'?scan'208";a="76207465" Received: from hioexcmbx07-prd.hq.netapp.com ([10.122.105.40]) by mx141-out.netapp.com with ESMTP; 21 Oct 2015 01:33:11 -0700 Received: from HIOEXCMBX07-PRD.hq.netapp.com (10.122.105.40) by hioexcmbx07-prd.hq.netapp.com (10.122.105.40) with Microsoft SMTP Server (TLS) id 15.0.1104.5; Wed, 21 Oct 2015 01:33:10 -0700 Received: from HIOEXCMBX07-PRD.hq.netapp.com ([::1]) by hioexcmbx07-prd.hq.netapp.com ([fe80::e1d9:911e:3048:d510%21]) with mapi id 15.00.1104.000; Wed, 21 Oct 2015 01:33:10 -0700 From: "Eggert, Lars" To: =?Windows-1252?Q?Roger_Pau_Monn=E9?= CC: Roman Bogorodskiy , "freebsd-xen@freebsd.org" Subject: Re: Xen dom0 crash Thread-Topic: Xen dom0 crash Thread-Index: AQHQkWsjWWZFxg5CcECFAUy3VuNwPJ2CMi0AgAZ0NYCAAARrAIAFs0gAgAABZICA54bPAIABE80AgAAOpYA= Date: Wed, 21 Oct 2015 08:33:09 +0000 Message-ID: References: <7CB114B9-B666-4764-86B6-B94F07973389@netapp.com> <5559EB2E.6080609@citrix.com> <20150522161117.GA59488@kloomba> <555F58DC.2040807@citrix.com> <46625CAE-750E-4ECE-8B39-DF8EDDFA912F@netapp.com> <55642229.9020106@citrix.com> <5627417A.20304@citrix.com> In-Reply-To: <5627417A.20304@citrix.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: yes X-MS-TNEF-Correlator: x-mailer: Apple Mail (2.3094) x-ms-exchange-messagesentrepresentingtype: 1 x-ms-exchange-transport-fromentityheader: Hosted x-originating-ip: [10.122.56.79] Content-Type: multipart/signed; boundary="Apple-Mail=_A79366EE-BD82-49C6-8B24-CE2448149AEF"; protocol="application/pgp-signature"; micalg=pgp-sha256 MIME-Version: 1.0 X-BeenThere: freebsd-xen@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Discussion of the freebsd port to xen - implementation and usage List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 21 Oct 2015 08:33:28 -0000 --Apple-Mail=_A79366EE-BD82-49C6-8B24-CE2448149AEF Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=windows-1252 On 2015-10-21, at 9:40, Roger Pau Monn=E9 wrote: > Can you execute: >=20 > # addr2line -e /boot/kernel/kernel ffffffff8097bf80 >=20 > In order to get the file and line where the failure happens? I guess you meant kernel.debug? Then I get: /usr/home/elars/src/sys/amd64/pci/pci_cfgreg.c:365 Which is the __asm line in case 1 in pciereg_cfgwrite(). Lars --Apple-Mail=_A79366EE-BD82-49C6-8B24-CE2448149AEF Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="signature.asc" Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Message signed with OpenPGP using GPGMail -----BEGIN PGP SIGNATURE----- iQCVAwUBVidNw9ZcnpRveo1xAQh7DwQAqrmUg9f/Uas/bb390XRRbEK8iHcVRp1H zI71dpRVGiJWRYNscDB6tfeDYYiRVrfCm2nR65Usd3VgjE+jwwBoANbzRXTsXAot wzmaXXDaMbL80nSgOkO7nMRkWRHd1ejauw9Rxh+rePY90sk1q4Z7CjiUddiMbiT0 iY0mYMpCUyA= =tVni -----END PGP SIGNATURE----- --Apple-Mail=_A79366EE-BD82-49C6-8B24-CE2448149AEF-- From owner-freebsd-xen@freebsd.org Wed Oct 21 08:53:29 2015 Return-Path: Delivered-To: freebsd-xen@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 45B26A1B275 for ; Wed, 21 Oct 2015 08:53:29 +0000 (UTC) (envelope-from prvs=72919e7bd=roger.pau@citrix.com) Received: from SMTP02.CITRIX.COM (smtp02.citrix.com [66.165.176.63]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (Client CN "mail.citrix.com", Issuer "Verizon Public SureServer CA G14-SHA2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id DC01017E6; Wed, 21 Oct 2015 08:53:28 +0000 (UTC) (envelope-from prvs=72919e7bd=roger.pau@citrix.com) X-IronPort-AV: E=Sophos;i="5.17,711,1437436800"; d="scan'208";a="311850424" Subject: Re: Xen dom0 crash To: "Eggert, Lars" References: <7CB114B9-B666-4764-86B6-B94F07973389@netapp.com> <5559EB2E.6080609@citrix.com> <20150522161117.GA59488@kloomba> <555F58DC.2040807@citrix.com> <46625CAE-750E-4ECE-8B39-DF8EDDFA912F@netapp.com> <55642229.9020106@citrix.com> <5627417A.20304@citrix.com> CC: Roman Bogorodskiy , "freebsd-xen@freebsd.org" From: =?UTF-8?Q?Roger_Pau_Monn=c3=a9?= Message-ID: <56275284.1070108@citrix.com> Date: Wed, 21 Oct 2015 10:53:24 +0200 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.9; rv:38.0) Gecko/20100101 Thunderbird/38.3.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset="windows-1252" Content-Transfer-Encoding: 8bit X-DLP: MIA2 X-BeenThere: freebsd-xen@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Discussion of the freebsd port to xen - implementation and usage List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 21 Oct 2015 08:53:29 -0000 El 21/10/15 a les 10.33, Eggert, Lars ha escrit: > On 2015-10-21, at 9:40, Roger Pau Monné wrote: >> Can you execute: >> >> # addr2line -e /boot/kernel/kernel ffffffff8097bf80 >> >> In order to get the file and line where the failure happens? > > I guess you meant kernel.debug? Then I get: > > /usr/home/elars/src/sys/amd64/pci/pci_cfgreg.c:365 > > Which is the __asm line in case 1 in pciereg_cfgwrite(). Hello, Yes, I knew about this, sorry, with Xen 4.6 you need to add: hw.pci.mcfg=0 to your /boot/loader.conf. This is because Xen prevents us from writing at the PCI-e memory mapped config and we need to switch back to using the IO ports. Roger. From owner-freebsd-xen@freebsd.org Wed Oct 21 09:02:38 2015 Return-Path: Delivered-To: freebsd-xen@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id C2007A1B5E9 for ; Wed, 21 Oct 2015 09:02:38 +0000 (UTC) (envelope-from lars@netapp.com) Received: from mx141.netapp.com (mx141.netapp.com [216.240.21.12]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (Client CN "mx141.netapp.com", Issuer "Symantec Class 3 Secure Server CA - G4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 737AC1C50; Wed, 21 Oct 2015 09:02:38 +0000 (UTC) (envelope-from lars@netapp.com) X-IronPort-AV: E=Sophos;i="5.17,711,1437462000"; d="asc'?scan'208";a="76210144" Received: from hioexcmbx05-prd.hq.netapp.com ([10.122.105.38]) by mx141-out.netapp.com with ESMTP; 21 Oct 2015 02:02:17 -0700 Received: from HIOEXCMBX07-PRD.hq.netapp.com (10.122.105.40) by hioexcmbx05-prd.hq.netapp.com (10.122.105.38) with Microsoft SMTP Server (TLS) id 15.0.1104.5; Wed, 21 Oct 2015 02:02:17 -0700 Received: from HIOEXCMBX07-PRD.hq.netapp.com ([::1]) by hioexcmbx07-prd.hq.netapp.com ([fe80::e1d9:911e:3048:d510%21]) with mapi id 15.00.1104.000; Wed, 21 Oct 2015 02:02:17 -0700 From: "Eggert, Lars" To: =?Windows-1252?Q?Roger_Pau_Monn=E9?= CC: Roman Bogorodskiy , "freebsd-xen@freebsd.org" Subject: Re: Xen dom0 crash Thread-Topic: Xen dom0 crash Thread-Index: AQHQkWsjWWZFxg5CcECFAUy3VuNwPJ2CMi0AgAZ0NYCAAARrAIAFs0gAgAABZICA54bPAIABE80AgAAOpYCAAAWrAIAAAngA Date: Wed, 21 Oct 2015 09:02:16 +0000 Message-ID: <7501F178-400B-43F8-9FBC-69F566A7BD11@netapp.com> References: <7CB114B9-B666-4764-86B6-B94F07973389@netapp.com> <5559EB2E.6080609@citrix.com> <20150522161117.GA59488@kloomba> <555F58DC.2040807@citrix.com> <46625CAE-750E-4ECE-8B39-DF8EDDFA912F@netapp.com> <55642229.9020106@citrix.com> <5627417A.20304@citrix.com> <56275284.1070108@citrix.com> In-Reply-To: <56275284.1070108@citrix.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: yes X-MS-TNEF-Correlator: x-mailer: Apple Mail (2.3094) x-ms-exchange-messagesentrepresentingtype: 1 x-ms-exchange-transport-fromentityheader: Hosted x-originating-ip: [10.122.56.79] Content-Type: multipart/signed; boundary="Apple-Mail=_9D788F1F-775E-4D22-ADE2-D083D3D947A2"; protocol="application/pgp-signature"; micalg=pgp-sha256 MIME-Version: 1.0 X-BeenThere: freebsd-xen@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Discussion of the freebsd port to xen - implementation and usage List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 21 Oct 2015 09:02:39 -0000 --Apple-Mail=_9D788F1F-775E-4D22-ADE2-D083D3D947A2 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=windows-1252 On 2015-10-21, at 10:53, Roger Pau Monn=E9 wrote: > hw.pci.mcfg=3D0 Thanks! That gets me a bit further, but it now crashes with: ... SMP: AP CPU #7 Launched! SMP: AP CPU #14 Launched! SMP: AP CPU #11 Launched! SMP: AP CPU #21 Launched! SMP: AP CPU #30 Launched! SMP: AP CPU #4 Launched! SMP: AP CPU #20 Launched! panic: xen_pv_lapic_enable_pmc: not available in Xen PV port. cpuid =3D 0 KDB: stack backtrace: db_trace_self_wrapper() at db_trace_self_wrapper+0x2b/frame = 0xffffffff81fd5990 vpanic() at vpanic+0x182/frame 0xffffffff81fd5a10 panic() at panic+0x43/frame 0xffffffff81fd5a70 xen_pv_lapic_enable_pmc() at xen_pv_lapic_enable_pmc+0x19/frame = 0xffffffff81fd5a80 pmc_md_initialize() at pmc_md_initialize+0x3c/frame 0xffffffff81fd5aa0 load() at load+0x41e/frame 0xffffffff81fd5af0 syscall_module_handler() at syscall_module_handler+0x290/frame = 0xffffffff81fd5b20 module_register_init() at module_register_init+0xfb/frame = 0xffffffff81fd5b50 mi_startup() at mi_startup+0x108/frame 0xffffffff81fd5b70 xen_start() at xen_start+0x1f KDB: enter: panic [ thread pid 0 tid 100000 ] Stopped at kdb_enter+0x3b: movq $0,kdb_why db> Lars --Apple-Mail=_9D788F1F-775E-4D22-ADE2-D083D3D947A2 Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="signature.asc" Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Message signed with OpenPGP using GPGMail -----BEGIN PGP SIGNATURE----- iQCVAwUBVidUltZcnpRveo1xAQjiNgQArFKDId2ws6F2kpOYTIFrKn5qd7H6Xo3r bjXueh3jzxbzvasimg5GrWAh/pQbbW4wZs2Uy4oXxzX4M+1clbDnaZgCOu5swnF/ FbragbGOujmcfciBPjjLyVKWjdEVm2N2aQ1VF4XiW6bDIo8AcNLqDubS4XASUNGT X0zSt7J0i8I= =AtxI -----END PGP SIGNATURE----- --Apple-Mail=_9D788F1F-775E-4D22-ADE2-D083D3D947A2-- From owner-freebsd-xen@freebsd.org Wed Oct 21 09:11:19 2015 Return-Path: Delivered-To: freebsd-xen@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id E1BAAA1B7BB for ; Wed, 21 Oct 2015 09:11:19 +0000 (UTC) (envelope-from prvs=72919e7bd=roger.pau@citrix.com) Received: from SMTP02.CITRIX.COM (smtp02.citrix.com [66.165.176.63]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (Client CN "mail.citrix.com", Issuer "Verizon Public SureServer CA G14-SHA2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 7DDED90; Wed, 21 Oct 2015 09:11:19 +0000 (UTC) (envelope-from prvs=72919e7bd=roger.pau@citrix.com) X-IronPort-AV: E=Sophos;i="5.17,711,1437436800"; d="scan'208";a="311853372" Subject: Re: Xen dom0 crash To: "Eggert, Lars" References: <7CB114B9-B666-4764-86B6-B94F07973389@netapp.com> <5559EB2E.6080609@citrix.com> <20150522161117.GA59488@kloomba> <555F58DC.2040807@citrix.com> <46625CAE-750E-4ECE-8B39-DF8EDDFA912F@netapp.com> <55642229.9020106@citrix.com> <5627417A.20304@citrix.com> <56275284.1070108@citrix.com> <7501F178-400B-43F8-9FBC-69F566A7BD11@netapp.com> CC: Roman Bogorodskiy , "freebsd-xen@freebsd.org" From: =?UTF-8?Q?Roger_Pau_Monn=c3=a9?= Message-ID: <562756B3.7050804@citrix.com> Date: Wed, 21 Oct 2015 11:11:15 +0200 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.9; rv:38.0) Gecko/20100101 Thunderbird/38.3.0 MIME-Version: 1.0 In-Reply-To: <7501F178-400B-43F8-9FBC-69F566A7BD11@netapp.com> Content-Type: text/plain; charset="windows-1252" Content-Transfer-Encoding: 8bit X-DLP: MIA2 X-BeenThere: freebsd-xen@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Discussion of the freebsd port to xen - implementation and usage List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 21 Oct 2015 09:11:20 -0000 El 21/10/15 a les 11.02, Eggert, Lars ha escrit: > On 2015-10-21, at 10:53, Roger Pau Monné wrote: >> hw.pci.mcfg=0 > > Thanks! That gets me a bit further, but it now crashes with: > > ... > SMP: AP CPU #7 Launched! > SMP: AP CPU #14 Launched! > SMP: AP CPU #11 Launched! > SMP: AP CPU #21 Launched! > SMP: AP CPU #30 Launched! > SMP: AP CPU #4 Launched! > SMP: AP CPU #20 Launched! > panic: xen_pv_lapic_enable_pmc: not available in Xen PV port. > cpuid = 0 > KDB: stack backtrace: > db_trace_self_wrapper() at db_trace_self_wrapper+0x2b/frame 0xffffffff81fd5990 > vpanic() at vpanic+0x182/frame 0xffffffff81fd5a10 > panic() at panic+0x43/frame 0xffffffff81fd5a70 > xen_pv_lapic_enable_pmc() at xen_pv_lapic_enable_pmc+0x19/frame 0xffffffff81fd5a80 > pmc_md_initialize() at pmc_md_initialize+0x3c/frame 0xffffffff81fd5aa0 > load() at load+0x41e/frame 0xffffffff81fd5af0 > syscall_module_handler() at syscall_module_handler+0x290/frame 0xffffffff81fd5b20 > module_register_init() at module_register_init+0xfb/frame 0xffffffff81fd5b50 > mi_startup() at mi_startup+0x108/frame 0xffffffff81fd5b70 > xen_start() at xen_start+0x1f > KDB: enter: panic > [ thread pid 0 tid 100000 ] > Stopped at kdb_enter+0x3b: movq $0,kdb_why > db> Hello, Are you loading hwpmc by default? Performance monitor counters are not yet implemented in the FreeBSD PVH port, so you should not load hwpmc. I have to look at providing an error message here rather than panicking. Roger. From owner-freebsd-xen@freebsd.org Wed Oct 21 09:51:33 2015 Return-Path: Delivered-To: freebsd-xen@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 52E77A1A178 for ; Wed, 21 Oct 2015 09:51:33 +0000 (UTC) (envelope-from lars@netapp.com) Received: from mx143.netapp.com (mx143.netapp.com [216.240.21.24]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (Client CN "mx143.netapp.com", Issuer "Symantec Class 3 Secure Server CA - G4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id C74A715EB; Wed, 21 Oct 2015 09:51:32 +0000 (UTC) (envelope-from lars@netapp.com) X-IronPort-AV: E=Sophos;i="5.17,711,1437462000"; d="asc'?scan'208";a="73568388" Received: from hioexcmbx05-prd.hq.netapp.com ([10.122.105.38]) by mx143-out.netapp.com with ESMTP; 21 Oct 2015 02:51:05 -0700 Received: from HIOEXCMBX07-PRD.hq.netapp.com (10.122.105.40) by hioexcmbx05-prd.hq.netapp.com (10.122.105.38) with Microsoft SMTP Server (TLS) id 15.0.1104.5; Wed, 21 Oct 2015 02:51:03 -0700 Received: from HIOEXCMBX07-PRD.hq.netapp.com ([::1]) by hioexcmbx07-prd.hq.netapp.com ([fe80::e1d9:911e:3048:d510%21]) with mapi id 15.00.1104.000; Wed, 21 Oct 2015 02:51:02 -0700 From: "Eggert, Lars" To: =?Windows-1252?Q?Roger_Pau_Monn=E9?= CC: Roman Bogorodskiy , "freebsd-xen@freebsd.org" Subject: Re: Xen dom0 crash Thread-Topic: Xen dom0 crash Thread-Index: AQHQkWsjWWZFxg5CcECFAUy3VuNwPJ2CMi0AgAZ0NYCAAARrAIAFs0gAgAABZICA54bPAIABE80AgAAOpYCAAAWrAIAAAngAgAAChYCAAAsbAA== Date: Wed, 21 Oct 2015 09:51:02 +0000 Message-ID: References: <7CB114B9-B666-4764-86B6-B94F07973389@netapp.com> <5559EB2E.6080609@citrix.com> <20150522161117.GA59488@kloomba> <555F58DC.2040807@citrix.com> <46625CAE-750E-4ECE-8B39-DF8EDDFA912F@netapp.com> <55642229.9020106@citrix.com> <5627417A.20304@citrix.com> <56275284.1070108@citrix.com> <7501F178-400B-43F8-9FBC-69F566A7BD11@netapp.com> <562756B3.7050804@citrix.com> In-Reply-To: <562756B3.7050804@citrix.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: yes X-MS-TNEF-Correlator: x-mailer: Apple Mail (2.3094) x-ms-exchange-messagesentrepresentingtype: 1 x-ms-exchange-transport-fromentityheader: Hosted x-originating-ip: [10.122.56.79] Content-Type: multipart/signed; boundary="Apple-Mail=_E8870D62-F929-4831-8DA4-5D5ED631812D"; protocol="application/pgp-signature"; micalg=pgp-sha256 MIME-Version: 1.0 X-BeenThere: freebsd-xen@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Discussion of the freebsd port to xen - implementation and usage List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 21 Oct 2015 09:51:33 -0000 --Apple-Mail=_E8870D62-F929-4831-8DA4-5D5ED631812D Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=windows-1252 On 2015-10-21, at 11:11, Roger Pau Monn=E9 wrote: > Are you loading hwpmc by default? Yes. > Performance monitor counters are not > yet implemented in the FreeBSD PVH port, so you should not load hwpmc. = I > have to look at providing an error message here rather than panicking. Strange, the same kernel config worked earlier. But without hwmpc, the = it now boots. Thanks! Lars --Apple-Mail=_E8870D62-F929-4831-8DA4-5D5ED631812D Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="signature.asc" Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Message signed with OpenPGP using GPGMail -----BEGIN PGP SIGNATURE----- iQCVAwUBVidgBdZcnpRveo1xAQglkAP+MpCUpXfgma7Menge/pL2/gUFXbeU5ygf +NlqQ4C89bdnvJI86QEej9uaMu1UepWe/tyGD6tbsO+RtlI6kFcxgLgb2U6xgtfs +Vu5fqlUKadXDofqoRB11xkX4P8p1GKVEQeYaWJZ9/U72KCPT59QEVyxrhELHpEt QP5hwbWrQfE= =bq6b -----END PGP SIGNATURE----- --Apple-Mail=_E8870D62-F929-4831-8DA4-5D5ED631812D-- From owner-freebsd-xen@freebsd.org Wed Oct 21 12:34:13 2015 Return-Path: Delivered-To: freebsd-xen@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id B194CA1B090 for ; Wed, 21 Oct 2015 12:34:13 +0000 (UTC) (envelope-from prvs=72919e7bd=roger.pau@citrix.com) Received: from SMTP02.CITRIX.COM (smtp02.citrix.com [66.165.176.63]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (Client CN "mail.citrix.com", Issuer "Verizon Public SureServer CA G14-SHA2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 5036A14AC; Wed, 21 Oct 2015 12:34:12 +0000 (UTC) (envelope-from prvs=72919e7bd=roger.pau@citrix.com) X-IronPort-AV: E=Sophos;i="5.17,711,1437436800"; d="scan'208";a="311888163" Subject: Re: Xen dom0 crash To: "Eggert, Lars" References: <7CB114B9-B666-4764-86B6-B94F07973389@netapp.com> <5559EB2E.6080609@citrix.com> <20150522161117.GA59488@kloomba> <555F58DC.2040807@citrix.com> <46625CAE-750E-4ECE-8B39-DF8EDDFA912F@netapp.com> <55642229.9020106@citrix.com> <5627417A.20304@citrix.com> <56275284.1070108@citrix.com> <7501F178-400B-43F8-9FBC-69F566A7BD11@netapp.com> <562756B3.7050804@citrix.com> CC: Roman Bogorodskiy , "freebsd-xen@freebsd.org" From: =?UTF-8?Q?Roger_Pau_Monn=c3=a9?= Message-ID: <5627863F.1040603@citrix.com> Date: Wed, 21 Oct 2015 14:34:07 +0200 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.9; rv:38.0) Gecko/20100101 Thunderbird/38.3.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset="windows-1252" Content-Transfer-Encoding: 8bit X-DLP: MIA2 X-BeenThere: freebsd-xen@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Discussion of the freebsd port to xen - implementation and usage List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 21 Oct 2015 12:34:13 -0000 El 21/10/15 a les 11.51, Eggert, Lars ha escrit: > On 2015-10-21, at 11:11, Roger Pau Monné wrote: >> Are you loading hwpmc by default? > > Yes. > >> Performance monitor counters are not >> yet implemented in the FreeBSD PVH port, so you should not load hwpmc. I >> have to look at providing an error message here rather than panicking. > > Strange, the same kernel config worked earlier. But without hwmpc, the it now boots. It might well be that Xen is exposing different cpuid flags in 4.6 vs 4.5, and that makes hwpmc attach. All the cpuid stuff in PVH is still in-flux. Roger. From owner-freebsd-xen@freebsd.org Wed Oct 21 15:33:21 2015 Return-Path: Delivered-To: freebsd-xen@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 96536A1BF86 for ; Wed, 21 Oct 2015 15:33:21 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 83247134F for ; Wed, 21 Oct 2015 15:33:21 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id t9LFXLPk013071 for ; Wed, 21 Oct 2015 15:33:21 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-xen@FreeBSD.org Subject: [Bug 154428] [xen] xn0 network interface and PF - Massive performance drop Date: Wed, 21 Oct 2015 15:33:21 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: unspecified X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: commit-hook@freebsd.org X-Bugzilla-Status: In Progress X-Bugzilla-Priority: Normal X-Bugzilla-Assigned-To: freebsd-xen@FreeBSD.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-xen@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Discussion of the freebsd port to xen - implementation and usage List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 21 Oct 2015 15:33:21 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=154428 --- Comment #21 from commit-hook@freebsd.org --- A commit references this bug: Author: kp Date: Wed Oct 21 15:32:21 UTC 2015 New revision: 289703 URL: https://svnweb.freebsd.org/changeset/base/289703 Log: MFC r289316: pf: Fix TSO issues In certain configurations (mostly but not exclusively as a VM on Xen) pf produced packets with an invalid TCP checksum. The problem was that pf could only handle packets with a full checksum. The FreeBSD IP stack produces TCP packets with a pseudo-header checksum (only addresses, length and protocol). Certain network interfaces expect to see the pseudo-header checksum, so they end up producing packets with invalid checksums. To fix this stop calculating the full checksum and teach pf to only update TCP checksums if TSO is disabled or the change affects the pseudo-header checksum. PR: 154428, 193579, 198868 Relnotes: yes Sponsored by: RootBSD Changes: _U stable/10/ stable/10/sys/net/pfvar.h stable/10/sys/netpfil/pf/pf.c stable/10/sys/netpfil/pf/pf_ioctl.c stable/10/sys/netpfil/pf/pf_norm.c -- You are receiving this mail because: You are the assignee for the bug.