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

Re: [Xen-devel] problem using compiled kernel -- Sisu


  • To: Jeremy Fitzhardinge <jeremy@xxxxxxxx>
  • From: Sisu Xi <xisisu@xxxxxxxxx>
  • Date: Tue, 27 Jul 2010 14:19:48 -0500
  • Cc: xen-devel@xxxxxxxxxxxxxxxxxxx
  • Delivery-date: Tue, 27 Jul 2010 12:21:18 -0700
  • Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type:content-transfer-encoding; b=cS5u+wzt5QEoCN+Gf3it/yhIVoyibYmcZ1wl6I42kgLMGPybKyayaBEcCsKhArLYJW SJaUoGkxlT/1bP1UQuDd3I9Y1d1+FU85w6wfP5PKVhNsDuISrH7eG9P9SBPI75tRu2uv F7CSYfZ/A5gdRSWBzoo3qnFLVF0Gu30iaqC3c=
  • List-id: Xen developer discussion <xen-devel.lists.xensource.com>

Hi, Jeremy:

Thanks for the reply! i am using ubuntu 10.04, so grub2 is used here.
I checked my configure file, and it is:

menuentry "Debug Xen 4.0 / Ubuntu 10.04 kernel 2.6.34 pvops" {
insmod ext2
set root=(hd0,3)
multiboot (hd0,3)/boot/xen.gz dom0_mem=1024M loglvl=all
guest_loglvl=all sync_console console_to_ring com1=115200,8n1
console=com1
module (hd0,3)/boot/vmlinuz-2.6.32.16 console=hvc0 earlyprintk=xen nomodeset
module (hd0,3)/boot/initrd.img-2.6.32.16-xen.img
}

it already contains the console=hvc0 part..

what info are missing?

thanks very  much!

Best!

Yours,
sisu


