From owner-freebsd-xen@FreeBSD.ORG Wed Jan 12 20:31:45 2011 Return-Path: Delivered-To: freebsd-xen@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C6648106566C for ; Wed, 12 Jan 2011 20:31:45 +0000 (UTC) (envelope-from tobiasztworek@gmail.com) Received: from mail-ey0-f182.google.com (mail-ey0-f182.google.com [209.85.215.182]) by mx1.freebsd.org (Postfix) with ESMTP id 4F4958FC15 for ; Wed, 12 Jan 2011 20:31:44 +0000 (UTC) Received: by eyf6 with SMTP id 6so521357eyf.13 for ; Wed, 12 Jan 2011 12:31:43 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:message-id:date:from:user-agent:mime-version:to :subject:references:in-reply-to:content-type; bh=QCl7xZKPT+5ZBHwaqOVGF5QkSL/Jj387E/IZ7BSg464=; b=LfO0L62DWbiQWYwOcxg6jSADhHnlueLAa++bZ5/asPE7pmmUrPo0Y5IvJ/jibjkDEF VMudqHw+eDJT5zd08Tf6jIIEWvul+4OBY84UZIfEY7Zl2ho3RDLckVg3ozW9NDME7wRs yPcGNLbrtfdA+xcQWjbXeBx03/2CxZbX0bfZ4= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:content-type; b=vrlDZHoRqgSfIFS/Y9JrPIfIHqV7KFtIOp7i2MEf4C4pBJGxK+lfJmUbMxjHOnWJx9 NkZVndyLViRISTCbCrJFwJWdklm6BFtGC6zhy4SQabunPRazAQk+/81SDg7wXFVkl516 4Z/Yv1c69UjYt7pb08w3BlNgm+YD5ljvYbgug= Received: by 10.223.101.134 with SMTP id c6mr661553fao.12.1294864303285; Wed, 12 Jan 2011 12:31:43 -0800 (PST) Received: from [10.1.1.4] (87-205-161-54.adsl.inetia.pl [87.205.161.54]) by mx.google.com with ESMTPS id n15sm385632fam.12.2011.01.12.12.31.40 (version=TLSv1/SSLv3 cipher=RC4-MD5); Wed, 12 Jan 2011 12:31:41 -0800 (PST) Message-ID: <4D2E0FAB.4010900@gmail.com> Date: Wed, 12 Jan 2011 21:31:39 +0100 From: Tobiasz Tworek User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; pl; rv:1.9.2.13) Gecko/20101207 Thunderbird/3.1.7 MIME-Version: 1.0 To: freebsd-xen@freebsd.org References: <201101121601.58282.snasonov@bcc.ru> <4D2DADC7.8080404@deployis.eu> <4D2DE6E6.2090202@freebsd.org> In-Reply-To: <4D2DE6E6.2090202@freebsd.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Re: does anyone have Xen running on an AMD system? X-BeenThere: freebsd-xen@freebsd.org X-Mailman-Version: 2.1.5 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, 12 Jan 2011 20:31:46 -0000 I had tested latest curent version on my AMD Athlon II X4 Xen Server 6.5 and i have got panic. My output: WARNING: loader(8) metadata is missing! 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 9.0-CURRENT #0: Wed Jan 12 20:14:15 CET 2011 root@freebsdcurent:/usr/src/sys/i386/compile/XEN i386 WARNING: WITNESS option enabled, expect reduced performance. Xen reported: 3013.708 MHz processor. Timecounter "ixen" frequency 1000000000 Hz quality 0 CPU: AMD Athlon(tm) II X4 640 Processor (3013.71-MHz 686-class CPU) Origin = "AuthenticAMD" Id = 0x100f53 Family = 10 Model = 5 Stepping = 3 Features=0x1783fbff 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 = 536870912 (512 MB) Physical memory chunk(s): 0x000000000077d000 - 0x000000001f638fff, 518766592 bytes (126652 pages) avail memory = 515821568 (491 MB) APIC: Using the MPTable enumerator. SMP: Added CPU 0 (BSP) ULE: setup cpu 0 [XEN] IPI cpu=0 irq=128 vector=RESCHEDULE_VECTOR (0) [XEN] IPI cpu=0 irq=129 vector=CALL_FUNCTION_VECTOR (1) Event-channel device installed. nfslock: pseudo-device mem: Pentium Pro MTRR support enabled io: null: random: [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, adjustment 0.500000000s) Grant table initialized xenbus0: on motherboard xc0: on motherboard 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:0xc032b311 stack pointer = 0x29:0xlo0: bpf attached c21fec8c frame pointer = 0x29:0xc21fec94 code segment= base 0x0, limit 0xfffff, type [XEN] hypervisor wallclock nudged; nudging TOD. 0x1b = DPL 1, pres 1, def32 1, gran 1 processor eflags= resume, IOPL = 0 current process= 11 (idle: cpu0) [ thread pid 11 tid 100003 ] Stopped at spinlock_exit+0xa1: hlt Regards, Tobiasz Tworek > On 01/12/11 05:33, Gót András wrote: >> kernel trap 9 with interrupts disabled >> >> Fatal trap 9: general protection fault while in kernel mode >> cpuid = 0; apic id = 00 >> instruction pointer = 0x21:0xc0321241 >> stack pointer = 0x29:0xc21ffc8c >> frame pointer = 0x29:0xc21ffc94 >> 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) >> [thread pid 11 tid 100003 ] >> Stopped at spinlock_exit+0xe1: hlt > Yep, this is what I was looking for. Can you try the attached patch (under > the same conditions to avoid the pmap_init panic) and let me know if this > problem goes away? > > > > _______________________________________________ > freebsd-xen@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-xen > To unsubscribe, send any mail to "freebsd-xen-unsubscribe@freebsd.org"