From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jeremy Fitzhardinge Subject: Re: Re: Xen-4.0.x doesn't start on 32bit / pvops 2.6.32.19 Date: Tue, 17 Aug 2010 19:10:20 -0700 Message-ID: <4C6B410C.7070600@goop.org> References: <4C690FCD.70905@access.denied> <20100816104413.GD2804@reaktio.net> <4C6918CD.2020405@access.denied> <20100816112004.GH2804@reaktio.net> <4C6A6CC6.4060606@access.denied> <20100817141615.GF2804@reaktio.net> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="------------040606020106060008040600" Return-path: In-Reply-To: <20100817141615.GF2804@reaktio.net> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: =?ISO-8859-1?Q?Pasi_K=E4rkk=E4inen?= Cc: xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org This is a multi-part message in MIME format. --------------040606020106060008040600 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable On 08/17/2010 07:16 AM, Pasi K=E4rkk=E4inen wrote: > On Tue, Aug 17, 2010 at 01:04:38PM +0200, Stefan Kuhne wrote: >> Am 16.08.2010 13:20, schrieb Pasi K=E4rkk=E4inen: >> >> Hello Pasi, >> >> Bootlog with your .config and actual Tree: >> http://skweb.buetow.org/Linux/EisXen/xen.txt >> >>> And run: >>> gdb vmlinux >>> >>> Then execute the following commands: >>> (gdb) x/i 0xc17a56a1 >>> (gdb) list *0xc17a56a1 >>> >>> (c17a56a1 is the EIP value from the crashlog). >>> >> (gdb) x/i 0xc08a2bf3 >> 0xc08a2bf3 : cmpl $0x5f504d5f,(%ebx) >> (gdb) list *0xc08a2bf3 >> 0xc08a2bf3 is in smp_scan_config (arch/x86/kernel/mpparse.c:700). >> 695 bp, length); >> 696 BUILD_BUG_ON(sizeof(*mpf) !=3D 16); >> 697 >> 698 while (length > 0) { >> 699 mpf =3D (struct mpf_intel *)bp; >> 700 if ((*bp =3D=3D SMP_MAGIC_IDENT) && >> 701 (mpf->length =3D=3D 1) && >> 702 !mpf_checksum((unsigned char *)bp, 16) && >> 703 ((mpf->specification =3D=3D 1) >> 704 || (mpf->specification =3D=3D 4))) { >> (gdb) >> > > Jeremy: Does this look familiar? I don't think I have seen that.. Not specifically, but it might relate to a bug that Bastien reported ages ago that I never followed up (attached). J --------------040606020106060008040600 Content-Type: message/rfc822; name="Attached Message" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="Attached Message" Return-Path: X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on claw.goop.org X-Spam-Level: X-Spam-Status: No, score=-3.8 required=6.0 tests=AWL,BAYES_00, RCVD_IN_DNSWL_LOW autolearn=unavailable version=3.2.5 X-Original-To: jeremy@goop.org Delivered-To: jeremy@goop.org Received: from lists.xensource.com (lists.colo.xensource.com [70.42.241.110]) by claw.goop.org (Postfix) with ESMTPS id 370A29B98 for ; Mon, 5 Oct 2009 15:58:13 -0700 (PDT) Received: from localhost ([127.0.0.1] helo=lists.colo.xensource.com) by lists.xensource.com with esmtp (Exim 4.43) id 1MuwVJ-0000JE-3L; Mon, 05 Oct 2009 15:58:05 -0700 Received: from spam.xensource.com ([70.42.241.90]) by lists.xensource.com with esmtp (Exim 4.43) id 1MuwV8-0000HT-3p for xen-devel@lists.xensource.com; Mon, 05 Oct 2009 15:57:54 -0700 X-ASG-Debug-ID: 1254783476-323f000c0000-8pertM X-Barracuda-URL: http://spam.xensource.com:8000/cgi-bin/mark.cgi Received: from wavehammer.waldi.eu.org (localhost [127.0.0.1]) by spam.xensource.com (Spam Firewall) with ESMTP id CF3DB1EE8CE for ; Mon, 5 Oct 2009 15:57:56 -0700 (PDT) Received: from wavehammer.waldi.eu.org (wavehammer.waldi.eu.org [82.139.201.20]) by spam.xensource.com with ESMTP id EpvDDmGKqDWgbXWn for ; Mon, 05 Oct 2009 15:57:56 -0700 (PDT) Received: by wavehammer.waldi.eu.org (Postfix, from userid 1000) id 8F9115418D; Tue, 6 Oct 2009 00:58:28 +0200 (CEST) Date: Tue, 6 Oct 2009 00:58:28 +0200 From: Bastian Blank To: Jeremy Fitzhardinge X-ASG-Orig-Subj: Re: [Xen-devel] paravirt-dom0: Needs PCBIOS PCI probing disabled Subject: Re: [Xen-devel] paravirt-dom0: Needs PCBIOS PCI probing disabled Message-ID: <20091005225828.GB32144@wavehammer.waldi.eu.org> References: <20091005020733.GA7321@wavehammer.waldi.eu.org> <4ACA6A56.5070909@goop.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <4ACA6A56.5070909@goop.org> User-Agent: Mutt/1.5.18 (2008-05-17) X-Barracuda-Connect: wavehammer.waldi.eu.org[82.139.201.20] X-Barracuda-Start-Time: 1254783477 X-Barracuda-Virus-Scanned: by Barracuda Spam Firewall at xensource.com X-Barracuda-Spam-Score: 1.00 X-Barracuda-Spam-Status: No, SCORE=1.00 using per-user scores of TAG_LEVEL=3.5 QUARANTINE_LEVEL=6.0 KILL_LEVEL=1000.0 tests=BSF_RULE7568M, BSF_RULE_7582B X-Barracuda-Spam-Report: Code version 3.2, rules version 3.2.2.10939 Rule breakdown below pts rule name description ---- ---------------------- -------------------------------------------------- 0.50 BSF_RULE7568M Custom Rule 7568M 0.50 BSF_RULE_7582B Custom Rule 7582B Cc: xen-devel@lists.xensource.com X-BeenThere: xen-devel@lists.xensource.com X-Mailman-Version: 2.1.5 Precedence: list List-Id: Xen developer discussion List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com On Mon, Oct 05, 2009 at 02:51:18PM -0700, Jeremy Fitzhardinge wrote: > On 10/04/09 19:07, Bastian Blank wrote: > > I'm not sure how to do it, but the paravirt-dom0 kernel needs PCBIOS PCI > > probing under Xen disabled. It dies in nice tracebacks. > Can you give an example? | general protection fault: 0060 [#1] SMP | last sysfs file: | Modules linked in: | | Pid: 1, comm: swapper Tainted: G W (2.6.31-trunk-xen-686 #1) | EIP: 0061:[] EFLAGS: 00000046 CPU: 0 | EIP is at 0xc00fb4bc | EAX: 12378000 EBX: 000f0000 ECX: 00000000 EDX: 0000b4c0 | ESI: c00f0280 EDI: c140cbb8 EBP: 00000000 ESP: dcc45f78 | DS: 007b ES: 007b FS: 00d8 GS: 00e0 SS: e021 | Process swapper (pid: 1, ti=dcc44000 task=dcc43960 task.ti=dcc44000) | Stack: | c144bc0d 00000060 00000001 00000001 dcc30220 c1006723 c144bf05 5f32335f | <0> 3b1d067b 00000001 c134376b c144bab7 00000000 c144bae9 3b1d067b c146ae64 | <0> c1003084 3b1d067b c146ae64 c134376b 00000001 00000000 c141c476 3b1d067b | Call Trace: | [] ? pci_pcbios_init+0xe0/0x23d | [] ? xen_restore_fl_direct_end+0x0/0x1 | [] ? pci_direct_probe+0x95/0x1af | [] ? pci_arch_init+0x0/0x76 | [] ? pci_arch_init+0x32/0x76 | [] ? do_one_initcall+0x63/0x175 | [] ? kernel_init+0x132/0x191 | [] ? kernel_init+0x0/0x191 | [] ? kernel_thread_helper+0x7/0x10 | Code: ef 66 ba fc 0c ed 3d 86 80 37 12 75 13 bb 00 00 0f 00 b9 00 00 00 00 ba c0 b4 00 00 30 c0 eb 02 b0 80 81 64 24 08 fc ff ff ff 9d 00 00 00 9c fa 56 57 3c 01 75 14 66 bb 10 02 66 b9 00 00 ba | EIP: [] 0xc00fb4bc SS:ESP e021:dcc45f78 | ---[ end trace a7919e7f17c0a726 ]--- AFAIK this code just executes parts of the BIOS, which is not really ment to work from ring 1. > What's your kernel config? It is a mostly standard Debian config, so it is large and you can find it at http://hermes.jura.uni-tuebingen.de/~blank/debian/xen-test/config Bastian -- If I can have honesty, it's easier to overlook mistakes. -- Kirk, "Space Seed", stardate 3141.9 _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel --------------040606020106060008040600 Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel --------------040606020106060008040600--