[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] Daily Xen Build





Keir Fraser wrote:

Can you try adding some tracing to __ioremap() and is_local_lowmem()
in arch/xen/i386/mm/ioremap.c.

In __ioremap() there is a section in the middle that is conditional on
is_local_lowmem(phys_addr). Add a printk in there to see if we execute
that conditional code.

Keir,

I doesn't seem to have executed it. Here's the trace:
[...]
(XEN) VIRTUAL MEMORY ARRANGEMENT:
(XEN)  Loaded kernel: ffffffff80100000->ffffffff80647086
(XEN)  Init. ramdisk: ffffffff80648000->ffffffff80648000
(XEN)  Phys-Mach map: ffffffff80648000->ffffffff80686800
(X...done.
(XEN) *** Serial input -> DOM0 (type 'CTRL-a' three times to switch input to Xen). Linux version 2.6.12-xen0 (root@bl2-1) (gcc version 3.3.3 (SuSE Linux)) #3 Fri Aug 26 00:04:19 CDT 2005
kernel direct mapping tables upto ffff88000fa00000 @ 800000-87f000
No mptable found.
ACPI: LAPIC (acpi_id[0x00] lapic_id[0x00] enabled)
ACPI: LAPIC (acpi_id[0x01] lapic_id[0x06] enabled)
ACPI: LAPIC (acpi_id[0x02] lapic_id[0x01] enabled)
ACPI: LAPIC (acpi_id[0x03] lapic_id[0x07] enabled)
QIÝ¡¥±¥¹¥Ñ¥±¥é¥¹u%IEͥͱá¹}µµ%¹¥Ñ¥±¥Í¥¹M%ÍÕÍåÍѵ¥¹¥Ñ¥±¥éÕͽɥ±¥é¥¹
RAMDISK driver initialized: 16 RAM disks of 16384K size 1024 blocksize
loop: loaded (max 8 devices)
HP CISS Driver (v 2.6.6)
Intel(R) PRO/1000 Network Driver - version 6.0.54-k2
Copyright (c) 1999-2004 Intel Corporation.
pcnet32.c:v1.30j 29.04.2005 tsbogend@xxxxxxxxxxxxxxxx
e100: Intel(R) PRO/100 Network Driver, 3.4.8-k2-NAPI
e100: Copyright(c) 1999-2005 Intel Corporation
tg3.c:v3.31 (June 8, 2005)
ACPI: PCI Interrupt 0000:05:01.0[A] -> GSI 77 (level, low) -> IRQ 77
Unable to handle kernel paging request at ffff800000373fc0 RIP:
<ffffffff80120436>{__ioremap+118}
PGD 55555555067 BAD
Oops: 0000 [1]
CPU 0
Modules linked in:
Pid: 1, comm: swapper Not tainted 2.6.12-xen0
RIP: e030:[<ffffffff80120436>] <ffffffff80120436>{__ioremap+118}
RSP: e02b:ffff880000a43c58  EFLAGS: 00010206
RAX: 00000000000dcff0 RBX: 0000000000010000 RCX: 00000000000dcff0
RDX: 00000000dc463000 RSI: 0000000000010000 RDI: 00000000dcff0000
RBP: 0000000} <ffffffff802adec4>{tg3_init_one+644}
<ffffffff8012d990>{default_wake_function+0} <ffffffff8012d990>{default_wake_function+0} <ffffffff80140579>{__queue_work+73} <ffffffff80140119>{call_usermodehelper+217} <ffffffff80140140>{__call_usermodehelper+0} <ffffffff80229269>{pci_device_probe+121} <ffffffff8026371d>{driver_probe_device+77} <ffffffff80263796>{driver_attach+70} <ffffffff80263878>{bus_add_driver+152} <ffffffff80229545>{pci_register_driver+117}

If we do, it would be interesting to instrument
is_local_lowmem(). Add something like this:
printk(KERN_ALERT " *** %lx %lx %lx %x\n",
       mfn, pfn, max_low_pfn, phys_to_machine_mapping[pfn]);

-- Keir

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



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


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.