On Tue, Jul 27, 2010 at 2:01 PM, Jeremy Fitzhardinge <jeremy@xxxxxxxx> wrote:
> ÂOn 07/27/2010 10:52 AM, Sisu Xi wrote:
>>
>> Hi, Jeremy:
>>
>> Thanks for the reply. I am using Ubuntu 10.04, Xen 4.0 compiled from
>> source code, kernel from your git, branch 2.6.32.16
>>
>> the full log of the screen is :
>>
>>
>>
>> Â__ Â__ Â Â Â Â Â Â_ Â_ Â Â___ Â _ Â Â Â Â Â Â ____
>> Â\ \/ /___ _ __ Â | || | Â/ _ \ / | Â _ __ ___| ___| Â Â_ __ Â_ __ ___
>> Â \ Â// _ \ '_ \ Â| || |_| | | || |__| '__/ __|___ \ __| '_ \| '__/ _ \
>> Â / Â\ Â__/ | | | |__ Â _| |_| || |__| | | (__ ___) |__| |_) | | | Â__/
>> Â/_/\_\___|_| |_| Â Â|_|(_)___(_)_| Â|_| Â\___|____/ Â | .__/|_| Â\___|
>> Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â|_|
>> (XEN) Xen version 4.0.1-rc5-pre (xisisu@) (gcc version 4.4.3 (Ubuntu
>> 4.4.3-4ubuntu5) ) Mon Jul 26 15:11:14 CDT 2010
>> (XEN) Latest ChangeSet: Wed Jul 21 13:55:00 2010 +0100 21286:8ee744f57567
>> (XEN) Console output is synchronous.
>> (XEN) Command line: loglvl=all guest_loglvl=all sync_console
>> console_to_ring com1=115200,8n1 console=com1
>> (XEN) Video information:
>> (XEN) ÂVGA is text mode 80x25, font 8x16
>> (XEN) ÂVBE/DDC methods: V2; EDID transfer time: 2 seconds
>> (XEN) Disc information:
>> (XEN) ÂFound 1 MBR signatures
>> (XEN) ÂFound 1 EDD information structures
>> (XEN) Xen-e820 RAM map:
>> (XEN) Â0000000000000000 - 00000000000a0000 (usable)
>> (XEN) Â00000000000f0000 - 0000000000100000 (reserved)
>> (XEN) Â0000000000100000 - 000000007fe86c00 (usable)
>> (XEN) Â000000007fe86c00 - 000000007fe88c00 (ACPI NVS)
>> (XEN) Â000000007fe88c00 - 000000007fe8ac00 (ACPI data)
>> (XEN) Â000000007fe8ac00 - 0000000080000000 (reserved)
>> (XEN) Â00000000e0000000 - 00000000e4000000 (reserved)
>> (XEN) Â00000000fec00000 - 00000000fed00400 (reserved)
>> (XEN) Â00000000fed20000 - 00000000feda0000 (reserved)
>> (XEN) Â00000000fee00000 - 00000000fef00000 (reserved)
>> (XEN) Â00000000ffb00000 - 0000000100000000 (reserved)
>> (XEN) System RAM: 2046MB (2095256kB)
>> (XEN) ACPI: RSDP 000FEB00, 0024 (r2 DELL Â)
>> (XEN) ACPI: XSDT 000FD24F, 005C (r1 DELL Â ÂGX620 Â Â Â Â Â7 ASL
>> Â61)
>> (XEN) ACPI: FACP 000FD347, 00F4 (r3 DELL Â ÂGX620 Â Â Â Â Â7 ASL
>> Â61)
>> (XEN) ACPI: DSDT FFFD32F4, 3D69 (r1  DELL  Âdt_ex   1000 INTL
>> 20050309)
>> (XEN) ACPI: FACS 7FE86C00, 0040
>> (XEN) ACPI: SSDT FFFD717C, 00AA (r1  DELL  Âst_ex   1000 INTL
>> 20050309)
>> (XEN) ACPI: APIC 000FD43B, 0072 (r1 DELL Â ÂGX620 Â Â Â Â Â7 ASL
>> Â61)
>> (XEN) ACPI: BOOT 000FD4AD, 0028 (r1 DELL Â ÂGX620 Â Â Â Â Â7 ASL
>> Â61)
>> (XEN) ACPI: ASF! 000FD4D5, 0067 (r16 DELL Â ÂGX620 Â Â Â Â Â7 ASL
>> Â61)
>> (XEN) ACPI: MCFG 000FD53C, 003E (r1 DELL Â ÂGX620 Â Â Â Â Â7 ASL
>> Â61)
>> (XEN) ACPI: HPET 000FD57A, 0038 (r1 DELL Â ÂGX620 Â Â Â Â Â7 ASL
>> Â61)
>> (XEN) No NUMA configuration found
>> (XEN) Faking a node at 0000000000000000-000000007fe86000
>> (XEN) Xen heap: 8MB (8856kB)
>> (XEN) Domain heap initialised
>> (XEN) found SMP MP-table at 000fe710
>> (XEN) DMI 2.3 present.
>> (XEN) Using APIC driver default
>> (XEN) ACPI: PM-Timer IO Port: 0x808
>> (XEN) ACPI: ACPI SLEEP INFO: pm1x_cnt[804,0], pm1x_evt[800,0]
>> (XEN) ACPI: Â Â Â Â Â Â Â Â Âwakeup_vec[7fe86c0c], vec_size[20]
>> (XEN) ACPI: Local APIC address 0xfee00000
>> (XEN) ACPI: LAPIC (acpi_id[0x01] lapic_id[0x00] enabled)
>> (XEN) Processor #0 15:6 APIC version 20
>> (XEN) ACPI: LAPIC (acpi_id[0x02] lapic_id[0x01] enabled)
>> (XEN) Processor #1 15:6 APIC version 20
>> (XEN) ACPI: LAPIC (acpi_id[0x03] lapic_id[0x05] disabled)
>> (XEN) ACPI: LAPIC (acpi_id[0x04] lapic_id[0x07] disabled)
>> (XEN) ACPI: LAPIC_NMI (acpi_id[0xff] high level lint[0x1])
>> (XEN) ACPI: IOAPIC (id[0x08] address[0xfec00000] gsi_base[0])
>> (XEN) IOAPIC[0]: apic_id 8, 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) Using ACPI (MADT) for SMP configuration information
>> (XEN) Using scheduler: SMP Credit Scheduler (credit)
>> (XEN) Detected 3391.793 MHz processor.
>> (XEN) CPU0: VMX disabled by BIOS.
>> (XEN) VMX: failed to initialise.
>> (XEN) CPU0: Intel Extended MCE MSRs (24) available
>> (XEN) Intel machine check reporting enabled
>> (XEN) I/O virtualisation disabled
>> (XEN) CPU1: Intel Extended MCE MSRs (24) available
>> (XEN) Total of 2 processors activated.
>> (XEN) ENABLING IO-APIC IRQs
>> (XEN) Â-> ÂUsing new ACK method
>> (XEN) ..TIMER: vector=0xF0 apic1=0 pin1=2 apic2=-1 pin2=-1
>> (XEN) checking TSC synchronization across 2 CPUs: passed.
>> (XEN) Platform timer is 14.318MHz HPET
>> Ë(XEN) Allocated console ring of 16 KiB.
>> (XEN) Brought up 2 CPUs
>> (XEN) microcode.c:73:d32767 microcode: CPU1 resumed
>> (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: 32-bit, PAE, lsb
>> (XEN) ÂDom0 kernel: 32-bit, PAE, lsb, paddr 0x400000 -> Â0xad2000
>> (XEN) PHYSICAL MEMORY ARRANGEMENT:
>> (XEN) ÂDom0 alloc.: Â 0000000020000000->0000000030000000 (419388 pages
>> to be allocated)
>> (XEN) VIRTUAL MEMORY ARRANGEMENT:
>> (XEN) ÂLoaded kernel: c0400000->c0ad2000
>> (XEN) ÂInit. ramdisk: c0ad2000->c8902600
>> (XEN) ÂPhys-Mach map: c8903000->c8adc8f0
>> (XEN) ÂStart info: Â Âc8add000->c8add47c
>> (XEN) ÂPage tables: Â c8ade000->c8b29000
>> (XEN) ÂBoot stack: Â Âc8b29000->c8b2a000
>> (XEN) ÂTOTAL: Â Â Â Â c0000000->c8c00000
>> (XEN) ÂENTRY ADDRESS: c0893000
>> (XEN) Dom0 has maximum 2 VCPUs
>> (XEN) Scrubbing Free RAM: .done.
>> (XEN) trace.c:89:d32767 calc_tinfo_first_offset: NR_CPUs 128,
>> offset_in_bytes 258, t_info_first_offset 65
>> (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 156kB init memory.
>> mapping kernel into physical memory
>> Xen: setup ISA identity maps
>> about to get started...
>> Reserving virtual address space above 0xf5800000
>> Initializing cgroup subsys cpuset
>> Initializing cgroup subsys cpu
>> Linux version 2.6.32.16 (xisisu@xisisu-desktop) (gcc version 4.4.3
>> (Ubuntu 4.4.3-4ubuntu5) ) #3 SMP Tue Jul 27 10:34:43 CDT 2010
>> KERNEL supported cpus:
>> Â Intel GenuineIntel
>> Â AMD AuthenticAMD
>> Â NSC Geode by NSC
>> Â Cyrix CyrixInstead
>> Â Centaur CentaurHauls
>> Â Transmeta GenuineTMx86
>> Â Transmeta TransmetaCPU
>> Â UMC UMC UMC UMC
>> released 0 pages of unused memory
>> BIOS-provided physical RAM map:
>> ÂXen: 0000000000000000 - 00000000000a0000 (usable)
>> ÂXen: 00000000000a0000 - 0000000000100000 (reserved)
>> ÂXen: 0000000000100000 - 000000007663c000 (usable)
>> ÂXen: 000000007fe86c00 - 000000007fe88c00 (ACPI NVS)
>> ÂXen: 000000007fe88c00 - 000000007fe8ac00 (ACPI data)
>> ÂXen: 000000007fe8ac00 - 0000000080000000 (reserved)
>> ÂXen: 00000000e0000000 - 00000000e4000000 (reserved)
>> ÂXen: 00000000fec00000 - 00000000fed00400 (reserved)
>> ÂXen: 00000000fed20000 - 00000000feda0000 (reserved)
>> ÂXen: 00000000fee00000 - 00000000fef00000 (reserved)
>> ÂXen: 00000000ffb00000 - 0000000100000000 (reserved)
>> bootconsole [xenboot0] enabled
>> DMI 2.3 present.
>> last_pfn = 0x7663c max_arch_pfn = 0x1000000
>> x86 PAT enabled: cpu 0, old 0x50100070406, new 0x7010600070106
>> init_memory_mapping: 0000000000000000-000000002d1fe000
>> NX (Execute Disable) protection: active
>> RAMDISK: 00ad2000 - 08902600
>> ACPI: RSDP 000feb00 00024 (v02 DELL Â)
>> ACPI: XSDT 000fd24f 0005C (v01 DELL Â ÂGX620 Â 00000007 ASL Â00000061)
>> ACPI: FACP 000fd347 000F4 (v03 DELL Â ÂGX620 Â 00000007 ASL Â00000061)
>> ACPI: DSDT fffd32f4 03D69 (v01 Â DELL Â Âdt_ex 00001000 INTL 20050309)
>> ACPI: FACS 7fe86c00 00040
>> ACPI: SSDT fffd717c 000AA (v01 Â DELL Â Âst_ex 00001000 INTL 20050309)
>> ACPI: APIC 000fd43b 00072 (v01 DELL Â ÂGX620 Â 00000007 ASL Â00000061)
>> ACPI: BOOT 000fd4ad 00028 (v01 DELL Â ÂGX620 Â 00000007 ASL Â00000061)
>> ACPI: ASF! 000fd4d5 00067 (v16 DELL Â ÂGX620 Â 00000007 ASL Â00000061)
>> ACPI: MCFG 000fd53c 0003E (v01 DELL Â ÂGX620 Â 00000007 ASL Â00000061)
>> ACPI: HPET 000fd57a 00038 (v01 DELL Â ÂGX620 Â 00000007 ASL Â00000061)
>> 1172MB HIGHMEM available.
>> 721MB LOWMEM available.
>> Â mapped low ram: 0 - 2d1fe000
>> Â low ram: 0 - 2d1fe000
>> Â node 0 low ram: 00000000 - 2d1fe000
>> Â node 0 bootmap 00007000 - 0000ca40
>> (10 early reservations) ==> Âbootmem [0000000000 - 002d1fe000]
>> Â #0 [0000000000 - 0000001000] Â BIOS data page ==> Â[0000000000 -
>> 0000001000]
>> Â #1 [0008ade000 - 0008b29000] Â XEN PAGETABLES ==> Â[0008ade000 -
>> 0008b29000]
>> Â #2 [0000001000 - 0000002000] Â ÂEX TRAMPOLINE ==> Â[0000001000 -
>> 0000002000]
>> Â #3 [0000006000 - 0000007000] Â Â Â TRAMPOLINE ==> Â[0000006000 -
>> 0000007000]
>> Â #4 [0000400000 - 00009ac9b4] Â ÂTEXT DATA BSS ==> Â[0000400000 -
>> 00009ac9b4]
>> Â #5 [0000ad2000 - 0008902600] Â Â Â Â ÂRAMDISK ==> Â[0000ad2000 -
>> 0008902600]
>> Â #6 [0008903000 - 0008ade000] Â XEN START INFO ==> Â[0008903000 -
>> 0008ade000]
>> Â #7 [00009ad000 - 00009ad190] Â Â Â Â Â Â ÂBRK ==> Â[00009ad000 -
>> 00009ad190]
>> Â #8 [0000100000 - 0000220000] Â Â Â Â ÂPGTABLE ==> Â[0000100000 -
>> 0000220000]
>> Â #9 [0000007000 - 000000d000] Â Â Â Â ÂBOOTMAP ==> Â[0000007000 -
>> 000000d000]
>> found SMP MP-table at [c00fe710] fe710
>> Zone PFN ranges:
>> Â DMA Â Â Â0x00000000 -> Â0x00001000
>>  Normal  0x00001000 -> Â0x0002d1fe
>> Â HighMem Â0x0002d1fe -> Â0x0007663c
>> Movable zone start PFN for each node
>> early_node_map[2] active PFN ranges
>> Â Â 0: 0x00000000 -> Â0x000000a0
>> Â Â 0: 0x00000100 -> Â0x0007663c
>> Using APIC driver default
>> ACPI: PM-Timer IO Port: 0x808
>> ACPI: LAPIC (acpi_id[0x01] lapic_id[0x00] enabled)
>> ACPI: LAPIC (acpi_id[0x02] lapic_id[0x01] enabled)
>> ACPI: LAPIC (acpi_id[0x03] lapic_id[0x05] disabled)
>> ACPI: LAPIC (acpi_id[0x04] lapic_id[0x07] disabled)
>> ACPI: LAPIC_NMI (acpi_id[0xff] high level lint[0x1])
>> ACPI: IOAPIC (id[0x08] address[0xfec00000] gsi_base[0])
>> IOAPIC[0]: apic_id 8, version 0, address 0xfec00000, GSI 0-0
>> ACPI: INT_SRC_OVR (bus 0 bus_irq 0 global_irq 2 dfl dfl)
>> ERROR: Unable to locate IOAPIC for GSI 2
>> ACPI: INT_SRC_OVR (bus 0 bus_irq 9 global_irq 9 high level)
>> ERROR: Unable to locate IOAPIC for GSI 9
>> Using ACPI (MADT) for SMP configuration information
>> ACPI: HPET id: 0x8086a201 base: 0xfed00000
>> SMP: Allowing 2 CPUs, 0 hotplug CPUs
>> Allocating PCI resources starting at 80000000 (gap: 80000000:60000000)
>> Booting paravirtualized kernel on Xen
>> Xen version: 4.0.1-rc5-pre (preserve-AD) (dom0)
>> NR_CPUS:8 nr_cpumask_bits:8 nr_cpu_ids:2 nr_node_ids:1
>> PERCPU: Embedded 16 pages/cpu @c9a06000 s42264 r0 d23272 u65536
>> pcpu-alloc: s42264 r0 d23272 u65536 alloc=16*4096
>> pcpu-alloc: [0] 0 [0] 1
>> Xen: using vcpu_info placement
>> Built 1 zonelists in Zone order, mobility grouping on. ÂTotal pages:
>> 481039
>> Kernel command line: earlyprintk=xen
>> PID hash table entries: 4096 (order: 2, 16384 bytes)
>> Dentry cache hash table entries: 131072 (order: 7, 524288 bytes)
>> Inode-cache hash table entries: 65536 (order: 6, 262144 bytes)
>> Enabling fast FPU save and restore... done.
>> Enabling unmasked SIMD FPU exception support... done.
>> Initializing CPU#0
>> DMA: Placing 64MB software IO TLB between c9aeb000 - cdaeb000
>> DMA: software IO TLB at phys 0x9aeb000 - 0xdaeb000
>> xen_swiotlb_fixup: buf=c9aeb000 size=67108864
>> xen_swiotlb_fixup: buf=cdb4b000 size=32768
>> Initializing HighMem for node 0 (0002d1fe:0007663c)
>> Memory: 1717960k/1939696k available (2999k kernel code, 220500k
>> reserved, 1680k data, 472k init, 1200376k highmem)
>> virtual kernel memory layout:
>> Â Â fixmap Â: 0xf567e000 - 0xf57ff000 Â (1540 kB)
>>   pkmap  : 0xf5200000 - 0xf5400000  (2048 kB)
>> Â Â vmalloc : 0xed9fe000 - 0xf51fe000 Â ( 120 MB)
>> Â Â lowmem Â: 0xc0000000 - 0xed1fe000 Â ( 721 MB)
>> Â Â Â .init : 0xc0893000 - 0xc0909000 Â ( 472 kB)
>> Â Â Â .data : 0xc06ede20 - 0xc08920f8 Â (1680 kB)
>> Â Â Â .text : 0xc0400000 - 0xc06ede20 Â (2999 kB)
>> SLUB: Genslabs=13, HWalign=128, Order=0-3, MinObjects=0, CPUs=2, Nodes=1
>> Hierarchical RCU implementation.
>> NR_IRQS:2304 nr_irqs:768
>> ACPI: INT_SRC_OVR (bus 0 bus_irq 0 global_irq 2 dfl dfl)
>> ACPI: INT_SRC_OVR (bus 0 bus_irq 9 global_irq 9 high level)
>> xen: sci override: source_irq=9 global_irq=9 trigger=c polarity=1
>> xen_allocate_pirq: returning irq 9 for gsi 9
>> xen: acpi sci 9
>> Console: colour VGA+ 80x25
>> console [tty0] enabled, bootconsole disabled
>
> You're losing output at this point because you need console=hvc0 on the
> kernel command line.
>
> Â ÂJ
>
>> (XEN) PCI add device 00:00.0
>> (XEN) PCI add device 00:01.0
>> (XEN) PCI add device 00:1c.0
>> (XEN) PCI add device 00:1c.1
>> (XEN) PCI add device 00:1d.0
>> (XEN) PCI add device 00:1d.1
>> (XEN) PCI add device 00:1d.2
>> (XEN) PCI add device 00:1d.3
>> (XEN) PCI add device 00:1d.7
>> (XEN) PCI add device 00:1e.0
>> (XEN) PCI add device 00:1e.2
>> (XEN) PCI add device 00:1f.0
>> (XEN) PCI add device 00:1f.1
>> (XEN) PCI add device 00:1f.2
>> (XEN) PCI add device 00:1f.3
>> (XEN) PCI add device 01:00.0
>> (XEN) PCI add device 01:00.1
>> (XEN) PCI add device 02:00.0
>> (XEN) PCI add device 04:00.0
>> (XEN) irq.c:1139:d0 Cannot bind IRQ 4 to guest. In use by 'ns16550'.
>> (XEN) irq.c:1139:d0 Cannot bind IRQ 2 to guest. In use by 'cascade'.
>> (XEN) irq.c:1139:d0 Cannot bind IRQ 4 to guest. In use by 'ns16550'.
>> (XEN) irq.c:1139:d0 Cannot bind IRQ 2 to guest. In use by 'cascade'.
>> (XEN) irq.c:1139:d0 Cannot bind IRQ 4 to guest. In use by 'ns16550'.
>> (XEN) irq.c:1139:d0 Cannot bind IRQ 2 to guest. In use by 'cascade'.
>> (XEN) irq.c:1139:d0 Cannot bind IRQ 4 to guest. In use by 'ns16550'.
>> (XEN) irq.c:1139:d0 Cannot bind IRQ 2 to guest. In use by 'cascade'.
>>
>>
>> Thanks very much!
>>
>> Best!
>>
>> Yours,
>> Sisu
>>
>>
>> On Tue, Jul 27, 2010 at 12:05 PM, Jeremy Fitzhardinge<jeremy@xxxxxxxx>
>> Âwrote:
>>>
>>> ÂOn 07/26/2010 10:48 PM, Sisu Xi wrote:
>>>>
>>>> Hi, Jeremy:
>>>>
>>>> I have retried Linux 2.6.32.16 on Ubuntu 10.04, with Xen 4.0, using your
>>>> git.
>>>>
>>>> the vmlinux and .config file is attached.
>>>>
>>>> This time it shows the following error on the serial console:
>>>
>>> Please try to capture a *full* log output. ÂIf you're using "screen" you
>>> should be able to save everything to a logfile.
>>>
>>>> [ Â Â0.000000] Xen version: 4.0.1-rc5-pre (preserve-AD) (dom0)
>>>> [ Â Â0.000000] NR_CPUS:8 nr_cpumask_bits:8 nr_cpu_ids:2 nr_node_ids:1
>>>> [ Â Â0.000000] PERCPU: Embedded 15 pages/cpu @cb6dc000 s39320 r0 d22120
>>>> u65536
>>>> [ Â Â0.000000] pcpu-alloc: s39320 r0 d22120 u65536 alloc=16*4096
>>>> [ Â Â0.000000] pcpu-alloc: [0] 0 [0] 1
>>>> [ Â Â0.000000] Xen: using vcpu_info placement
>>>> [ Â Â0.000000] Built 1 zonelists in Zone order, mobility grouping on.
>>>> Total pages: 481035
>>>> [ Â Â0.000000] Kernel command line: earlyprintk=xen
>>>> [ Â Â0.000000] PID hash table entries: 4096 (order: 2, 16384 bytes)
>>>> [ Â Â0.000000] Dentry cache hash table entries: 131072 (order: 7, 524288
>>>> bytes)
>>>> [ Â Â0.000000] Inode-cache hash table entries: 65536 (order: 6, 262144
>>>> bytes)
>>>> [ Â Â0.000000] Enabling fast FPU save and restore... done.
>>>> [ Â Â0.000000] Enabling unmasked SIMD FPU exception support... done.
>>>> [ Â Â0.000000] Initializing CPU#0
>>>> [ Â Â0.000000] allocated 9698480 bytes of page_cgroup
>>>> [ Â Â0.000000] please try 'cgroup_disable=memory' option if you don't
>>>> want memory cgroups
>>>> [ Â Â0.000000] DMA: Placing 64MB software IO TLB between cc100000 -
>>>> d0100000
>>>> [ Â Â0.000000] DMA: software IO TLB at phys 0xc100000 - 0x10100000
>>>> [ Â Â0.000000] xen_swiotlb_fixup: buf=cc100000 size=67108864
>>>> [ Â Â0.000000] xen_swiotlb_fixup: buf=d0160000 size=32768
>>>> [ Â Â0.000000] Initializing HighMem for node 0 (0002d1fe:0007663c)
>>>> [ Â Â0.000000] Memory: 1676984k/1939696k available (4734k kernel code,
>>>> 261416k reserved, 2167k data, 680k init, 1200376k highmem)
>>>> [ Â Â0.000000] virtual kernel memory layout:
>>>> [ Â Â0.000000] Â Â fixmap Â: 0xf571e000 - 0xf57ff000 Â ( 900 kB)
>>>> [  Â0.000000]   pkmap  : 0xf5200000 - 0xf5400000  (2048 kB)
>>>> [ Â Â0.000000] Â Â vmalloc : 0xed9fe000 - 0xf51fe000 Â ( 120 MB)
>>>> [ Â Â0.000000] Â Â lowmem Â: 0xc0000000 - 0xed1fe000 Â ( 721 MB)
>>>> [ Â Â0.000000] Â Â Â .init : 0xc07be000 - 0xc0868000 Â ( 680 kB)
>>>> [ Â Â0.000000] Â Â Â .data : 0xc059fa33 - 0xc07bd8e8 Â (2167 kB)
>>>> [ Â Â0.000000] Â Â Â .text : 0xc0100000 - 0xc059fa33 Â (4734 kB)
>>>> [ Â Â0.000000] SLUB: Genslabs=13, HWalign=128, Order=0-3,
>>>> MinObjects=0, CPUs=2, Nodes=1
>>>> [ Â Â0.000000] Hierarchical RCU implementation.
>>>> [ Â Â0.000000] NR_IRQS:2304 nr_irqs:768
>>>> [ Â Â0.000000] ACPI: INT_SRC_OVR (bus 0 bus_irq 0 global_irq 2 dfl dfl)
>>>> [ Â Â0.000000] ACPI: INT_SRC_OVR (bus 0 bus_irq 9 global_irq 9 high
>>>> level)
>>>> [ Â Â0.000000] xen: sci override: source_irq=9 global_irq=9 trigger=c
>>>> polarity=1
>>>> [ Â Â0.000000] xen_allocate_pirq: returning irq 9 for gsi 9
>>>> [ Â Â0.000000] xen: acpi sci 9
>>>> [ Â Â0.000000] Console: colour VGA+ 80x25
>>>> [ Â Â0.000000] console [tty0] enabled, bootconsole disabled
>>>> (XEN) PCI add device 00:00.0
>>>> (XEN) PCI add device 00:01.0
>>>> (XEN) PCI add device 00:1c.0
>>>> (XEN) PCI add device 00:1c.1
>>>> (XEN) PCI add device 00:1d.0
>>>> (XEN) PCI add device 00:1d.1
>>>> (XEN) PCI add device 00:1d.2
>>>> (XEN) PCI add device 00:1d.3
>>>> (XEN) PCI add device 00:1d.7
>>>> (XEN) PCI add device 00:1e.0
>>>> (XEN) PCI add device 00:1e.2
>>>> (XEN) PCI add device 00:1f.0
>>>> (XEN) PCI add device 00:1f.1
>>>> (XEN) PCI add device 00:1f.2
>>>> (XEN) PCI add device 00:1f.3
>>>> (XEN) PCI add device 01:00.0
>>>> (XEN) PCI add device 01:00.1
>>>> (XEN) PCI add device 02:00.0
>>>> (XEN) PCI add device 04:00.0
>>>>
>>>>
>>>>
>>>>
>>>> after that, the serial output stops, and the target machines stops at
>>>> the:
>>>> usbhid: v2.6: USB HID core driver
>>>> Gave up waiting for root device. Common problems:
>>>> - Boot args (cat /proc/cmdline)
>>>> Â -check rootdelay= (did the system wait long enough?)
>>>> Â -check root= (did the system wait for the right device?)
>>>> - Missing modules (cat /proc/modules; ls /dev)
>>>> ALERT! does not exist. Dropping to a shell!
>>>>
>>>> BusyBox built-in shell (ash)
>>>>
>>>> (initramfs)
>>>>
>>>>
>>>> Could you help me with this?
>>>
>>> Not really. ÂThis is quite different from the original report of an early
>>> oops, which was clearly a kernel problem. ÂThis seems to be something
>>> wrong
>>> with your kernel config (either compile-time or runtime). ÂMake sure you
>>> have device drivers enabled for all your devices, that your initrd
>>> contains
>>> those drivers, and your distros startup scripts are doing the right
>>> thing.
>>> ÂI'm not familiar with any busybox-using distros, so I can't help in
>>> detail.
>>> ÂMake sure your console on the kernel command line is "console=hvc0", and
>>> "ignore_loglevel" is also useful to make sure all the console output is
>>> printed.
>>>
>>> Thanks,
>>> Â ÂJ
>>>
>>>
>>>> Thanks very much!
>>>>
>>>> Best!
>>>>
>>>> Yours,
>>>> Sisu
>>>>
>>>>
>>>>
>>>> On Mon, Jul 26, 2010 at 10:08 PM, Sisu Xi<xisisu@xxxxxxxxx> Â Âwrote:
>>>>>
>>>>> I download them directly from kernel.org and configured it following
>>>>> the tutorial.
>>>>>
>>>>> I have also tried both the 2.6.32.16 kernel and the 2.6.31.13 kernel
>>>>> from git.kernel.org/pub/scm/linux/kernel/git/jeremy/xen.git,
>>>>> they all give the same error message
>>>>>
>>>>> thanks very much!
>>>>>
>>>>> Best!
>>>>>
>>>>> Yours,
>>>>> Sisu
>>>>>
>>>>> On Mon, Jul 26, 2010 at 10:05 PM, Jeremy Fitzhardinge<jeremy@xxxxxxxx>
>>>>> Âwrote:
>>>>>>
>>>>>> ÂOn 07/26/2010 07:15 PM, Sisu Xi wrote:
>>>>>>>
>>>>>>> Sorry I forgot to attach the file.
>>>>>>>
>>>>>>> Here they are.
>>>>>>>
>>>>>> Which branch/source are these from? ÂThe xen/stable-2.6.32.x branch is
>>>>>> the
>>>>>> most supported for dom0 use at the moment.
>>>>>>
>>>>>> Â ÂJ
>>>>>>
>>>>>>> Thanks!
>>>>>>>
>>>>>>> On Mon, Jul 26, 2010 at 9:13 PM, Sisu Xi<xisisu@xxxxxxxxx>
>>>>>>> Âwrote:
>>>>>>>>
>>>>>>>> Hi, Jeremy:
>>>>>>>>
>>>>>>>> Thanks for the reply!
>>>>>>>>
>>>>>>>> I am using screen on Mac to show the serial debug info,
>>>>>>>>
>>>>>>>> my .config file and vmlinux file are in the attachment.
>>>>>>>>
>>>>>>>> Thanks very much!
>>>>>>>>
>>>>>>>> Best!
>>>>>>>>
>>>>>>>> Yours,
>>>>>>>> Sisu
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>> On Mon, Jul 26, 2010 at 9:02 PM, Jeremy
>>>>>>>> Fitzhardinge<jeremy@xxxxxxxx>
>>>>>>>> Âwrote:
>>>>>>>>>
>>>>>>>>> ÂOn 07/26/2010 02:57 PM, Sisu Xi wrote:
>>>>>>>>>>
>>>>>>>>>> Hi, all:
>>>>>>>>>>
>>>>>>>>>> I have compiled Xen 4.0 from the source. it goes as the tutorials
>>>>>>>>>> says.
>>>>>>>>>>
>>>>>>>>>> Then I download the kernel to compile it, (tried 2.6.34.1,
>>>>>>>>>> 2.6.31.13,
>>>>>>>>>> 2.6.32.16), following the instructions to configure the kernel,
>>>>>>>>>> and
>>>>>>>>>> tried on Fedora 13 and Ubuntu 10.04. The kernel compiles with no
>>>>>>>>>> error, and I configured the grub to show the debug info through a
>>>>>>>>>> serial port.
>>>>>>>>>>
>>>>>>>>>> But I got the same error message, which is:
>>>>>>>>>>
>>>>>>>>>> (XEN) ÂXen Âkernel: 32-bit, PAE, lsb
>>>>>>>>>> (XEN) ÂDom0 kernel: 32-bit, PAE, lsb, paddr 0x100000 ->
>>>>>>>>>> Â0xa45000
>>>>>>>>>> (XEN) PHYSICAL MEMORY ARRANGEMENT:
>>>>>>>>>> (XEN) ÂDom0 alloc.: Â 0000000020000000->0000000030000000 (419388
>>>>>>>>>> pages
>>>>>>>>>> to be allocated)
>>>>>>>>>> (XEN) VIRTUAL MEMORY ARRANGEMENT:
>>>>>>>>>> (XEN) ÂLoaded kernel: c0100000->c0a45000
>>>>>>>>>> (XEN) ÂInit. ramdisk: c0a45000->ca662000
>>>>>>>>>> (XEN) ÂPhys-Mach map: ca662000->ca83b8f0
>>>>>>>>>> (XEN) ÂStart info: Â Âca83c000->ca83c47c
>>>>>>>>>> (XEN) ÂPage tables: Â ca83d000->ca898000
>>>>>>>>>> (XEN) ÂBoot stack: Â Âca898000->ca899000
>>>>>>>>>> (XEN) ÂTOTAL: Â Â Â Â c0000000->cac00000
>>>>>>>>>> (XEN) ÂENTRY ADDRESS: c07ca000
>>>>>>>>>> (XEN) Dom0 has maximum 2 VCPUs
>>>>>>>>>> (XEN) Scrubbing Free RAM: .done.
>>>>>>>>>> (XEN) Xen trace buffers: disabled
>>>>>>>>>> (XEN) Std. Loglevel: Errors and warnings
>>>>>>>>>> (XEN) Guest Loglevel: Nothing (Rate-limited: Errors and warnings)
>>>>>>>>>> (XEN) *** Serial input -> Â Â Â ÂDOM0 (type 'CTRL-a' three times
>>>>>>>>>> to
>>>>>>>>>> switch
>>>>>>>>>> input to Xen)
>>>>>>>>>> (XEN) Freed 156kB init memory.
>>>>>>>>>> mapping kernel into physical memory
>>>>>>>>>> about to get started...
>>>>>>>>>> [ Â Â0.000000] Reserving virtual address space above 0xf5800000
>>>>>>>>>> (XEN) d0:v0: unhandled page fault (ec=0000)
>>>>>>>>>> (XEN) Pagetable walk from 15555c08:
>>>>>>>>>> (XEN) ÂL3[0x000] = 000000002a83e001 0000a83e
>>>>>>>>>> (XEN) ÂL2[0x0aa] = 0000000000000000 ffffffff
>>>>>>>>>> (XEN) domain_crash_sync called from entry.S (ff1cbe3e)
>>>>>>>>>> (XEN) Domain 0 (vcpu#0) crashed on cpu#0:
>>>>>>>>>> (XEN) ----[ Xen-4.0.1-rc5-pre Âx86_32p Âdebug=n ÂNot tainted ]----
>>>>>>>>>> (XEN) CPU: Â Â0
>>>>>>>>>> (XEN) EIP: Â Âe019:[<c03dcc4d>]
>>>>>>>>>> (XEN) EFLAGS: 00000206 Â EM: 1 Â CONTEXT: pv guest
>>>>>>>>>> (XEN) eax: 00000000 Â ebx: 00000000 Â ecx: 00000008 Â edx:
>>>>>>>>>> c0710d3d
>>>>>>>>>> (XEN) esi: 15555000  edi: c07c6a24  ebp: c0777dac  esp:
>>>>>>>>>> c0777d50
>>>>>>>>>> (XEN) cr0: 8005003b  cr4: 000026f0  cr3: 20779000  cr2:
>>>>>>>>>> 15555c08
>>>>>>>>>> (XEN) ds: e021 Â es: e021 Â fs: 00d8 Â gs: 00e0 Â ss: e021 Â cs:
>>>>>>>>>> e019
>>>>>>>>>> (XEN) Guest stack trace from esp=c0777d50:
>>>>>>>>>> (XEN) Â Â00000000 c03dcc4d 0001e019 00010006 00000000 c0777d7c
>>>>>>>>>> c0777d84
>>>>>>>>>> 00000008
>>>>>>>>>> (XEN) Â Âc0710d3d 00000000 00000008 c0777dc0 c01315ce 00000000
>>>>>>>>>> 00000000
>>>>>>>>>> 08dabc4e
>>>>>>>>>> (XEN) Â Â00000001 00000000 00000000 00000000 00000000 00000000
>>>>>>>>>> c07c6a24
>>>>>>>>>> c0777dd0
>>>>>>>>>> (XEN) Â Âc03dce01 c089af63 00000040 c089af63 00000040 c07ac7e0
>>>>>>>>>> c03dcda0
>>>>>>>>>> c07c6a24
>>>>>>>>>> (XEN) Â Âc0777dec c0151b84 00000040 00000003 00000043 00000043
>>>>>>>>>> 00000006
>>>>>>>>>> c0777dfc
>>>>>>>>>> (XEN) Â Âc0151bee 00000043 0000023d c0777e24 c0152065 0001ffff
>>>>>>>>>> 367ac7e0
>>>>>>>>>> fffffdc3
>>>>>>>>>> (XEN) Â Â00000006 00000000 00000000 c07ac7e0 c089aec0 c0777e50
>>>>>>>>>> c0152a30
>>>>>>>>>> 00000000
>>>>>>>>>> (XEN) Â Â00000000 c08baf83 00000034 006ce332 00000000 c0804fac
>>>>>>>>>> 00000000
>>>>>>>>>> c0804fac
>>>>>>>>>> (XEN) Â Âc0777e60 c012d796 00000000 c0804fac c0777e70 c07de331
>>>>>>>>>> c0850d28
>>>>>>>>>> c0804fa0
>>>>>>>>>> (XEN) Â Âc0777e8c c07ca9f4 b1b5e716 c088e9c0 c0804fa0 0000005f
>>>>>>>>>> fffffffe
>>>>>>>>>> c0777ecc
>>>>>>>>>> (XEN) Â Âc016c20f c0777ea4 c0777ecc c07d0a11 c06ce332 c06ccf4b
>>>>>>>>>> 00000000
>>>>>>>>>> 00000000
>>>>>>>>>> (XEN) Â Âc0804fac c0804faf c0804faf 0000000b 00000000 c080964c
>>>>>>>>>> c088e8cc
>>>>>>>>>> c0777edc
>>>>>>>>>> (XEN) Â Âc07ca298 00000000 c07ca9a8 c0777ee4 c07ca631 c0777f84
>>>>>>>>>> c07cf64f
>>>>>>>>>> 00000095
>>>>>>>>>> (XEN) Â Âc0777f41 c0777f74 c0106a9e ffffffff c0152585 c0777f32
>>>>>>>>>> c06dc201
>>>>>>>>>> 00000000
>>>>>>>>>> (XEN) Â Â00000000 c0777f32 00000000 00000000 c08baf83 00000035
>>>>>>>>>> 0000000f
>>>>>>>>>> 00000000
>>>>>>>>>> (XEN) Â Â205b0000 30202020 3030302e c0777fa8 00000020 00000000
>>>>>>>>>> c08bcb3c
>>>>>>>>>> 00000000
>>>>>>>>>> (XEN) Â Â00000000 0a662000 c0777f6c c0106a9e 00000000 b1b5e716
>>>>>>>>>> 00000000
>>>>>>>>>> 00000000
>>>>>>>>>> (XEN) Â Â0a662000 b1b5e716 00000000 00000000 0a662000 c0777fb0
>>>>>>>>>> c07ca70f
>>>>>>>>>> c06ccfca
>>>>>>>>>> (XEN) Â Âc05aa040 00000000 08d30cf4 00000001 b1b5e716 577d377b
>>>>>>>>>> c0807f60
>>>>>>>>>> 00a45000
>>>>>>>>>> (XEN) Â Âc0777fd0 c07ca0ef 0a662000 00000000 c06ce77d 00a45000
>>>>>>>>>> ca83c000
>>>>>>>>>> c078c960
>>>>>>>>>> (XEN) Domain 0 crashed: rebooting machine in 5 seconds.
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>> Does anyone know how to solve this prob?
>>>>>>>>>
>>>>>>>>> Could you post the full boot log from Xen, your vmlinux file and
>>>>>>>>> your
>>>>>>>>> .config?
>>>>>>>>>
>>>>>>>>> Thanks,
>>>>>>>>> Â ÂJ
>>>>>>>>>
>>>
>
>

_______________________________________________
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®.