From mboxrd@z Thu Jan 1 00:00:00 1970 From: David F Barrera Subject: Re: Daily Xen Build Date: Thu, 25 Aug 2005 11:54:31 -0500 Message-ID: <430DF7C7.2080202@us.ibm.com> References: Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: quoted-printable Return-path: In-Reply-To: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Keir Fraser Cc: xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org 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. > > =20 > 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=20 input to Xen). Linux version 2.6.12-xen0 (root@bl2-1) (gcc version 3.3.3 (SuSE Linux))=20 #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=DD=A1=A5=B1=A5=B9=A5=D1=A5=B1=A5=E9=A5=B9u%IE=CD=A5=CD=B1=E1=B9}=B5=B5= %=B9=A5=D1=A5=B1=A5=CD=A5=B9M%=CD=D5=CD=E5=CD=D1=B5=A5=B9=A5=D1=A5=B1=A5=E9= =D5=CD=BD=C9=A5=B1=A5=E9=A5=B9 RAMDISK driver initialized: 16 RAM disks of 16384K size=20 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@alpha.franken.de 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: {__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:[] {__ioremap+118} RSP: e02b:ffff880000a43c58 EFLAGS: 00010206 RAX: 00000000000dcff0 RBX: 0000000000010000 RCX: 00000000000dcff0 RDX: 00000000dc463000 RSI: 0000000000010000 RDI: 00000000dcff0000 RBP: 0000000} {tg3_init_one+644} {default_wake_function+0}=20 {default_wake_function+0} {__queue_work+73}=20 {call_usermodehelper+217} {__call_usermodehelper+0}=20 {pci_device_probe+121} {driver_probe_device+77}=20 {driver_attach+70} {bus_add_driver+152}=20 {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@lists.xensource.com >http://lists.xensource.com/xen-devel > > =20 >