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

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



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