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

[Xen-devel] RE: 32bit dom0 is hanging with changesset 6290



I am hitting this issue because I enabled SMP for dom0 (found it is not 
working) and disabled it again.
By doing so, the config file for dom0 kernel got changed like this. And I 
started seeing the hang.

--- config.default      2005-08-19 23:04:51.560459168 -0700
+++ config.issue        2005-08-19 23:03:57.054745296 -0700
@@ -1,7 +1,7 @@
 #
 # Automatically generated make config: don't edit
 # Linux kernel version: 2.6.12-xen0
-# Wed Aug  3 09:54:56 2005
+# Fri Aug 19 22:58:21 2005
 #
 CONFIG_XEN=y
 CONFIG_ARCH_XEN=y
@@ -143,14 +143,11 @@
 CONFIG_MTRR=y
 CONFIG_HAVE_DEC_LOCK=y
 # CONFIG_REGPARM is not set
-CONFIG_X86_LOCAL_APIC=y
-CONFIG_X86_IO_APIC=y

 #
 # Bus options (PCI, PCMCIA, EISA, MCA, ISA)
 #
-CONFIG_X86_UP_APIC=y
-CONFIG_X86_UP_IOAPIC=y
+# CONFIG_X86_UP_APIC is not set
 CONFIG_PCI=y
 # CONFIG_PCI_GOBIOS is not set
 # CONFIG_PCI_GOMMCONFIG is not set
@@ -160,7 +157,6 @@
 CONFIG_PCI_DIRECT=y
 CONFIG_PCI_MMCONFIG=y
 # CONFIG_PCIEPORTBUS is not set
-# CONFIG_PCI_MSI is not set
 CONFIG_PCI_LEGACY_PROC=y
 # CONFIG_PCI_NAMES is not set
 # CONFIG_PCI_DEBUG is not set
@@ -541,7 +537,7 @@
 # CONFIG_IP_NF_MATCH_STATE is not set
 # CONFIG_IP_NF_MATCH_CONNTRACK is not set
 # CONFIG_IP_NF_MATCH_OWNER is not set
-CONFIG_IP_NF_MATCH_PHYSDEV=y
+CONFIG_IP_NF_MATCH_PHYSDEV=m
 # CONFIG_IP_NF_MATCH_ADDRTYPE is not set
 # CONFIG_IP_NF_MATCH_REALM is not set
 # CONFIG_IP_NF_MATCH_SCTP is not set
@@ -1275,5 +1271,3 @@
 # CONFIG_DEBUG_STACK_USAGE is not set
 # CONFIG_DEBUG_PAGEALLOC is not set
 # CONFIG_4KSTACKS is not set
-CONFIG_X86_FIND_SMP_CONFIG=y
-CONFIG_X86_MPPARSE=y

Thanks & Regards,
Nitin
-----------------------------------------------------------------------------------
Sr Software Engineer
Open Source Technology Center, Intel Corp

-----Original Message-----
From: Kamble, Nitin A 
Sent: Friday, August 19, 2005 6:49 PM
To: Ian Pratt; xen-devel
Subject: 32bit dom0 is hanging with changesset 6290

I am trying to debug this it.

  Booting 'Xen unstable'

root (hd0,5)
 Filesystem type is ext2fs, partition type 0x83
kernel /xen.gz dom0_mem=524288 com1=115200,8n1 vmx_debug=0
   [Multiboot-elf, <0x100000:0x641bc:0x27e44>, shtab=0x18c078, entry=0x100000]
module /vmlinuz-2.6-xen0 root=/dev/sda7 ro
   [Multiboot-module @ 0x18d000, 0x4af50c bytes]

 __  __            _____  ___         _                _
 \ \/ /___ _ __   |___ / / _ \     __| | _____   _____| |
  \  // _ \ '_ \    |_ \| | | |__ / _` |/ _ \ \ / / _ \ |
  /  \  __/ | | |  ___) | |_| |__| (_| |  __/\ V /  __/ |
 /_/\_\___|_| |_| |____(_)___/    \__,_|\___| \_/ \___|_|

 http://www.cl.cam.ac.uk/netos/xen
 University of Cambridge Computer Laboratory

 Xen version 3.0-devel (nitin@xxxxxxxxxxxx) (gcc version 3.3.3 20040412 (Red 
Hat Linux 3.3.3-7)) Fri Aug 19
18:33:15 PDT 2005
 Latest ChangeSet: Fri Aug 19 10:38:31 2005 
631cc5dc3e8afb76dfd9b68ecd49cf45da8bcc6f

(XEN) Physical RAM map:
(XEN)  0000000000000000 - 000000000009fc00 (usable)
(XEN)  000000000009fc00 - 00000000000a0000 (reserved)
(XEN)  00000000000e6000 - 0000000000100000 (reserved)
(XEN)  0000000000100000 - 000000009f630000 (usable)
(XEN)  000000009f630000 - 000000009f640000 (ACPI data)
(XEN)  000000009f640000 - 000000009f6f0000 (ACPI NVS)
(XEN)  000000009f6f0000 - 000000009f800000 (reserved)
(XEN)  00000000cff00000 - 00000000f0000000 (reserved)
(XEN)  00000000fed13000 - 00000000fed1a000 (reserved)
(XEN)  00000000fed1c000 - 00000000fed90000 (reserved)
(XEN) System RAM: 2549MB (2611004kB)
(XEN) Xen heap: 10MB (10624kB)
(XEN) PAE disabled.
(XEN) found SMP MP-table at 000ff780
(XEN) DMI 2.3 present.
(XEN) Using APIC driver default
(XEN) ACPI: RSDP (v000 ACPIAM                                ) @ 0x000f55c0
(XEN) ACPI: RSDT (v001 INTEL  @ÃSÂÂÂÅ
(XEN)  0x20041130 MSFT 0x00000097) @ 0x9f630000
(XEN) ACPI: FADT (v002 INTEL  @ÃSÂÂÂÅ
(XEN)  0x20041130 MSFT 0x00000097) @ 0x9f630200
(XEN) ACPI: MADT (v001 INTEL  @ÃSÂÂÂÅ
(XEN)  0x20041130 MSFT 0x00000097) @ 0x9f630390
(XEN) ACPI: MCFG (v001 INTEL  @ÃSÂÂÂÅ
(XEN)  0x20041130 MSFT 0x00000097) @ 0x9f630400
(XEN) ACPI: MSEG (v001 INTEL  @ÃSÂÂÂÅ
(XEN)  0x20041130 MSFT 0x00000097) @ 0x9f630440
(XEN) ACPI: WDDT (v001 INTEL  OEMWDDT  0x00000001 INTL 0x02002026) @ 0x9f6363c0
(XEN) ACPI: DSDT (v001 INTEL  @ÃSÂÂÂÅ
(XEN)  0x00000001 INTL 0x02002026) @ 0x00000000
(XEN) ACPI: Local APIC address 0xfee00000
(XEN) ACPI: LAPIC (acpi_id[0x01] lapic_id[0x00] enabled)
(XEN) Processor #0 15:4 APIC version 20
(XEN) ACPI: LAPIC (acpi_id[0x02] lapic_id[0x01] enabled)
(XEN) Processor #1 15:4 APIC version 20
(XEN) ACPI: LAPIC_NMI (acpi_id[0x01] dfl dfl lint[0x1])
(XEN) ACPI: LAPIC_NMI (acpi_id[0x02] dfl dfl lint[0x1])
(XEN) ACPI: IOAPIC (id[0x02] address[0xfec00000] gsi_base[0])
(XEN) IOAPIC[0]: apic_id 2, version 32, address 0xfec00000, GSI 0-23
(XEN) ACPI: INT_SRC_OVR (bus 0 bus_irq 0 global_irq 2 dfl dfl)
(XEN) ACPI: INT_SRC_OVR (bus 0 bus_irq 9 global_irq 9 high level)
(XEN) ACPI: IRQ0 used by override.
(XEN) ACPI: IRQ2 used by override.
(XEN) ACPI: IRQ9 used by override.
(XEN) Enabling APIC mode:  Flat.  Using 1 I/O APICs
(XEN) Using ACPI (MADT) for SMP configuration information
(XEN) Initializing CPU#0
(XEN) Detected 3790.739 MHz processor.
(XEN) Using scheduler: Simple EDF Scheduler (sedf)
(XEN) CPU: Trace cache: 12K uops, L1 D cache: 16K
(XEN) CPU: L2 cache: 2048K
(XEN) CPU: Physical Processor ID: 0
(XEN) VMXON is done
(XEN) CPU0: Intel Genuine Intel(R) CPU 3.80GHz stepping 06
(XEN) Booting processor 1/1 eip 90000
(XEN) Initializing CPU#1
(XEN) CPU: Trace cache: 12K uops, L1 D cache: 16K
(XEN) CPU: L2 cache: 2048K
(XEN) CPU: Physical Processor ID: 0
(XEN) VMXON is done
(XEN) CPU1: Intel Genuine Intel(R) CPU 3.80GHz stepping 06
(XEN) Total of 2 processors activated.
(XEN) ENABLING IO-APIC IRQs
(XEN) ..TIMER: vector=0x31 pin1=2 pin2=-1
(XEN) checking TSC synchronization across 2 CPUs: passed.
(XEN) Platform timer is 1.193MHz PIT
(XEN) Brought up 2 CPUs
(XEN) mtrr: v2.0 (20020519)
(XEN) *** LOADING DOMAIN 0 ***
(XEN) Xen-ELF header found: 
'GUEST_OS=linux,GUEST_VER=2.6,XEN_VER=3.0,VIRT_BASE=0xC0000000,PAE=no,LOADER=gen
eric'
(XEN) PHYSICAL MEMORY ARRANGEMENT:
(XEN)  Dom0 alloc.:   02800000->03000000 (129024 pages to be allocated)
(XEN) VIRTUAL MEMORY ARRANGEMENT:
(XEN)  Loaded kernel: c0100000->c05e7ae4
(XEN)  Init. ramdisk: c05e8000->c05e8000
(XEN)  Phys-Mach map: c05e8000->c0668000
(XEN)  Page tables:   c0668000->c066b000
(XEN)  Start info:    c066b000->c066c000
(XEN)  Boot stack:    c066c000->c066d000
(XEN)  TOTAL:         c0000000->c0800000
(XEN)  ENTRY ADDRESS: c0100000
(XEN) Scrubbing Free RAM: ..........................done.
(XEN) *** Serial input -> DOM0 (type 'CTRL-a' three times to switch input to 
Xen).
Linux version 2.6.12-xen0 (nitin@xxxxxxxxxxxxxxxxxxxx) (gcc version 3.3.3 
20040412 (Red Hat Linux 3.3.3-7))
#4 Fri Aug 19 18:37:55 PDT 2005
BIOS-provided physical RAM map:
 Xen: 0000000000100000 - 0000000020000000 (usable)
0MB HIGHMEM available.
512MB LOWMEM available.
DMI 2.3 present.
 0x20041130 MSFT 0x00000097) @ 0x9f630000
 0x20041130 MSFT 0x00000097) @ 0x9f630200
 0x20041130 MSFT 0x00000097) @ 0x9f630390
 0x20041130 MSFT 0x00000097) @ 0x9f630400
 0x20041130 MSFT 0x00000097) @ 0x9f630440
 0x00000001 INTL 0x02002026) @ 0x00000000
IRQ lockup detection disabled
Allocating PCI resources starting at 20000000 (gap: 20000000:e0000000)
Built 1 zonelists
Kernel command line: root=/dev/sda7 ro
Initializing CPU#0
PID hash table entries: 4096 (order: 12, 65536 bytes)
Xen reported: 3790.498 MHz processor.
Console: colour VGA+ 80x25
Dentry cache hash table entries: 131072 (order: 7, 524288 bytes)
Inode-cache hash table entries: 65536 (order: 6, 262144 bytes)
Software IO TLB enabled:
 Aperture:     64 megabytes
 Bus range:    0x00000000023c0000 - 0x00000000063c0000
 Kernel range: 0x00000000c14d6000 - 0x00000000c54d6000
vmalloc area: e0800000-fb7fe000, maxmem 34000000
Memory: 446208k/524288k available (3270k kernel code, 76996k reserved, 1136k 
data, 336k init, 0k highmem)
Checking if this processor honours the WP bit even in supervisor mode... Ok.
Mount-cache hash table entries: 512
CPU: Trace cache: 12K uops, L1 D cache: 16K
CPU: L2 cache: 2048K
CPU: Intel Genuine Intel(R) CPU 3.80GHz stepping 06
Enabling fast FPU save and restore... done.
Enabling unmasked SIMD FPU exception support... done.
Checking 'hlt' instruction... disabled
ACPI: setting ELCR to 0200 (from 0ea0)
NET: Registered protocol family 16
PCI: Using MMCONFIG
ACPI: Subsystem revision 20050309
ACPI: Interpreter enabled
ACPI: Using PIC for interrupt routing
ACPI: PCI Root Bridge [PCI0] (0000:00)
PCI: Probing PCI hardware (bus 00)
PCI: Ignoring BAR0-3 of IDE controller 0000:00:1f.1
PCI: Transparent bridge - 0000:00:1e.0
ACPI: Power Resource [URP1] (off)
ACPI: Power Resource [FDDP] (off)
ACPI: Power Resource [LPTP] (off)
ACPI: Power Resource [URP2] (off)
ACPI: PCI Interrupt Link [LNKA] (IRQs 3 4 5 6 7 9 10 *11 12 14 15)
ACPI: PCI Interrupt Link [LNKB] (IRQs 3 4 5 6 7 9 10 11 12 14 15) *0, disabled.
ACPI: PCI Interrupt Link [LNKC] (IRQs 3 4 *5 6 7 9 10 11 12 14 15)
ACPI: PCI Interrupt Link [LNKD] (IRQs 3 4 5 6 7 9 *10 11 12 14 15)
ACPI: PCI Interrupt Link [LNKE] (IRQs 3 4 5 6 7 9 *10 11 12 14 15)
ACPI: PCI Interrupt Link [LNKF] (IRQs 3 4 5 6 *7 9 10 11 12 14 15)
ACPI: PCI Interrupt Link [LNKG] (IRQs 3 4 5 6 7 9 10 11 12 14 15) *0, disabled.
ACPI: PCI Interrupt Link [LNKH] (IRQs 3 4 5 6 7 *9 10 11 12 14 15)
xen_mem: Initialising balloon driver.
SCSI subsystem initialized
usbcore: registered new driver hub
PCI: Using ACPI for IRQ routing
PCI: If a device doesn't work, try "pci=routeirq".  If it helps, post a report
Grant table initialized
IA-32 Microcode Update Driver: v1.14-xen <tigran@xxxxxxxxxxx>
Initializing Cryptographic API
serio: i8042 AUX port at 0x60,0x64 irq 12
serio: i8042 KBD port at 0x60,0x64 irq 1
io scheduler noop registered
io scheduler anticipatory registered
io scheduler deadline registered
io scheduler cfq registered
Floppy drive(s): fd0 is 1.44M
FDC 0 is a National Semiconductor PC87306
RAMDISK driver initialized: 16 RAM disks of 4096K size 1024 blocksize
loop: loaded (max 8 devices)
HP CISS Driver (v 2.6.6)
Intel(R) PRO/1000 Network Driver - version 6.0.54-k2
Copyright (c) 1999-2004 Intel Corporation.
pcnet32.c:v1.30j 29.04.2005 tsbogend@xxxxxxxxxxxxxxxx
e100: Intel(R) PRO/100 Network Driver, 3.4.8-k2-NAPI
e100: Copyright(c) 1999-2005 Intel Corporation
ACPI: PCI Interrupt Link [LNKE] enabled at IRQ 10
ACPI: PCI Interrupt 0000:05:08.0[A] -> Link [LNKE] -> GSI 10 (level, low) -> 
IRQ 10
e100: eth0: e100_probe: addr 0xff8fe000, irq 10, MAC addr 00:0C:F1:FE:00:05
tun: Universal TUN/TAP device driver, 1.6
tun: (C) 1999-2004 Max Krasnyansky <maxk@xxxxxxxxxxxx>
Xen virtual console successfully installed as ttyS0
Event-channel device installed.
Blkif backend is using grant tables.
Initialising Xen netif backend
Blkif frontend is using grant tables.
Uniform Multi-Platform E-IDE driver Revision: 7.00alpha2
ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
ICH6: IDE controller at PCI slot 0000:00:1f.1
ACPI: PCI Interrupt Link [LNKC] enabled at IRQ 5
ACPI: PCI Interrupt 0000:00:1f.1[A] -> Link [LNKC] -> GSI 5 (level, low) -> IRQ 
5
ICH6: chipset revision 3
ICH6: not 100% native mode: will probe irqs later
    ide0: BM-DMA at 0xffa0-0xffa7, BIOS settings: hda:DMA, hdb:pio
    ide1: BM-DMA at 0xffa8-0xffaf, BIOS settings: hdc:pio, hdd:pio
hda: TEAC DW-548D, ATAPI CD/DVD-ROM drive
ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
hda: ATAPI 48X DVD-ROM CD-R/RW drive, 2048kB Cache, UDMA(33)
Uniform CD-ROM driver Revision: 3.20
Red Hat/Adaptec aacraid driver (1.1.2-lk2 Aug 19 2005)
3ware Storage Controller device driver for Linux v1.26.02.001.
ACPI: PCI Interrupt Link [LNKD] enabled at IRQ 10
ACPI: PCI Interrupt 0000:00:1f.2[B] -> Link [LNKD] -> GSI 10 (level, low) -> 
IRQ 10
ata1: SATA max UDMA/133 cmd 0xE800 ctl 0xE402 bmdma 0xD800 irq 10
ata2: SATA max UDMA/133 cmd 0xE000 ctl 0xDC02 bmdma 0xD808 irq 10
ata1: dev 0 ATA, max UDMA/133, 234441648 sectors: lba48
-------> hang 

Thanks & Regards,
Nitin
-----------------------------------------------------------------------------------
Sr Software Engineer
Open Source Technology Center, Intel Corp
_______________________________________________
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®.