From mboxrd@z Thu Jan 1 00:00:00 1970 From: Sisu Xi Subject: Re: problem using compiled kernel -- Sisu Date: Tue, 27 Jul 2010 12:52:47 -0500 Message-ID: References: <4C4E3E32.3090602@goop.org> <4C4E4CEB.9050801@goop.org> <4C4F11CA.9040904@goop.org> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Return-path: In-Reply-To: <4C4F11CA.9040904@goop.org> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Jeremy Fitzhardinge Cc: xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org 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=3Dall guest_loglvl=3Dall sync_console console_to_ring com1=3D115200,8n1 console=3Dcom1 (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=3D0xF0 apic1=3D0 pin1=3D2 apic2=3D-1 pin2=3D-1 (XEN) checking TSC synchronization across 2 CPUs: passed. (XEN) Platform timer is 14.318MHz HPET =CB=87(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 =3D 0x7663c max_arch_pfn =3D 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) =3D=3D> bootmem [0000000000 - 002d1fe000] #0 [0000000000 - 0000001000] BIOS data page =3D=3D> [0000000000 - 00000= 01000] #1 [0008ade000 - 0008b29000] XEN PAGETABLES =3D=3D> [0008ade000 - 0008b= 29000] #2 [0000001000 - 0000002000] EX TRAMPOLINE =3D=3D> [0000001000 - 00000= 02000] #3 [0000006000 - 0000007000] TRAMPOLINE =3D=3D> [0000006000 - 00000= 07000] #4 [0000400000 - 00009ac9b4] TEXT DATA BSS =3D=3D> [0000400000 - 00009= ac9b4] #5 [0000ad2000 - 0008902600] RAMDISK =3D=3D> [0000ad2000 - 00089= 02600] #6 [0008903000 - 0008ade000] XEN START INFO =3D=3D> [0008903000 - 0008a= de000] #7 [00009ad000 - 00009ad190] BRK =3D=3D> [00009ad000 - 00009= ad190] #8 [0000100000 - 0000220000] PGTABLE =3D=3D> [0000100000 - 00002= 20000] #9 [0000007000 - 000000d000] BOOTMAP =3D=3D> [0000007000 - 00000= 0d000] 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=3D16*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=3Dxen 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=3Dc9aeb000 size=3D67108864 xen_swiotlb_fixup: buf=3Dcdb4b000 size=3D32768 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=3D13, HWalign=3D128, Order=3D0-3, MinObjects=3D0, CPUs=3D2, = Nodes=3D1 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=3D9 global_irq=3D9 trigger=3Dc polarity=3D1 xen_allocate_pirq: returning irq 9 for gsi 9 xen: acpi sci 9 Console: colour VGA+ 80x25 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 (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 wro= te: > =C2=A0On 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. =C2=A0If you're using "screen"= you > should be able to save everything to a logfile. > >> [ =C2=A0 =C2=A00.000000] Xen version: 4.0.1-rc5-pre (preserve-AD) (dom0) >> [ =C2=A0 =C2=A00.000000] NR_CPUS:8 nr_cpumask_bits:8 nr_cpu_ids:2 nr_nod= e_ids:1 >> [ =C2=A0 =C2=A00.000000] PERCPU: Embedded 15 pages/cpu @cb6dc000 s39320 = r0 d22120 >> u65536 >> [ =C2=A0 =C2=A00.000000] pcpu-alloc: s39320 r0 d22120 u65536 alloc=3D16*= 4096 >> [ =C2=A0 =C2=A00.000000] pcpu-alloc: [0] 0 [0] 1 >> [ =C2=A0 =C2=A00.000000] Xen: using vcpu_info placement >> [ =C2=A0 =C2=A00.000000] Built 1 zonelists in Zone order, mobility group= ing on. >> Total pages: 481035 >> [ =C2=A0 =C2=A00.000000] Kernel command line: earlyprintk=3Dxen >> [ =C2=A0 =C2=A00.000000] PID hash table entries: 4096 (order: 2, 16384 b= ytes) >> [ =C2=A0 =C2=A00.000000] Dentry cache hash table entries: 131072 (order:= 7, 524288 >> bytes) >> [ =C2=A0 =C2=A00.000000] Inode-cache hash table entries: 65536 (order: 6= , 262144 >> bytes) >> [ =C2=A0 =C2=A00.000000] Enabling fast FPU save and restore... done. >> [ =C2=A0 =C2=A00.000000] Enabling unmasked SIMD FPU exception support...= done. >> [ =C2=A0 =C2=A00.000000] Initializing CPU#0 >> [ =C2=A0 =C2=A00.000000] allocated 9698480 bytes of page_cgroup >> [ =C2=A0 =C2=A00.000000] please try 'cgroup_disable=3Dmemory' option if = you don't >> want memory cgroups >> [ =C2=A0 =C2=A00.000000] DMA: Placing 64MB software IO TLB between cc100= 000 - >> d0100000 >> [ =C2=A0 =C2=A00.000000] DMA: software IO TLB at phys 0xc100000 - 0x1010= 0000 >> [ =C2=A0 =C2=A00.000000] xen_swiotlb_fixup: buf=3Dcc100000 size=3D671088= 64 >> [ =C2=A0 =C2=A00.000000] xen_swiotlb_fixup: buf=3Dd0160000 size=3D32768 >> [ =C2=A0 =C2=A00.000000] Initializing HighMem for node 0 (0002d1fe:00076= 63c) >> [ =C2=A0 =C2=A00.000000] Memory: 1676984k/1939696k available (4734k kern= el code, >> 261416k reserved, 2167k data, 680k init, 1200376k highmem) >> [ =C2=A0 =C2=A00.000000] virtual kernel memory layout: >> [ =C2=A0 =C2=A00.000000] =C2=A0 =C2=A0 fixmap =C2=A0: 0xf571e000 - 0xf57= ff000 =C2=A0 ( 900 kB) >> [ =C2=A0 =C2=A00.000000] =C2=A0 =C2=A0 pkmap =C2=A0 : 0xf5200000 - 0xf54= 00000 =C2=A0 (2048 kB) >> [ =C2=A0 =C2=A00.000000] =C2=A0 =C2=A0 vmalloc : 0xed9fe000 - 0xf51fe000= =C2=A0 ( 120 MB) >> [ =C2=A0 =C2=A00.000000] =C2=A0 =C2=A0 lowmem =C2=A0: 0xc0000000 - 0xed1= fe000 =C2=A0 ( 721 MB) >> [ =C2=A0 =C2=A00.000000] =C2=A0 =C2=A0 =C2=A0 .init : 0xc07be000 - 0xc08= 68000 =C2=A0 ( 680 kB) >> [ =C2=A0 =C2=A00.000000] =C2=A0 =C2=A0 =C2=A0 .data : 0xc059fa33 - 0xc07= bd8e8 =C2=A0 (2167 kB) >> [ =C2=A0 =C2=A00.000000] =C2=A0 =C2=A0 =C2=A0 .text : 0xc0100000 - 0xc05= 9fa33 =C2=A0 (4734 kB) >> [ =C2=A0 =C2=A00.000000] SLUB: Genslabs=3D13, HWalign=3D128, Order=3D0-3= , >> MinObjects=3D0, CPUs=3D2, Nodes=3D1 >> [ =C2=A0 =C2=A00.000000] Hierarchical RCU implementation. >> [ =C2=A0 =C2=A00.000000] NR_IRQS:2304 nr_irqs:768 >> [ =C2=A0 =C2=A00.000000] ACPI: INT_SRC_OVR (bus 0 bus_irq 0 global_irq 2= dfl dfl) >> [ =C2=A0 =C2=A00.000000] ACPI: INT_SRC_OVR (bus 0 bus_irq 9 global_irq 9= high level) >> [ =C2=A0 =C2=A00.000000] xen: sci override: source_irq=3D9 global_irq=3D= 9 trigger=3Dc >> polarity=3D1 >> [ =C2=A0 =C2=A00.000000] xen_allocate_pirq: returning irq 9 for gsi 9 >> [ =C2=A0 =C2=A00.000000] xen: acpi sci 9 >> [ =C2=A0 =C2=A00.000000] Console: colour VGA+ 80x25 >> [ =C2=A0 =C2=A00.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 th= e: >> usbhid: v2.6: USB HID core driver >> Gave up waiting for root device. Common problems: >> - Boot args (cat /proc/cmdline) >> =C2=A0 -check rootdelay=3D (did the system wait long enough?) >> =C2=A0 -check root=3D (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. =C2=A0This is quite different from the original report of an = early > oops, which was clearly a kernel problem. =C2=A0This seems to be somethin= g wrong > with your kernel config (either compile-time or runtime). =C2=A0Make sure= you > have device drivers enabled for all your devices, that your initrd contai= ns > those drivers, and your distros startup scripts are doing the right thing= . > =C2=A0I'm not familiar with any busybox-using distros, so I can't help in= detail. > =C2=A0Make sure your console on the kernel command line is "console=3Dhvc= 0", and > "ignore_loglevel" is also useful to make sure all the console output is > printed. > > Thanks, > =C2=A0 =C2=A0J > > >> Thanks very much! >> >> Best! >> >> Yours, >> Sisu >> >> >> >> On Mon, Jul 26, 2010 at 10:08 PM, Sisu Xi =C2=A0wrote: >>> >>> 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 >>> =C2=A0wrote: >>>> >>>> =C2=A0On 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? =C2=A0The xen/stable-2.6.32.x bran= ch is >>>> the >>>> most supported for dom0 use at the moment. >>>> >>>> =C2=A0 =C2=A0J >>>> >>>>> Thanks! >>>>> >>>>> On Mon, Jul 26, 2010 at 9:13 PM, Sisu Xi =C2=A0 =C2= =A0wrote: >>>>>> >>>>>> 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 >>>>>> =C2=A0wrote: >>>>>>> >>>>>>> =C2=A0On 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, an= d >>>>>>>> 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) =C2=A0Xen =C2=A0kernel: 32-bit, PAE, lsb >>>>>>>> (XEN) =C2=A0Dom0 kernel: 32-bit, PAE, lsb, paddr 0x100000 -> >>>>>>>> =C2=A00xa45000 >>>>>>>> (XEN) PHYSICAL MEMORY ARRANGEMENT: >>>>>>>> (XEN) =C2=A0Dom0 alloc.: =C2=A0 0000000020000000->0000000030000000= (419388 >>>>>>>> pages >>>>>>>> to be allocated) >>>>>>>> (XEN) VIRTUAL MEMORY ARRANGEMENT: >>>>>>>> (XEN) =C2=A0Loaded kernel: c0100000->c0a45000 >>>>>>>> (XEN) =C2=A0Init. ramdisk: c0a45000->ca662000 >>>>>>>> (XEN) =C2=A0Phys-Mach map: ca662000->ca83b8f0 >>>>>>>> (XEN) =C2=A0Start info: =C2=A0 =C2=A0ca83c000->ca83c47c >>>>>>>> (XEN) =C2=A0Page tables: =C2=A0 ca83d000->ca898000 >>>>>>>> (XEN) =C2=A0Boot stack: =C2=A0 =C2=A0ca898000->ca899000 >>>>>>>> (XEN) =C2=A0TOTAL: =C2=A0 =C2=A0 =C2=A0 =C2=A0 c0000000->cac00000 >>>>>>>> (XEN) =C2=A0ENTRY 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 -> =C2=A0 =C2=A0 =C2=A0DOM0 (type 'CTRL-a' = three times to >>>>>>>> switch >>>>>>>> input to Xen) >>>>>>>> (XEN) Freed 156kB init memory. >>>>>>>> mapping kernel into physical memory >>>>>>>> about to get started... >>>>>>>> [ =C2=A0 =C2=A00.000000] Reserving virtual address space above 0xf= 5800000 >>>>>>>> (XEN) d0:v0: unhandled page fault (ec=3D0000) >>>>>>>> (XEN) Pagetable walk from 15555c08: >>>>>>>> (XEN) =C2=A0L3[0x000] =3D 000000002a83e001 0000a83e >>>>>>>> (XEN) =C2=A0L2[0x0aa] =3D 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 =C2=A0x86_32p =C2=A0debug=3Dn =C2=A0= Not tainted ]---- >>>>>>>> (XEN) CPU: =C2=A0 =C2=A00 >>>>>>>> (XEN) EIP: =C2=A0 =C2=A0e019:[] >>>>>>>> (XEN) EFLAGS: 00000206 =C2=A0 EM: 1 =C2=A0 CONTEXT: pv guest >>>>>>>> (XEN) eax: 00000000 =C2=A0 ebx: 00000000 =C2=A0 ecx: 00000008 =C2= =A0 edx: c0710d3d >>>>>>>> (XEN) esi: 15555000 =C2=A0 edi: c07c6a24 =C2=A0 ebp: c0777dac =C2= =A0 esp: c0777d50 >>>>>>>> (XEN) cr0: 8005003b =C2=A0 cr4: 000026f0 =C2=A0 cr3: 20779000 =C2= =A0 cr2: 15555c08 >>>>>>>> (XEN) ds: e021 =C2=A0 es: e021 =C2=A0 fs: 00d8 =C2=A0 gs: 00e0 =C2= =A0 ss: e021 =C2=A0 cs: >>>>>>>> e019 >>>>>>>> (XEN) Guest stack trace from esp=3Dc0777d50: >>>>>>>> (XEN) =C2=A0 =C2=A000000000 c03dcc4d 0001e019 00010006 00000000 c0= 777d7c >>>>>>>> c0777d84 >>>>>>>> 00000008 >>>>>>>> (XEN) =C2=A0 =C2=A0c0710d3d 00000000 00000008 c0777dc0 c01315ce 00= 000000 >>>>>>>> 00000000 >>>>>>>> 08dabc4e >>>>>>>> (XEN) =C2=A0 =C2=A000000001 00000000 00000000 00000000 00000000 00= 000000 >>>>>>>> c07c6a24 >>>>>>>> c0777dd0 >>>>>>>> (XEN) =C2=A0 =C2=A0c03dce01 c089af63 00000040 c089af63 00000040 c0= 7ac7e0 >>>>>>>> c03dcda0 >>>>>>>> c07c6a24 >>>>>>>> (XEN) =C2=A0 =C2=A0c0777dec c0151b84 00000040 00000003 00000043 00= 000043 >>>>>>>> 00000006 >>>>>>>> c0777dfc >>>>>>>> (XEN) =C2=A0 =C2=A0c0151bee 00000043 0000023d c0777e24 c0152065 00= 01ffff >>>>>>>> 367ac7e0 >>>>>>>> fffffdc3 >>>>>>>> (XEN) =C2=A0 =C2=A000000006 00000000 00000000 c07ac7e0 c089aec0 c0= 777e50 >>>>>>>> c0152a30 >>>>>>>> 00000000 >>>>>>>> (XEN) =C2=A0 =C2=A000000000 c08baf83 00000034 006ce332 00000000 c0= 804fac >>>>>>>> 00000000 >>>>>>>> c0804fac >>>>>>>> (XEN) =C2=A0 =C2=A0c0777e60 c012d796 00000000 c0804fac c0777e70 c0= 7de331 >>>>>>>> c0850d28 >>>>>>>> c0804fa0 >>>>>>>> (XEN) =C2=A0 =C2=A0c0777e8c c07ca9f4 b1b5e716 c088e9c0 c0804fa0 00= 00005f >>>>>>>> fffffffe >>>>>>>> c0777ecc >>>>>>>> (XEN) =C2=A0 =C2=A0c016c20f c0777ea4 c0777ecc c07d0a11 c06ce332 c0= 6ccf4b >>>>>>>> 00000000 >>>>>>>> 00000000 >>>>>>>> (XEN) =C2=A0 =C2=A0c0804fac c0804faf c0804faf 0000000b 00000000 c0= 80964c >>>>>>>> c088e8cc >>>>>>>> c0777edc >>>>>>>> (XEN) =C2=A0 =C2=A0c07ca298 00000000 c07ca9a8 c0777ee4 c07ca631 c0= 777f84 >>>>>>>> c07cf64f >>>>>>>> 00000095 >>>>>>>> (XEN) =C2=A0 =C2=A0c0777f41 c0777f74 c0106a9e ffffffff c0152585 c0= 777f32 >>>>>>>> c06dc201 >>>>>>>> 00000000 >>>>>>>> (XEN) =C2=A0 =C2=A000000000 c0777f32 00000000 00000000 c08baf83 00= 000035 >>>>>>>> 0000000f >>>>>>>> 00000000 >>>>>>>> (XEN) =C2=A0 =C2=A0205b0000 30202020 3030302e c0777fa8 00000020 00= 000000 >>>>>>>> c08bcb3c >>>>>>>> 00000000 >>>>>>>> (XEN) =C2=A0 =C2=A000000000 0a662000 c0777f6c c0106a9e 00000000 b1= b5e716 >>>>>>>> 00000000 >>>>>>>> 00000000 >>>>>>>> (XEN) =C2=A0 =C2=A00a662000 b1b5e716 00000000 00000000 0a662000 c0= 777fb0 >>>>>>>> c07ca70f >>>>>>>> c06ccfca >>>>>>>> (XEN) =C2=A0 =C2=A0c05aa040 00000000 08d30cf4 00000001 b1b5e716 57= 7d377b >>>>>>>> c0807f60 >>>>>>>> 00a45000 >>>>>>>> (XEN) =C2=A0 =C2=A0c0777fd0 c07ca0ef 0a662000 00000000 c06ce77d 00= a45000 >>>>>>>> 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 yo= ur >>>>>>> .config? >>>>>>> >>>>>>> Thanks, >>>>>>> =C2=A0 =C2=A0J >>>>>>> >>>> > >