xen-devel.lists.xenproject.org archive mirror
 help / color / mirror / Atom feed
* Crash on boot with 2.6.37-rc8-git3
@ 2011-01-04 22:01 M A Young
  2011-01-05 15:43 ` Konrad Rzeszutek Wilk
  0 siblings, 1 reply; 31+ messages in thread
From: M A Young @ 2011-01-04 22:01 UTC (permalink / raw)
  To: xen-devel; +Cc: Konrad Rzeszutek Wilk

[-- Attachment #1: Type: TEXT/PLAIN, Size: 610 bytes --]

The latest Fedora based 2.6.37 kernels have stopped booting for me under 
xen. They stopped working around -rc7 but I think the trigger is that 
various debug options were turned off. My hardware won't let me get serial 
output, so I have tried booting it within kvm, and got the attached output 
- the behaviour was similar to bare metal, though I don't see enough to 
know if it is exactly the same crash. The kernel used has no additional 
xen patches, though I am seeing similar behaviour for kernels with patches 
from xen-next-2.6.37. The crash looks like it is something to do with irq.

 	Michael Young

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: Type: TEXT/PLAIN; charset=UTF-8; name=boot.log, Size: 21200 bytes --]

 __  __            _  _    ___   _     __     __      _ ____  
 \ \/ /___ _ __   | || |  / _ \ / |   / /_   / _| ___/ | ___| 
  \  // _ \ '_ \  | || |_| | | || |__| '_ \ | |_ / __| |___ \ 
  /  \  __/ | | | |__   _| |_| || |__| (_) ||  _| (__| |___) |
 /_/\_\___|_| |_|    |_|(_)___(_)_|   \___(_)_|  \___|_|____/ 
                                                              
(XEN) Xen version 4.0.1 (mockbuild@(none)) (gcc version 4.5.1 20100924 (Red Hat 4.5.1-4) (GCC) ) Tue Oct 12 21:36:26 UTC 2010
(XEN) Latest ChangeSet: unavailable
(XEN) Bootloader: ISOLINUX 4.02 2010-07-21 
(XEN) Command line: console=com1
(XEN) Video information:
(XEN)  VGA is text mode 80x25, font 8x16
(XEN) Disc information:
(XEN)  Found 0 MBR signatures
(XEN)  Found 0 EDD information structures
(XEN) Xen-e820 RAM map:
(XEN)  0000000000000000 - 000000000009f400 (usable)
(XEN)  000000000009f400 - 00000000000a0000 (reserved)
(XEN)  00000000000f0000 - 0000000000100000 (reserved)
(XEN)  0000000000100000 - 000000003fffd000 (usable)
(XEN)  000000003fffd000 - 0000000040000000 (reserved)
(XEN)  00000000fffbc000 - 0000000100000000 (reserved)
(XEN) System RAM: 1023MB (1048176kB)
(XEN) ACPI: RSDP 000F7B50, 0014 (r0 BOCHS )
(XEN) ACPI: RSDT 3FFFDE30, 0034 (r1 BOCHS  BXPCRSDT        1 BXPC        1)
(XEN) ACPI: FACP 3FFFFE70, 0074 (r1 BOCHS  BXPCFACP        1 BXPC        1)
(XEN) ACPI: DSDT 3FFFDFD0, 1E22 (r1   BXPC   BXDSDT        1 INTL 20090123)
(XEN) ACPI: FACS 3FFFFE00, 0040
(XEN) ACPI: SSDT 3FFFDF90, 0037 (r1 BOCHS  BXPCSSDT        1 BXPC        1)
(XEN) ACPI: APIC 3FFFDEB0, 0072 (r1 BOCHS  BXPCAPIC        1 BXPC        1)
(XEN) ACPI: HPET 3FFFDE70, 0038 (r1 BOCHS  BXPCHPET        1 BXPC        1)
(XEN) Domain heap initialised
(XEN) Processor #0 6:2 APIC version 20
(XEN) IOAPIC[0]: apic_id 1, version 17, address 0xfec00000, GSI 0-23
(XEN) Enabling APIC mode:  Flat.  Using 1 I/O APICs
(XEN) Using scheduler: SMP Credit Scheduler (credit)
(XEN) Detected 2393.988 MHz processor.
(XEN) Initing memory sharing.
(XEN) I/O virtualisation disabled
(XEN) Total of 1 processors activated.
(XEN) ENABLING IO-APIC IRQs
(XEN)  -> Using new ACK method
(XEN) Platform timer is 100.000MHz HPET
ÿ(XEN) Allocated console ring of 16 KiB.
(XEN) Brought up 1 CPUs
(XEN) *** LOADING DOMAIN 0 ***
(XEN)  Xen  kernel: 64-bit, lsb, compat32
(XEN)  Dom0 kernel: 64-bit, PAE, lsb, paddr 0x1000000 -> 0x1ecf000
(XEN) PHYSICAL MEMORY ARRANGEMENT:
(XEN)  Dom0 alloc.:   0000000038000000->000000003c000000 (225506 pages to be allocated)
(XEN) VIRTUAL MEMORY ARRANGEMENT:
(XEN)  Loaded kernel: ffffffff81000000->ffffffff81ecf000
(XEN)  Init. ramdisk: ffffffff81ecf000->ffffffff83397000
(XEN)  Phys-Mach map: ffffffff83397000->ffffffff8356f710
(XEN)  Start info:    ffffffff83570000->ffffffff835704b4
(XEN)  Page tables:   ffffffff83571000->ffffffff83590000
(XEN)  Boot stack:    ffffffff83590000->ffffffff83591000
(XEN)  TOTAL:         ffffffff80000000->ffffffff83800000
(XEN)  ENTRY ADDRESS: ffffffff81b53200
(XEN) Dom0 has maximum 1 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 172kB 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 2.6.37-0.rc8.git3.1.fc15.x86_64 (mockbuild@x86-14.phx2.fedoraproject.org) (gcc version 4.5.1 20101130 (Red Hat 4.5.1-6) (GCC) ) #1 SMP Mon Jan 3 16:15:26 UTC 2011
[    0.000000] Command line: root=live:CDLABEL=livecd.ks-x86_64-201101042112 rootfstype=auto ro liveimg console=hvc0 rd_NO_LUKS rd_NO_MD rd_NO_DM
[    0.000000] released 0 pages of unused memory
[    0.000000] BIOS-provided physical RAM map:
[    0.000000]  Xen: 0000000000000000 - 000000000009f400 (usable)
[    0.000000]  Xen: 000000000009f400 - 0000000000100000 (reserved)
[    0.000000]  Xen: 0000000000100000 - 000000003b0e2000 (usable)
[    0.000000]  Xen: 000000003fffd000 - 0000000040000000 (reserved)
[    0.000000]  Xen: 00000000fec00000 - 00000000fec01000 (reserved)
[    0.000000]  Xen: 00000000fee00000 - 00000000fee01000 (reserved)
[    0.000000]  Xen: 00000000fffbc000 - 0000000100000000 (reserved)
[    0.000000]  Xen: 0000000100000000 - 0000000104f1b000 (usable)
[    0.000000] NX (Execute Disable) protection: active
[    0.000000] DMI 2.4 present.
[    0.000000] No AGP bridge found
[    0.000000] last_pfn = 0x104f1b max_arch_pfn = 0x400000000
[    0.000000] last_pfn = 0x3b0e2 max_arch_pfn = 0x400000000
[    0.000000] found SMP MP-table at [ffff8800000f7ba0] f7ba0
[    0.000000] init_memory_mapping: 0000000000000000-000000003b0e2000
[    0.000000] init_memory_mapping: 0000000100000000-0000000104f1b000
[    0.000000] RAMDISK: 01ecf000 - 03397000
[    0.000000] ACPI: RSDP 00000000000f7b50 00014 (v00 BOCHS )
[    0.000000] ACPI: RSDT 000000003fffde30 00034 (v01 BOCHS  BXPCRSDT 00000001 BXPC 00000001)
[    0.000000] ACPI: FACP 000000003ffffe70 00074 (v01 BOCHS  BXPCFACP 00000001 BXPC 00000001)
[    0.000000] ACPI: DSDT 000000003fffdfd0 01E22 (v01   BXPC   BXDSDT 00000001 INTL 20090123)
[    0.000000] ACPI: FACS 000000003ffffe00 00040
[    0.000000] ACPI: SSDT 000000003fffdf90 00037 (v01 BOCHS  BXPCSSDT 00000001 BXPC 00000001)
[    0.000000] ACPI: APIC 000000003fffdeb0 00072 (v01 BOCHS  BXPCAPIC 00000001 BXPC 00000001)
[    0.000000] ACPI: HPET 000000003fffde70 00038 (v01 BOCHS  BXPCHPET 00000001 BXPC 00000001)
[    0.000000] No NUMA configuration found
[    0.000000] Faking a node at 0000000000000000-0000000104f1b000
[    0.000000] Initmem setup node 0 0000000000000000-0000000104f1b000
[    0.000000]   NODE_DATA [000000003b0ce000 - 000000003b0e1fff]
[    0.000000] Zone PFN ranges:
[    0.000000]   DMA      0x00000010 -> 0x00001000
[    0.000000]   DMA32    0x00001000 -> 0x00100000
[    0.000000]   Normal   0x00100000 -> 0x00104f1b
[    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 -> 0x0003b0e2
[    0.000000]     0: 0x00100000 -> 0x00104f1b
[    0.000000] ACPI: PM-Timer IO Port: 0xb008
[    0.000000] ACPI: LAPIC (acpi_id[0x00] lapic_id[0x00] enabled)
[    0.000000] BIOS bug, APIC version is 0 for CPU#0! fixing up to 0x10. (tell your hw vendor)
[    0.000000] ACPI: IOAPIC (id[0x01] address[0xfec00000] gsi_base[0])
[    0.000000] IOAPIC[0]: apic_id 1, version 255, address 0xfec00000, GSI 0-255
[    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 5 global_irq 5 high level)
[    0.000000] ACPI: INT_SRC_OVR (bus 0 bus_irq 9 global_irq 9 high level)
[    0.000000] ACPI: INT_SRC_OVR (bus 0 bus_irq 10 global_irq 10 high level)
[    0.000000] ACPI: INT_SRC_OVR (bus 0 bus_irq 11 global_irq 11 high level)
[    0.000000] Using ACPI (MADT) for SMP configuration information
[    0.000000] ACPI: HPET id: 0x8086a201 base: 0xfed00000
[    0.000000] SMP: Allowing 1 CPUs, 0 hotplug CPUs
[    0.000000] PM: Registered nosave memory: 000000000009f000 - 00000000000a0000
[    0.000000] PM: Registered nosave memory: 00000000000a0000 - 0000000000100000
[    0.000000] PM: Registered nosave memory: 000000003b0e2000 - 000000003fffd000
[    0.000000] PM: Registered nosave memory: 000000003fffd000 - 0000000040000000
[    0.000000] PM: Registered nosave memory: 0000000040000000 - 00000000fec00000
[    0.000000] PM: Registered nosave memory: 00000000fec00000 - 00000000fec01000
[    0.000000] PM: Registered nosave memory: 00000000fec01000 - 00000000fee00000
[    0.000000] PM: Registered nosave memory: 00000000fee00000 - 00000000fee01000
[    0.000000] PM: Registered nosave memory: 00000000fee01000 - 00000000fffbc000
[    0.000000] PM: Registered nosave memory: 00000000fffbc000 - 0000000100000000
[    0.000000] Allocating PCI resources starting at 40000000 (gap: 40000000:bec00000)
[    0.000000] Booting paravirtualized kernel on Xen
[    0.000000] Xen version: 4.0.1 (preserve-AD)
[    0.000000] setup_percpu: NR_CPUS:256 nr_cpumask_bits:256 nr_cpu_ids:1 nr_node_ids:1
[    0.000000] PERCPU: Embedded 28 pages/cpu @ffff88003b063000 s83008 r8192 d23488 u114688
[    0.000000] Built 1 zonelists in Node order, mobility grouping on.  Total pages: 247409
[    0.000000] Policy zone: Normal
[    0.000000] Kernel command line: root=live:CDLABEL=livecd.ks-x86_64-201101042112 rootfstype=auto ro liveimg console=hvc0 rd_NO_LUKS rd_NO_MD rd_NO_DM
[    0.000000] PID hash table entries: 4096 (order: 3, 32768 bytes)
[    0.000000] Placing 64MB software IO TLB between ffff880035200000 - ffff880039200000
[    0.000000] software IO TLB at phys 0x35200000 - 0x39200000
[    0.000000] Memory: 845176k/4275308k available (4608k kernel code, 3227196k absent, 202936k reserved, 6898k data, 924k init)
[    0.000000] SLUB: Genslabs=15, HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[    0.000000] Hierarchical RCU implementation.
[    0.000000] 	RCU dyntick-idle grace-period acceleration is enabled.
[    0.000000] 	RCU-based detection of stalled CPUs is disabled.
[    0.000000] NR_IRQS:16640 nr_irqs:256 16
[    0.000000] xen: sci override: global_irq=9 trigger=0 polarity=0
[    0.000000] xen: acpi sci 9
[    0.000000] xen_map_pirq_gsi: returning irq 9 for gsi 9
[    0.000000] Console: colour dummy device 80x25
[    0.000000] console [hvc0] enabled
[    0.000000] allocated 11796480 bytes of page_cgroup
[    0.000000] please try 'cgroup_disable=memory' option if you don't want memory cgroups
[    0.000000] installing Xen timer for CPU 0
[    0.000000] Detected 2393.988 MHz processor.
[    0.000999] Calibrating delay loop (skipped), value calculated using timer frequency.. 4787.97 BogoMIPS (lpj=2393988)
[    0.000999] pid_max: default: 32768 minimum: 301
[    0.000999] Security Framework initialized
[    0.000999] SELinux:  Initializing.
[    0.001608] Dentry cache hash table entries: 131072 (order: 8, 1048576 bytes)
[    0.002088] Inode-cache hash table entries: 65536 (order: 7, 524288 bytes)
[    0.002999] Mount-cache hash table entries: 256
[    0.003270] Initializing cgroup subsys ns
[    0.003999] ns_cgroup deprecated: consider using the 'clone_children' flag without the ns_cgroup.
[    0.003999] Initializing cgroup subsys cpuacct
[    0.003999] Initializing cgroup subsys memory
[    0.004034] Initializing cgroup subsys devices
[    0.004999] Initializing cgroup subsys freezer
[    0.004999] Initializing cgroup subsys net_cls
[    0.004999] Initializing cgroup subsys blkio
[    0.005288] Performance Events: unsupported p6 CPU model 2 no PMU driver, software events only.
[    0.005999] SMP alternatives: switching to UP code
[    0.005999] Freeing SMP alternatives: 12k freed
[    0.005999] ACPI: Core revision 20101013
[    0.007881] ftrace: allocating 24322 entries in 96 pages
[    0.008220] ------------[ cut here ]------------
[    0.008999] WARNING: at drivers/xen/events.c:432 find_unbound_irq+0x88/0x9f()
[    0.008999] Hardware name: Bochs
[    0.008999] Modules linked in:
[    0.008999] Pid: 1, comm: swapper Not tainted 2.6.37-0.rc8.git3.1.fc15.x86_64 #1
[    0.008999] Call Trace:
[    0.008999]  [<ffffffff810505d7>] warn_slowpath_common+0x85/0x9d
[    0.008999]  [<ffffffff81050609>] warn_slowpath_null+0x1a/0x1c
[    0.008999]  [<ffffffff812abfea>] find_unbound_irq+0x88/0x9f
[    0.008999]  [<ffffffff812ac90e>] bind_ipi_to_irqhandler+0x64/0x153
[    0.008999]  [<ffffffff81007979>] ? xen_reschedule_interrupt+0x0/0x18
[    0.008999]  [<ffffffff81234511>] ? kasprintf+0x38/0x3b
[    0.008999]  [<ffffffff81007b92>] xen_smp_intr_init+0x46/0x1f3
[    0.008999]  [<ffffffff81b5839a>] xen_smp_prepare_cpus+0x3d/0x107
[    0.008999]  [<ffffffff81b53cf3>] kernel_init+0x92/0x2b6
[    0.008999]  [<ffffffff8100bae4>] kernel_thread_helper+0x4/0x10
[    0.008999]  [<ffffffff8100aee3>] ? int_ret_from_sys_call+0x7/0x1b
[    0.008999]  [<ffffffff81477edd>] ? retint_restore_args+0x5/0x6
[    0.008999]  [<ffffffff8100bae0>] ? kernel_thread_helper+0x0/0x10
[    0.008999] ---[ end trace a7919e7f17c0a725 ]---
[    0.008999] ------------[ cut here ]------------
[    0.008999] WARNING: at kernel/irq/manage.c:904 __free_irq+0xa3/0x1ab()
[    0.008999] Hardware name: Bochs
[    0.008999] Trying to free already-free IRQ 0
[    0.008999] Modules linked in:
[    0.008999] Pid: 1, comm: swapper Tainted: G        W   2.6.37-0.rc8.git3.1.fc15.x86_64 #1
[    0.008999] Call Trace:
[    0.008999]  [<ffffffff810505d7>] warn_slowpath_common+0x85/0x9d
[    0.008999]  [<ffffffff81050692>] warn_slowpath_fmt+0x46/0x48
[    0.008999]  [<ffffffff8107d246>] ? arch_local_irq_save+0x18/0x1e
[    0.008999]  [<ffffffff810ac901>] __free_irq+0xa3/0x1ab
[    0.008999]  [<ffffffff810aca41>] free_irq+0x38/0x50
[    0.008999]  [<ffffffff812abead>] unbind_from_irqhandler+0x15/0x20
[    0.008999]  [<ffffffff81007cce>] xen_smp_intr_init+0x182/0x1f3
[    0.008999]  [<ffffffff81b5839a>] xen_smp_prepare_cpus+0x3d/0x107
[    0.008999]  [<ffffffff81b53cf3>] kernel_init+0x92/0x2b6
[    0.008999]  [<ffffffff8100bae4>] kernel_thread_helper+0x4/0x10
[    0.008999]  [<ffffffff8100aee3>] ? int_ret_from_sys_call+0x7/0x1b
[    0.008999]  [<ffffffff81477edd>] ? retint_restore_args+0x5/0x6
[    0.008999]  [<ffffffff8100bae0>] ? kernel_thread_helper+0x0/0x10
[    0.008999] ---[ end trace a7919e7f17c0a726 ]---
[    0.008999] ------------[ cut here ]------------
[    0.008999] WARNING: at kernel/irq/manage.c:904 __free_irq+0xa3/0x1ab()
[    0.008999] Hardware name: Bochs
[    0.008999] Trying to free already-free IRQ 0
[    0.008999] Modules linked in:
[    0.008999] Pid: 1, comm: swapper Tainted: G        W   2.6.37-0.rc8.git3.1.fc15.x86_64 #1
[    0.008999] Call Trace:
[    0.008999]  [<ffffffff810505d7>] warn_slowpath_common+0x85/0x9d
[    0.008999]  [<ffffffff81050692>] warn_slowpath_fmt+0x46/0x48
[    0.008999]  [<ffffffff8107d246>] ? arch_local_irq_save+0x18/0x1e
[    0.008999]  [<ffffffff810ac901>] __free_irq+0xa3/0x1ab
[    0.008999]  [<ffffffff810aca41>] free_irq+0x38/0x50
[    0.008999]  [<ffffffff812abead>] unbind_from_irqhandler+0x15/0x20
[    0.008999]  [<ffffffff81007cf0>] xen_smp_intr_init+0x1a4/0x1f3
[    0.008999]  [<ffffffff81b5839a>] xen_smp_prepare_cpus+0x3d/0x107
[    0.008999]  [<ffffffff81b53cf3>] kernel_init+0x92/0x2b6
[    0.008999]  [<ffffffff8100bae4>] kernel_thread_helper+0x4/0x10
[    0.008999]  [<ffffffff8100aee3>] ? int_ret_from_sys_call+0x7/0x1b
[    0.008999]  [<ffffffff81477edd>] ? retint_restore_args+0x5/0x6
[    0.008999]  [<ffffffff8100bae0>] ? kernel_thread_helper+0x0/0x10
[    0.008999] ---[ end trace a7919e7f17c0a727 ]---
[    0.008999] ------------[ cut here ]------------
[    0.008999] WARNING: at kernel/irq/manage.c:904 __free_irq+0xa3/0x1ab()
[    0.008999] Hardware name: Bochs
[    0.008999] Trying to free already-free IRQ 0
[    0.008999] Modules linked in:
[    0.008999] Pid: 1, comm: swapper Tainted: G        W   2.6.37-0.rc8.git3.1.fc15.x86_64 #1
[    0.008999] Call Trace:
[    0.008999]  [<ffffffff810505d7>] warn_slowpath_common+0x85/0x9d
[    0.008999]  [<ffffffff81050692>] warn_slowpath_fmt+0x46/0x48
[    0.008999]  [<ffffffff8107d246>] ? arch_local_irq_save+0x18/0x1e
[    0.008999]  [<ffffffff810ac901>] __free_irq+0xa3/0x1ab
[    0.008999]  [<ffffffff810aca41>] free_irq+0x38/0x50
[    0.008999]  [<ffffffff812abead>] unbind_from_irqhandler+0x15/0x20
[    0.008999]  [<ffffffff81007d34>] xen_smp_intr_init+0x1e8/0x1f3
[    0.008999]  [<ffffffff81b5839a>] xen_smp_prepare_cpus+0x3d/0x107
[    0.008999]  [<ffffffff81b53cf3>] kernel_init+0x92/0x2b6
[    0.008999]  [<ffffffff8100bae4>] kernel_thread_helper+0x4/0x10
[    0.008999]  [<ffffffff8100aee3>] ? int_ret_from_sys_call+0x7/0x1b
[    0.008999]  [<ffffffff81477edd>] ? retint_restore_args+0x5/0x6
[    0.008999]  [<ffffffff8100bae0>] ? kernel_thread_helper+0x0/0x10
[    0.008999] ---[ end trace a7919e7f17c0a728 ]---
[    0.009018] ------------[ cut here ]------------
[    0.009999] kernel BUG at arch/x86/xen/smp.c:217!
[    0.009999] invalid opcode: 0000 [#1] SMP 
[    0.009999] last sysfs file: 
[    0.009999] CPU 0 
[    0.009999] Modules linked in:
[    0.009999] 
[    0.009999] Pid: 1, comm: swapper Tainted: G        W   2.6.37-0.rc8.git3.1.fc15.x86_64 #1 /Bochs
[    0.009999] RIP: e030:[<ffffffff81b5839e>]  [<ffffffff81b5839e>] xen_smp_prepare_cpus+0x41/0x107
[    0.009999] RSP: e02b:ffff880033841eb0  EFLAGS: 00010286
[    0.009999] RAX: 00000000ffffffff RBX: ffffffff81c1c7b0 RCX: 0000000000000100
[    0.009999] RDX: ffff88003a410000 RSI: 0000000000000000 RDI: ffffffff81d64d50
[    0.009999] RBP: ffff880033841ed0 R08: 0000000000000002 R09: 00000000fffffffe
[    0.009999] R10: ffff880033841e50 R11: 0000000000000000 R12: 0000000000000100
[    0.009999] R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000
[    0.009999] FS:  0000000000000000(0000) GS:ffff88003b063000(0000) knlGS:0000000000000000
[    0.009999] CS:  e033 DS: 0000 ES: 0000 CR0: 000000008005003b
[    0.009999] CR2: 0000000000000000 CR3: 0000000001a03000 CR4: 0000000000000660
[    0.009999] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
[    0.009999] DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000400
[    0.009999] Process swapper (pid: 1, threadinfo ffff880033840000, task ffff880033838000)
[    0.009999] Stack:
[    0.009999]  ffff880033838000 ffffffff81c1c7b0 0000000000000000 0000000000000000
[    0.009999]  ffff880033841f40 ffffffff81b53cf3 0000000000000001 0000000000000000
[    0.009999]  0000000000000000 0000000000000000 0000000000000000 0000000000000000
[    0.009999] Call Trace:
[    0.009999]  [<ffffffff81b53cf3>] kernel_init+0x92/0x2b6
[    0.009999]  [<ffffffff8100bae4>] kernel_thread_helper+0x4/0x10
[    0.009999]  [<ffffffff8100aee3>] ? int_ret_from_sys_call+0x7/0x1b
[    0.009999]  [<ffffffff81477edd>] ? retint_restore_args+0x5/0x6
[    0.009999]  [<ffffffff8100bae0>] ? kernel_thread_helper+0x0/0x10
[    0.009999] Code: ff 48 8b 15 25 b9 fd ff 31 ff 48 c7 c0 00 36 01 00 66 c7 84 10 c0 00 00 00 01 00 e8 3c 76 91 ff 31 ff e8 b2 f7 4a ff 85 c0 74 02 <0f> 0b 31 ff e8 a9 f5 4a ff 48 c7 c2 00 20 c3 81 b9 08 00 00 00 
[    0.009999] RIP  [<ffffffff81b5839e>] xen_smp_prepare_cpus+0x41/0x107
[    0.009999]  RSP <ffff880033841eb0>
[    0.009999] ---[ end trace a7919e7f17c0a729 ]---
[    0.010021] Kernel panic - not syncing: Attempted to kill init!
[    0.010999] Pid: 1, comm: swapper Tainted: G      D W   2.6.37-0.rc8.git3.1.fc15.x86_64 #1
[    0.010999] Call Trace:
[    0.010999]  [<ffffffff814759d5>] panic+0x91/0x1a4
[    0.010999]  [<ffffffff810d6093>] ? perf_event_exit_task+0xb8/0x1c7
[    0.010999]  [<ffffffff81053b89>] do_exit+0x7c/0x75d
[    0.010999]  [<ffffffff8107d21f>] ? arch_local_irq_restore+0xb/0xd
[    0.010999]  [<ffffffff8147795f>] ? _raw_spin_unlock_irqrestore+0x17/0x19
[    0.010999]  [<ffffffff8100022a>] ? _stext+0x9a/0xe70
[    0.010999]  [<ffffffff81478c8b>] oops_end+0xbf/0xc7
[    0.010999]  [<ffffffff8100022a>] ? _stext+0x9a/0xe70
[    0.010999]  [<ffffffff8100022a>] ? _stext+0x9a/0xe70
[    0.010999]  [<ffffffff8100e6ec>] die+0x5a/0x66
[    0.010999]  [<ffffffff81478518>] do_trap+0x121/0x130
[    0.010999]  [<ffffffff8100c06d>] do_invalid_op+0x98/0xa1
[    0.010999]  [<ffffffff81b5839e>] ? xen_smp_prepare_cpus+0x41/0x107
[    0.010999]  [<ffffffff8107d246>] ? arch_local_irq_save+0x18/0x1e
[    0.010999]  [<ffffffff8107d21f>] ? arch_local_irq_restore+0xb/0xd
[    0.010999]  [<ffffffff8147795f>] ? _raw_spin_unlock_irqrestore+0x17/0x19
[    0.010999]  [<ffffffff810ac90d>] ? __free_irq+0xaf/0x1ab
[    0.010999]  [<ffffffff8100b95b>] invalid_op+0x1b/0x20
[    0.010999]  [<ffffffff81b5839e>] ? xen_smp_prepare_cpus+0x41/0x107
[    0.010999]  [<ffffffff81b53cf3>] kernel_init+0x92/0x2b6
[    0.010999]  [<ffffffff8100bae4>] kernel_thread_helper+0x4/0x10
[    0.010999]  [<ffffffff8100aee3>] ? int_ret_from_sys_call+0x7/0x1b
[    0.010999]  [<ffffffff81477edd>] ? retint_restore_args+0x5/0x6
[    0.010999]  [<ffffffff8100bae0>] ? kernel_thread_helper+0x0/0x10
(XEN) Domain 0 crashed: rebooting machine in 5 seconds.

[-- Attachment #3: Type: text/plain, Size: 138 bytes --]

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

^ permalink raw reply	[flat|nested] 31+ messages in thread
* Re: Crash on boot with 2.6.37-rc8-git3
@ 2011-01-07 20:34 M A Young
  2011-01-07 21:23 ` Konrad Rzeszutek Wilk
  0 siblings, 1 reply; 31+ messages in thread
