WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

Re: [Xen-devel] Re: Xen-4.0.x doesn't start on 32bit / pvops 2.6.32.19

To: Pasi Kärkkäinen <pasik@xxxxxx>
Subject: Re: [Xen-devel] Re: Xen-4.0.x doesn't start on 32bit / pvops 2.6.32.19
From: Jeremy Fitzhardinge <jeremy@xxxxxxxx>
Date: Tue, 17 Aug 2010 19:10:20 -0700
Cc: xen-devel@xxxxxxxxxxxxxxxxxxx
Delivery-date: Tue, 17 Aug 2010 19:11:19 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <20100817141615.GF2804@xxxxxxxxxxx>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
References: <4C690FCD.70905@xxxxxxxxxxxxx> <20100816104413.GD2804@xxxxxxxxxxx> <4C6918CD.2020405@xxxxxxxxxxxxx> <20100816112004.GH2804@xxxxxxxxxxx> <4C6A6CC6.4060606@xxxxxxxxxxxxx> <20100817141615.GF2804@xxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.7) Gecko/20100720 Fedora/3.1.1-1.fc13 Lightning/1.0b2pre Thunderbird/3.1.1
 On 08/17/2010 07:16 AM, Pasi Kärkkäinen wrote:
> On Tue, Aug 17, 2010 at 01:04:38PM +0200, Stefan Kuhne wrote:
>> Am 16.08.2010 13:20, schrieb Pasi Kärkkäinen:
>>
>> 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 <smp_scan_config+53>:     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) != 16);
>> 697
>> 698             while (length > 0) {
>> 699                     mpf = (struct mpf_intel *)bp;
>> 700                     if ((*bp == SMP_MAGIC_IDENT) &&
>> 701                         (mpf->length == 1) &&
>> 702                         !mpf_checksum((unsigned char *)bp, 16) &&
>> 703                         ((mpf->specification == 1)
>> 704                          || (mpf->specification == 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
--- Begin Message ---
To: Jeremy Fitzhardinge <jeremy@xxxxxxxx>
Subject: Re: [Xen-devel] paravirt-dom0: Needs PCBIOS PCI probing disabled
From: Bastian Blank <bastian@xxxxxxxxxxxx>
Date: Tue, 6 Oct 2009 00:58:28 +0200
Cc: xen-devel@xxxxxxxxxxxxxxxxxxx
Delivered-to: jeremy@xxxxxxxx
In-reply-to: <4ACA6A56.5070909@xxxxxxxx>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
References: <20091005020733.GA7321@xxxxxxxxxxxxxxxxxxxxxxx> <4ACA6A56.5070909@xxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mutt/1.5.18 (2008-05-17)
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:[<c00fb4bc>] 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:
|  [<c144bc0d>] ? pci_pcbios_init+0xe0/0x23d
|  [<c1006723>] ? xen_restore_fl_direct_end+0x0/0x1
|  [<c144bf05>] ? pci_direct_probe+0x95/0x1af
|  [<c144bab7>] ? pci_arch_init+0x0/0x76
|  [<c144bae9>] ? pci_arch_init+0x32/0x76
|  [<c1003084>] ? do_one_initcall+0x63/0x175
|  [<c141c476>] ? kernel_init+0x132/0x191
|  [<c141c344>] ? kernel_init+0x0/0x191
|  [<c100b267>] ? 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 <cb> 00 00 00 9c fa 56 
57 3c 01 75 14 66 bb 10 02 66 b9 00 00 ba
| EIP: [<c00fb4bc>] 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@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel


--- End Message ---
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel