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-users

Summary: Experiences setting up a debug serial port (was Re: [Xen-users]

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: Summary: Experiences setting up a debug serial port (was Re: [Xen-users] 3.1.0-rc0 git snapshot crashes as dom0 (private mail))
From: jim burns <jim_burn@xxxxxxxxxxxxx>
Date: Mon, 15 Aug 2011 04:04:20 -0400
Delivery-date: Mon, 15 Aug 2011 01:09:00 -0700
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bellsouth.net; s=s1024; t=1313395471; bh=kKMsuMUev2L3otyVmRKhCrlzc1SbZ8heCoCzJekX7iA=; h=X-Yahoo-Newman-Property:X-YMail-OSG:X-Yahoo-SMTP:Received:From:To:Subject:Date:Message-ID:User-Agent:In-Reply-To:References:MIME-Version:Content-Transfer-Encoding:Content-Type; b=sVHXNvw1yhQGva/KhLGDfjsULMjDH/HxRWESGTnNnVllWPxcCvanPAI6zn6SX76Y1hga2Vi02td2mcW+zzeARx9IvHBgetGCiKBpQA4ahZmDfAPIJpji6nlFoKxaagETMfN4g0HJ5/NORt9JmsX9MWReAZVWdxIxhAjiVjwjR7c=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <20110801213626.GZ32373@xxxxxxxxxxx>
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
References: <201107231426.56811.jim_burn@xxxxxxxxxxxxx> <45265218.q0nHz6r0Gz@dell4550> <20110801213626.GZ32373@xxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: KMail/4.7.0 (Linux/2.6.37.6-0.7-default; KDE/4.7.0; i686; ; )
Pls cc me with responses, as I'm not subscribed.

On Tue August 2 2011, 12:36:26 AM, Pasi Kärkkäinen wrote:
> On Sat, Jul 30, 2011 at 06:28:26PM -0400, jim burns wrote:
> > > solved the bare metal boot problem. I just got another
> > > kernel-3.1.0-0.rc0 update (from git9.1 to git11.2). Hopefully,
> > > fedora has sorted out it's kernel identity crisis!
> > 
> > Rawhide kernel 3.1.0-0.rc0.git11.2.fc17.x86_64 boots correctly bare
> > metal. It still reboots after the hypervisor output, tho'. It's around
> > the time drm should kick in, but putting 'nomodeset' on the kernel's
> > 'module' line has no effect.
> 
> Konrad: Do you know if this is a known problem?
> 
> -- Pasi

On Mon August 15 2011, 1:43:23 AM, Konrad Rzeszutek Wilk wrote:
> On Sun, Aug 14, 2011 at 06:41:37PM -0400, jim burns wrote:
> > On Sun August 14 2011, 6:38:34 PM, jim burns wrote:
> > > OK - replacing 'debug loglevel=8 video.allow_duplicates=1 nomodeset'
> > > with 'nomodeset initcall_debug debug loglevel=10'. (The video
> > > option was left over  from a separate debug problem.) Log included
> > > - looks the same to me.> 
> > Ahem! And the log:
> Yeah, this is the bug introduced by Andi. 3.1-rc2 has the fix. You are
> looking for this git commit 06e727d2a5d9d889fabad35223ad77205a9bebb9
> 
> Hm, I thought I had mentioned it to you which one I thought it was.. but
> maybe I forgot - in which I am sorry for you having to do this extra
> run-around.
>  [Log at end of post]

On Sun August 7 2011, 2:48:31 PM, Pasi Kärkkäinen wrote:
(Yes, I finally learned how to setup a kmail quoting template!)
> On Sat, Aug 06, 2011 at 07:13:46PM -0400, jim burns wrote:
> > Konrad said:
> > > For your issue we need to get the output from the bootup. Try to use
> > > a
> > > serial console (The pvops wiki explains how to do that) or use the
> > > VGA
> > > output to get some idea.
> > 
> > I read the links that Pasi provided - thanx. Turns out I don't have a
> > serial port, and no options that I know of for SOL. My system is a
> > laptop.
> For a laptop you can get a Expresscard serial card.. it works in the same
> way as PCI serial cards for desktops.
> 
> Like this:
>http://www.newegg.com/Product/Product.aspx?Item=N82E16839328018&Tpk=SDEXP15005

[See also the link - http://wiki.xensource.com/xenwiki/XenSerialConsole ]

I got that card - thanx for the recommendation. Then I looked in my box of 
cables and found I didn't have the right gender adapter, so I had to wait for 
that as well!

Getting the card has been an education in kernel drivers - builtin vs. 
modules. I first had to realize that 'serial' is a builtin, so lspci -s [...] 
-k for my wifi card may say:

0b:00.0 Network controller: Intel Corporation PRO/Wireless 3945ABG [Golan] 
Network Connection (rev 02)
        Subsystem: Intel Corporation Device 1020
        Kernel driver in use: iwl3945
        Kernel modules: iwl3945

but the serial port only says:

0c:00.0 Serial controller: NetMos Technology Device 9922
        Subsystem: Device a000:1000
        Kernel driver in use: serial

None the less, the serial port is a pci device, so it is found in 
/sys/bus/pci, not /sys/bus/platform.

With that realization, the nagging suspicion that the card was not being 
initialized on all kernels was confirmed. I booted under pvops 2.6.32 
(myoung), f15's 2.6.40, f16's 3.0.0-1, and rawhide's 3.1.0-0.rc1.git6.1, all 
of them as dom0 and baremetal (except the offending 3.1.0 can't boot as dom0), 
and the latter, baremetal, was the only one that initialized the card. Under 
all other systems, dmesg said:

Aug 12 17:58:02 Insp6400 kernel: [    0.735416] Serial: 8250/16550 driver, 4 
ports, IRQ sharing enabled
Aug 12 17:58:02 Insp6400 kernel: [    0.756915] serial 0000:0c:00.0: PCI INT A 
-> GSI 19 (level, low) -> IRQ 19
Aug 12 17:58:02 Insp6400 kernel: [    0.758492] serial 0000:0c:00.0: PCI INT A 
disabled

but 3.1.0 said:

Aug 12 18:06:45 Insp6400 kernel: [    5.421588] Serial: 8250/16550 driver, 4 
ports, IRQ sharing enabled
Aug 12 18:06:45 Insp6400 kernel: [    5.457800] serial 0000:0c:00.0: PCI INT A 
-> GSI 19 (level, low) -> IRQ 19
Aug 12 18:06:45 Insp6400 kernel: [    5.481880] 0000:0c:00.0: ttyS0 at I/O 
0xdff8 (irq = 19) is a ST16650V2

Similarly, on 3.1.0, the contents of /sys/bus/pci/drivers/serial is:

drwxr-xr-x.  2 root root    0 Aug 14 16:51 ./
drwxr-xr-x. 28 root root    0 Aug 14 16:51 ../
lrwxrwxrwx.  1 root root    0 Aug 14 16:52 0000:0c:00.0 -> 
../../../../devices/pci0000:00/0000:00:1c.3/0000:0c:00.0/
--w-------.  1 root root 4096 Aug 14 17:21 bind
--w-------.  1 root root 4096 Aug 14 17:21 new_id
--w-------.  1 root root 4096 Aug 14 17:21 remove_id
--w-------.  1 root root 4096 Aug 14 16:51 uevent
--w-------.  1 root root 4096 Aug 14 17:21 unbind

where as all other kernels did not have the soft link. All attempts to do late 
binding on these other kernels:

if [ -d /sys/bus/pci/devices/0000:0c:00.0/ ]; then #pci-e serial port
  if [ ! -d /sys/bus/pci/drivers/serial/0000:0c:00.0 ]; then # not bound
    echo -n "9710 9922" > /sys/bus/pci/drivers/serial/new_id
    echo -n "0000:0c:00.0" > /sys/bus/pci/drivers/serial/bind
  fi
fi

resulted 'write: no such device', or some such error, after the last echo.

Well, at least I had one system to debug my connections with - baremetal 
3.1.0. So I fired up 'screen /dev/ttyS0 38400,cs8' on both my fedora 3.1.0, 
and another client, and everything worked fine.

With this grub stanza:

title Xen Dom0 w/debug console (3.1.0-0.rcx.gity.z.fc17.x86_64)
        root (hd0,1)
        #kernel /xen.gz cpufreq=xen loglvl=all guest_loglvl=all sync_console 
console_to_ring noreboot console=vga
        kernel /xen.gz cpufreq=xen loglvl=all guest_loglvl=all sync_console 
console_to_ring noreboot com1=115200,8n1,0xdff8,19 console=com1
        module /vmlinuz ro root=/dev/mapper/vg_insp6400-lv_root 
SYSFONT=latarcyrheb-sun16 LANG=en_US.UTF-8 KEYTABLE=us console=hvc0 
earlyprintk=xen debug loglevel=8 video.allow_duplicates=1 nomodeset
        module /initramfs

where x,y,z = 3.1.0-0.rc1.git6.1.fc17.x86_64, and 'vmlinuz' and 'initramfs' 
are soft links to that kernel, I got the following serial console log. Hope it 
helps:


> >  __  __            _  _    _   _   ____     __      _  __
> >  \ \/ /___ _ __   | || |  / | / | |___ \   / _| ___/ |/ /_
> >  
> >   \  // _ \ '_ \  | || |_ | | | |__ __) | | |_ / __| | '_ \
> >   /  \  __/ | | | |__   _|| |_| |__/ __/ _|  _| (__| | (_) |
> >  
> >  /_/\_\___|_| |_|    |_|(_)_(_)_| |_____(_)_|  \___|_|\___/
> > 
> > (XEN) Xen version 4.1.1 (mockbuild@xxxxxxxxxxxxxxxxxxxxxx) (gcc version
> > 4.6.1 20110715 (Red Hat 4.6.1-3) (GCC) ) Wed Jul 20 18:47:22 UTC 2011
> > (XEN) Latest ChangeSet: unavailable
> > (XEN) Console output is synchronous.
> > (XEN) Bootloader: GNU GRUB 0.97-71.fc15
> > (XEN) Command line: cpufreq=xen loglvl=all guest_loglvl=all sync_console
> > console_to_ring noreboot com1=115200,8n1,0xdff8,19 console=com1
> > (XEN) Video information:
> > (XEN)  VGA is text mode 80x25, font 8x16
> > (XEN)  VBE/DDC methods: V2; EDID transfer time: 1 seconds
> > (XEN) Disc information:
> > (XEN)  Found 1 MBR signatures
> > (XEN)  Found 1 EDD information structures
> > (XEN) Xen-e820 RAM map:
> > (XEN)  0000000000000000 - 000000000009f000 (usable)
> > (XEN)  000000000009f000 - 00000000000a0000 (reserved)
> > (XEN)  0000000000100000 - 000000007f6d3400 (usable)
> > (XEN)  000000007f6d3400 - 0000000080000000 (reserved)
> > (XEN)  00000000f0000000 - 00000000f4007000 (reserved)
> > (XEN)  00000000f4008000 - 00000000f400c000 (reserved)
> > (XEN)  00000000fec00000 - 00000000fec10000 (reserved)
> > (XEN)  00000000fed20000 - 00000000feda0000 (reserved)
> > (XEN)  00000000fee00000 - 00000000fee10000 (reserved)
> > (XEN)  00000000ffb00000 - 0000000100000000 (reserved)
> > (XEN) System RAM: 2038MB (2087368kB)
> > (XEN) ACPI: RSDP 000FC1D0, 0014 (r0 DELL  )
> > (XEN) ACPI: RSDT 7F6D3A0F, 0040 (r1 DELL    M07     27D7060D ASL       
> > 61) (XEN) ACPI: FACP 7F6D4800, 0074 (r1 DELL    M07     27D7060D ASL   
> >     61) (XEN) ACPI: DSDT 7F6D5400, 4766 (r1 INT430 SYSFexxx     1001
> > INTL 20050624) (XEN) ACPI: FACS 7F6E3C00, 0040
> > (XEN) ACPI: HPET 7F6D4F00, 0038 (r1 DELL    M07            1 ASL       
> > 61) (XEN) ACPI: APIC 7F6D5000, 0068 (r1 DELL    M07     27D7060D ASL   
> >     47) (XEN) ACPI: MCFG 7F6D4FC0, 003E (r16 DELL    M07     27D7060D
> > ASL        61) (XEN) ACPI: SLIC 7F6D509C, 0176 (r1 DELL    M07    
> > 27D7060D ASL        61) (XEN) ACPI: BOOT 7F6D4BC0, 0028 (r1 DELL    M07
> >     27D7060D ASL        61) (XEN) ACPI: SSDT 7F6D3A4F, 04DC (r1  PmRef 
> >   CpuPm     3000 INTL 20050624) (XEN) No NUMA configuration found
> > (XEN) Faking a node at 0000000000000000-000000007f6d3000
> > (XEN) Domain heap initialised
> > (XEN) DMI 2.4 present.
> > (XEN) Using APIC driver default
> > (XEN) ACPI: PM-Timer IO Port: 0x1008
> > (XEN) ACPI: ACPI SLEEP INFO: pm1x_cnt[1004,0], pm1x_evt[1000,0]
> > (XEN) ACPI:                  wakeup_vec[7f6e3c0c], vec_size[20]
> > (XEN) ACPI: Local APIC address 0xfee00000
> > (XEN) ACPI: LAPIC (acpi_id[0x00] lapic_id[0x00] enabled)
> > (XEN) Processor #0 6:15 APIC version 20
> > (XEN) ACPI: LAPIC (acpi_id[0x01] lapic_id[0x01] enabled)
> > (XEN) Processor #1 6:15 APIC version 20
> > (XEN) ACPI: LAPIC_NMI (acpi_id[0x00] high edge lint[0x1])
> > (XEN) ACPI: LAPIC_NMI (acpi_id[0x01] high edge lint[0x1])
> > (XEN) ACPI: IOAPIC (id[0x02] address[0xfec00000] gsi_base[0])
> > (XEN) IOAPIC[0]: apic_id 2, version 32, address 0xfec00000, GSI 0-23
> > (XEN) ACPI: INT_SRC_OVR (bus 0 bus_irq 0 global_irq 2 dfl dfl)
> > (XEN) ACPI: INT_SRC_OVR (bus 0 bus_irq 9 global_irq 9 high level)
> > (XEN) ACPI: IRQ0 used by override.
> > (XEN) ACPI: IRQ2 used by override.
> > (XEN) ACPI: IRQ9 used by override.
> > (XEN) Enabling APIC mode:  Flat.  Using 1 I/O APICs
> > (XEN) ACPI: HPET id: 0x8086a201 base: 0xfed00000
> > (XEN) PCI: MCFG configuration 0: base f0000000 segment 0 buses 0 - 63
> > (XEN) PCI: MCFG area at f0000000 reserved in E820
> > (XEN) Table is not found!
> > (XEN) Using ACPI (MADT) for SMP configuration information
> > (XEN) IRQ limits: 24 GSI, 376 MSI/MSI-X
> > (XEN) Using scheduler: SMP Credit Scheduler (credit)
> > (XEN) Detected 1828.780 MHz processor.
> > (XEN) Initing memory sharing.
> > (XEN) mce_intel.c:1162: MCA Capability: BCAST 1 SER 0 CMCI 0 firstbank 1
> > extended MCE MSR 0
> > (XEN) Intel machine check reporting enabled
> > (XEN) I/O virtualisation disabled
> > (XEN) ENABLING IO-APIC IRQs
> > (XEN)  -> Using new ACK method
> > (XEN) ..TIMER: vector=0xF0 apic1=0 pin1=2 apic2=-1 pin2=-1
> > (XEN) Platform timer is 14.318MHz HPET
> > �(XEN) Allocated console ring of 16 KiB.
> > (XEN) VMX: Supported advanced features:
> > (XEN)  - APIC TPR shadow
> > (XEN)  - MSR direct-access bitmap
> > (XEN) HVM: ASIDs disabled.
> > (XEN) HVM: VMX enabled
> > (XEN) Brought up 2 CPUs
> > (XEN) HPET: 3 timers in total, 0 timers will be used for broadcast
> > (XEN) ACPI sleep modes: S3
> > (XEN) mcheck_poll: Machine check polling timer started.
> > (XEN) *** LOADING DOMAIN 0 ***
> > (XEN)  Xen  kernel: 64-bit, lsb, compat32
> > (XEN)  Dom0 kernel: 64-bit, PAE, lsb, paddr 0x1000000 -> 0x2ae1000
> > (XEN) PHYSICAL MEMORY ARRANGEMENT:
> > (XEN)  Dom0 alloc.:   0000000074000000->0000000078000000 (456560 pages
> > to be allocated)
> > (XEN)  Init. ramdisk: 000000007c9a6000->000000007f1ff400
> > (XEN) VIRTUAL MEMORY ARRANGEMENT:
> > (XEN)  Loaded kernel: ffffffff81000000->ffffffff82ae1000
> > (XEN)  Init. ramdisk: ffffffff82ae1000->ffffffff8533a400
> > (XEN)  Phys-Mach map: ffffffff8533b000->ffffffff856eae50
> > (XEN)  Start info:    ffffffff856eb000->ffffffff856eb4b4
> > (XEN)  Page tables:   ffffffff856ec000->ffffffff8571b000
> > (XEN)  Boot stack:    ffffffff8571b000->ffffffff8571c000
> > (XEN)  TOTAL:         ffffffff80000000->ffffffff85800000
> > (XEN)  ENTRY ADDRESS: ffffffff81d4f200
> > (XEN) Dom0 has maximum 2 VCPUs
> > (XEN) Scrubbing Free RAM: .done.
> > (XEN) Xen trace buffers: disabled
> > (XEN) Std. Loglevel: All
> > (XEN) Guest Loglevel: All
> > (XEN) **********************************************
> > (XEN) ******* WARNING: CONSOLE OUTPUT IS SYNCHRONOUS
> > (XEN) ******* This option is intended to aid debugging of Xen by
> > ensuring
> > (XEN) ******* that all output is synchronously delivered on the serial
> > line. (XEN) ******* However it can introduce SIGNIFICANT latencies and
> > affect (XEN) ******* timekeeping. It is NOT recommended for production
> > use! (XEN) **********************************************
> > (XEN) 3... 2... 1...
> > (XEN) *** Serial input -> DOM0 (type 'CTRL-a' three times to switch
> > input to Xen)
> > (XEN) Freed 224kB init memory.
> > mapping kernel into physical memory
> > Xen: setup ISA identity maps
> > about to get started...
> > [    0.000000] Initializing cgroup subsys cpuset
> > [    0.000000] Initializing cgroup subsys cpu
> > [    0.000000] Linux version 3.1.0-0.rc1.git6.1.fc17.x86_64
> > (mockbuild@xxxxxxxxxxxxxxxxxxxxxxxxxxxxx) (gcc version 4.6.1 20110715
> > (Red Hat 4.6.1-3) (GCC) ) #1 SMP Fri Aug 12 02:44:07 UTC 2011
> > [    0.000000] Command line: ro root=/dev/mapper/vg_insp6400-lv_root
> > SYSFONT=latarcyrheb-sun16 LANG=en_US.UTF-8 KEYTABLE=us console=hvc0
> > earlyprintk=xen nomodeset initcall_debug debug loglevel=10
> > [    0.000000] released 0 pages of unused memory
> > [    0.000000] Set 526733 page(s) to 1-1 mapping.
> > [    0.000000] BIOS-provided physical RAM map:
> > [    0.000000]  Xen: 0000000000000000 - 000000000009f000 (usable)
> > [    0.000000]  Xen: 000000000009f000 - 0000000000100000 (reserved)
> > [    0.000000]  Xen: 0000000000100000 - 0000000075fca000 (usable)
> > [    0.000000]  Xen: 0000000075fca000 - 000000007f6d3000 (unusable)
> > [    0.000000]  Xen: 000000007f6d3400 - 0000000080000000 (reserved)
> > [    0.000000]  Xen: 00000000f0000000 - 00000000f4007000 (reserved)
> > [    0.000000]  Xen: 00000000f4008000 - 00000000f400c000 (reserved)
> > [    0.000000]  Xen: 00000000fec00000 - 00000000fec10000 (reserved)
> > [    0.000000]  Xen: 00000000fed20000 - 00000000feda0000 (reserved)
> > [    0.000000]  Xen: 00000000fee00000 - 00000000fee10000 (reserved)
> > [    0.000000]  Xen: 00000000ffb00000 - 0000000100000000 (reserved)
> > [    0.000000]  Xen: 0000000100000000 - 0000000109709000 (usable)
> > [    0.000000] bootconsole [xenboot0] enabled
> > [    0.000000] NX (Execute Disable) protection: active
> > [    0.000000] DMI 2.4 present.
> > [    0.000000] DMI: Dell Inc. MM061                           /0KD882,
> > BIOS A17 06/13/2007
> > [    0.000000] e820 update range: 0000000000000000 - 0000000000010000
> > (usable) ==> (reserved)
> > [    0.000000] e820 remove range: 00000000000a0000 - 0000000000100000
> > (usable) [    0.000000] No AGP bridge found
> > [    0.000000] last_pfn = 0x109709 max_arch_pfn = 0x400000000
> > [    0.000000] last_pfn = 0x75fca max_arch_pfn = 0x400000000
> > [    0.000000] initial memory mapped : 0 - 0533b000
> > [    0.000000] Base memory trampoline at [ffff88000009a000] 9a000 size
> > 20480 [    0.000000] init_memory_mapping:
> > 0000000000000000-0000000075fca000 [    0.000000]  0000000000 -
> > 0075fca000 page 4k
> > [    0.000000] kernel direct mapping tables up to 75fca000 @
> > 75c17000-75fca000 [    0.000000] xen: setting RW the range 75f98000 -
> > 75fca000
> > [    0.000000] init_memory_mapping: 0000000100000000-0000000109709000
> > [    0.000000]  0100000000 - 0109709000 page 4k
> > [    0.000000] kernel direct mapping tables up to 109709000 @
> > 753c5000-75c17000
> > [    0.000000] xen: setting RW the range 75412000 - 75c17000
> > [    0.000000] RAMDISK: 02ae1000 - 0533b000
> > [    0.000000] ACPI: RSDP 00000000000fc1d0 00014 (v00 DELL  )
> > [    0.000000] ACPI: RSDT 000000007f6d3a0f 00040 (v01 DELL    M07    
> > 27D7060D ASL  00000061)
> > [    0.000000] ACPI: FACP 000000007f6d4800 00074 (v01 DELL    M07    
> > 27D7060D ASL  00000061)
> > [    0.000000] ACPI: DSDT 000000007f6d5400 04766 (v01 INT430 SYSFexxx
> > 00001001 INTL 20050624)
> > [    0.000000] ACPI: FACS 000000007f6e3c00 00040
> > [    0.000000] ACPI: HPET 000000007f6d4f00 00038 (v01 DELL    M07    
> > 00000001 ASL  00000061)
> > [    0.000000] ACPI: APIC 000000007f6d5000 00068 (v01 DELL    M07    
> > 27D7060D ASL  00000047)
> > [    0.000000] ACPI: MCFG 000000007f6d4fc0 0003E (v16 DELL    M07    
> > 27D7060D ASL  00000061)
> > [    0.000000] ACPI: SLIC 000000007f6d509c 00176 (v01 DELL    M07    
> > 27D7060D ASL  00000061)
> > [    0.000000] ACPI: BOOT 000000007f6d4bc0 00028 (v01 DELL    M07    
> > 27D7060D ASL  00000061)
> > [    0.000000] ACPI: SSDT 000000007f6d3a4f 004DC (v01  PmRef    CpuPm
> > 00003000 INTL 20050624)
> > [    0.000000] ACPI: Local APIC address 0xfee00000
> > [    0.000000] No NUMA configuration found
> > [    0.000000] Faking a node at 0000000000000000-0000000109709000
> > [    0.000000] Initmem setup node 0 0000000000000000-0000000109709000
> > [    0.000000]   NODE_DATA [0000000075fb5000 - 0000000075fc9fff]
> > [    0.000000] Zone PFN ranges:
> > [    0.000000]   DMA      0x00000010 -> 0x00001000
> > [    0.000000]   DMA32    0x00001000 -> 0x00100000
> > [    0.000000]   Normal   0x00100000 -> 0x00109709
> > [    0.000000] Movable zone start PFN for each node
> > [    0.000000] early_node_map[3] active PFN ranges
> > [    0.000000]     0: 0x00000010 -> 0x0000009f
> > [    0.000000]     0: 0x00000100 -> 0x00075fca
> > [    0.000000]     0: 0x00100000 -> 0x00109709
> > [    0.000000] On node 0 totalpages: 521826
> > [    0.000000]   DMA zone: 64 pages used for memmap
> > [    0.000000]   DMA zone: 5 pages reserved
> > [    0.000000]   DMA zone: 3914 pages, LIFO batch:0
> > [    0.000000]   DMA32 zone: 16320 pages used for memmap
> > [    0.000000]   DMA32 zone: 462858 pages, LIFO batch:31
> > [    0.000000]   Normal zone: 605 pages used for memmap
> > [    0.000000]   Normal zone: 38060 pages, LIFO batch:7
> > (XEN) mm.c:907:d0 Error getting mfn 1b79 (pfn 5555555555555555) from L1
> > entry 8000000001b79465 for l1e_owner=0, pg_owner=0
> > (XEN) mm.c:4967:d0 ptwr_emulate: could not get_page_from_l1e()
> > [    0.000000] BUG: unable to handle kernel NULL pointer dereference at
> > (null)
> > [    0.000000] IP: [<ffffffff8100643d>] __xen_set_pte+0x51/0x5b
> > [    0.000000] PGD 0
> > [    0.000000] Oops: 0003 [#1] SMP
> > [    0.000000] CPU 0
> > [    0.000000] Modules linked in:
> > [    0.000000]
> > [    0.000000] Pid: 0, comm: swapper Not tainted
> > 3.1.0-0.rc1.git6.1.fc17.x86_64 #1 Dell Inc. MM061
> > /0KD882
> > [    0.000000] RIP: e030:[<ffffffff8100643d>]  [<ffffffff8100643d>]
> > __xen_set_pte+0x51/0x5b
> > [    0.000000] RSP: e02b:ffffffff81a01da8  EFLAGS: 00010096
> > [    0.000000] RAX: 00000000ffffffff RBX: ffff880001e38ff8 RCX:
> > ffffffff829ad000
> > [    0.000000] RDX: 0000000010000001 RSI: 8000000001b79465 RDI:
> > ffff880001e38ff8
> > [    0.000000] RBP: ffffffff81a01dc8 R08: 0000000000000000 R09:
> > 0000000000007ff0
> > [    0.000000] R10: 0000000000007ff0 R11: 0000000000007ff0 R12:
> > 8000000001b79465
> > [    0.000000] R13: 0000000075fca000 R14: ffffffffffffffff R15:
> > 0000000000000000
> > [    0.000000] FS:  0000000000000000(0000) GS:ffffffff81b7a000(0000)
> > knlGS:0000000000000000
> > [    0.000000] CS:  e033 DS: 0000 ES: 0000 CR0: 0000000080050033
> > [    0.000000] CR2: 0000000000000000 CR3: 0000000001a04000 CR4:
> > 0000000000002660
> > [    0.000000] DR0: 0000000000000000 DR1: 0000000000000000 DR2:
> > 0000000000000000
> > [    0.000000] DR3: 0000000000000000 DR6: 0000000000000000 DR7:
> > 0000000000000000
> > [    0.000000] Process swapper (pid: 0, threadinfo ffffffff81a00000,
> > task
> > ffffffff81a0c020)
> > [    0.000000] Stack:
> > [    0.000000]  ffffffff829ad000 ffffffff829ad000 ffff880001e38ff8
> > 8000000001b79465
> > [    0.000000]  ffffffff81a01df8 ffffffff81006562 0000000000007ff0
> > ffffffffff5ff000
> > [    0.000000]  8000000001b79465 0000000075fca000 ffffffff81a01e08
> > ffffffff81032db4
> > [    0.000000] Call Trace:
> > [    0.000000]  [<ffffffff81006562>] xen_set_pte+0x75/0x95
> > [    0.000000]  [<ffffffff81032db4>] set_pte+0x10/0x12
> > [    0.000000]  [<ffffffff810332dd>] set_pte_vaddr_pud+0x3c/0x4b
> > [    0.000000]  [<ffffffff81033361>] set_pte_vaddr+0x75/0x7a
> > [    0.000000]  [<ffffffff810367ef>] __native_set_fixmap+0x27/0x2f
> > [    0.000000]  [<ffffffff81005119>] xen_set_fixmap+0x8c/0xbb
> > [    0.000000]  [<ffffffff81d55315>] map_vsyscall+0x50/0x55
> > [    0.000000]  [<ffffffff81d54a63>] setup_arch+0xa7e/0xb2f
> > [    0.000000]  [<ffffffff814ee065>] ? printk+0x51/0x53
> > [    0.000000]  [<ffffffff81d4f8a3>] start_kernel+0xe1/0x3ea
> > [    0.000000]  [<ffffffff81d4f2c4>] x86_64_start_reservations+0xaf/0xb3
> > [    0.000000]  [<ffffffff81d51f0f>] xen_start_kernel+0x57f/0x586
> > [    0.000000] Code: df e8 18 04 03 00 48 89 c7 e8 7c ee ff ff 48 8d 7d
> > e0 48 89 45 e0 4c 89 65 e8 e8 fd f4 ff ff bf 01 00 00 00 e8 a4 f7 ff ff
> > eb 03 <4c> 89 23 58 5a 5b 41 5c 5d c3 55 48 89 e5 41 57 41 56 41 55 41
> > [    0.000000] RIP  [<ffffffff8100643d>] __xen_set_pte+0x51/0x5b
> > [    0.000000]  RSP <ffffffff81a01da8>
> > [    0.000000] CR2: 0000000000000000
> > [    0.000000] ---[ end trace a7919e7f17c0a725 ]---
> > [    0.000000] Kernel panic - not syncing: Attempted to kill the idle
> > task! [    0.000000] Pid: 0, comm: swapper Tainted: G      D
> > 3.1.0-0.rc1.git6.1.fc17.x86_64 #1
> > [    0.000000] Call Trace:
> > [    0.000000]  [<ffffffff814edefb>] panic+0xa0/0x1b9
> > [    0.000000]  [<ffffffff8105febd>] do_exit+0x9e/0x82c
> > [    0.000000]  [<ffffffff8105de36>] ? kmsg_dump+0x131/0x14f
> > [    0.000000]  [<ffffffff8105dd8e>] ? kmsg_dump+0x89/0x14f
> > [    0.000000]  [<ffffffff814fa181>] oops_end+0xbc/0xc5
> > [    0.000000]  [<ffffffff814ed7aa>] no_context+0x208/0x217
> > [    0.000000]  [<ffffffff814ed952>] __bad_area_nosemaphore+0x199/0x1bc
> > [    0.000000]  [<ffffffff81007667>] ?
> > __raw_callee_save_xen_restore_fl+0x11/0x1e
> > [    0.000000]  [<ffffffff814ed988>] bad_area_nosemaphore+0x13/0x15
> > [    0.000000]  [<ffffffff814fc28b>] do_page_fault+0x1b1/0x3a2
> > [    0.000000]  [<ffffffff81007649>] ?
> > __raw_callee_save_xen_save_fl+0x11/0x1e [    0.000000] 
> > [<ffffffff814f9736>] ? error_sti+0x5/0x6
> > [    0.000000]  [<ffffffff814f92a4>] ? restore_args+0x30/0x30
> > [    0.000000]  [<ffffffff8108ace7>] ? arch_local_save_flags+0xb/0xd
> > [    0.000000]  [<ffffffff8108b7db>] ?
> > trace_hardirqs_off_caller+0x33/0x90 [    0.000000] 
> > [<ffffffff81252ecd>] ? trace_hardirqs_off_thunk+0x3a/0x3c [   
> > 0.000000]  [<ffffffff814f94f5>] page_fault+0x25/0x30
> > [    0.000000]  [<ffffffff8100643d>] ? __xen_set_pte+0x51/0x5b
> > [    0.000000]  [<ffffffff81006407>] ? __xen_set_pte+0x1b/0x5b
> > [    0.000000]  [<ffffffff81006562>] xen_set_pte+0x75/0x95
> > [    0.000000]  [<ffffffff81032db4>] set_pte+0x10/0x12
> > [    0.000000]  [<ffffffff810332dd>] set_pte_vaddr_pud+0x3c/0x4b
> > [    0.000000]  [<ffffffff81033361>] set_pte_vaddr+0x75/0x7a
> > [    0.000000]  [<ffffffff810367ef>] __native_set_fixmap+0x27/0x2f
> > [    0.000000]  [<ffffffff81005119>] xen_set_fixmap+0x8c/0xbb
> > [    0.000000]  [<ffffffff81d55315>] map_vsyscall+0x50/0x55
> > [    0.000000]  [<ffffffff81d54a63>] setup_arch+0xa7e/0xb2f
> > [    0.000000]  [<ffffffff814ee065>] ? printk+0x51/0x53
> > [    0.000000]  [<ffffffff81d4f8a3>] start_kernel+0xe1/0x3ea
> > [    0.000000]  [<ffffffff81d4f2c4>] x86_64_start_reservations+0xaf/0xb3
> > [    0.000000]  [<ffffffff81d51f0f>] xen_start_kernel+0x57f/0x586
> > (XEN) Domain 0 crashed: 'noreboot' set - not rebooting.


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