From: M A Young @ 2011-01-07 20:34 UTC (permalink / raw)
  To: Konrad Rzeszutek Wilk; +Cc: xen-devel

[-- Attachment #1: Type: TEXT/PLAIN, Size: 1923 bytes --]

On Fri, 7 Jan 2011, Konrad Rzeszutek Wilk wrote:
>> BUG unable to handle kernel NULL pointer dereference at
>> IP: [<ffffffff81b69b92>] setup_node_bootmem+0x16b/0x199

> Hmmm, I did see something similar to this in 2.6.37-rc1, but we fixed
> that quickly. It was triggered by having 4GB of memory or so and
> the work-around was to use dom0_mem=max:2GB.
> 
> Can you send the photo? Maybe the calleer stack will shed some light.

Here are two photos of the output at different times. The context is

    0xffffffff81b69b6d <setup_node_bootmem+326>:
     callq  0xffffffff81475ec9 <printk>
    0xffffffff81b69b72 <setup_node_bootmem+331>:	movslq %ebx,%rdx
    0xffffffff81b69b75 <setup_node_bootmem+334>:	xor    %eax,%eax
    0xffffffff81b69b77 <setup_node_bootmem+336>:	mov    $0x4fc0,%ecx
    0xffffffff81b69b7c <setup_node_bootmem+341>:
     mov    -0x7e4cb750(,%rdx,8),%rsi
    0xffffffff81b69b84 <setup_node_bootmem+349>:	shr    $0xc,%r13
    0xffffffff81b69b88 <setup_node_bootmem+353>:	shr    $0xc,%r12
    0xffffffff81b69b8c <setup_node_bootmem+357>:	sub    %r13,%r12
    0xffffffff81b69b8f <setup_node_bootmem+360>:	mov    %rsi,%rdi
    0xffffffff81b69b92 <setup_node_bootmem+363>:	rep stos %eax,%es:(%rdi)
    0xffffffff81b69b94 <setup_node_bootmem+365>:	mov    %ebx,%edi
    0xffffffff81b69b96 <setup_node_bootmem+367>:
     mov    -0x7e4cb750(,%rdx,8),%rax

which is somewhere around line 224 in arch/x86/mm/numa_64.c

         if (nid != nodeid)
                 printk(KERN_INFO "    NODE_DATA(%d) on node %d\n", nodeid, 
nid);

         memset(NODE_DATA(nodeid), 0, sizeof(pg_data_t));
         NODE_DATA(nodeid)->node_id = nodeid;
         NODE_DATA(nodeid)->node_start_pfn = start_pfn;
         NODE_DATA(nodeid)->node_spanned_pages = last_pfn - start_pfn;

         node_set_online(nodeid);

I do have 4GB of memory and the system does boot if I add dom0_mem=max:2GB to 
the xen boot line.

 	Michael Young

[-- Attachment #2: Type: IMAGE/JPEG, Size: 454438 bytes --]

[-- Attachment #3: Type: IMAGE/JPEG, Size: 452331 bytes --]

[-- Attachment #4: Type: text/plain, Size: 138 bytes --]

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

^ permalink raw reply	[flat|nested] 31+ messages in thread

end of thread, other threads:[~2011-01-25 16:05 UTC | newest]

Thread overview: 31+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-01-04 22:01 Crash on boot with 2.6.37-rc8-git3 M A Young
2011-01-05 15:43 ` Konrad Rzeszutek Wilk
2011-01-05 23:11   ` M A Young
2011-01-06 14:56     ` Konrad Rzeszutek Wilk
2011-01-07  0:37       ` M A Young
2011-01-07 19:18         ` Konrad Rzeszutek Wilk
  -- strict thread matches above, loose matches on Subject: below --
2011-01-07 20:34 M A Young
2011-01-07 21:23 ` Konrad Rzeszutek Wilk
2011-01-08  0:10   ` M A Young
2011-01-10 18:42     ` Konrad Rzeszutek Wilk
2011-01-10 21:43       ` M A Young
2011-01-16 20:48       ` M A Young
2011-01-16 20:56         ` Keir Fraser
2011-01-18  0:52       ` M A Young
2011-01-19 22:54         ` M A Young
2011-01-20 19:24           ` Konrad Rzeszutek Wilk
2011-01-20 22:39             ` M A Young
2011-01-21 15:27               ` Konrad Rzeszutek Wilk
2011-01-21 21:43                 ` M A Young
2011-01-24 14:14                   ` Konrad Rzeszutek Wilk
2011-01-24 23:12                     ` M A Young
2011-01-25 12:03                       ` Stefano Stabellini
2011-01-25 13:24                         ` Ian Campbell
2011-01-25 13:31                           ` Stefano Stabellini
2011-01-25 13:45                             ` Ian Campbell
2011-01-25 15:19                               ` Stefano Stabellini
2011-01-25 15:52                                 ` Konrad Rzeszutek Wilk
2011-01-25 15:56                                   ` Stefano Stabellini
2011-01-25 16:05                                     ` M A Young
2011-01-24 19:04                   ` Stefano Stabellini
2011-01-25  0:22                     ` M A Young

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).